22 CSCAlgo.vIT_HLTBit = iConfig.
getParameter< std::vector< edm::InputTag> >(
"HLTBitLabel");
35 CSCAlgo.SetDetaThreshold( (
float) iConfig.
getParameter<
double>(
"DetaParam"));
36 CSCAlgo.SetDphiThreshold( (
float) iConfig.
getParameter<
double>(
"DphiParam"));
37 CSCAlgo.SetMinMaxInnerRadius( (
float) iConfig.
getParameter<
double>(
"InnerRMinParam") , (
float) iConfig.
getParameter<
double>(
"InnerRMaxParam") );
38 CSCAlgo.SetMinMaxOuterRadius( (
float) iConfig.
getParameter<
double>(
"OuterRMinParam"), (
float) iConfig.
getParameter<
double>(
"OuterRMaxParam"));
39 CSCAlgo.SetNormChi2Threshold( (
float) iConfig.
getParameter<
double>(
"NormChi2Param") );
41 CSCAlgo.SetExpectedBX( (
short int) iConfig.
getParameter<
int>(
"ExpectedBX") );
42 CSCAlgo.SetRecHitTime0( (
float) iConfig.
getParameter<
double>(
"RecHitTime0") );
43 CSCAlgo.SetRecHitTimeWindow( (
float) iConfig.
getParameter<
double>(
"RecHitTimeWindow") );
44 CSCAlgo.SetMinMaxOuterMomentumTheta( (
float)iConfig.
getParameter<
double>(
"MinOuterMomentumTheta"), (
float)iConfig.
getParameter<
double>(
"MaxOuterMomentumTheta") );
45 CSCAlgo.SetMatchingDPhiThreshold( (
float)iConfig.
getParameter<
double>(
"MatchingDPhiThreshold") );
46 CSCAlgo.SetMatchingDEtaThreshold( (
float)iConfig.
getParameter<
double>(
"MatchingDEtaThreshold") );
47 CSCAlgo.SetMatchingDWireThreshold(iConfig.
getParameter<
int>(
"MatchingDWireThreshold") );
48 produces<CSCHaloData>();
67 iEvent.
getByLabel(IT_CSCSegment, TheCSCSegments);
71 iEvent.
getByLabel(IT_CSCRecHit, TheCSCRecHits);
75 iEvent.
getByLabel (IT_L1MuGMTReadout, TheL1GMTReadout);
83 iEvent.
getByLabel( IT_HLTResult , TheHLTResults);
90 std::auto_ptr<CSCHaloData> TheCSCData(
new CSCHaloData( CSCAlgo.Calculate(*TheCSCGeometry, TheCosmics, TheMuons, TheCSCSegments, TheCSCRecHits, TheL1GMTReadout, TheHLTResults, triggerNames, TheALCTs) ) );
92 iEvent.
put(TheCSCData);
97 void CSCHaloDataProducer::endJob(){
return;}
100 CSCHaloDataProducer::~CSCHaloDataProducer(){}
T getParameter(std::string const &) const
virtual edm::TriggerNames const & triggerNames(edm::TriggerResults const &triggerResults) const
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const