#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 |
const HcalGeometry * | hgeo_ |
int | NHitsThreshold |
float | SumEnergyThreshold |
Definition at line 41 of file HcalHaloAlgo.h.
HcalHaloAlgo::HcalHaloAlgo | ( | ) |
Definition at line 23 of file HcalHaloAlgo.cc.
References HBRecHitEnergyThreshold, HERecHitEnergyThreshold, NHitsThreshold, and SumEnergyThreshold.
|
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 35 of file HcalHaloAlgo.cc.
References funct::abs(), CompareTime(), CompareTowers(), CaloTower::emEt(), F(), geo_, edm::EventSetup::get(), GetHaloClusterCandidateHB(), GetHaloClusterCandidateHE(), reco::HcalHaloData::GetPhiWedges(), reco::HcalHaloData::getProblematicStrips(), CaloGeometry::getSubdetectorGeometry(), CaloTower::hadEt(), HBRecHitEnergyThreshold, DetId::Hcal, HcalBarrel, HcalEndcap, HERecHitEnergyThreshold, hgeo_, mps_fire::i, hit::id, CaloTower::id(), HcalDetId::ieta(), CaloTower::ieta(), CaloTower::iphi(), SiStripPI::max, NHitsThreshold, CaloTower::numProblematicHcalCells(), edm::ESHandle< T >::product(), reco::HcalHaloData::setHaloClusterCandidatesHB(), reco::HcalHaloData::setHaloClusterCandidatesHE(), reco::PhiWedge::SetPlusZOriginConfidence(), digi_MixPreMix_cfi::strip, SumEnergyThreshold, and ntuplemaker::time.
Referenced by Calculate(), 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 30 of file HcalHaloAlgo.cc.
References Calculate().
std::vector< HaloClusterCandidateHCAL > HcalHaloAlgo::GetHaloClusterCandidateHB | ( | edm::Handle< EcalRecHitCollection > & | ebrechitcoll, |
edm::Handle< HBHERecHitCollection > & | hbherechitcoll, | ||
float | et_thresh_seedrh | ||
) |
Definition at line 249 of file HcalHaloAlgo.cc.
References funct::abs(), hiPixelPairStep_cff::deltaPhi, CaloRecHit::energy(), EcalRecHit::energy(), PVValHelper::eta, getPosition(), HBClusterShapeandTimeStudy(), HBHERecHit::id(), EcalRecHit::id(), phi, 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 Calculate(), and GetPhiWedgeNHitsThreshold().
std::vector< HaloClusterCandidateHCAL > HcalHaloAlgo::GetHaloClusterCandidateHE | ( | edm::Handle< EcalRecHitCollection > & | eerechitcoll, |
edm::Handle< HBHERecHitCollection > & | hbherechitcoll, | ||
float | et_thresh_seedrh | ||
) |
Definition at line 359 of file HcalHaloAlgo.cc.
References funct::abs(), hiPixelPairStep_cff::deltaPhi, runTauDisplay::dr, CaloRecHit::energy(), EcalRecHit::energy(), PVValHelper::eta, getPosition(), HEClusterShapeandTimeStudy(), HBHERecHit::id(), EcalRecHit::id(), phi, 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 Calculate(), and GetPhiWedgeNHitsThreshold().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 67 of file HcalHaloAlgo.h.
References GetHaloClusterCandidateHB(), GetHaloClusterCandidateHE(), HBClusterShapeandTimeStudy(), HEClusterShapeandTimeStudy(), and NHitsThreshold.
|
private |
Definition at line 507 of file HcalHaloAlgo.cc.
References geo_, CaloGeometry::getPosition(), HcalGeometry::getPosition(), DetId::Hcal, hgeo_, PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by GetHaloClusterCandidateHB(), and GetHaloClusterCandidateHE().
bool HcalHaloAlgo::HBClusterShapeandTimeStudy | ( | reco::HaloClusterCandidateHCAL | hcand, |
bool | ishlt | ||
) |
Definition at line 458 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 GetHaloClusterCandidateHB(), and GetPhiWedgeNHitsThreshold().
bool HcalHaloAlgo::HEClusterShapeandTimeStudy | ( | reco::HaloClusterCandidateHCAL | hcand, |
bool | ishlt | ||
) |
Definition at line 484 of file HcalHaloAlgo.cc.
References reco::HaloClusterCandidateHCAL::getH1overH123(), reco::HaloClusterCandidateHCAL::getSeedEt(), reco::HaloClusterCandidateHCAL::getSeedR(), and reco::HaloClusterCandidateHCAL::setIsHaloFromPattern().
Referenced by GetHaloClusterCandidateHE(), and GetPhiWedgeNHitsThreshold().
|
inline |
|
inline |
Definition at line 58 of file HcalHaloAlgo.h.
References nhits, and NHitsThreshold.
|
inline |
Definition at line 59 of file HcalHaloAlgo.h.
References nhits, NHitsThreshold, and SumEnergyThreshold.
Referenced by reco::HcalHaloDataProducer::produce().
|
inline |
Definition at line 54 of file HcalHaloAlgo.h.
References HB, HBRecHitEnergyThreshold, HE, and HERecHitEnergyThreshold.
Referenced by reco::HcalHaloDataProducer::produce().
|
private |
Definition at line 86 of file HcalHaloAlgo.h.
Referenced by Calculate(), and getPosition().
|
private |
Definition at line 79 of file HcalHaloAlgo.h.
Referenced by Calculate(), GetHBRecHitEnergyThreshold(), HcalHaloAlgo(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 80 of file HcalHaloAlgo.h.
Referenced by Calculate(), GetHERecHitEnergyThreshold(), HcalHaloAlgo(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 87 of file HcalHaloAlgo.h.
Referenced by Calculate(), and getPosition().
|
private |
Definition at line 84 of file HcalHaloAlgo.h.
Referenced by Calculate(), GetPhiWedgeNHitsThreshold(), HcalHaloAlgo(), SetPhiWedgeNHitsThreshold(), and SetPhiWedgeThresholds().
|
private |
Definition at line 83 of file HcalHaloAlgo.h.
Referenced by Calculate(), GetPhiWedgeEnergyThreshold(), HcalHaloAlgo(), SetPhiWedgeEnergyThreshold(), and SetPhiWedgeThresholds().