#include <HcalHitRelabeller.h>
Public Member Functions | |
HcalHitRelabeller (const edm::ParameterSet &ps) | |
void | process (std::vector< PCaloHit > &hcalHits) |
void | setGeometry (const CaloGeometry *&theGeometry) |
Private Member Functions | |
DetId | relabel (const uint32_t testId) const |
Private Attributes | |
bool | m_CorrectPhi |
std::vector< std::vector< int > > | m_segmentation |
const CaloGeometry * | theGeometry |
Definition at line 10 of file HcalHitRelabeller.h.
HcalHitRelabeller::HcalHitRelabeller | ( | const edm::ParameterSet & | ps | ) |
Definition at line 10 of file HcalHitRelabeller.cc.
References gather_cfg::cout, edm::ParameterSet::getUntrackedParameter(), i, gen::k, m_CorrectPhi, m_segmentation, and mergeVDriftHistosByStation::name.
void HcalHitRelabeller::process | ( | std::vector< PCaloHit > & | hcalHits | ) |
Definition at line 34 of file HcalHitRelabeller.cc.
References gather_cfg::cout, CaloSubdetectorGeometry::getGeometry(), CaloCellGeometry::getPosition(), CaloGeometry::getSubdetectorGeometry(), cuy::ii, python.tagInventory::newid, DetId::rawId(), relabel(), and theGeometry.
Referenced by HcalDigitizer::accumulateCaloHits(), ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
private |
Definition at line 66 of file HcalHitRelabeller.cc.
References gather_cfg::cout, eta(), HcalBarrel, HcalEndcap, HcalForward, HcalOuter, m_CorrectPhi, m_segmentation, phi, DetId::rawId(), HcalTestNumbering::unpackHcalIndex(), and detailsBasic3DVector::z.
Referenced by process().
void HcalHitRelabeller::setGeometry | ( | const CaloGeometry *& | theGeometry | ) |
Definition at line 62 of file HcalHitRelabeller.cc.
References relativeConstraints::geom, and theGeometry.
Referenced by HcalDigitizer::updateGeometry().
|
private |
Definition at line 22 of file HcalHitRelabeller.h.
Referenced by HcalHitRelabeller(), and relabel().
|
private |
Definition at line 21 of file HcalHitRelabeller.h.
Referenced by HcalHitRelabeller(), and relabel().
|
private |
Definition at line 19 of file HcalHitRelabeller.h.
Referenced by process(), and setGeometry().