#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(), edm::SortedCollection< T, SORT >::begin(), CompareTime(), EBRecHitEnergyThreshold, DetId::Ecal, edm::SortedCollection< T, SORT >::end(), 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(), nano_mu_digi_cff::rawId, DetId::rawId(), reco::EcalHaloData::setHaloClusterCandidatesEB(), reco::EcalHaloData::setHaloClusterCandidatesEE(), reco::PhiWedge::SetPlusZOriginConfidence(), jetUpdater_cfi::sort, SumEnergyThreshold, and hcalRecHitTable_cff::time.
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(), SiPixelRawToDigiRegional_cfi::deltaPhi, EBClusterShapeandTimeStudy(), CaloRecHit::energy(), EcalRecHit::energy(), PVValHelper::eta, getPosition(), electrons_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(), edm::SortedCollection< T, SORT >::size(), mathSSE::sqrt(), EcalRecHit::time(), and L1BJetProducer_cff::vtx.
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(), SiPixelRawToDigiRegional_cfi::deltaPhi, l1ctLayer1_cff::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(), edm::SortedCollection< T, SORT >::size(), mathSSE::sqrt(), EcalRecHit::time(), and L1BJetProducer_cff::vtx.
Referenced by Calculate().
|
inline |
|
inline |
|
private |
Definition at line 559 of file EcalHaloAlgo.cc.
References geo, CaloGeometry::getPosition(), and L1BJetProducer_cff::vtx.
Referenced by GetHaloClusterCandidateEB(), and GetHaloClusterCandidateEE().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 73 of file EcalHaloAlgo.h.
References TrackingDataMCValidation_Standalone_cff::nhits, and NHitsThreshold.
|
inline |
Definition at line 74 of file EcalHaloAlgo.h.
References TrackingDataMCValidation_Standalone_cff::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().