Fork me on GitHub

source: git/modules/FastJetFinder.h@ 4f00e0b

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 4f00e0b was de6d698, checked in by Michele Selvaggi <michele.selvaggi@…>, 9 years ago

added Trimming, Pruning and SoftDrop in FastJetFinder

  • Property mode set to 100644
File size: 3.0 KB
RevLine 
[b443089]1/*
2 * Delphes: a framework for fast simulation of a generic collider experiment
3 * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
[1fa50c2]4 *
[b443089]5 * This program is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
[1fa50c2]9 *
[b443089]10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
[1fa50c2]14 *
[b443089]15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
[d7d2da3]19#ifndef FastJetFinder_h
20#define FastJetFinder_h
21
22/** \class FastJetFinder
23 *
24 * Finds jets using FastJet library.
25 *
26 * \author P. Demin - UCL, Louvain-la-Neuve
27 *
28 */
29
30#include "classes/DelphesModule.h"
31
[7278220]32#include <vector>
[d7d2da3]33
34class TObjArray;
35class TIterator;
36
37namespace fastjet {
38 class JetDefinition;
39 class AreaDefinition;
[7278220]40 class JetMedianBackgroundEstimator;
[c6321ad]41 namespace contrib {
42 class NjettinessPlugin;
43 }
[d7d2da3]44}
45
46class FastJetFinder: public DelphesModule
47{
48public:
49
50 FastJetFinder();
51 ~FastJetFinder();
52
53 void Init();
54 void Process();
55 void Finish();
[8336b6e]56
[d7d2da3]57private:
58
59 void *fPlugin; //!
[9687203]60 void *fRecomb; //!
[c6321ad]61 fastjet::contrib::NjettinessPlugin *fNjettinessPlugin; //!
[e4c3fef]62
[d7d2da3]63 fastjet::JetDefinition *fDefinition; //!
[8336b6e]64
[d7d2da3]65 Int_t fJetAlgorithm;
66 Double_t fParameterR;
67 Double_t fJetPTMin;
68 Double_t fConeRadius;
69 Double_t fSeedThreshold;
70 Double_t fConeAreaFraction;
71 Int_t fMaxIterations;
72 Int_t fMaxPairSize;
73 Int_t fIratch;
[cc331b2]74 Int_t fAdjacencyCut;
[d7d2da3]75 Double_t fOverlapThreshold;
[8336b6e]76
[9687203]77 //-- N (sub)jettiness parameters --
[e4c3fef]78
[9687203]79 Bool_t fComputeNsubjettiness;
80 Double_t fBeta;
81 Int_t fAxisMode;
[e4c3fef]82 Double_t fRcutOff;
[9687203]83 Int_t fN ;
[e4c3fef]84
[de6d698]85 //-- Trimming parameters --
86
87 Bool_t fComputeTrimming;
88 Double_t fRTrim;
89 Double_t fPtFracTrim;
90
91 //-- Pruning parameters --
92
93 Bool_t fComputePruning;
94 Double_t fZcutPrun;
95 Double_t fRcutPrun;
96 Double_t fRPrun;
97
98 //-- SoftDrop parameters --
99
100 Bool_t fComputeSoftDrop;
101 Double_t fBetaSoftDrop;
102 Double_t fSymmetryCutSoftDrop;
103 Double_t fR0SoftDrop;
104
[d7d2da3]105 // --- FastJet Area method --------
[8336b6e]106
[d7d2da3]107 fastjet::AreaDefinition *fAreaDefinition;
[8336b6e]108 Int_t fAreaAlgorithm;
109 Bool_t fComputeRho;
110
[d7d2da3]111 // -- ghost based areas --
112 Double_t fGhostEtaMax;
113 Int_t fRepeat;
114 Double_t fGhostArea;
115 Double_t fGridScatter;
116 Double_t fPtScatter;
[8336b6e]117 Double_t fMeanGhostPt;
118
[d7d2da3]119 // -- voronoi areas --
120 Double_t fEffectiveRfact;
[8336b6e]121
[7278220]122#if !defined(__CINT__) && !defined(__CLING__)
123 struct TEstimatorStruct
124 {
125 fastjet::JetMedianBackgroundEstimator *estimator;
126 Double_t etaMin, etaMax;
127 };
128
129 std::vector< TEstimatorStruct > fEstimators; //!
130#endif
[8336b6e]131
[d7d2da3]132 TIterator *fItInputArray; //!
133
134 const TObjArray *fInputArray; //!
135
136 TObjArray *fOutputArray; //!
137 TObjArray *fRhoOutputArray; //!
138
139 ClassDef(FastJetFinder, 1)
140};
141
142#endif
Note: See TracBrowser for help on using the repository browser.