#include <CaloRecHit.h>
Public Member Functions | |
uint32_t | aux () const |
CaloRecHit () | |
CaloRecHit (const DetId &id, float energy, float time, uint32_t flags=0, uint32_t aux=0) | |
const DetId & | detid () const |
float | energy () const |
uint32_t | flagField (int base, int width=1) const |
uint32_t | flags () const |
void | setAux (uint32_t value) |
void | setFlagField (uint32_t value, int base, int width=1) |
void | setFlags (uint32_t flags) |
float | time () const |
Private Attributes | |
uint32_t | aux_ |
float | energy_ |
uint32_t | flags_ |
DetId | id_ |
float | time_ |
CaloRecHit::CaloRecHit | ( | ) |
CaloRecHit::CaloRecHit | ( | const DetId & | id, |
float | energy, | ||
float | time, | ||
uint32_t | flags = 0 , |
||
uint32_t | aux = 0 |
||
) | [explicit] |
uint32_t CaloRecHit::aux | ( | ) | const [inline] |
Definition at line 27 of file CaloRecHit.h.
References aux_.
Referenced by operator<<(), EcalRecHit::setTimeError(), and EcalRecHit::timeError().
{ return aux_; }
const DetId& CaloRecHit::detid | ( | ) | const [inline] |
Definition at line 21 of file CaloRecHit.h.
References id_.
Referenced by CaloTowersCreationAlgo::assignHit(), FWPFEcalRecHitLegoProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), CaloRecHitCandidateProducer::cellTresholdAndWeight(), PFRecHitProducerPS::createRecHits(), muonisolation::CaloExtractorByAssociator::deposits(), reco::HcalNoiseInfoProducer::fillrechits(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsValidation::hcalSevLvl(), EcalRecHit::id(), CastorRecHit::id(), HFRecHit::id(), ZDCRecHit::id(), HBHERecHit::id(), HORecHit::id(), CRHMCVComp::operator()(), operator<(), operator<<(), EgammaHLTHcalIsolation::passCleaning_(), HBHEStatusBitSetter::SetFlagsFromDigi(), and ObjectValidator::validHit().
{ return id_; }
float CaloRecHit::energy | ( | ) | const [inline] |
Definition at line 19 of file CaloRecHit.h.
References energy_.
Referenced by BetaCalculatorECAL::addInfoToCandidate(), AlCaElectronsTest::analyze(), EcalCosmicsHists::analyze(), cms::Analyzer_minbias::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), CaloTowersCreationAlgo::assignHit(), FWPFEcalRecHitLegoProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), HBHEHitMap::calcEcalNeighborTowers_(), HBHEHitMap::calcEcalSameTowers_(), HBHEHitMap::calcHcalNeighborTowers_(), HBHEHitMap::calcHcalSameTowers_(), HBHEHitMap::calcHits_(), ClusterShapeAlgo::Calculate_2ndEnergy(), ClusterShapeAlgo::Calculate_EnergyDepTopology(), ClusterShapeAlgo::Calculate_TopEnergy(), CaloRecHitCandidateProducer::cellTresholdAndWeight(), ClusterShapeAlgo::Create_Map(), PFRecHitProducerPS::createRecHits(), muonisolation::CaloExtractorByAssociator::deposits(), reco::HcalNoiseInfoProducer::fillrechits(), EcalRecHitsFilter::filter(), reco::CentralityProducer::filter(), calib::CalibElectron::getCalibModulesWeights(), RxCalculator::getCRx(), EcalClusterTools::getEnergyDepTopology(), ZeeCalibration::getHottestDetId(), RxCalculator::getRFx(), RxCalculator::getROx(), RxCalculator::getRx(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), EcalMIPRecHitFilter::hltFilter(), HLTHcalSimpleRecHitFilter::hltFilter(), IslandClusterAlgo::makeCluster(), Multi5x5ClusterAlgo::makeCluster(), CosmicClusterAlgo::makeCluster(), HybridClusterAlgo::makeDomino(), EcalDisplaysByEvent::makeHistos(), ecalRecHitLess::operator()(), EcalRecHitLess::operator()(), ecalRecHitSort::operator()(), eecalRecHitLess::operator()(), less_mag::operator()(), operator<(), operator<<(), RecHitCorrector::produce(), CastorCellProducer::produce(), AlCaHOCalibProducer::produce(), reco::modules::CaloRecHitCandidateProducer< HitCollection >::produce(), InterestingDetIdCollectionProducer::produce(), EcalDisplaysByEvent::selectHits(), EcalMipGraphs::selectHits(), HBHEStatusBitSetter::SetFlagsFromDigi(), EcalSeverityLevelAlgo::severityLevel(), HBHETimingShapedFlagSetter::timingStatus(), and ObjectValidator::validHit().
{ return energy_; }
uint32_t CaloRecHit::flagField | ( | int | base, |
int | width = 1 |
||
) | const |
uint32_t CaloRecHit::flags | ( | ) | const [inline] |
Definition at line 22 of file CaloRecHit.h.
References flags_.
Referenced by EcalRecHit::chi2(), reco::HcalNoiseInfoProducer::fillrechits(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsValidation::hcalSevLvl(), operator<<(), EcalRecHit::outOfTimeChi2(), EcalRecHit::outOfTimeEnergy(), EgammaHLTHcalIsolation::passCleaning_(), EcalRecHit::setChi2(), setFlags(), EcalRecHit::setOutOfTimeChi2(), EcalRecHit::setOutOfTimeEnergy(), and ObjectValidator::validHit().
{ return flags_; }
void CaloRecHit::setAux | ( | uint32_t | value | ) | [inline] |
Definition at line 26 of file CaloRecHit.h.
References aux_, and relativeConstraints::value.
Referenced by EcalRecHit::setTimeError().
void CaloRecHit::setFlagField | ( | uint32_t | value, |
int | base, | ||
int | width = 1 |
||
) |
Definition at line 20 of file CaloRecHit.cc.
References hitfit::clear(), flags_, masks, max(), min, and relativeConstraints::value.
Referenced by HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), HBHEIsolatedNoiseReflagger::produce(), HBHEStatusBitSetter::SetFlagsFromDigi(), HBHEPulseShapeFlagSetter::SetPulseShapeFlags(), and HBHETimingShapedFlagSetter::SetTimingShapedFlags().
void CaloRecHit::setFlags | ( | uint32_t | flags | ) | [inline] |
Definition at line 23 of file CaloRecHit.h.
References flags(), and flags_.
Referenced by EcalRecHit::setChi2(), EcalRecHit::setOutOfTimeChi2(), and EcalRecHit::setOutOfTimeEnergy().
float CaloRecHit::time | ( | ) | const [inline] |
Definition at line 20 of file CaloRecHit.h.
References time_.
Referenced by BetaCalculatorECAL::addInfoToCandidate(), EcalCosmicsHists::analyze(), CaloTowersCreationAlgo::assignHit(), CompareTime(), PFRecHitProducerPS::createRecHits(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), EcalDisplaysByEvent::makeHistos(), operator<<(), RecHitCorrector::produce(), EcalMipGraphs::selectHits(), and HBHETimingShapedFlagSetter::timingStatus().
{ return time_; }
uint32_t CaloRecHit::aux_ [private] |
Definition at line 33 of file CaloRecHit.h.
float CaloRecHit::energy_ [private] |
Definition at line 30 of file CaloRecHit.h.
Referenced by energy().
uint32_t CaloRecHit::flags_ [private] |
Definition at line 32 of file CaloRecHit.h.
Referenced by flagField(), flags(), setFlagField(), and setFlags().
DetId CaloRecHit::id_ [private] |
Definition at line 29 of file CaloRecHit.h.
Referenced by detid().
float CaloRecHit::time_ [private] |
Definition at line 31 of file CaloRecHit.h.
Referenced by time().