Fork me on GitHub

source: git/modules/FastJetFinder.h@ 952bbbc

Last change on this file since 952bbbc was 6c6efd1, checked in by Michele Selvaggi <michele.selvaggi@…>, 4 years ago

added generalized ee kT clustering to FastJetFinder module

  • Property mode set to 100644
File size: 3.5 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;
[6c6efd1]74 Double_t fParameterP;
[f319c1d]75
[d7d2da3]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;
[cc331b2]83 Int_t fAdjacencyCut;
[d7d2da3]84 Double_t fOverlapThreshold;
[8336b6e]85
[f319c1d]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;
[3b3d0ad]93
[9687203]94 //-- N (sub)jettiness parameters --
[e4c3fef]95
[9687203]96 Bool_t fComputeNsubjettiness;
97 Double_t fBeta;
98 Int_t fAxisMode;
[e4c3fef]99 Double_t fRcutOff;
[341014c]100 Int_t fN;
[e4c3fef]101
[de6d698]102 //-- Trimming parameters --
[3b3d0ad]103
[de6d698]104 Bool_t fComputeTrimming;
105 Double_t fRTrim;
106 Double_t fPtFracTrim;
[3b3d0ad]107
[de6d698]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
[d7d2da3]122 // --- FastJet Area method --------
[8336b6e]123
[d7d2da3]124 fastjet::AreaDefinition *fAreaDefinition;
[8336b6e]125 Int_t fAreaAlgorithm;
[341014c]126 Bool_t fComputeRho;
[8336b6e]127
[d7d2da3]128 // -- ghost based areas --
129 Double_t fGhostEtaMax;
130 Int_t fRepeat;
131 Double_t fGhostArea;
132 Double_t fGridScatter;
133 Double_t fPtScatter;
[8336b6e]134 Double_t fMeanGhostPt;
135
[d7d2da3]136 // -- voronoi areas --
137 Double_t fEffectiveRfact;
[8336b6e]138
[7278220]139#if !defined(__CINT__) && !defined(__CLING__)
140 struct TEstimatorStruct
141 {
142 fastjet::JetMedianBackgroundEstimator *estimator;
143 Double_t etaMin, etaMax;
144 };
145
[341014c]146 std::vector<TEstimatorStruct> fEstimators; //!
[7278220]147#endif
[8336b6e]148
[d7d2da3]149 TIterator *fItInputArray; //!
150
151 const TObjArray *fInputArray; //!
152
153 TObjArray *fOutputArray; //!
154 TObjArray *fRhoOutputArray; //!
[70bb4cb]155 TObjArray *fConstituentsOutputArray; //!
[d7d2da3]156
157 ClassDef(FastJetFinder, 1)
158};
159
160#endif
Note: See TracBrowser for help on using the repository browser.