Fork me on GitHub

source: git/modules/FastJetFinder.h@ 792092a

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 792092a was f319c1d, checked in by Ulrike Schnoor <schnooru@…>, 7 years ago

added Valencia jet algorithm as fastjet/contribs and exclusive jet clustering

  • 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 class JetDefinition;
39 class AreaDefinition;
40 class JetMedianBackgroundEstimator;
41 namespace contrib {
42 class NjettinessPlugin;
43 class ValenciaPlugin;
44 class AxesDefinition;
45 class MeasureDefinition;
46 }
47}
48
49class FastJetFinder: public DelphesModule
50{
51public:
52
53 FastJetFinder();
54 ~FastJetFinder();
55
56 void Init();
57 void Process();
58 void Finish();
59
60private:
61
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
155 ClassDef(FastJetFinder, 1)
156};
157
158#endif
Note: See TracBrowser for help on using the repository browser.