#include <HcalHaloAlgo.h>
Private Member Functions | |
math::XYZPoint | getPosition (const DetId &id, reco::Vertex::Point vtx) |
Private Attributes | |
const CaloGeometry * | geo_ |
edm::ESGetToken< CaloGeometry, CaloGeometryRecord > | geoToken_ |
float | HBRecHitEnergyThreshold |
float | HERecHitEnergyThreshold |
const HcalGeometry * | hgeo_ |
int | NHitsThreshold |
float | SumEnergyThreshold |
Definition at line 41 of file HcalHaloAlgo.h.
|
explicit |
Definition at line 24 of file HcalHaloAlgo.cc.
References HBRecHitEnergyThreshold, HERecHitEnergyThreshold, NHitsThreshold, and SumEnergyThreshold.
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 40 of file HcalHaloAlgo.cc.
References funct::abs(), CompareTime(), CompareTowers(), F(), geo_, geoToken_, edm::EventSetup::getData(), 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, reco::HcalHaloData::setHaloClusterCandidatesHB(), reco::HcalHaloData::setHaloClusterCandidatesHE(), reco::PhiWedge::SetPlusZOriginConfidence(), jetUpdater_cfi::sort, digitizers_cfi::strip, SumEnergyThreshold, protons_cff::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 31 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 252 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 extraflags_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 385 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 extraflags_cff::vtx.
Referenced by Calculate().
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 557 of file HcalHaloAlgo.cc.
References geo_, CaloGeometry::getPosition(), HcalGeometry::getPosition(), DetId::Hcal, hgeo_, and extraflags_cff::vtx.
Referenced by GetHaloClusterCandidateHB(), and GetHaloClusterCandidateHE().
bool HcalHaloAlgo::HBClusterShapeandTimeStudy | ( | reco::HaloClusterCandidateHCAL | hcand, |
bool | ishlt | ||
) |
Definition at line 501 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 532 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 103 of file HcalHaloAlgo.h.
Referenced by Calculate(), and getPosition().
|
private |
Definition at line 102 of file HcalHaloAlgo.h.
Referenced by Calculate().
|
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 104 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().