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 Isolation_h
|
---|
20 | #define Isolation_h
|
---|
21 |
|
---|
22 | /** \class Isolation
|
---|
23 | *
|
---|
24 | * Sums transverse momenta of isolation objects (tracks, calorimeter towers, etc)
|
---|
25 | * within a DeltaR cone around a candidate and calculates fraction of this sum
|
---|
26 | * to the candidate's transverse momentum. outputs candidates that have
|
---|
27 | * the transverse momenta fraction within (PTRatioMin, PTRatioMax].
|
---|
28 | *
|
---|
29 | * \author P. Demin - UCL, Louvain-la-Neuve
|
---|
30 | *
|
---|
31 | */
|
---|
32 |
|
---|
33 | #include "classes/DelphesModule.h"
|
---|
34 |
|
---|
35 | class TObjArray;
|
---|
36 |
|
---|
37 | class ExRootFilter;
|
---|
38 | class IsolationClassifier;
|
---|
39 |
|
---|
40 | class Isolation: public DelphesModule
|
---|
41 | {
|
---|
42 | public:
|
---|
43 |
|
---|
44 | Isolation();
|
---|
45 | ~Isolation();
|
---|
46 |
|
---|
47 | void Init();
|
---|
48 | void Process();
|
---|
49 | void Finish();
|
---|
50 |
|
---|
51 | private:
|
---|
52 |
|
---|
53 | Double_t fDeltaRMax;
|
---|
54 |
|
---|
55 | Double_t fPTRatioMax;
|
---|
56 |
|
---|
57 | Double_t fPTSumMax;
|
---|
58 |
|
---|
59 | Bool_t fUsePTSum;
|
---|
60 |
|
---|
61 | Bool_t fUseRhoCorr;
|
---|
62 |
|
---|
63 | IsolationClassifier *fClassifier; //!
|
---|
64 |
|
---|
65 | ExRootFilter *fFilter;
|
---|
66 |
|
---|
67 | TIterator *fItIsolationInputArray; //!
|
---|
68 |
|
---|
69 | TIterator *fItCandidateInputArray; //!
|
---|
70 |
|
---|
71 | TIterator *fItRhoInputArray; //!
|
---|
72 |
|
---|
73 | const TObjArray *fIsolationInputArray; //!
|
---|
74 |
|
---|
75 | const TObjArray *fCandidateInputArray; //!
|
---|
76 |
|
---|
77 | const TObjArray *fRhoInputArray; //!
|
---|
78 |
|
---|
79 | TObjArray *fOutputArray; //!
|
---|
80 |
|
---|
81 | ClassDef(Isolation, 1)
|
---|
82 | };
|
---|
83 |
|
---|
84 | #endif
|
---|