21 HBRecHitEnergyThreshold = (float)iConfig.
getParameter<
double>(
"HBRecHitEnergyThresholdParam");
22 HERecHitEnergyThreshold = (float)iConfig.
getParameter<
double>(
"HERecHitEnergyThresholdParam");
23 SumHcalEnergyThreshold = (float) iConfig.
getParameter<
double>(
"SumHcalEnergyThresholdParam");
24 NHitsHcalThreshold = iConfig.
getParameter<
int>(
"NHitsHcalThresholdParam");
26 produces<HcalHaloData>();
37 iEvent.
getByLabel(IT_HBHERecHit, TheHBHERecHits);
51 std::auto_ptr<HcalHaloData> HcalData(
new HcalHaloData( HcalAlgo.
Calculate(*TheCaloGeometry, TheHBHERecHits) ) ) ;
52 iEvent.
put ( HcalData ) ;
56 std::auto_ptr<HcalHaloData> HcalData(
new HcalHaloData() ) ;
57 iEvent.
put( HcalData ) ;
62 HcalHaloDataProducer::~HcalHaloDataProducer(){}
T getParameter(std::string const &) const
void SetRecHitEnergyThresholds(float HB, float HE)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
reco::HcalHaloData Calculate(const CaloGeometry &TheCaloGeometry, edm::Handle< HBHERecHitCollection > &TheHBHERecHits)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void SetPhiWedgeThresholds(float SumE, int nhits)