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