#include <HcalHitRelabeller.h>
Public Member Functions | |
HcalHitRelabeller (bool nd=false) | |
void | process (std::vector< PCaloHit > &hcalHits) |
DetId | relabel (const uint32_t testId) const |
void | setGeometry (const HcalDDDRecConstants *&) |
Static Public Member Functions | |
static DetId | relabel (const uint32_t testId, const HcalDDDRecConstants *theRecNumber) |
Private Member Functions | |
double | energyWt (const uint32_t testId) const |
Private Attributes | |
bool | neutralDensity_ |
const HcalDDDRecConstants * | theRecNumber |
Definition at line 10 of file HcalHitRelabeller.h.
HcalHitRelabeller::HcalHitRelabeller | ( | bool | nd = false | ) |
Definition at line 9 of file HcalHitRelabeller.cc.
References neutralDensity_.
|
private |
Definition at line 101 of file HcalHitRelabeller.cc.
References egammaForCoreTracking_cff::depth, PVValHelper::eta, HcalDDDRecConstants::getLayer0Wt(), phi, theRecNumber, HcalTestNumbering::unpackHcalIndex(), z, and ecaldqm::zside().
Referenced by process().
void HcalHitRelabeller::process | ( | std::vector< PCaloHit > & | hcalHits | ) |
Definition at line 18 of file HcalHitRelabeller.cc.
References TauDecayModes::dec, randomXiThetaGunProducer_cfi::energy, energyWt(), cuy::ii, neutralDensity_, DetId::rawId(), relabel(), and theRecNumber.
DetId HcalHitRelabeller::relabel | ( | const uint32_t | testId | ) | const |
Definition at line 59 of file HcalHitRelabeller.cc.
References theRecNumber.
Referenced by SimHitsValidationHcal::analyze(), HcalSimHitsValidation::analyze(), HcalHBHEMuonSimAnalyzer::analyze(), HcalRecHitsValidation::analyze(), HGCalSimHitValidation::analyze(), HcalSimHitStudy::analyzeHits(), HcalTestNS::compare(), GlobalHitsAnalyzer::fillHCal(), CaloParticleDebugger::fillSimHits(), CaloTruthAccumulator::fillSimHits(), process(), HcalDigisValidation::reco(), and HGCalTriggerTools::simToReco().
|
static |
Definition at line 63 of file HcalHitRelabeller.cc.
References TauDecayModes::dec, egammaForCoreTracking_cff::depth, PVValHelper::eta, HcalDDDRecConstants::getHCID(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, phi, DetId::rawId(), Validation_hcalonly_cfi::sign, HcalTestNumbering::unpackHcalIndex(), and z.
void HcalHitRelabeller::setGeometry | ( | const HcalDDDRecConstants *& | recNum | ) |
Definition at line 55 of file HcalHitRelabeller.cc.
References theRecNumber.
|
private |
Definition at line 22 of file HcalHitRelabeller.h.
Referenced by HcalHitRelabeller(), and process().
|
private |
Definition at line 21 of file HcalHitRelabeller.h.
Referenced by energyWt(), process(), relabel(), and setGeometry().