Go to the documentation of this file. 1 #ifndef PhotonIsolationCalculator_H
2 #define PhotonIsolationCalculator_H
37 std::vector<int>
const& severitiesEB_,
38 std::vector<int>
const& severitiesEE_,
64 double RinnerCone = .1,
65 double etaSlice = 0.015,
77 bool vetoClusteredHits,
142 #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)
std::array< double, 6 > trkIsoEndcapRadiusA_
std::array< double, 5 > ecalIsoEndcapRadiusB_
edm::EDGetTokenT< HBHERecHitCollection > hbheRecHitsTag_
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > caloGeometryToken_
std::array< double, 7 > hcalIsoInnerRadBEB_
std::vector< int > flagsEE_
std::array< double, 5 > ecalIsoBarrelRadiusA_
edm::ESGetToken< HcalSeverityLevelComputer, HcalSeverityLevelComputerRcd > hcalSevLvlComputerToken_
std::vector< double > moduleEtaBoundary_
std::array< double, 7 > hcalIsoOuterRadAEE_
std::array< double, 6 > trkIsoEndcapRadiusB_
edm::ESGetToken< CaloTowerConstituentsMap, CaloGeometryRecord > towerMapToken_
edm::EDGetToken beamSpotProducerTag_
std::array< double, 6 > trkIsoBarrelRadiusB_
~PhotonIsolationCalculator()
std::array< double, 7 > hcalIsoInnerRadAEB_
std::array< double, 6 > trkIsoBarrelRadiusA_
std::array< double, 7 > hcalIsoInnerRadBEE_
EgammaHcalIsolation::arrayHE hcalIsoEThresHE_
edm::EDGetToken trackInputTag_
std::array< double, 7 > hcalIsoOuterRadAEB_
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
double calculateHcalRecHitIso(const reco::Photon *photon, const CaloGeometry &geometry, const HcalTopology &hcalTopology, const HcalChannelQuality &hcalChStatus, const HcalSeverityLevelComputer &hcalSevLvlComputer, const CaloTowerConstituentsMap &towerMap, const HBHERecHitCollection &hbheRecHits, double RCone, double RConeInner, int depth) const
def template(fileName, svg, replaceme="REPLACEME")
std::array< double, 5 > ecalIsoBarrelRadiusB_
PhotonIsolationCalculator()
edm::ESGetToken< HcalTopology, HcalRecNumberingRecord > hcalTopologyToken_
std::array< double, 7 > hcalIsoOuterRadBEB_
edm::EDGetToken endcapecalCollection_
std::array< double, 7 > hcalIsoOuterRadBEE_
std::array< double, 7 > hcalIsoInnerRadAEE_
EgammaHcalIsolation::arrayHB hcalIsoEThresHB_
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_
std::array< double, 5 > ecalIsoEndcapRadiusA_
static constexpr float d0
edm::ESGetToken< HcalChannelQuality, HcalChannelQualityRcd > hcalChannelQualityToken_
edm::EDGetToken barrelecalCollection_