1 #ifndef PhotonIsolationCalculator_H 2 #define PhotonIsolationCalculator_H 28 std::vector<int>
const & severitiesEB_,
29 std::vector<int>
const & severitiesEE_,
60 double etaSlice=0.015,
132 #endif // PhotonIsolationCalculator_H
double ecalIsoBarrelRadiusA_[5]
std::vector< int > flagsEE_
void calculate(const reco::Photon *, const edm::Event &, const edm::EventSetup &es, reco::Photon::FiducialFlags &phofid, reco::Photon::IsolationVariables &phoisolR03, reco::Photon::IsolationVariables &phoisolR04) const
double modulePhiBoundary_
double hcalIsoBarrelRadiusB_[9]
edm::EDGetToken barrelecalCollection_
edm::EDGetToken endcapecalCollection_
double trkIsoEndcapRadiusB_[6]
std::vector< int > severityExclEE_
double trkIsoBarrelRadiusB_[6]
edm::EDGetToken hcalCollection_
double hcalIsoBarrelRadiusA_[9]
double calculateHcalTowerIso(const reco::Photon *photon, const edm::Event &iEvent, const edm::EventSetup &iSetup, double RCone, double RConeInner, double eMin, signed int depth) const
double hcalIsoEndcapRadiusA_[9]
std::vector< int > flagsEB_
std::vector< int > severityExclEB_
double trkIsoBarrelRadiusA_[6]
void setup(const edm::ParameterSet &conf, std::vector< int > const &flagsEB_, std::vector< int > const &flagsEE_, std::vector< int > const &severitiesEB_, std::vector< int > const &severitiesEE_, edm::ConsumesCollector &&iC)
double ecalIsoBarrelRadiusB_[5]
double ecalIsoEndcapRadiusB_[5]
edm::EDGetToken trackInputTag_
~PhotonIsolationCalculator()
double trkIsoEndcapRadiusA_[6]
double calculateEcalRecHitIso(const reco::Photon *photon, const edm::Event &iEvent, const edm::EventSetup &iSetup, double RCone, double RConeInner, double etaSlice, double eMin, double etMin, bool vetoClusteredHits, bool useNumCrystals) const
void calculateTrackIso(const reco::Photon *photon, const edm::Event &e, double &trkCone, int &ntrkCone, double pTThresh=0, double RCone=.4, double RinnerCone=.1, double etaSlice=0.015, double lip=0.2, double d0=0.1) const
std::vector< double > moduleEtaBoundary_
edm::EDGetToken beamSpotProducerTag_
static void classify(const reco::Photon *photon, bool &isEBPho, bool &isEEPho, bool &isEBEtaGap, bool &isEBPhiGap, bool &isEERingGap, bool &isEEDeeGap, bool &isEBEEGap)
double ecalIsoEndcapRadiusA_[5]
PhotonIsolationCalculator()
double hcalIsoEndcapRadiusB_[9]
bool vetoClusteredEcalHits_