[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 |
|
---|
[8336b6e] | 32 | #include <map>
|
---|
[d7d2da3] | 33 |
|
---|
| 34 | class TObjArray;
|
---|
| 35 | class TIterator;
|
---|
| 36 |
|
---|
| 37 | namespace fastjet {
|
---|
| 38 | class JetDefinition;
|
---|
| 39 | class AreaDefinition;
|
---|
| 40 | class Selector;
|
---|
[c6321ad] | 41 | namespace contrib {
|
---|
| 42 | class NjettinessPlugin;
|
---|
| 43 | }
|
---|
[d7d2da3] | 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();
|
---|
[8336b6e] | 56 |
|
---|
[d7d2da3] | 57 | private:
|
---|
| 58 |
|
---|
| 59 | void *fPlugin; //!
|
---|
[9687203] | 60 | void *fRecomb; //!
|
---|
[c6321ad] | 61 | fastjet::contrib::NjettinessPlugin *fNjettinessPlugin; //!
|
---|
[e4c3fef] | 62 |
|
---|
[d7d2da3] | 63 | fastjet::JetDefinition *fDefinition; //!
|
---|
[8336b6e] | 64 |
|
---|
[d7d2da3] | 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;
|
---|
[cc331b2] | 74 | Int_t fAdjacencyCut;
|
---|
[d7d2da3] | 75 | Double_t fOverlapThreshold;
|
---|
[8336b6e] | 76 |
|
---|
[9687203] | 77 | //-- N (sub)jettiness parameters --
|
---|
[e4c3fef] | 78 |
|
---|
[9687203] | 79 | Bool_t fComputeNsubjettiness;
|
---|
| 80 | Double_t fBeta;
|
---|
| 81 | Int_t fAxisMode;
|
---|
[e4c3fef] | 82 | Double_t fRcutOff;
|
---|
[9687203] | 83 | Int_t fN ;
|
---|
[e4c3fef] | 84 |
|
---|
[d7d2da3] | 85 | // --- FastJet Area method --------
|
---|
[8336b6e] | 86 |
|
---|
[d7d2da3] | 87 | fastjet::AreaDefinition *fAreaDefinition;
|
---|
[8336b6e] | 88 | Int_t fAreaAlgorithm;
|
---|
| 89 | Bool_t fComputeRho;
|
---|
| 90 |
|
---|
[d7d2da3] | 91 | // -- ghost based areas --
|
---|
| 92 | Double_t fGhostEtaMax;
|
---|
| 93 | Int_t fRepeat;
|
---|
| 94 | Double_t fGhostArea;
|
---|
| 95 | Double_t fGridScatter;
|
---|
| 96 | Double_t fPtScatter;
|
---|
[8336b6e] | 97 | Double_t fMeanGhostPt;
|
---|
| 98 |
|
---|
[d7d2da3] | 99 | // -- voronoi areas --
|
---|
| 100 | Double_t fEffectiveRfact;
|
---|
[8336b6e] | 101 |
|
---|
| 102 | std::map< Double_t, Double_t > fEtaRangeMap; //!
|
---|
| 103 |
|
---|
[d7d2da3] | 104 | TIterator *fItInputArray; //!
|
---|
| 105 |
|
---|
| 106 | const TObjArray *fInputArray; //!
|
---|
| 107 |
|
---|
| 108 | TObjArray *fOutputArray; //!
|
---|
| 109 | TObjArray *fRhoOutputArray; //!
|
---|
| 110 |
|
---|
| 111 | ClassDef(FastJetFinder, 1)
|
---|
| 112 | };
|
---|
| 113 |
|
---|
| 114 | #endif
|
---|