16 for (
unsigned int ii=0;
ii<hcalHits.size(); ++
ii) {
25 hcalHits[
ii].setID(newid.
rawId());
27 std::cout <<
"Modified Hit " << hcalHits[
ii] << std::endl;
31 edm::LogWarning(
"HcalSim") <<
"HcalHitRelabeller: no valid HcalDDDRecConstants";
46 std::cout <<
"Enter HcalHitRelabeller::relabel " << std::endl;
54 <<
"depth: " << depth <<
" "
55 <<
"ieta: " << eta <<
" "
56 <<
"iphi: " << phi <<
" "
57 <<
"layer: " << layer << std::endl;
72 std::cout <<
" new HcalDetId -> hex.RawID = "
75 std::cout <<
" det, z, depth, eta, phi = " << det <<
" "
76 << z <<
" "<<
id.depth <<
" " <<
id.eta <<
" "
77 <<
id.phi <<
" ---> " << hid << std::endl;
void setGeometry(const CaloGeometry *&, const HcalDDDRecConstants *&)
const CaloGeometry * theGeometry
HcalHitRelabeller(const edm::ParameterSet &ps)
uint32_t rawId() const
get the raw id
HcalID getHCID(int subdet, int ieta, int iphi, int lay, int idepth) const
static void unpackHcalIndex(const uint32_t &idx, int &det, int &z, int &depth, int &eta, int &phi, int &lay)
void process(std::vector< PCaloHit > &hcalHits)
const HcalDDDRecConstants * theRecNumber
DetId relabel(const uint32_t testId) const