#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 |
int | NHitsThreshold |
float | RoundnessCut |
float | SumEnergyThreshold |
Definition at line 44 of file EcalHaloAlgo.h.
EcalHaloAlgo::EcalHaloAlgo | ( | ) |
Definition at line 19 of file EcalHaloAlgo.cc.
|
inline |
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(), Abs(), angle(), edm::SortedCollection< T, SORT >::begin(), CompareTime(), DetId::Ecal, edm::SortedCollection< T, SORT >::end(), edm::EventSetup::get(), reco::EcalHaloData::GetPhiWedges(), 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(), edm::Handle< T >::product(), edm::ESHandle< T >::product(), edm::RefVector< C, T, F >::push_back(), DetId::rawId(), reco::EcalHaloData::setHaloClusterCandidatesEB(), reco::EcalHaloData::setHaloClusterCandidatesEE(), reco::PhiWedge::SetPlusZOriginConfidence(), and ntuplemaker::time.
Referenced by reco::EcalHaloDataProducer::produce(), and ~EcalHaloAlgo().
bool EcalHaloAlgo::EBClusterShapeandTimeStudy | ( | reco::HaloClusterCandidateECAL | hcand, |
bool | ishlt | ||
) |
Definition at line 473 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 SetPhiWedgeThresholds().
bool EcalHaloAlgo::EEClusterShapeandTimeStudy_ITBH | ( | reco::HaloClusterCandidateECAL | hcand, |
bool | ishlt | ||
) |
Definition at line 511 of file EcalHaloAlgo.cc.
References reco::HaloClusterCandidateECAL::getClusterSize(), reco::HaloClusterCandidateECAL::getSeedEt(), reco::HaloClusterCandidateECAL::getSeedR(), reco::HaloClusterCandidateECAL::getTimeDiscriminator(), and reco::HaloClusterCandidateECAL::setIsHaloFromPattern().
Referenced by SetPhiWedgeThresholds().
bool EcalHaloAlgo::EEClusterShapeandTimeStudy_OTBH | ( | reco::HaloClusterCandidateECAL | hcand, |
bool | ishlt | ||
) |
Definition at line 496 of file EcalHaloAlgo.cc.
References reco::HaloClusterCandidateECAL::getNbEarlyCrystals(), reco::HaloClusterCandidateECAL::getNbLateCrystals(), reco::HaloClusterCandidateECAL::getSeedEt(), reco::HaloClusterCandidateECAL::getSeedTime(), and reco::HaloClusterCandidateECAL::setIsHaloFromPattern().
Referenced by SetPhiWedgeThresholds().
|
inline |
|
inline |
|
inline |
|
inline |
std::vector< HaloClusterCandidateECAL > EcalHaloAlgo::GetHaloClusterCandidateEB | ( | edm::Handle< EcalRecHitCollection > & | ecalrechitcoll, |
edm::Handle< HBHERecHitCollection > & | hbherechitcoll, | ||
float | et_thresh_seedrh | ||
) |
Definition at line 226 of file EcalHaloAlgo.cc.
References funct::abs(), MuonCkfTrajectoryBuilder_cfi::deltaPhi, CaloRecHit::energy(), EcalRecHit::energy(), stringResolutionProvider_cfi::eta, HBHERecHit::id(), EcalRecHit::id(), EBDetId::ieta(), 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(), edm::SortedCollection< T, SORT >::size(), mathSSE::sqrt(), EcalRecHit::time(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by SetPhiWedgeThresholds().
std::vector< HaloClusterCandidateECAL > EcalHaloAlgo::GetHaloClusterCandidateEE | ( | edm::Handle< EcalRecHitCollection > & | ecalrechitcoll, |
edm::Handle< HBHERecHitCollection > & | hbherechitcoll, | ||
float | et_thresh_seedrh | ||
) |
Definition at line 342 of file EcalHaloAlgo.cc.
References funct::abs(), MuonCkfTrajectoryBuilder_cfi::deltaPhi, runTauDisplay::dr, CaloRecHit::energy(), EcalRecHit::energy(), stringResolutionProvider_cfi::eta, HBHERecHit::id(), EcalRecHit::id(), 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(), edm::SortedCollection< T, SORT >::size(), mathSSE::sqrt(), EcalRecHit::time(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by SetPhiWedgeThresholds().
|
inline |
|
inline |
|
private |
Definition at line 533 of file EcalHaloAlgo.cc.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 63 of file EcalHaloAlgo.h.
References nhits, and NHitsThreshold.
|
inline |
Definition at line 64 of file EcalHaloAlgo.h.
References EBClusterShapeandTimeStudy(), EEClusterShapeandTimeStudy_ITBH(), EEClusterShapeandTimeStudy_OTBH(), GetHaloClusterCandidateEB(), GetHaloClusterCandidateEE(), nhits, NHitsThreshold, and SumEnergyThreshold.
Referenced by reco::EcalHaloDataProducer::produce().
|
inline |
Definition at line 60 of file EcalHaloAlgo.h.
References EB, EBRecHitEnergyThreshold, EE, EERecHitEnergyThreshold, and ESRecHitEnergyThreshold.
Referenced by reco::EcalHaloDataProducer::produce().
|
inline |
Definition at line 55 of file EcalHaloAlgo.h.
References alignCSCRings::r, and RoundnessCut.
Referenced by reco::EcalHaloDataProducer::produce().
|
private |
Definition at line 95 of file EcalHaloAlgo.h.
Referenced by GetAngleCut(), and SetAngleCut().
|
private |
Definition at line 98 of file EcalHaloAlgo.h.
Referenced by GetEBRecHitEnergyThreshold(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 99 of file EcalHaloAlgo.h.
Referenced by GetEERecHitEnergyThreshold(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 100 of file EcalHaloAlgo.h.
Referenced by GetESRecHitEnergyThreshold(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 106 of file EcalHaloAlgo.h.
|
private |
Definition at line 104 of file EcalHaloAlgo.h.
Referenced by GetPhiWedgeNHitsThreshold(), SetPhiWedgeNHitsThreshold(), and SetPhiWedgeThresholds().
|
private |
Definition at line 93 of file EcalHaloAlgo.h.
Referenced by GetRoundnessCut(), and SetRoundnessCut().
|
private |
Definition at line 103 of file EcalHaloAlgo.h.
Referenced by GetPhiWedgeEnergyThreshold(), SetPhiWedgeEnergyThreshold(), and SetPhiWedgeThresholds().