Fork me on GitHub

source: git/modules/FastJetFinder.h@ 83582c8

ImprovedOutputFile Timing dual_readout llp 3.4.1pre02
Last change on this file since 83582c8 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
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
37namespace fastjet {
38 class JetDefinition;
39 class AreaDefinition;
[7278220]40 class JetMedianBackgroundEstimator;
[c6321ad]41 namespace contrib {
42 class NjettinessPlugin;
[8abab33]43 class AxesDefinition;
44 class MeasureDefinition;
[c6321ad]45 }
[d7d2da3]46}
47
48class FastJetFinder: public DelphesModule
49{
50public:
51
52 FastJetFinder();
53 ~FastJetFinder();
54
55 void Init();
56 void Process();
57 void Finish();
[8336b6e]58
[d7d2da3]59private:
60
61 void *fPlugin; //!
[9687203]62 void *fRecomb; //!
[c6321ad]63 fastjet::contrib::NjettinessPlugin *fNjettinessPlugin; //!
[e4c3fef]64
[d7d2da3]65 fastjet::JetDefinition *fDefinition; //!
[8336b6e]66
[d7d2da3]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;
[cc331b2]76 Int_t fAdjacencyCut;
[d7d2da3]77 Double_t fOverlapThreshold;
[8336b6e]78
[9687203]79 //-- N (sub)jettiness parameters --
[e4c3fef]80
[9687203]81 Bool_t fComputeNsubjettiness;
[8abab33]82 fastjet::contrib::AxesDefinition *fAxesDef;
83 fastjet::contrib::MeasureDefinition *fMeasureDef;
[9687203]84 Double_t fBeta;
85 Int_t fAxisMode;
[e4c3fef]86 Double_t fRcutOff;
[9687203]87 Int_t fN ;
[e4c3fef]88
[de6d698]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
[d7d2da3]109 // --- FastJet Area method --------
[8336b6e]110
[d7d2da3]111 fastjet::AreaDefinition *fAreaDefinition;
[8336b6e]112 Int_t fAreaAlgorithm;
113 Bool_t fComputeRho;
114
[d7d2da3]115 // -- ghost based areas --
116 Double_t fGhostEtaMax;
117 Int_t fRepeat;
118 Double_t fGhostArea;
119 Double_t fGridScatter;
120 Double_t fPtScatter;
[8336b6e]121 Double_t fMeanGhostPt;
122
[d7d2da3]123 // -- voronoi areas --
124 Double_t fEffectiveRfact;
[8336b6e]125
[7278220]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
[8336b6e]135
[d7d2da3]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.