35 : hitReadoutName_(
"CastorHits"),
38 castorAnalyzer_(
"CASTOR", 1., &simParameterMap_, &castorFilter_),
44 template <
class Collection>
48 edm::LogError(
"CastorHitAnalyzer") <<
"Could not find Castor RecHitContainer ";
50 for (
unsigned i = 0;
i <
recHits->size(); ++
i) {
CastorHitAnalyzer(edm::ParameterSet const &conf)
#define DEFINE_FWK_MODULE(type)
T const * product() const
Log< level::Error, false > LogError
CastorHitFilter castorFilter_
void analyze(edm::Event const &e, edm::EventSetup const &c) override
void fillHits(MixCollection< PCaloHit > &hits)
should be called each event
CastorSimParameterMap simParameterMap_
CaloHitAnalyzer castorAnalyzer_
const edm::EDGetTokenT< CrossingFrame< PCaloHit > > castorcfToken_
std::string hitReadoutName_
const edm::EDGetTokenT< CastorRecHitCollection > castorRecHitToken_
void analyze(edm::Event const &e, CaloHitAnalyzer &analyzer, const edm::EDGetTokenT< Collection > &token)