1 #ifndef RecoParticleFlow_PFClusterProducer_PFHBHeRecHitCreator_h
2 #define RecoParticleFlow_PFClusterProducer_PFHBHeRecHitCreator_h
44 for(
const auto& erh : *recHitHandle ) {
48 auto energy = erh.energy();
49 auto time = erh.time();
71 <<
"warning detid "<<detid.
rawId()
72 <<
" not found in geometry"<<std::endl;
81 bool rcleaned =
false;
86 if (!qtest->test(rh,erh,rcleaned)) {
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
std::vector< std::unique_ptr< PFRecHitQTestBase > > qualityTests_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
virtual const CaloCellGeometry * getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
uint32_t rawId() const
get the raw id
int depth() const
get the tower depth
Particle flow rechit (rechit + geometry and topology information). See clustering algorithm in PFClus...
void beginEvent(const edm::Event &event, const edm::EventSetup &setup)
void setTime(double time)
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
PFHBHERecHitCreator(const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC)
void importRecHits(std::auto_ptr< reco::PFRecHitCollection > &out, std::auto_ptr< reco::PFRecHitCollection > &cleaned, const edm::Event &iEvent, const edm::EventSetup &iSetup)
edm::EDGetTokenT< edm::SortedCollection< HBHERecHit > > recHitToken_