22 CSCAlgo.vIT_HLTBit = iConfig.
getParameter<std::vector<edm::InputTag> >(
"HLTBitLabel");
44 CSCAlgo.SetDetaThreshold((
float)iConfig.
getParameter<
double>(
"DetaParam"));
45 CSCAlgo.SetDphiThreshold((
float)iConfig.
getParameter<
double>(
"DphiParam"));
46 CSCAlgo.SetMinMaxInnerRadius((
float)iConfig.
getParameter<
double>(
"InnerRMinParam"),
48 CSCAlgo.SetMinMaxOuterRadius((
float)iConfig.
getParameter<
double>(
"OuterRMinParam"),
50 CSCAlgo.SetNormChi2Threshold((
float)iConfig.
getParameter<
double>(
"NormChi2Param"));
53 CSCAlgo.SetMaxSegmentRDiff((
float)iConfig.
getParameter<
double>(
"MaxSegmentRDiff"));
54 CSCAlgo.SetMaxSegmentPhiDiff((
float)iConfig.
getParameter<
double>(
"MaxSegmentPhiDiff"));
55 CSCAlgo.SetMaxSegmentTheta((
float)iConfig.
getParameter<
double>(
"MaxSegmentTheta"));
58 CSCAlgo.SetMaxDtMuonSegment((
float)iConfig.
getParameter<
double>(
"MaxDtMuonSegment"));
59 CSCAlgo.SetMaxFreeInverseBeta((
float)iConfig.
getParameter<
double>(
"MaxFreeInverseBeta"));
60 CSCAlgo.SetExpectedBX((
short int)iConfig.
getParameter<
int>(
"ExpectedBX"));
61 CSCAlgo.SetRecHitTime0((
float)iConfig.
getParameter<
double>(
"RecHitTime0"));
62 CSCAlgo.SetRecHitTimeWindow((
float)iConfig.
getParameter<
double>(
"RecHitTimeWindow"));
63 CSCAlgo.SetMinMaxOuterMomentumTheta((
float)iConfig.
getParameter<
double>(
"MinOuterMomentumTheta"),
64 (
float)iConfig.
getParameter<
double>(
"MaxOuterMomentumTheta"));
65 CSCAlgo.SetMatchingDPhiThreshold((
float)iConfig.
getParameter<
double>(
"MatchingDPhiThreshold"));
66 CSCAlgo.SetMatchingDEtaThreshold((
float)iConfig.
getParameter<
double>(
"MatchingDEtaThreshold"));
67 CSCAlgo.SetMatchingDWireThreshold(iConfig.
getParameter<
int>(
"MatchingDWireThreshold"));
69 cosmicmuon_token_ = consumes<reco::MuonCollection>(IT_CosmicMuon);
70 csctimemap_token_ = consumes<reco::MuonTimeExtraMap>(
edm::InputTag(IT_CosmicMuon.
label(),
"csc"));
71 muon_token_ = consumes<reco::MuonCollection>(IT_Muon);
72 cscsegment_token_ = consumes<CSCSegmentCollection>(IT_CSCSegment);
73 cscrechit_token_ = consumes<CSCRecHit2DCollection>(IT_CSCRecHit);
74 cscalct_token_ = consumes<CSCALCTDigiCollection>(IT_ALCT);
75 l1mugmtro_token_ = consumes<L1MuGMTReadoutCollection>(IT_L1MuGMTReadout);
76 hbhereco_token_ = consumes<HBHERecHitCollection>(IT_HBHErh);
77 EcalRecHitsEB_token_ = consumes<EcalRecHitCollection>(IT_ECALBrh);
78 EcalRecHitsEE_token_ = consumes<EcalRecHitCollection>(IT_ECALErh);
79 hltresult_token_ = consumes<edm::TriggerResults>(IT_HLTResult);
81 produces<CSCHaloData>();
92 iEvent.getByToken(cosmicmuon_token_, TheCosmics);
97 iEvent.getByToken(csctimemap_token_, TheCSCTimeMap);
102 iEvent.getByToken(muon_token_, TheMuons);
107 iEvent.getByToken(cscsegment_token_, TheCSCSegments);
112 iEvent.getByToken(cscrechit_token_, TheCSCRecHits);
117 iEvent.getByToken(l1mugmtro_token_, TheL1GMTReadout);
122 iEvent.getByToken(cscalct_token_, TheALCTs);
126 iEvent.getByToken(hbhereco_token_, hbhehits);
128 iEvent.getByToken(EcalRecHitsEB_token_, ecalebhits);
130 iEvent.getByToken(EcalRecHitsEE_token_, ecaleehits);
135 iEvent.getByToken(hltresult_token_, TheHLTResults);
143 iEvent.put(std::make_unique<CSCHaloData>(CSCAlgo.Calculate(*TheCSCGeometry,
162 CSCHaloDataProducer::~CSCHaloDataProducer() {}