Fork me on GitHub

source: git/modules/FastJetFinder.h@ ab3bdd9

ImprovedOutputFile Timing dual_readout llp
Last change on this file since ab3bdd9 was 8abab33, checked in by Michele Selvaggi <michele.selvaggi@…>, 9 years ago

updated code to match Nsubjettiness recommendation

  • Property mode set to 100644
File size: 3.2 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 AxesDefinition;
44 class MeasureDefinition;
45 }
46}
47
48class FastJetFinder: public DelphesModule
49{
50public:
51
52 FastJetFinder();
53 ~FastJetFinder();
54
55 void Init();
56 void Process();
57 void Finish();
58
59private:
60
61 void *fPlugin; //!
62 void *fRecomb; //!
63 fastjet::contrib::NjettinessPlugin *fNjettinessPlugin; //!
64
65 fastjet::JetDefinition *fDefinition; //!
66
67 Int_t fJetAlgorithm;
68 Double_t fParameterR;
69 Double_t fJetPTMin;
70 Double_t fConeRadius;
71 Double_t fSeedThreshold;
72 Double_t fConeAreaFraction;
73 Int_t fMaxIterations;
74 Int_t fMaxPairSize;
75 Int_t fIratch;
76 Int_t fAdjacencyCut;
77 Double_t fOverlapThreshold;
78
79 //-- N (sub)jettiness parameters --
80
81 Bool_t fComputeNsubjettiness;
82 fastjet::contrib::AxesDefinition *fAxesDef;
83 fastjet::contrib::MeasureDefinition *fMeasureDef;
84 Double_t fBeta;
85 Int_t fAxisMode;
86 Double_t fRcutOff;
87 Int_t fN ;
88
89 //-- Trimming parameters --
90
91 Bool_t fComputeTrimming;
92 Double_t fRTrim;
93 Double_t fPtFracTrim;
94
95 //-- Pruning parameters --
96
97 Bool_t fComputePruning;
98 Double_t fZcutPrun;
99 Double_t fRcutPrun;
100 Double_t fRPrun;
101
102 //-- SoftDrop parameters --
103
104 Bool_t fComputeSoftDrop;
105 Double_t fBetaSoftDrop;
106 Double_t fSymmetryCutSoftDrop;
107 Double_t fR0SoftDrop;
108
109 // --- FastJet Area method --------
110
111 fastjet::AreaDefinition *fAreaDefinition;
112 Int_t fAreaAlgorithm;
113 Bool_t fComputeRho;
114
115 // -- ghost based areas --
116 Double_t fGhostEtaMax;
117 Int_t fRepeat;
118 Double_t fGhostArea;
119 Double_t fGridScatter;
120 Double_t fPtScatter;
121 Double_t fMeanGhostPt;
122
123 // -- voronoi areas --
124 Double_t fEffectiveRfact;
125
126#if !defined(__CINT__) && !defined(__CLING__)
127 struct TEstimatorStruct
128 {
129 fastjet::JetMedianBackgroundEstimator *estimator;
130 Double_t etaMin, etaMax;
131 };
132
133 std::vector< TEstimatorStruct > fEstimators; //!
134#endif
135
136 TIterator *fItInputArray; //!
137
138 const TObjArray *fInputArray; //!
139
140 TObjArray *fOutputArray; //!
141 TObjArray *fRhoOutputArray; //!
142
143 ClassDef(FastJetFinder, 1)
144};
145
146#endif
Note: See TracBrowser for help on using the repository browser.