Fork me on GitHub

source: git/modules/FastJetFinder.h@ 34c28a9

Timing
Last change on this file since 34c28a9 was 341014c, checked in by Pavel Demin <pavel-demin@…>, 5 years ago

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

  • Property mode set to 100644
File size: 3.4 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
[341014c]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
[d7d2da3]50
51class FastJetFinder: public DelphesModule
52{
53public:
54 FastJetFinder();
55 ~FastJetFinder();
56
57 void Init();
58 void Process();
59 void Finish();
[8336b6e]60
[d7d2da3]61private:
62 void *fPlugin; //!
[9687203]63 void *fRecomb; //!
[e4c3fef]64
[3b3d0ad]65 fastjet::contrib::AxesDefinition *fAxesDef;
66 fastjet::contrib::MeasureDefinition *fMeasureDef;
[f319c1d]67
68 fastjet::contrib::NjettinessPlugin *fNjettinessPlugin; //!
69 fastjet::contrib::ValenciaPlugin *fValenciaPlugin; //!
[d7d2da3]70 fastjet::JetDefinition *fDefinition; //!
[8336b6e]71
[d7d2da3]72 Int_t fJetAlgorithm;
73 Double_t fParameterR;
[f319c1d]74
[d7d2da3]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;
[cc331b2]82 Int_t fAdjacencyCut;
[d7d2da3]83 Double_t fOverlapThreshold;
[8336b6e]84
[f319c1d]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;
[3b3d0ad]92
[9687203]93 //-- N (sub)jettiness parameters --
[e4c3fef]94
[9687203]95 Bool_t fComputeNsubjettiness;
96 Double_t fBeta;
97 Int_t fAxisMode;
[e4c3fef]98 Double_t fRcutOff;
[341014c]99 Int_t fN;
[e4c3fef]100
[de6d698]101 //-- Trimming parameters --
[3b3d0ad]102
[de6d698]103 Bool_t fComputeTrimming;
104 Double_t fRTrim;
105 Double_t fPtFracTrim;
[3b3d0ad]106
[de6d698]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
[d7d2da3]121 // --- FastJet Area method --------
[8336b6e]122
[d7d2da3]123 fastjet::AreaDefinition *fAreaDefinition;
[8336b6e]124 Int_t fAreaAlgorithm;
[341014c]125 Bool_t fComputeRho;
[8336b6e]126
[d7d2da3]127 // -- ghost based areas --
128 Double_t fGhostEtaMax;
129 Int_t fRepeat;
130 Double_t fGhostArea;
131 Double_t fGridScatter;
132 Double_t fPtScatter;
[8336b6e]133 Double_t fMeanGhostPt;
134
[d7d2da3]135 // -- voronoi areas --
136 Double_t fEffectiveRfact;
[8336b6e]137
[7278220]138#if !defined(__CINT__) && !defined(__CLING__)
139 struct TEstimatorStruct
140 {
141 fastjet::JetMedianBackgroundEstimator *estimator;
142 Double_t etaMin, etaMax;
143 };
144
[341014c]145 std::vector<TEstimatorStruct> fEstimators; //!
[7278220]146#endif
[8336b6e]147
[d7d2da3]148 TIterator *fItInputArray; //!
149
150 const TObjArray *fInputArray; //!
151
152 TObjArray *fOutputArray; //!
153 TObjArray *fRhoOutputArray; //!
[70bb4cb]154 TObjArray *fConstituentsOutputArray; //!
[d7d2da3]155
156 ClassDef(FastJetFinder, 1)
157};
158
159#endif
Note: See TracBrowser for help on using the repository browser.