22 CSCAlgo.vIT_HLTBit = iConfig.
getParameter< std::vector< edm::InputTag> >(
"HLTBitLabel");
42 CSCAlgo.SetDetaThreshold( (
float) iConfig.
getParameter<
double>(
"DetaParam"));
43 CSCAlgo.SetDphiThreshold( (
float) iConfig.
getParameter<
double>(
"DphiParam"));
44 CSCAlgo.SetMinMaxInnerRadius( (
float) iConfig.
getParameter<
double>(
"InnerRMinParam") , (
float) iConfig.
getParameter<
double>(
"InnerRMaxParam") );
45 CSCAlgo.SetMinMaxOuterRadius( (
float) iConfig.
getParameter<
double>(
"OuterRMinParam"), (
float) iConfig.
getParameter<
double>(
"OuterRMaxParam"));
46 CSCAlgo.SetNormChi2Threshold( (
float) iConfig.
getParameter<
double>(
"NormChi2Param") );
49 CSCAlgo.SetMaxSegmentRDiff( (
float) iConfig.
getParameter<
double>(
"MaxSegmentRDiff") );
50 CSCAlgo.SetMaxSegmentPhiDiff( (
float) iConfig.
getParameter<
double>(
"MaxSegmentPhiDiff") );
51 CSCAlgo.SetMaxSegmentTheta( (
float) iConfig.
getParameter<
double>(
"MaxSegmentTheta") );
54 CSCAlgo.SetMaxDtMuonSegment( (
float) iConfig.
getParameter<
double>(
"MaxDtMuonSegment") );
55 CSCAlgo.SetMaxFreeInverseBeta( (
float) iConfig.
getParameter<
double>(
"MaxFreeInverseBeta") );
56 CSCAlgo.SetExpectedBX( (
short int) iConfig.
getParameter<
int>(
"ExpectedBX") );
57 CSCAlgo.SetRecHitTime0( (
float) iConfig.
getParameter<
double>(
"RecHitTime0") );
58 CSCAlgo.SetRecHitTimeWindow( (
float) iConfig.
getParameter<
double>(
"RecHitTimeWindow") );
59 CSCAlgo.SetMinMaxOuterMomentumTheta( (
float)iConfig.
getParameter<
double>(
"MinOuterMomentumTheta"), (
float)iConfig.
getParameter<
double>(
"MaxOuterMomentumTheta") );
60 CSCAlgo.SetMatchingDPhiThreshold( (
float)iConfig.
getParameter<
double>(
"MatchingDPhiThreshold") );
61 CSCAlgo.SetMatchingDEtaThreshold( (
float)iConfig.
getParameter<
double>(
"MatchingDEtaThreshold") );
62 CSCAlgo.SetMatchingDWireThreshold(iConfig.
getParameter<
int>(
"MatchingDWireThreshold") );
64 produces<CSCHaloData>();
79 iEvent.
getByLabel(IT_CosmicMuon.label(),
"csc",TheCSCTimeMap);
87 iEvent.
getByLabel(IT_CSCSegment, TheCSCSegments);
91 iEvent.
getByLabel(IT_CSCRecHit, TheCSCRecHits);
95 iEvent.
getByLabel (IT_L1MuGMTReadout, TheL1GMTReadout);
103 iEvent.
getByLabel( IT_HLTResult , TheHLTResults);
110 std::auto_ptr<CSCHaloData> TheCSCData(
new CSCHaloData( CSCAlgo.Calculate(*TheCSCGeometry, TheCosmics, TheCSCTimeMap, TheMuons, TheCSCSegments, TheCSCRecHits, TheL1GMTReadout, TheHLTResults, triggerNames, TheALCTs, TheMatcher, iEvent) ) );
112 iEvent.
put(TheCSCData);
116 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