27 RoundnessCut = iConfig.
getParameter<
double>(
"RoundnessCutParam");
28 AngleCut = iConfig.
getParameter<
double>(
"AngleCutParam");
30 EBRecHitEnergyThreshold = (float) iConfig.
getParameter<
double> (
"EBRecHitEnergyThresholdParam");
31 EERecHitEnergyThreshold = (float) iConfig.
getParameter<
double> (
"EERecHitEnergyThresholdParam");
32 ESRecHitEnergyThreshold = (float) iConfig.
getParameter<
double> (
"ESRecHitEnergyThresholdParam");
33 SumEcalEnergyThreshold = (float)iConfig.
getParameter<
double> (
"SumEcalEnergyThresholdParam");
34 NHitsEcalThreshold = iConfig.
getParameter<
int> (
"NHitsEcalThresholdParam");
36 RoundnessCut = iConfig.
getParameter<
double>(
"RoundnessCutParam");
37 AngleCut = iConfig.
getParameter<
double>(
"AngleCutParam");
39 produces<EcalHaloData>();
62 iEvent.
getByLabel(IT_SuperCluster, TheSuperClusters);
77 std::auto_ptr<EcalHaloData> EcalData(
new EcalHaloData( EcalAlgo.
Calculate(*TheCaloGeometry, ThePhotons, TheSuperClusters, TheEBRecHits, TheEERecHits, TheESRecHits)));
78 iEvent.
put( EcalData ) ;
82 std::auto_ptr<EcalHaloData> EcalData(
new EcalHaloData() ) ;
88 EcalHaloDataProducer::~EcalHaloDataProducer(){}
T getParameter(std::string const &) const
void SetAngleCut(float a=4.)
reco::EcalHaloData Calculate(const CaloGeometry &TheCaloGeometry, edm::Handle< reco::PhotonCollection > &ThePhotons, edm::Handle< reco::SuperClusterCollection > &TheSuperClusters, edm::Handle< EBRecHitCollection > &TheEBRecHits, edm::Handle< EERecHitCollection > &TheEERecHits, edm::Handle< ESRecHitCollection > &TheESRecHits)
void SetRecHitEnergyThresholds(float EB, float EE, float ES)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void SetPhiWedgeThresholds(float SumE, int nhits)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
void SetRoundnessCut(float r=100.)