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 | * $Date$
|
---|
27 | * $Revision$
|
---|
28 | *
|
---|
29 | *
|
---|
30 | * \author P. Demin - UCL, Louvain-la-Neuve
|
---|
31 | *
|
---|
32 | */
|
---|
33 |
|
---|
34 | #include "classes/DelphesModule.h"
|
---|
35 |
|
---|
36 | #include <map>
|
---|
37 |
|
---|
38 | class TObjArray;
|
---|
39 | class TIterator;
|
---|
40 |
|
---|
41 | namespace fastjet {
|
---|
42 | class JetDefinition;
|
---|
43 | class AreaDefinition;
|
---|
44 | class Selector;
|
---|
45 | namespace contrib {
|
---|
46 | class NjettinessPlugin;
|
---|
47 | }
|
---|
48 | }
|
---|
49 |
|
---|
50 | class FastJetFinder: public DelphesModule
|
---|
51 | {
|
---|
52 | public:
|
---|
53 |
|
---|
54 | FastJetFinder();
|
---|
55 | ~FastJetFinder();
|
---|
56 |
|
---|
57 | void Init();
|
---|
58 | void Process();
|
---|
59 | void Finish();
|
---|
60 |
|
---|
61 | private:
|
---|
62 |
|
---|
63 | void *fPlugin; //!
|
---|
64 | void *fRecomb; //!
|
---|
65 | fastjet::contrib::NjettinessPlugin *fNjettinessPlugin; //!
|
---|
66 |
|
---|
67 | fastjet::JetDefinition *fDefinition; //!
|
---|
68 |
|
---|
69 | Int_t fJetAlgorithm;
|
---|
70 | Double_t fParameterR;
|
---|
71 | Double_t fJetPTMin;
|
---|
72 | Double_t fConeRadius;
|
---|
73 | Double_t fSeedThreshold;
|
---|
74 | Double_t fConeAreaFraction;
|
---|
75 | Int_t fMaxIterations;
|
---|
76 | Int_t fMaxPairSize;
|
---|
77 | Int_t fIratch;
|
---|
78 | Int_t fAdjacencyCut;
|
---|
79 | Double_t fOverlapThreshold;
|
---|
80 |
|
---|
81 | //-- N (sub)jettiness parameters --
|
---|
82 |
|
---|
83 | Bool_t fComputeNsubjettiness;
|
---|
84 | Double_t fBeta;
|
---|
85 | Int_t fAxisMode;
|
---|
86 | Double_t fRcutOff;
|
---|
87 | Int_t fN ;
|
---|
88 |
|
---|
89 | // --- FastJet Area method --------
|
---|
90 |
|
---|
91 | fastjet::AreaDefinition *fAreaDefinition;
|
---|
92 | Int_t fAreaAlgorithm;
|
---|
93 | Bool_t fComputeRho;
|
---|
94 |
|
---|
95 | // -- ghost based areas --
|
---|
96 | Double_t fGhostEtaMax;
|
---|
97 | Int_t fRepeat;
|
---|
98 | Double_t fGhostArea;
|
---|
99 | Double_t fGridScatter;
|
---|
100 | Double_t fPtScatter;
|
---|
101 | Double_t fMeanGhostPt;
|
---|
102 |
|
---|
103 | // -- voronoi areas --
|
---|
104 | Double_t fEffectiveRfact;
|
---|
105 |
|
---|
106 | std::map< Double_t, Double_t > fEtaRangeMap; //!
|
---|
107 |
|
---|
108 | TIterator *fItInputArray; //!
|
---|
109 |
|
---|
110 | const TObjArray *fInputArray; //!
|
---|
111 |
|
---|
112 | TObjArray *fOutputArray; //!
|
---|
113 | TObjArray *fRhoOutputArray; //!
|
---|
114 |
|
---|
115 | ClassDef(FastJetFinder, 1)
|
---|
116 | };
|
---|
117 |
|
---|
118 | #endif
|
---|