[62cc8f5] | 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 |
|
---|
| 36 | class TIterator;
|
---|
| 37 | class TObjArray;
|
---|
| 38 | class DelphesFormula;
|
---|
| 39 | class Candidate;
|
---|
| 40 |
|
---|
| 41 | class EICPIDDetector: public DelphesModule
|
---|
| 42 | {
|
---|
| 43 | public:
|
---|
| 44 | EICPIDDetector();
|
---|
| 45 | ~EICPIDDetector();
|
---|
| 46 |
|
---|
| 47 | void Init();
|
---|
| 48 | void Process();
|
---|
| 49 | void Finish();
|
---|
| 50 |
|
---|
| 51 | private:
|
---|
| 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
|
---|