Fork me on GitHub

source: git/modules/FastJetFinder.h@ 505a779

ImprovedOutputFile Timing
Last change on this file since 505a779 was 341014c, checked in by Pavel Demin <pavel-demin@…>, 6 years ago

apply .clang-format to all .h, .cc and .cpp files

  • Property mode set to 100644
File size: 3.4 KB
Line 
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
34class TObjArray;
35class TIterator;
36
37namespace fastjet
38{
39class JetDefinition;
40class AreaDefinition;
41class JetMedianBackgroundEstimator;
42namespace contrib
43{
44class NjettinessPlugin;
45class ValenciaPlugin;
46class AxesDefinition;
47class MeasureDefinition;
48} // namespace contrib
49} // namespace fastjet
50
51class FastJetFinder: public DelphesModule
52{
53public:
54 FastJetFinder();
55 ~FastJetFinder();
56
57 void Init();
58 void Process();
59 void Finish();
60
61private:
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
75 Double_t fJetPTMin;
76 Double_t fConeRadius;
77 Double_t fSeedThreshold;
78 Double_t fConeAreaFraction;
79 Int_t fMaxIterations;
80 Int_t fMaxPairSize;
81 Int_t fIratch;
82 Int_t fAdjacencyCut;
83 Double_t fOverlapThreshold;
84
85 //-- Exclusive clustering for e+e- collisions --
86
87 Int_t fNJets;
88 Bool_t fExclusiveClustering;
89
90 //-- Valencia Linear Collider algorithm
91 Double_t fGamma;
92
93 //-- N (sub)jettiness parameters --
94
95 Bool_t fComputeNsubjettiness;
96 Double_t fBeta;
97 Int_t fAxisMode;
98 Double_t fRcutOff;
99 Int_t fN;
100
101 //-- Trimming parameters --
102
103 Bool_t fComputeTrimming;
104 Double_t fRTrim;
105 Double_t fPtFracTrim;
106
107 //-- Pruning parameters --
108
109 Bool_t fComputePruning;
110 Double_t fZcutPrun;
111 Double_t fRcutPrun;
112 Double_t fRPrun;
113
114 //-- SoftDrop parameters --
115
116 Bool_t fComputeSoftDrop;
117 Double_t fBetaSoftDrop;
118 Double_t fSymmetryCutSoftDrop;
119 Double_t fR0SoftDrop;
120
121 // --- FastJet Area method --------
122
123 fastjet::AreaDefinition *fAreaDefinition;
124 Int_t fAreaAlgorithm;
125 Bool_t fComputeRho;
126
127 // -- ghost based areas --
128 Double_t fGhostEtaMax;
129 Int_t fRepeat;
130 Double_t fGhostArea;
131 Double_t fGridScatter;
132 Double_t fPtScatter;
133 Double_t fMeanGhostPt;
134
135 // -- voronoi areas --
136 Double_t fEffectiveRfact;
137
138#if !defined(__CINT__) && !defined(__CLING__)
139 struct TEstimatorStruct
140 {
141 fastjet::JetMedianBackgroundEstimator *estimator;
142 Double_t etaMin, etaMax;
143 };
144
145 std::vector<TEstimatorStruct> fEstimators; //!
146#endif
147
148 TIterator *fItInputArray; //!
149
150 const TObjArray *fInputArray; //!
151
152 TObjArray *fOutputArray; //!
153 TObjArray *fRhoOutputArray; //!
154 TObjArray *fConstituentsOutputArray; //!
155
156 ClassDef(FastJetFinder, 1)
157};
158
159#endif
Note: See TracBrowser for help on using the repository browser.