[7c0fcd5] | 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 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 | * $Date$
|
---|
| 30 | * $Revision$
|
---|
| 31 | *
|
---|
| 32 | *
|
---|
| 33 | * \author P. Demin - UCL, Louvain-la-Neuve
|
---|
| 34 | *
|
---|
| 35 | */
|
---|
| 36 |
|
---|
| 37 | #include "classes/DelphesModule.h"
|
---|
| 38 |
|
---|
| 39 | class TObjArray;
|
---|
| 40 |
|
---|
| 41 | class ExRootFilter;
|
---|
| 42 | class IsolationClassifier;
|
---|
| 43 |
|
---|
| 44 | class Isolation: public DelphesModule
|
---|
| 45 | {
|
---|
| 46 | public:
|
---|
| 47 |
|
---|
| 48 | Isolation();
|
---|
| 49 | ~Isolation();
|
---|
| 50 |
|
---|
| 51 | void Init();
|
---|
| 52 | void Process();
|
---|
| 53 | void Finish();
|
---|
| 54 |
|
---|
| 55 | private:
|
---|
| 56 |
|
---|
| 57 | Double_t fDeltaRMax;
|
---|
| 58 |
|
---|
| 59 | Double_t fPTRatioMax;
|
---|
| 60 |
|
---|
[b286067] | 61 | Double_t fPTSumMax;
|
---|
| 62 |
|
---|
| 63 | Bool_t fUsePTSum;
|
---|
| 64 |
|
---|
[d7d2da3] | 65 | IsolationClassifier *fClassifier; //!
|
---|
| 66 |
|
---|
| 67 | ExRootFilter *fFilter;
|
---|
| 68 |
|
---|
| 69 | TIterator *fItIsolationInputArray; //!
|
---|
| 70 |
|
---|
| 71 | TIterator *fItCandidateInputArray; //!
|
---|
| 72 |
|
---|
[e9023b9] | 73 | TIterator *fItRhoInputArray; //!
|
---|
| 74 |
|
---|
[d7d2da3] | 75 | const TObjArray *fIsolationInputArray; //!
|
---|
| 76 |
|
---|
| 77 | const TObjArray *fCandidateInputArray; //!
|
---|
| 78 |
|
---|
| 79 | const TObjArray *fRhoInputArray; //!
|
---|
| 80 |
|
---|
| 81 | TObjArray *fOutputArray; //!
|
---|
| 82 |
|
---|
| 83 | ClassDef(Isolation, 1)
|
---|
| 84 | };
|
---|
| 85 |
|
---|
| 86 | #endif
|
---|