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 <map>
|
---|
33 |
|
---|
34 | class TObjArray;
|
---|
35 | class TIterator;
|
---|
36 |
|
---|
37 | namespace fastjet {
|
---|
38 | class JetDefinition;
|
---|
39 | class AreaDefinition;
|
---|
40 | class Selector;
|
---|
41 | namespace contrib {
|
---|
42 | class NjettinessPlugin;
|
---|
43 | }
|
---|
44 | }
|
---|
45 |
|
---|
46 | class FastJetFinder: public DelphesModule
|
---|
47 | {
|
---|
48 | public:
|
---|
49 |
|
---|
50 | FastJetFinder();
|
---|
51 | ~FastJetFinder();
|
---|
52 |
|
---|
53 | void Init();
|
---|
54 | void Process();
|
---|
55 | void Finish();
|
---|
56 |
|
---|
57 | private:
|
---|
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 | std::map< Double_t, Double_t > fEtaRangeMap; //!
|
---|
103 |
|
---|
104 | TIterator *fItInputArray; //!
|
---|
105 |
|
---|
106 | const TObjArray *fInputArray; //!
|
---|
107 |
|
---|
108 | TObjArray *fOutputArray; //!
|
---|
109 | TObjArray *fRhoOutputArray; //!
|
---|
110 |
|
---|
111 | ClassDef(FastJetFinder, 1)
|
---|
112 | };
|
---|
113 |
|
---|
114 | #endif
|
---|