#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 | setEnergy (float energy) |
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 | ( | ) |
Definition at line 4 of file CaloRecHit.cc.
|
explicit |
Definition at line 7 of file CaloRecHit.cc.
|
inline |
Definition at line 28 of file CaloRecHit.h.
References aux_.
Referenced by operator<<(), EcalRecHit::setTimeError(), and EcalRecHit::timeError().
|
inline |
Definition at line 22 of file CaloRecHit.h.
References id_.
Referenced by CaloTowersCreationAlgo::assignHit(), FWCaloRecHitDigitSetProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::build(), CaloRecHitCandidateProducer::cellTresholdAndWeight(), PFRecHitProducerHCAL::createRecHits(), PFRecHitProducerPS::createRecHits(), PFRecHitProducerHO::createRecHits(), PFRecHitProducerECAL::createRecHits(), muonisolation::CaloExtractorByAssociator::deposits(), reco::HcalNoiseInfoProducer::fillrechits(), CaloRecHitMetaCollectionV::find(), EgammaHcalIsolation::getHcalSum(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsAnalyzer::hcalSevLvl(), HcalRecHitsValidation::hcalSevLvl(), CastorRecHit::id(), HORecHit::id(), ZDCRecHit::id(), HFRecHit::id(), HBHERecHit::id(), EcalRecHit::id(), CRHMCVComp::operator()(), operator<(), operator<<(), EgammaHLTHcalIsolation::passCleaning_(), EleIsoDetIdCollectionProducer::produce(), GamIsoDetIdCollectionProducer::produce(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), HBHEStatusBitSetter::SetFlagsFromDigi(), ObjectValidator::validHit(), and FWEcalRecHitProxyBuilder::viewContextBoxScale().
|
inline |
Definition at line 19 of file CaloRecHit.h.
References energy_.
Referenced by BetaCalculatorECAL::addInfoToCandidate(), AlCaElectronsTest::analyze(), cms::Analyzer_minbias::analyze(), EcalCosmicsHists::analyze(), EcalSelectiveReadoutValidation::analyzeEB(), EcalSelectiveReadoutValidation::analyzeEE(), CaloTowersCreationAlgo::assignHit(), EcalBoundaryInfoCalculator< EcalDetId >::boundaryRecHits(), FWCaloRecHitDigitSetProxyBuilder::build(), FWPFEcalRecHitRPProxyBuilder::build(), FWPFEcalRecHitLegoProxyBuilder::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(), PFRecHitProducerHCAL::createRecHits(), PFRecHitProducerPS::createRecHits(), PFRecHitProducerHO::createRecHits(), PFRecHitProducerECAL::createRecHits(), muonisolation::CaloExtractorByAssociator::deposits(), reco::HcalNoiseInfoProducer::fillrechits(), EcalRecHitsFilter::filter(), EcalBoundaryInfoCalculator< EcalDetId >::gapRecHits(), calib::CalibElectron::getCalibModulesWeights(), RxCalculator::getCRx(), EcalClusterTools::getEnergyDepTopology(), EgammaHcalIsolation::getHcalSum(), HoECalculator::getHoE(), ZeeCalibration::getHottestDetId(), RxCalculator::getRFx(), RxCalculator::getROx(), RxCalculator::getRx(), EgammaRecHitIsolation::getSum_(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), HLTHcalSimpleRecHitFilter::hltFilter(), EcalMIPRecHitFilter::hltFilter(), IslandClusterAlgo::makeCluster(), CosmicClusterAlgo::makeCluster(), Multi5x5ClusterAlgo::makeCluster(), HybridClusterAlgo::makeDomino(), EcalDisplaysByEvent::makeHistos(), EcalRecHitLess::operator()(), ecalRecHitLess::operator()(), less_mag::operator()(), ecalRecHitSort::operator()(), eecalRecHitLess::operator()(), operator<(), operator<<(), reco::modules::CaloRecHitCandidateProducer< HitCollection >::produce(), EleIsoDetIdCollectionProducer::produce(), GamIsoDetIdCollectionProducer::produce(), CastorCellProducer::produce(), InterestingDetIdCollectionProducer::produce(), RecHitCorrector::produce(), AlCaECALRecHitReducer::produce(), reco::CentralityProducer::produce(), AlCaHOCalibProducer::produce(), Multi5x5ClusterAlgo::ProtoBasicCluster::removeHit(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), EEBadScFilter::scan5x5(), EcalMipGraphs::selectHits(), EcalDisplaysByEvent::selectHits(), setEnergy(), HBHEStatusBitSetter::SetFlagsFromDigi(), EcalSeverityLevelAlgo::severityLevel(), HBHETimingShapedFlagSetter::timingStatus(), and ObjectValidator::validHit().
uint32_t CaloRecHit::flagField | ( | int | base, |
int | width = 1 |
||
) | const |
Definition at line 31 of file CaloRecHit.cc.
References flags_, masks, max(), and min.
Referenced by HFClusterAlgo::isPMTHit().
|
inline |
Definition at line 23 of file CaloRecHit.h.
References flags_.
Referenced by EcalRecHit::chi2(), PFRecHitProducerHO::createRecHits(), reco::HcalNoiseInfoProducer::fillrechits(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsAnalyzer::hcalSevLvl(), HcalRecHitsValidation::hcalSevLvl(), operator<<(), EcalRecHit::outOfTimeChi2(), EcalRecHit::outOfTimeEnergy(), EgammaHLTHcalIsolation::passCleaning_(), EcalRecHit::setChi2(), setFlags(), EcalRecHit::setOutOfTimeChi2(), EcalRecHit::setOutOfTimeEnergy(), and ObjectValidator::validHit().
|
inline |
Definition at line 27 of file CaloRecHit.h.
References aux_, and relativeConstraints::value.
Referenced by EcalRecHit::setTimeError().
|
inline |
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 CastorSimpleRecAlgo::checkADCSaturation(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), HBHEIsolatedNoiseReflagger::produce(), CastorSimpleRecAlgo::recoverADCSaturation(), HBHEStatusBitSetter::SetFlagsFromDigi(), HBHEPulseShapeFlagSetter::SetPulseShapeFlags(), and HBHETimingShapedFlagSetter::SetTimingShapedFlags().
|
inline |
Definition at line 24 of file CaloRecHit.h.
References flags(), and flags_.
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__(), EcalRecHit::setChi2(), EcalRecHit::setOutOfTimeChi2(), and EcalRecHit::setOutOfTimeEnergy().
|
inline |
Definition at line 21 of file CaloRecHit.h.
References time_.
Referenced by BetaCalculatorECAL::addInfoToCandidate(), EcalCosmicsHists::analyze(), CaloTowersCreationAlgo::assignHit(), CompareTime(), PFRecHitProducerHO::createRecHits(), PFRecHitProducerECAL::createRecHits(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), EcalDisplaysByEvent::makeHistos(), operator<<(), RecHitCorrector::produce(), EcalMipGraphs::selectHits(), and HBHETimingShapedFlagSetter::timingStatus().
|
private |
Definition at line 34 of file CaloRecHit.h.
|
private |
Definition at line 31 of file CaloRecHit.h.
Referenced by energy(), and setEnergy().
|
private |
Definition at line 33 of file CaloRecHit.h.
Referenced by flagField(), flags(), setFlagField(), and setFlags().
|
private |
Definition at line 30 of file CaloRecHit.h.
Referenced by detid().
|
private |
Definition at line 32 of file CaloRecHit.h.
Referenced by time().