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 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
|
---|
27 | *
|
---|
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
|
---|
56 | Int_t fUseConstituents;
|
---|
57 |
|
---|
58 | Bool_t fAverageEachTower;
|
---|
59 |
|
---|
60 | TIterator *fItJetInputArray; //!
|
---|
61 |
|
---|
62 | const TObjArray *fJetInputArray; //!
|
---|
63 |
|
---|
64 | const TObjArray *fTrackInputArray; // SCZ
|
---|
65 | const TObjArray *fNeutralInputArray;
|
---|
66 |
|
---|
67 | TIterator *fItTrackInputArray; // SCZ
|
---|
68 | TIterator *fItNeutralInputArray; // SCZ
|
---|
69 |
|
---|
70 | TObjArray *fOutputArray; //!
|
---|
71 |
|
---|
72 | TIterator *fItVertexInputArray; //!
|
---|
73 | const TObjArray *fVertexInputArray; //!
|
---|
74 |
|
---|
75 | Double_t fZVertexResolution;
|
---|
76 |
|
---|
77 | ClassDef(PileUpJetID, 1)
|
---|
78 | };
|
---|
79 |
|
---|
80 | #endif
|
---|
81 |
|
---|