[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 |
|
---|
[24d005f] | 19 | #ifndef PileUpJetID_h
|
---|
| 20 | #define PileUpJetID_h
|
---|
| 21 |
|
---|
| 22 | /** \class PileUpJetID
|
---|
| 23 | *
|
---|
| 24 | * CMS PileUp Jet ID Variables, based on http://cds.cern.ch/record/1581583
|
---|
| 25 | *
|
---|
| 26 | * \author S. Zenz, December 2013
|
---|
[1fa50c2] | 27 | *
|
---|
[24d005f] | 28 | */
|
---|
| 29 |
|
---|
| 30 |
|
---|
| 31 | #include "classes/DelphesModule.h"
|
---|
| 32 |
|
---|
| 33 | #include <deque>
|
---|
| 34 |
|
---|
| 35 | class TObjArray;
|
---|
| 36 |
|
---|
| 37 | class PileUpJetID: public DelphesModule
|
---|
| 38 | {
|
---|
| 39 | public:
|
---|
| 40 |
|
---|
| 41 | PileUpJetID();
|
---|
| 42 | ~PileUpJetID();
|
---|
| 43 |
|
---|
| 44 | void Init();
|
---|
| 45 | void Process();
|
---|
| 46 | void Finish();
|
---|
| 47 |
|
---|
| 48 | private:
|
---|
| 49 |
|
---|
| 50 | Double_t fJetPTMin;
|
---|
| 51 | Double_t fParameterR;
|
---|
| 52 |
|
---|
| 53 | // If set to true, may have weird results for PFCHS
|
---|
| 54 | // If set to false, uses everything within dR < fParameterR even if in other jets &c.
|
---|
| 55 | // Results should be very similar for PF
|
---|
[6cdc544] | 56 | Int_t fUseConstituents;
|
---|
[24d005f] | 57 |
|
---|
| 58 | Bool_t fAverageEachTower;
|
---|
| 59 |
|
---|
| 60 | TIterator *fItJetInputArray; //!
|
---|
| 61 |
|
---|
| 62 | const TObjArray *fJetInputArray; //!
|
---|
| 63 |
|
---|
[6cdc544] | 64 | const TObjArray *fTrackInputArray; //!
|
---|
| 65 | const TObjArray *fNeutralInputArray; //!
|
---|
[24d005f] | 66 |
|
---|
[6cdc544] | 67 | TIterator *fItTrackInputArray; //!
|
---|
| 68 | TIterator *fItNeutralInputArray; //!
|
---|
[24d005f] | 69 |
|
---|
| 70 | TObjArray *fOutputArray; //!
|
---|
[6cdc544] | 71 |
|
---|
[54b6dfc] | 72 | TIterator *fItVertexInputArray; //!
|
---|
| 73 | const TObjArray *fVertexInputArray; //!
|
---|
[24d005f] | 74 |
|
---|
[54b6dfc] | 75 | Double_t fZVertexResolution;
|
---|
[24d005f] | 76 |
|
---|
| 77 | ClassDef(PileUpJetID, 1)
|
---|
| 78 | };
|
---|
| 79 |
|
---|
| 80 | #endif
|
---|
| 81 |
|
---|