75 const T* recHit_hcal =
static_cast<const T*
>(recHit);
78 T mergedRecHit(recHit_hcal->detid(), recHitInfo.
energySum_, recHit_hcal->time());
79 mergedRecHit.setFlags(recHit_hcal->flags());
80 mergedRecHit.setAux(recHit_hcal->aux());
88 return buildRecHit_HCAL<HBHERecHit>(recHitInfo);
94 return buildRecHit_HCAL<HORecHit>(recHitInfo);
100 return buildRecHit_HCAL<HFRecHit>(recHitInfo);
121 mergedRecHit.setAux(recHit_castor->
aux());
T buildRecHit(const CaloRecHitMixer_mixedRecHitInfoType< T > &)
const DetId & detid() const
#define DEFINE_FWK_MODULE(type)
CaloRecHitMixer< HORecHit > HORecHitMixer
CaloRecHitMixer< CastorRecHit > CastorRecHitMixer
void setFlags(uint32_t flags)
CaloRecHitMixer< HFRecHit > HFRecHitMixer
CaloRecHitMixer< EcalRecHit > EcalRecHitMixer
void setEnergy(float energy)
CaloRecHitMixer< HBHERecHit > HBHERecHitMixer