Fork me on GitHub

source: git/modules/Isolation.h@ 3051ea17

Last change on this file since 3051ea17 was 341014c, checked in by Pavel Demin <pavel-demin@…>, 6 years ago

apply .clang-format to all .h, .cc and .cpp files

  • Property mode set to 100644
File size: 2.0 KB
Line 
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
35class TObjArray;
36
37class ExRootFilter;
38class IsolationClassifier;
39
40class Isolation: public DelphesModule
41{
42public:
43 Isolation();
44 ~Isolation();
45
46 void Init();
47 void Process();
48 void Finish();
49
50private:
51 Double_t fDeltaRMax;
52
53 Double_t fPTRatioMax;
54
55 Double_t fPTSumMax;
56
57 Double_t fDeltaRMin;
58
59 Bool_t fUsePTSum;
60
61 Bool_t fUseRhoCorrection;
62
63 Bool_t fUseMiniCone;
64
65 IsolationClassifier *fClassifier; //!
66
67 ExRootFilter *fFilter;
68
69 TIterator *fItIsolationInputArray; //!
70
71 TIterator *fItCandidateInputArray; //!
72
73 TIterator *fItRhoInputArray; //!
74
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
Note: See TracBrowser for help on using the repository browser.