#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 39 of file HcalHaloAlgo.h.
HcalHaloAlgo::HcalHaloAlgo | ( | ) |
Definition at line 23 of file HcalHaloAlgo.cc.
References HBRecHitEnergyThreshold, HERecHitEnergyThreshold, NHitsThreshold, and SumEnergyThreshold.
|
inline |
Definition at line 44 of file HcalHaloAlgo.h.
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 39 of file HcalHaloAlgo.cc.
References funct::abs(), CompareTime(), CompareTowers(), F(), geo_, edm::EventSetup::get(), get, GetHaloClusterCandidateHB(), GetHaloClusterCandidateHE(), reco::HcalHaloData::GetPhiWedges(), reco::HcalHaloData::getProblematicStrips(), CaloGeometry::getSubdetectorGeometry(), HBRecHitEnergyThreshold, DetId::Hcal, HcalBarrel, HcalEndcap, HERecHitEnergyThreshold, hgeo_, mps_fire::i, hit::id, L1TowerCalibrationProducer_cfi::iEta, LEDCalibrationChannels::ieta, HcalDetId::ieta(), LEDCalibrationChannels::iphi, dqmiolumiharvest::j, SiStripPI::max, NHitsThreshold, edm::ESHandle< T >::product(), reco::HcalHaloData::setHaloClusterCandidatesHB(), reco::HcalHaloData::setHaloClusterCandidatesHE(), reco::PhiWedge::SetPlusZOriginConfidence(), digitizers_cfi::strip, SumEnergyThreshold, ntuplemaker::time, and hgcalTowerProducer_cfi::tower.
Referenced by Calculate(), and reco::HcalHaloDataProducer::produce().
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 253 of file HcalHaloAlgo.cc.
References funct::abs(), SiPixelRawToDigiRegional_cfi::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().
std::vector< HaloClusterCandidateHCAL > HcalHaloAlgo::GetHaloClusterCandidateHE | ( | edm::Handle< EcalRecHitCollection > & | eerechitcoll, |
edm::Handle< HBHERecHitCollection > & | hbherechitcoll, | ||
float | et_thresh_seedrh | ||
) |
Definition at line 386 of file HcalHaloAlgo.cc.
References funct::abs(), SiPixelRawToDigiRegional_cfi::deltaPhi, flavorHistoryFilter_cfi::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().
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 558 of file HcalHaloAlgo.cc.
References geo_, CaloGeometry::getPosition(), HcalGeometry::getPosition(), DetId::Hcal, hgeo_, and badGlobalMuonTaggersAOD_cff::vtx.
Referenced by GetHaloClusterCandidateHB(), and GetHaloClusterCandidateHE().
bool HcalHaloAlgo::HBClusterShapeandTimeStudy | ( | reco::HaloClusterCandidateHCAL | hcand, |
bool | ishlt | ||
) |
Definition at line 502 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().
bool HcalHaloAlgo::HEClusterShapeandTimeStudy | ( | reco::HaloClusterCandidateHCAL | hcand, |
bool | ishlt | ||
) |
Definition at line 533 of file HcalHaloAlgo.cc.
References reco::HaloClusterCandidateHCAL::getH1overH123(), reco::HaloClusterCandidateHCAL::getSeedEt(), reco::HaloClusterCandidateHCAL::getSeedR(), and reco::HaloClusterCandidateHCAL::setIsHaloFromPattern().
Referenced by GetHaloClusterCandidateHE().
|
inline |
|
inline |
|
inline |
Definition at line 69 of file HcalHaloAlgo.h.
References nhits, NHitsThreshold, and SumEnergyThreshold.
Referenced by reco::HcalHaloDataProducer::produce().
|
inline |
Definition at line 61 of file HcalHaloAlgo.h.
References HB, HBRecHitEnergyThreshold, HE, and HERecHitEnergyThreshold.
Referenced by reco::HcalHaloDataProducer::produce().
|
private |
Definition at line 102 of file HcalHaloAlgo.h.
Referenced by Calculate(), and getPosition().
|
private |
Definition at line 95 of file HcalHaloAlgo.h.
Referenced by Calculate(), GetHBRecHitEnergyThreshold(), HcalHaloAlgo(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 96 of file HcalHaloAlgo.h.
Referenced by Calculate(), GetHERecHitEnergyThreshold(), HcalHaloAlgo(), and SetRecHitEnergyThresholds().
|
private |
Definition at line 103 of file HcalHaloAlgo.h.
Referenced by Calculate(), and getPosition().
|
private |
Definition at line 100 of file HcalHaloAlgo.h.
Referenced by Calculate(), GetPhiWedgeNHitsThreshold(), HcalHaloAlgo(), SetPhiWedgeNHitsThreshold(), and SetPhiWedgeThresholds().
|
private |
Definition at line 99 of file HcalHaloAlgo.h.
Referenced by Calculate(), GetPhiWedgeEnergyThreshold(), HcalHaloAlgo(), SetPhiWedgeEnergyThreshold(), and SetPhiWedgeThresholds().