Fork me on GitHub

source: git/modules/PhotonID.h@ 910bd98

Last change on this file since 910bd98 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 PhotonID_h
20#define PhotonID_h
21
22/** \class PhotonID
23 *
24 * Applies complex photon Id. Reconstructed photon candidtes are first separated into matched and non-matched to gen particles.
25 * Non-matched pass the "fake" efficiency. Matched photons get further splitted into isolated and non-isolated (user can choose criterion for isolation)
26 * Isolated photons pass the "prompt" efficiency while the non-isolated pass the "non-prompt" efficiency
27 *
28 * \author M. Selvaggi - CERN
29 *
30 */
31
32#include "classes/DelphesModule.h"
33
34class TIterator;
35class TObjArray;
36class DelphesFormula;
37class Candidate;
38
39class PhotonID: public DelphesModule
40{
41public:
42 PhotonID();
43 ~PhotonID();
44
45 void Init();
46 void Process();
47 void Finish();
48
49private:
50 DelphesFormula *fPromptFormula;
51 DelphesFormula *fNonPromptFormula;
52 DelphesFormula *fFakeFormula;
53
54 // import input arrays
55 const TObjArray *fInputPhotonArray;
56 TIterator *fItInputPhotonArray;
57
58 // use filtered collection for speed
59 const TObjArray *fInputGenArray;
60 TIterator *fItInputGenArray;
61
62 Double_t fPTMin;
63 Double_t fRelIsoMax;
64
65 TObjArray *fOutputArray; //!
66
67 Bool_t isFake(const Candidate *obj);
68
69 ClassDef(PhotonID, 1)
70};
71
72#endif
Note: See TracBrowser for help on using the repository browser.