Fork me on GitHub

source: git/modules/FastJetFinder.h@ b57435c

Last change on this file since b57435c was 7278220, checked in by Pavel Demin <pavel.demin@…>, 10 years ago

replace map with vector< TEstimatorStruct > and replace SelectorAbsRapRange with SelectorEtaRange

  • Property mode set to 100644
File size: 2.6 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 // --- FastJet Area method --------
86
87 fastjet::AreaDefinition *fAreaDefinition;
88 Int_t fAreaAlgorithm;
89 Bool_t fComputeRho;
90
91 // -- ghost based areas --
92 Double_t fGhostEtaMax;
93 Int_t fRepeat;
94 Double_t fGhostArea;
95 Double_t fGridScatter;
96 Double_t fPtScatter;
97 Double_t fMeanGhostPt;
98
99 // -- voronoi areas --
100 Double_t fEffectiveRfact;
101
102#if !defined(__CINT__) && !defined(__CLING__)
103 struct TEstimatorStruct
104 {
105 fastjet::JetMedianBackgroundEstimator *estimator;
106 Double_t etaMin, etaMax;
107 };
108
109 std::vector< TEstimatorStruct > fEstimators; //!
110#endif
111
112 TIterator *fItInputArray; //!
113
114 const TObjArray *fInputArray; //!
115
116 TObjArray *fOutputArray; //!
117 TObjArray *fRhoOutputArray; //!
118
119 ClassDef(FastJetFinder, 1)
120};
121
122#endif
Note: See TracBrowser for help on using the repository browser.