#include <HcalHitRelabeller.h>
Public Member Functions | |
double | energyWt (const uint32_t testId) const |
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 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_.
double HcalHitRelabeller::energyWt | ( | const uint32_t | testId | ) | const |
Definition at line 95 of file HcalHitRelabeller.cc.
References hcalRecHitTable_cff::depth, PVValHelper::eta, HcalDDDRecConstants::getLayer0Wt(), nano_mu_digi_cff::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, hcalRecHitTable_cff::depth, HcalDetId::depth(), hcalRecHitTable_cff::energy, energyWt(), PVValHelper::eta, HcalDetId::ietaAbs(), cuy::ii, HcalDetId::iphi(), nano_mu_digi_cff::layer, neutralDensity_, HcalTestNumbering::packHcalIndex(), phi, DetId::rawId(), relabel(), HcalDetId::subdet(), theRecNumber, HcalTestNumbering::unpackHcalIndex(), z, and HcalDetId::zside().
DetId HcalHitRelabeller::relabel | ( | const uint32_t | testId | ) | const |
Definition at line 56 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 60 of file HcalHitRelabeller.cc.
References TauDecayModes::dec, hcalRecHitTable_cff::depth, PVValHelper::eta, HcalDDDRecConstants::getHCID(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, nano_mu_digi_cff::layer, phi, DetId::rawId(), Validation_hcalonly_cfi::sign, theRecNumber, HcalTestNumbering::unpackHcalIndex(), and z.
void HcalHitRelabeller::setGeometry | ( | const HcalDDDRecConstants *& | recNum | ) |
Definition at line 54 of file HcalHitRelabeller.cc.
References theRecNumber.
|
private |
Definition at line 21 of file HcalHitRelabeller.h.
Referenced by HcalHitRelabeller(), and process().
|
private |
Definition at line 20 of file HcalHitRelabeller.h.
Referenced by energyWt(), process(), relabel(), and setGeometry().