#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) |
void | setTime (float time) |
float | time () const |
Private Attributes | |
uint32_t | aux_ |
float | energy_ |
uint32_t | flags_ |
DetId | id_ |
float | time_ |
Definition at line 12 of file CaloRecHit.h.
CaloRecHit::CaloRecHit | ( | ) |
Definition at line 4 of file CaloRecHit.cc.
|
explicit |
Definition at line 7 of file CaloRecHit.cc.
|
inline |
Definition at line 27 of file CaloRecHit.h.
References aux_.
Referenced by operator<<(), HBHERecHit::setAuxHBHE(), HBHERecHit::setAuxPhase1(), HGCRecHit::setTimeError(), and HGCRecHit::timeError().
|
inline |
Definition at line 21 of file CaloRecHit.h.
References id_.
Referenced by CaloTowersCreationAlgo::assignHitHcal(), FWCaloRecHitDigitSetProxyBuilder::build(), egammaisolation::EgammaHcalExtractor::deposit(), muonisolation::CaloExtractorByAssociator::deposits(), EgammaHcalIsolation::getHcalSum(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsAnalyzer::hcalSevLvl(), CastorRecHit::id(), HORecHit::id(), ZDCRecHit::id(), HFRecHit::id(), HBHERecHit::id(), HGCRecHit::id(), operator<(), operator<<(), EgammaHLTHcalIsolation::passCleaning_(), HGCalImagingAlgo::populate(), CaloRecHitsBeamHaloCleaned::produce(), HBHEStatusBitSetter::rememberHit(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), PFRecHitQTestHCALChannel::test(), PFRecHitQTestHCALTimeVsDepth::test(), PFRecHitQTestHCALThresholdVsDepth::test(), PFRecHitQTestHOThreshold::test(), PFRecHitQTestThresholdInThicknessNormalizedMIPs::test(), ObjectValidator::validHit(), and FWEcalRecHitProxyBuilder::viewContextBoxScale().
|
inline |
Definition at line 17 of file CaloRecHit.h.
References energy_.
Referenced by cms::Analyzer_minbias::analyze(), AnalyzerMinbias::analyzeHcal(), CaloTowersCreationAlgo::assignHitHcal(), FWCaloRecHitDigitSetProxyBuilder::build(), HBHEHitMap::calcHcalNeighborTowers_(), HBHEHitMap::calcHcalSameTowers_(), HBHEHitMap::calcHits_(), egammaisolation::EgammaHcalExtractor::deposit(), muonisolation::CaloExtractorByAssociator::deposits(), AlCaHOCalibProducer::fillHOStore(), HcalRechitIsoCalculator::getBkgSubHcalRechitIso(), EcalHaloAlgo::GetHaloClusterCandidateEB(), EcalHaloAlgo::GetHaloClusterCandidateEE(), HcalHaloAlgo::GetHaloClusterCandidateHB(), HcalHaloAlgo::GetHaloClusterCandidateHE(), HcalRechitIsoCalculator::getHcalRechitIso(), EgammaHcalIsolation::getHcalSum(), hgcal::ClusterTools::getWidths(), HBHEHitMapOrganizer::HBHEHitMapOrganizer(), CSCHaloAlgo::HCALSegmentMatching(), HGCalImagingAlgo::Hexel::Hexel(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), HGCRecHit::id(), SimplePlan1RechitCombiner::makeRechit(), operator<(), operator<<(), HGCalImagingAlgo::populate(), reco::modules::CaloRecHitCandidateProducer< HitCollection >::produce(), CastorCellProducer::produce(), RecHitCorrector::produce(), reco::CentralityProducer::produce(), Jet.Jet::rawEnergy(), HBHEStatusBitSetter::rememberHit(), HGCalRecHitWorkerSimple::run(), FWCaloRecHitDigitSetProxyBuilder::scaleProduct(), setEnergy(), PFRecHitQTestHCALChannel::test(), PFRecHitQTestHCALTimeVsDepth::test(), PFRecHitQTestHCALThresholdVsDepth::test(), PFRecHitQTestThresholdInMIPs::test(), PFRecHitQTestThresholdInThicknessNormalizedMIPs::test(), 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, hpstanc_transforms::max, and min().
Referenced by HFClusterAlgo::isPMTHit(), and setFlags().
|
inline |
Definition at line 22 of file CaloRecHit.h.
References flags_.
Referenced by HGCRecHit::chi2(), SimplePlan1RechitCombiner::combineAuxInfo(), reco::HcalNoiseInfoProducer::fillrechits(), CaloTowersCreationAlgo::hcalChanStatusForCaloTower(), HcalRecHitsAnalyzer::hcalSevLvl(), operator<<(), HGCRecHit::outOfTimeChi2(), HGCRecHit::outOfTimeEnergy(), EgammaHLTHcalIsolation::passCleaning_(), HGCRecHit::setChi2(), setFlags(), HGCRecHit::setOutOfTimeChi2(), HGCRecHit::setOutOfTimeEnergy(), PFRecHitQTestHCALChannel::test(), and ObjectValidator::validHit().
|
inline |
Definition at line 26 of file CaloRecHit.h.
References aux_, and relativeConstraints::value.
Referenced by HBHERecHitAuxSetter::setAux(), HFRecHitAuxSetter::setAux(), and HGCRecHit::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, hpstanc_transforms::max, min(), and relativeConstraints::value.
Referenced by CastorSimpleRecAlgo::checkADCSaturation(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), HcalHF_PETalgorithm::HFSetFlagFromPET(), HcalHF_S9S1algorithm::HFSetFlagFromS9S1(), HBHEIsolatedNoiseReflagger::produce(), HcalSimpleRecAlgoImpl::recoHBHE(), HFFlexibleTimeCheck::reconstruct(), SimpleHBHEPhase1Algo::reconstruct(), HFSimpleTimeCheck::reconstruct(), CastorSimpleRecAlgo::recoverADCSaturation(), HBHEPhase1Reconstructor::runHBHENegativeEFilter(), setFlags(), HBHEStatusBitSetter::SetFlagsFromDigi(), HBHENegativeFlagSetter::setPulseShapeFlags(), HBHEPulseShapeFlagSetter::SetPulseShapeFlags(), and HBHETimingShapedFlagSetter::SetTimingShapedFlags().
|
inline |
Definition at line 23 of file CaloRecHit.h.
References runEdmFileComparison::base, flagField(), flags(), flags_, setFlagField(), and ApeEstimator_cff::width.
Referenced by Vispa.Plugins.EdmBrowser.EventContentView.LabelItem::__init__(), SimplePlan1RechitCombiner::combineAuxInfo(), HGCRecHit::setChi2(), HGCRecHit::setOutOfTimeChi2(), and HGCRecHit::setOutOfTimeEnergy().
|
inline |
Definition at line 20 of file CaloRecHit.h.
|
inline |
Definition at line 19 of file CaloRecHit.h.
References time_.
Referenced by CaloTowersCreationAlgo::assignHitHcal(), CompareTime(), HcalHaloAlgo::GetHaloClusterCandidateHB(), HcalHaloAlgo::GetHaloClusterCandidateHE(), CSCHaloAlgo::HCALSegmentMatching(), HcalHFStatusBitFromDigis::hfSetFlagFromDigi(), SimplePlan1RechitCombiner::makeRechit(), operator<<(), RecHitCorrector::produce(), setTime(), PFRecHitQTestHCALTimeVsDepth::test(), PFRecHitQTestHCALThresholdVsDepth::test(), and HBHETimingShapedFlagSetter::timingStatus().
|
private |
Definition at line 33 of file CaloRecHit.h.
|
private |
Definition at line 30 of file CaloRecHit.h.
Referenced by energy(), and setEnergy().
|
private |
Definition at line 32 of file CaloRecHit.h.
Referenced by flagField(), flags(), setFlagField(), and setFlags().
|
private |
Definition at line 29 of file CaloRecHit.h.
Referenced by detid().
|
private |
Definition at line 31 of file CaloRecHit.h.