#include <EcalHaloAlgo.h>
Private Member Functions | |
math::XYZPoint | getPosition (const DetId &id, reco::Vertex::Point vtx) |
Private Attributes | |
float | AngleCut |
float | EBRecHitEnergyThreshold |
float | EERecHitEnergyThreshold |
float | ESRecHitEnergyThreshold |
const CaloGeometry * | geo |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geoToken_ |
int | NHitsThreshold |
float | RoundnessCut |
float | SumEnergyThreshold |
Definition at line 44 of file EcalHaloAlgo.h.
|
explicit |
Definition at line 20 of file EcalHaloAlgo.cc.
References AngleCut, EBRecHitEnergyThreshold, EERecHitEnergyThreshold, ESRecHitEnergyThreshold, geo, NHitsThreshold, RoundnessCut, and SumEnergyThreshold.
|
inline |
Definition at line 49 of file EcalHaloAlgo.h.
EcalHaloData EcalHaloAlgo::Calculate | ( | const CaloGeometry & | TheCaloGeometry, |
edm::Handle< reco::PhotonCollection > & | ThePhotons, | ||
edm::Handle< reco::SuperClusterCollection > & | TheSuperClusters, | ||
edm::Handle< EBRecHitCollection > & | TheEBRecHits, | ||
edm::Handle< EERecHitCollection > & | TheEERecHits, | ||
edm::Handle< ESRecHitCollection > & | TheESRecHits, | ||
edm::Handle< HBHERecHitCollection > & | TheHBHERecHits, | ||
const edm::EventSetup & | TheSetup | ||
) |
Definition at line 32 of file EcalHaloAlgo.cc.
References funct::abs(), angle(), CompareTime(), EBRecHitEnergyThreshold, DetId::Ecal, geo, geoToken_, GetAngleCut(), edm::EventSetup::getData(), GetHaloClusterCandidateEB(), GetHaloClusterCandidateEE(), reco::EcalHaloData::GetPhiWedges(), GetRoundnessCut(), reco::EcalHaloData::GetShowerShapesAngle(), reco::EcalHaloData::GetShowerShapesRoundness(), CaloGeometry::getSubdetectorGeometry(), reco::EcalHaloData::GetSuperClusters(), mps_fire::i, hit::id, EBDetId::ieta(), edm::helper::Filler< Map >::insert(), EBDetId::iphi(), edm::HandleBase::isValid(), dqmiolumiharvest::j, NHitsThreshold, edm::Handle< T >::product(), edm::RefVector< C, T, F >::push_back(), DetId::rawId(), reco::EcalHaloData::setHaloClusterCandidatesEB(), reco::EcalHaloData::setHaloClusterCandidatesEE(), reco::PhiWedge::SetPlusZOriginConfidence(), and SumEnergyThreshold.
Referenced by reco::EcalHaloDataProducer::produce().
bool EcalHaloAlgo::EBClusterShapeandTimeStudy | ( | reco::HaloClusterCandidateECAL | hcand, |
bool | ishlt | ||
) |
Definition at line 484 of file EcalHaloAlgo.cc.
References reco::HaloClusterCandidateECAL::getEtStripIPhiSeedMinus1(), reco::HaloClusterCandidateECAL::getEtStripIPhiSeedPlus1(), reco::HaloClusterCandidateECAL::getNbofCrystalsInEta(), reco::HaloClusterCandidateECAL::getSeedEt(), reco::HaloClusterCandidateECAL::getTimeDiscriminator(), and reco::HaloClusterCandidateECAL::setIsHaloFromPattern().
Referenced by GetHaloClusterCandidateEB().
bool EcalHaloAlgo::EEClusterShapeandTimeStudy_ITBH | ( | reco::HaloClusterCandidateECAL | hcand, |
bool | ishlt | ||
) |
Definition at line 532 of file EcalHaloAlgo.cc.
References reco::HaloClusterCandidateECAL::getClusterSize(), reco::HaloClusterCandidateECAL::getSeedEt(), reco::HaloClusterCandidateECAL::getSeedR(), reco::HaloClusterCandidateECAL::getTimeDiscriminator(), and reco::HaloClusterCandidateECAL::setIsHaloFromPattern().
Referenced by GetHaloClusterCandidateEE().
bool EcalHaloAlgo::EEClusterShapeandTimeStudy_OTBH | ( | reco::HaloClusterCandidateECAL | hcand, |
bool | ishlt | ||
) |
Definition at line 513 of file EcalHaloAlgo.cc.
References reco::HaloClusterCandidateECAL::getNbEarlyCrystals(), reco::HaloClusterCandidateECAL::getNbLateCrystals(), reco::HaloClusterCandidateECAL::getSeedEt(), reco::HaloClusterCandidateECAL::getSeedTime(), and reco::HaloClusterCandidateECAL::setIsHaloFromPattern().
Referenced by GetHaloClusterCandidateEE().
|
inline |
|
inline |
|
inline |
|
inline |
std::vector< HaloClusterCandidateECAL > EcalHaloAlgo::GetHaloClusterCandidateEB | ( | edm::Handle< EcalRecHitCollection > & | ecalrechitcoll, |
edm::Handle< HBHERecHitCollection > & | hbherechitcoll, | ||
float | et_thresh_seedrh | ||
) |
Definition at line 209 of file EcalHaloAlgo.cc.
References funct::abs(), srCondWrite_cfg::deltaPhi, EBClusterShapeandTimeStudy(), CaloRecHit::energy(), EcalRecHit::energy(), PVValHelper::eta, getPosition(), photons_cff::hoe, HBHERecHit::id(), EcalRecHit::id(), EBDetId::ieta(), phi, edm::RefVector< C, T, F >::push_back(), reco::HaloClusterCandidateECAL::setBeamHaloRecHitsCandidates(), reco::HaloClusterCandidateECAL::setClusterEt(), reco::HaloClusterCandidateECAL::setEtStripIPhiSeedMinus1(), reco::HaloClusterCandidateECAL::setEtStripIPhiSeedPlus1(), reco::HaloClusterCandidateECAL::setHoverE(), reco::HaloClusterCandidateECAL::setIsHaloFromPattern(), reco::HaloClusterCandidateECAL::setIsHaloFromPattern_HLT(), reco::HaloClusterCandidateECAL::setNbofCrystalsInEta(), reco::HaloClusterCandidateECAL::setSeedEt(), reco::HaloClusterCandidateECAL::setSeedEta(), reco::HaloClusterCandidateECAL::setSeedPhi(), reco::HaloClusterCandidateECAL::setSeedR(), reco::HaloClusterCandidateECAL::setSeedTime(), reco::HaloClusterCandidateECAL::setSeedZ(), reco::HaloClusterCandidateECAL::setTimeDiscriminator(), mathSSE::sqrt(), and EcalRecHit::time().
Referenced by Calculate().
std::vector< HaloClusterCandidateECAL > EcalHaloAlgo::GetHaloClusterCandidateEE | ( | edm::Handle< EcalRecHitCollection > & | ecalrechitcoll, |
edm::Handle< HBHERecHitCollection > & | hbherechitcoll, | ||
float | et_thresh_seedrh | ||
) |
Definition at line 337 of file EcalHaloAlgo.cc.
References funct::abs(), srCondWrite_cfg::deltaPhi, runTauDisplay::dr, EEClusterShapeandTimeStudy_ITBH(), EEClusterShapeandTimeStudy_OTBH(), CaloRecHit::energy(), EcalRecHit::energy(), PVValHelper::eta, getPosition(), HBHERecHit::id(), EcalRecHit::id(), phi, funct::pow(), edm::RefVector< C, T, F >::push_back(), reco::HaloClusterCandidateECAL::setBeamHaloRecHitsCandidates(), reco::HaloClusterCandidateECAL::setClusterEt(), reco::HaloClusterCandidateECAL::setClusterSize(), reco::HaloClusterCandidateECAL::setH2overE(), reco::HaloClusterCandidateECAL::setIsHaloFromPattern(), reco::HaloClusterCandidateECAL::setIsHaloFromPattern_HLT(), reco::HaloClusterCandidateECAL::setNbEarlyCrystals(), reco::HaloClusterCandidateECAL::setNbLateCrystals(), reco::HaloClusterCandidateECAL::setSeedEt(), reco::HaloClusterCandidateECAL::setSeedEta(), reco::HaloClusterCandidateECAL::setSeedPhi(), reco::HaloClusterCandidateECAL::setSeedR(), reco::HaloClusterCandidateECAL::setSeedTime(), reco::HaloClusterCandidateECAL::setSeedZ(), reco::HaloClusterCandidateECAL::setTimeDiscriminator(), mathSSE::sqrt(), and EcalRecHit::time().
Referenced by Calculate().
|
inline |
|
inline |
|
private |
Definition at line 559 of file EcalHaloAlgo.cc.
References geo, CaloGeometry::getPosition(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by GetHaloClusterCandidateEB(), and GetHaloClusterCandidateEE().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 73 of file EcalHaloAlgo.h.
References nhits, and NHitsThreshold.
|
inline |
Definition at line 74 of file EcalHaloAlgo.h.
References nhits, NHitsThreshold, and SumEnergyThreshold.
Referenced by reco::EcalHaloDataProducer::produce().
|
inline |
Definition at line 66 of file EcalHaloAlgo.h.
References EB, EBRecHitEnergyThreshold, EE, EERecHitEnergyThreshold, and ESRecHitEnergyThreshold.
Referenced by reco::EcalHaloDataProducer::produce().
|
inline |
Definition at line 61 of file EcalHaloAlgo.h.
References alignCSCRings::r, and RoundnessCut.
Referenced by reco::EcalHaloDataProducer::produce().
|
private |
Definition at line 109 of file EcalHaloAlgo.h.
Referenced by EcalHaloAlgo(), GetAngleCut(), and SetAngleCut().
|
private |
Definition at line 112 of file EcalHaloAlgo.h.
Referenced by Calculate(), EcalHaloAlgo(), GetEBRecHitEnergyThreshold(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 113 of file EcalHaloAlgo.h.
Referenced by EcalHaloAlgo(), GetEERecHitEnergyThreshold(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 114 of file EcalHaloAlgo.h.
Referenced by EcalHaloAlgo(), GetESRecHitEnergyThreshold(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 121 of file EcalHaloAlgo.h.
Referenced by Calculate(), EcalHaloAlgo(), and getPosition().
|
private |
Definition at line 120 of file EcalHaloAlgo.h.
Referenced by Calculate().
|
private |
Definition at line 118 of file EcalHaloAlgo.h.
Referenced by Calculate(), EcalHaloAlgo(), GetPhiWedgeNHitsThreshold(), SetPhiWedgeNHitsThreshold(), and SetPhiWedgeThresholds().
|
private |
Definition at line 107 of file EcalHaloAlgo.h.
Referenced by EcalHaloAlgo(), GetRoundnessCut(), and SetRoundnessCut().
|
private |
Definition at line 117 of file EcalHaloAlgo.h.
Referenced by Calculate(), EcalHaloAlgo(), GetPhiWedgeEnergyThreshold(), SetPhiWedgeEnergyThreshold(), and SetPhiWedgeThresholds().