#include <HcalHaloAlgo.h>
Private Member Functions | |
math::XYZPoint | getPosition (const DetId &id, reco::Vertex::Point vtx) |
Private Attributes | |
const CaloGeometry * | geo |
float | HBRecHitEnergyThreshold |
float | HERecHitEnergyThreshold |
int | NHitsThreshold |
float | SumEnergyThreshold |
Definition at line 47 of file HcalHaloAlgo.h.
HcalHaloAlgo::HcalHaloAlgo | ( | ) |
Definition at line 26 of file HcalHaloAlgo.cc.
|
inline |
HcalHaloData HcalHaloAlgo::Calculate | ( | const CaloGeometry & | TheCaloGeometry, |
edm::Handle< HBHERecHitCollection > & | TheHBHERecHits, | ||
edm::Handle< CaloTowerCollection > & | TheCaloTowers, | ||
edm::Handle< EBRecHitCollection > & | TheEBRecHits, | ||
edm::Handle< EERecHitCollection > & | TheEERecHits, | ||
const edm::EventSetup & | TheSetup | ||
) |
Definition at line 41 of file HcalHaloAlgo.cc.
References funct::abs(), Abs(), edm::SortedCollection< T, SORT >::begin(), CompareTime(), CompareTowers(), CaloTower::emEt(), edm::SortedCollection< T, SORT >::end(), F(), edm::EventSetup::get(), reco::HcalHaloData::GetPhiWedges(), reco::HcalHaloData::getProblematicStrips(), CaloTower::hadEt(), HcalBarrel, HcalEndcap, mps_fire::i, hit::id, CaloTower::id(), HcalDetId::ieta(), CaloTower::ieta(), CaloTower::iphi(), hpstanc_transforms::max, CaloTower::numProblematicHcalCells(), edm::ESHandle< T >::product(), reco::HcalHaloData::setHaloClusterCandidatesHB(), reco::HcalHaloData::setHaloClusterCandidatesHE(), reco::PhiWedge::SetPlusZOriginConfidence(), digi_MixPreMix_cfi::strip, and ntuplemaker::time.
Referenced by reco::HcalHaloDataProducer::produce(), and ~HcalHaloAlgo().
HcalHaloData HcalHaloAlgo::Calculate | ( | const CaloGeometry & | TheCaloGeometry, |
edm::Handle< HBHERecHitCollection > & | TheHBHERecHits, | ||
edm::Handle< EBRecHitCollection > & | TheEBRecHits, | ||
edm::Handle< EERecHitCollection > & | TheEERecHits, | ||
const edm::EventSetup & | TheSetup | ||
) |
Definition at line 36 of file HcalHaloAlgo.cc.
std::vector< HaloClusterCandidateHCAL > HcalHaloAlgo::GetHaloClusterCandidateHB | ( | edm::Handle< EcalRecHitCollection > & | ebrechitcoll, |
edm::Handle< HBHERecHitCollection > & | hbherechitcoll, | ||
float | et_thresh_seedrh | ||
) |
Definition at line 263 of file HcalHaloAlgo.cc.
References funct::abs(), MuonCkfTrajectoryBuilder_cfi::deltaPhi, CaloRecHit::energy(), EcalRecHit::energy(), stringResolutionProvider_cfi::eta, HBHERecHit::id(), EcalRecHit::id(), edm::RefVector< C, T, F >::push_back(), reco::HaloClusterCandidateHCAL::setBeamHaloRecHitsCandidates(), reco::HaloClusterCandidateHCAL::setClusterEt(), reco::HaloClusterCandidateHCAL::setEoverH(), reco::HaloClusterCandidateHCAL::setEtStripPhiSeedMinus1(), reco::HaloClusterCandidateHCAL::setEtStripPhiSeedPlus1(), reco::HaloClusterCandidateHCAL::setIsHaloFromPattern(), reco::HaloClusterCandidateHCAL::setIsHaloFromPattern_HLT(), reco::HaloClusterCandidateHCAL::setNbTowersInEta(), reco::HaloClusterCandidateHCAL::setSeedEt(), reco::HaloClusterCandidateHCAL::setSeedEta(), reco::HaloClusterCandidateHCAL::setSeedPhi(), reco::HaloClusterCandidateHCAL::setSeedR(), reco::HaloClusterCandidateHCAL::setSeedTime(), reco::HaloClusterCandidateHCAL::setSeedZ(), reco::HaloClusterCandidateHCAL::setTimeDiscriminatorITBH(), reco::HaloClusterCandidateHCAL::setTimeDiscriminatorOTBH(), edm::SortedCollection< T, SORT >::size(), mathSSE::sqrt(), CaloRecHit::time(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by GetPhiWedgeNHitsThreshold().
std::vector< HaloClusterCandidateHCAL > HcalHaloAlgo::GetHaloClusterCandidateHE | ( | edm::Handle< EcalRecHitCollection > & | eerechitcoll, |
edm::Handle< HBHERecHitCollection > & | hbherechitcoll, | ||
float | et_thresh_seedrh | ||
) |
Definition at line 373 of file HcalHaloAlgo.cc.
References funct::abs(), MuonCkfTrajectoryBuilder_cfi::deltaPhi, runTauDisplay::dr, CaloRecHit::energy(), EcalRecHit::energy(), stringResolutionProvider_cfi::eta, HBHERecHit::id(), EcalRecHit::id(), edm::RefVector< C, T, F >::push_back(), reco::HaloClusterCandidateHCAL::setBeamHaloRecHitsCandidates(), reco::HaloClusterCandidateHCAL::setClusterEt(), reco::HaloClusterCandidateHCAL::setClusterSize(), reco::HaloClusterCandidateHCAL::setEoverH(), reco::HaloClusterCandidateHCAL::setEtStripPhiSeedMinus1(), reco::HaloClusterCandidateHCAL::setEtStripPhiSeedPlus1(), reco::HaloClusterCandidateHCAL::setH1overH123(), reco::HaloClusterCandidateHCAL::setIsHaloFromPattern(), reco::HaloClusterCandidateHCAL::setIsHaloFromPattern_HLT(), reco::HaloClusterCandidateHCAL::setSeedEt(), reco::HaloClusterCandidateHCAL::setSeedEta(), reco::HaloClusterCandidateHCAL::setSeedPhi(), reco::HaloClusterCandidateHCAL::setSeedR(), reco::HaloClusterCandidateHCAL::setSeedTime(), reco::HaloClusterCandidateHCAL::setSeedZ(), reco::HaloClusterCandidateHCAL::setTimeDiscriminator(), edm::SortedCollection< T, SORT >::size(), mathSSE::sqrt(), CaloRecHit::time(), and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by GetPhiWedgeNHitsThreshold().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 73 of file HcalHaloAlgo.h.
References GetHaloClusterCandidateHB(), GetHaloClusterCandidateHE(), HBClusterShapeandTimeStudy(), HEClusterShapeandTimeStudy(), and NHitsThreshold.
|
private |
Definition at line 521 of file HcalHaloAlgo.cc.
References PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
bool HcalHaloAlgo::HBClusterShapeandTimeStudy | ( | reco::HaloClusterCandidateHCAL | hcand, |
bool | ishlt | ||
) |
Definition at line 472 of file HcalHaloAlgo.cc.
References reco::HaloClusterCandidateHCAL::getEtStripPhiSeedMinus1(), reco::HaloClusterCandidateHCAL::getEtStripPhiSeedPlus1(), reco::HaloClusterCandidateHCAL::getNbTowersInEta(), reco::HaloClusterCandidateHCAL::getSeedEt(), reco::HaloClusterCandidateHCAL::getTimeDiscriminatorITBH(), reco::HaloClusterCandidateHCAL::getTimeDiscriminatorOTBH(), and reco::HaloClusterCandidateHCAL::setIsHaloFromPattern().
Referenced by GetPhiWedgeNHitsThreshold().
bool HcalHaloAlgo::HEClusterShapeandTimeStudy | ( | reco::HaloClusterCandidateHCAL | hcand, |
bool | ishlt | ||
) |
Definition at line 498 of file HcalHaloAlgo.cc.
References reco::HaloClusterCandidateHCAL::getH1overH123(), reco::HaloClusterCandidateHCAL::getSeedEt(), reco::HaloClusterCandidateHCAL::getSeedR(), and reco::HaloClusterCandidateHCAL::setIsHaloFromPattern().
Referenced by GetPhiWedgeNHitsThreshold().
|
inline |
|
inline |
Definition at line 64 of file HcalHaloAlgo.h.
References nhits, and NHitsThreshold.
|
inline |
Definition at line 65 of file HcalHaloAlgo.h.
References nhits, NHitsThreshold, and SumEnergyThreshold.
Referenced by reco::HcalHaloDataProducer::produce().
|
inline |
Definition at line 60 of file HcalHaloAlgo.h.
References HB, HBRecHitEnergyThreshold, HE, and HERecHitEnergyThreshold.
Referenced by reco::HcalHaloDataProducer::produce().
|
private |
Definition at line 92 of file HcalHaloAlgo.h.
|
private |
Definition at line 85 of file HcalHaloAlgo.h.
Referenced by GetHBRecHitEnergyThreshold(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 86 of file HcalHaloAlgo.h.
Referenced by GetHERecHitEnergyThreshold(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 90 of file HcalHaloAlgo.h.
Referenced by GetPhiWedgeNHitsThreshold(), SetPhiWedgeNHitsThreshold(), and SetPhiWedgeThresholds().
|
private |
Definition at line 89 of file HcalHaloAlgo.h.
Referenced by GetPhiWedgeEnergyThreshold(), SetPhiWedgeEnergyThreshold(), and SetPhiWedgeThresholds().