1 | /*
|
---|
2 | * Delphes: a framework for fast simulation of a generic collider experiment
|
---|
3 | * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
|
---|
4 | *
|
---|
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.
|
---|
9 | *
|
---|
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.
|
---|
14 | *
|
---|
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 |
|
---|
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 |
|
---|
32 | #include <vector>
|
---|
33 |
|
---|
34 | class TObjArray;
|
---|
35 | class TIterator;
|
---|
36 |
|
---|
37 | namespace fastjet
|
---|
38 | {
|
---|
39 | class JetDefinition;
|
---|
40 | class AreaDefinition;
|
---|
41 | class JetMedianBackgroundEstimator;
|
---|
42 | namespace contrib
|
---|
43 | {
|
---|
44 | class NjettinessPlugin;
|
---|
45 | class ValenciaPlugin;
|
---|
46 | class AxesDefinition;
|
---|
47 | class MeasureDefinition;
|
---|
48 | } // namespace contrib
|
---|
49 | } // namespace fastjet
|
---|
50 |
|
---|
51 | class FastJetFinder: public DelphesModule
|
---|
52 | {
|
---|
53 | public:
|
---|
54 | FastJetFinder();
|
---|
55 | ~FastJetFinder();
|
---|
56 |
|
---|
57 | void Init();
|
---|
58 | void Process();
|
---|
59 | void Finish();
|
---|
60 |
|
---|
61 | private:
|
---|
62 | void *fPlugin; //!
|
---|
63 | void *fRecomb; //!
|
---|
64 |
|
---|
65 | fastjet::contrib::AxesDefinition *fAxesDef;
|
---|
66 | fastjet::contrib::MeasureDefinition *fMeasureDef;
|
---|
67 |
|
---|
68 | fastjet::contrib::NjettinessPlugin *fNjettinessPlugin; //!
|
---|
69 | fastjet::contrib::ValenciaPlugin *fValenciaPlugin; //!
|
---|
70 | fastjet::JetDefinition *fDefinition; //!
|
---|
71 |
|
---|
72 | Int_t fJetAlgorithm;
|
---|
73 | Double_t fParameterR;
|
---|
74 | Double_t fParameterP;
|
---|
75 |
|
---|
76 | Double_t fJetPTMin;
|
---|
77 | Double_t fConeRadius;
|
---|
78 | Double_t fSeedThreshold;
|
---|
79 | Double_t fConeAreaFraction;
|
---|
80 | Int_t fMaxIterations;
|
---|
81 | Int_t fMaxPairSize;
|
---|
82 | Int_t fIratch;
|
---|
83 | Int_t fAdjacencyCut;
|
---|
84 | Double_t fOverlapThreshold;
|
---|
85 |
|
---|
86 | //-- Exclusive clustering for e+e- collisions --
|
---|
87 |
|
---|
88 | Int_t fNJets;
|
---|
89 | Bool_t fExclusiveClustering;
|
---|
90 |
|
---|
91 | //-- Valencia Linear Collider algorithm
|
---|
92 | Double_t fGamma;
|
---|
93 |
|
---|
94 | //-- N (sub)jettiness parameters --
|
---|
95 |
|
---|
96 | Bool_t fComputeNsubjettiness;
|
---|
97 | Double_t fBeta;
|
---|
98 | Int_t fAxisMode;
|
---|
99 | Double_t fRcutOff;
|
---|
100 | Int_t fN;
|
---|
101 |
|
---|
102 | //-- Trimming parameters --
|
---|
103 |
|
---|
104 | Bool_t fComputeTrimming;
|
---|
105 | Double_t fRTrim;
|
---|
106 | Double_t fPtFracTrim;
|
---|
107 |
|
---|
108 | //-- Pruning parameters --
|
---|
109 |
|
---|
110 | Bool_t fComputePruning;
|
---|
111 | Double_t fZcutPrun;
|
---|
112 | Double_t fRcutPrun;
|
---|
113 | Double_t fRPrun;
|
---|
114 |
|
---|
115 | //-- SoftDrop parameters --
|
---|
116 |
|
---|
117 | Bool_t fComputeSoftDrop;
|
---|
118 | Double_t fBetaSoftDrop;
|
---|
119 | Double_t fSymmetryCutSoftDrop;
|
---|
120 | Double_t fR0SoftDrop;
|
---|
121 |
|
---|
122 | // --- FastJet Area method --------
|
---|
123 |
|
---|
124 | fastjet::AreaDefinition *fAreaDefinition;
|
---|
125 | Int_t fAreaAlgorithm;
|
---|
126 | Bool_t fComputeRho;
|
---|
127 |
|
---|
128 | // -- ghost based areas --
|
---|
129 | Double_t fGhostEtaMax;
|
---|
130 | Int_t fRepeat;
|
---|
131 | Double_t fGhostArea;
|
---|
132 | Double_t fGridScatter;
|
---|
133 | Double_t fPtScatter;
|
---|
134 | Double_t fMeanGhostPt;
|
---|
135 |
|
---|
136 | // -- voronoi areas --
|
---|
137 | Double_t fEffectiveRfact;
|
---|
138 |
|
---|
139 | #if !defined(__CINT__) && !defined(__CLING__)
|
---|
140 | struct TEstimatorStruct
|
---|
141 | {
|
---|
142 | fastjet::JetMedianBackgroundEstimator *estimator;
|
---|
143 | Double_t etaMin, etaMax;
|
---|
144 | };
|
---|
145 |
|
---|
146 | std::vector<TEstimatorStruct> fEstimators; //!
|
---|
147 | #endif
|
---|
148 |
|
---|
149 | TIterator *fItInputArray; //!
|
---|
150 |
|
---|
151 | const TObjArray *fInputArray; //!
|
---|
152 |
|
---|
153 | TObjArray *fOutputArray; //!
|
---|
154 | TObjArray *fRhoOutputArray; //!
|
---|
155 | TObjArray *fConstituentsOutputArray; //!
|
---|
156 |
|
---|
157 | ClassDef(FastJetFinder, 1)
|
---|
158 | };
|
---|
159 |
|
---|
160 | #endif
|
---|