Fork me on GitHub

source: git/modules/EICPIDDetector.h@ f4900ab

Last change on this file since f4900ab was 62cc8f5, checked in by Stephen Sekula <sekula@…>, 4 years ago

Add EICPIDDetector module to connect EIC PID code to DELPHES

  • 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 EICPIDDetector_h
20#define EICPIDDetector_h
21
22/** \class EICPIDDetector
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
34#include "pid/barrelDIRC/src/PID.h"
35
36class TIterator;
37class TObjArray;
38class DelphesFormula;
39class Candidate;
40
41class EICPIDDetector: public DelphesModule
42{
43public:
44 EICPIDDetector();
45 ~EICPIDDetector();
46
47 void Init();
48 void Process();
49 void Finish();
50
51private:
52 // import input arrays
53 const TObjArray *fInputArray;
54 TIterator *fItInputArray;
55
56 std::string fDetectorName;
57
58 Double_t fTrackResolution;
59 Double_t fTimeResolution;
60 Double_t fQE;
61 Double_t fPixelSize;
62 Double_t fetaLow;
63 Double_t fetaHigh;
64 Double_t fDetectorLength;
65
66 PID::type fHypo;
67 Int_t fPDG1;
68 Int_t fPDG2;
69
70 PID* fPIDDetector;
71
72 TObjArray *fOutputArray; //!
73
74 ClassDef(EICPIDDetector, 1)
75};
76
77#endif
Note: See TracBrowser for help on using the repository browser.