#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 88 of file HcalHitRelabeller.cc.
References LEDCalibrationChannels::depth, PVValHelper::eta, HcalDDDRecConstants::getLayer0Wt(), phase1PixelTopology::layer, phi, theRecNumber, HcalTestNumbering::unpackHcalIndex(), z, and ecaldqm::zside().
Referenced by process().
void HcalHitRelabeller::process | ( | std::vector< PCaloHit > & | hcalHits | ) |
Definition at line 16 of file HcalHitRelabeller.cc.
References TauDecayModes::dec, HCALHighEnergyHPDFilter_cfi::energy, energyWt(), cuy::ii, neutralDensity_, DetId::rawId(), relabel(), and theRecNumber.
DetId HcalHitRelabeller::relabel | ( | const uint32_t | testId | ) | const |
Definition at line 49 of file HcalHitRelabeller.cc.
References theRecNumber.
Referenced by SimHitsValidationHcal::analyze(), HcalTestSimHitID::analyze(), HcalSimHitAnalysis::analyze(), HcalSimHitsValidation::analyze(), HcalTestNumberingTester::analyze(), HcalGeomCheck::analyze(), HcalRecHitsValidation::analyze(), HcalSimHitStudy::analyzeHits(), HcalSimHitCheck::analyzeHits(), HcalTestNS::compare(), GlobalHitsAnalyzer::fillHCal(), CaloParticleDebugger::fillSimHits(), CaloTruthAccumulator::fillSimHits(), process(), and HcalDigisValidation::reco().
|
static |
Definition at line 53 of file HcalHitRelabeller.cc.
References TauDecayModes::dec, LEDCalibrationChannels::depth, PVValHelper::eta, HcalDDDRecConstants::getHCID(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, phase1PixelTopology::layer, phi, DetId::rawId(), Validation_hcalonly_cfi::sign, theRecNumber, HcalTestNumbering::unpackHcalIndex(), and z.
void HcalHitRelabeller::setGeometry | ( | const HcalDDDRecConstants *& | recNum | ) |
Definition at line 47 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().