Fork me on GitHub

source: git/modules/FastJetFinder.h@ 233a019

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 233a019 was de6d698, checked in by Michele Selvaggi <michele.selvaggi@…>, 10 years ago

added Trimming, Pruning and SoftDrop in FastJetFinder

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