/* * Delphes: a framework for fast simulation of a generic collider experiment * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ #ifndef EICPIDDetector_h #define EICPIDDetector_h /** \class EICPIDDetector * * Applies complex photon Id. Reconstructed photon candidtes are first separated into matched and non-matched to gen particles. * Non-matched pass the "fake" efficiency. Matched photons get further splitted into isolated and non-isolated (user can choose criterion for isolation) * Isolated photons pass the "prompt" efficiency while the non-isolated pass the "non-prompt" efficiency * * \author M. Selvaggi - CERN * */ #include "classes/DelphesModule.h" #include "pid/barrelDIRC/src/PID.h" class TIterator; class TObjArray; class DelphesFormula; class Candidate; class EICPIDDetector: public DelphesModule { public: EICPIDDetector(); ~EICPIDDetector(); void Init(); void Process(); void Finish(); private: // import input arrays const TObjArray *fInputArray; TIterator *fItInputArray; std::string fDetectorName; Double_t fTrackResolution; Double_t fTimeResolution; Double_t fQE; Double_t fPixelSize; Double_t fetaLow; Double_t fetaHigh; Double_t fDetectorLength; PID::type fHypo; Int_t fPDG1; Int_t fPDG2; PID* fPIDDetector; TObjArray *fOutputArray; //! ClassDef(EICPIDDetector, 1) }; #endif