Go to the documentation of this file. 1 #ifndef PhotonIsolationCalculator_H
2 #define PhotonIsolationCalculator_H
25 std::vector<int>
const& severitiesEB_,
26 std::vector<int>
const& severitiesEE_,
52 double RinnerCone = .1,
53 double etaSlice = 0.015,
65 bool vetoClusteredHits,
115 #endif // PhotonIsolationCalculator_H
bool vetoClusteredEcalHits_
std::vector< int > flagsEB_
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 hcalIsoEndcapRadiusA_[9]
double trkIsoBarrelRadiusB_[6]
double ecalIsoEndcapRadiusB_[5]
std::vector< int > flagsEE_
double hcalIsoEndcapRadiusB_[9]
std::vector< double > moduleEtaBoundary_
double trkIsoEndcapRadiusA_[6]
double hcalIsoBarrelRadiusA_[9]
edm::EDGetToken beamSpotProducerTag_
double hcalIsoBarrelRadiusB_[9]
~PhotonIsolationCalculator()
double ecalIsoBarrelRadiusA_[5]
double calculateHcalTowerIso(const reco::Photon *photon, const edm::Event &iEvent, const edm::EventSetup &iSetup, double RCone, double RConeInner, double eMin, signed int depth) const
edm::EDGetToken hcalCollection_
edm::EDGetToken trackInputTag_
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
std::vector< int > severityExclEE_
static void classify(const reco::Photon *photon, bool &isEBPho, bool &isEEPho, bool &isEBEtaGap, bool &isEBPhiGap, bool &isEERingGap, bool &isEEDeeGap, bool &isEBEEGap)
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
PhotonIsolationCalculator()
edm::EDGetToken endcapecalCollection_
double ecalIsoEndcapRadiusA_[5]
double trkIsoBarrelRadiusA_[6]
double modulePhiBoundary_
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
std::vector< int > severityExclEB_
static constexpr float d0
double trkIsoEndcapRadiusB_[6]
edm::EDGetToken barrelecalCollection_