22 CSCAlgo.vIT_HLTBit = iConfig.
getParameter< std::vector< edm::InputTag> >(
"HLTBitLabel");
41 CSCAlgo.SetDetaThreshold( (
float) iConfig.
getParameter<
double>(
"DetaParam"));
42 CSCAlgo.SetDphiThreshold( (
float) iConfig.
getParameter<
double>(
"DphiParam"));
43 CSCAlgo.SetMinMaxInnerRadius( (
float) iConfig.
getParameter<
double>(
"InnerRMinParam") , (
float) iConfig.
getParameter<
double>(
"InnerRMaxParam") );
44 CSCAlgo.SetMinMaxOuterRadius( (
float) iConfig.
getParameter<
double>(
"OuterRMinParam"), (
float) iConfig.
getParameter<
double>(
"OuterRMaxParam"));
45 CSCAlgo.SetNormChi2Threshold( (
float) iConfig.
getParameter<
double>(
"NormChi2Param") );
48 CSCAlgo.SetMaxSegmentRDiff( (
float) iConfig.
getParameter<
double>(
"MaxSegmentRDiff") );
49 CSCAlgo.SetMaxSegmentPhiDiff( (
float) iConfig.
getParameter<
double>(
"MaxSegmentPhiDiff") );
50 CSCAlgo.SetMaxSegmentTheta( (
float) iConfig.
getParameter<
double>(
"MaxSegmentTheta") );
53 CSCAlgo.SetMaxDtMuonSegment( (
float) iConfig.
getParameter<
double>(
"MaxDtMuonSegment") );
54 CSCAlgo.SetMaxFreeInverseBeta( (
float) iConfig.
getParameter<
double>(
"MaxFreeInverseBeta") );
55 CSCAlgo.SetExpectedBX( (
short int) iConfig.
getParameter<
int>(
"ExpectedBX") );
56 CSCAlgo.SetRecHitTime0( (
float) iConfig.
getParameter<
double>(
"RecHitTime0") );
57 CSCAlgo.SetRecHitTimeWindow( (
float) iConfig.
getParameter<
double>(
"RecHitTimeWindow") );
58 CSCAlgo.SetMinMaxOuterMomentumTheta( (
float)iConfig.
getParameter<
double>(
"MinOuterMomentumTheta"), (
float)iConfig.
getParameter<
double>(
"MaxOuterMomentumTheta") );
59 CSCAlgo.SetMatchingDPhiThreshold( (
float)iConfig.
getParameter<
double>(
"MatchingDPhiThreshold") );
60 CSCAlgo.SetMatchingDEtaThreshold( (
float)iConfig.
getParameter<
double>(
"MatchingDEtaThreshold") );
61 CSCAlgo.SetMatchingDWireThreshold(iConfig.
getParameter<
int>(
"MatchingDWireThreshold") );
63 produces<CSCHaloData>();
78 iEvent.
getByLabel(IT_CosmicMuon.label(),
"csc",TheCSCTimeMap);
86 iEvent.
getByLabel(IT_CSCSegment, TheCSCSegments);
90 iEvent.
getByLabel(IT_CSCRecHit, TheCSCRecHits);
94 iEvent.
getByLabel (IT_L1MuGMTReadout, TheL1GMTReadout);
102 iEvent.
getByLabel( IT_HLTResult , TheHLTResults);
109 std::auto_ptr<CSCHaloData> TheCSCData(
new CSCHaloData( CSCAlgo.Calculate(*TheCSCGeometry, TheCosmics, TheCSCTimeMap, TheMuons, TheCSCSegments, TheCSCRecHits, TheL1GMTReadout, TheHLTResults, triggerNames, TheALCTs, TheMatcher, iEvent) ) );
111 iEvent.
put(TheCSCData);
116 void CSCHaloDataProducer::endJob(){
return;}
119 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