Fork me on GitHub

source: git/modules/PhotonID.h@ 4bc0bad

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 4bc0bad was 14436f6, checked in by Michele Selvaggi <michele.selvaggi@…>, 7 years ago

first commit photonID

  • 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
43 PhotonID();
44 ~PhotonID();
45
46 void Init();
47 void Process();
48 void Finish();
49
50private:
51
52 DelphesFormula *fPromptFormula;
53 DelphesFormula *fNonPromptFormula;
54 DelphesFormula *fFakeFormula;
55
56 // import input arrays
57 const TObjArray *fInputPhotonArray;
58 TIterator *fItInputPhotonArray;
59
60 // use filtered collection for speed
61 const TObjArray *fInputGenArray;
62 TIterator *fItInputGenArray;
63
64 Double_t fPTMin;
65 Double_t fRelIsoMax;
66
67 TObjArray *fOutputArray; //!
68
69 Bool_t isFake(const Candidate *obj);
70
71 ClassDef(PhotonID, 1)
72};
73
74#endif
Note: See TracBrowser for help on using the repository browser.