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 cscGeometry_token = esConsumes<CSCGeometry, MuonGeometryRecord>();
70 cosmicmuon_token_ = consumes<reco::MuonCollection>(IT_CosmicMuon);
71 csctimemap_token_ = consumes<reco::MuonTimeExtraMap>(
edm::InputTag(IT_CosmicMuon.
label(),
"csc"));
72 muon_token_ = consumes<reco::MuonCollection>(IT_Muon);
73 cscsegment_token_ = consumes<CSCSegmentCollection>(IT_CSCSegment);
74 cscrechit_token_ = consumes<CSCRecHit2DCollection>(IT_CSCRecHit);
75 cscalct_token_ = consumes<CSCALCTDigiCollection>(IT_ALCT);
76 l1mugmtro_token_ = consumes<L1MuGMTReadoutCollection>(IT_L1MuGMTReadout);
77 hbhereco_token_ = consumes<HBHERecHitCollection>(IT_HBHErh);
78 EcalRecHitsEB_token_ = consumes<EcalRecHitCollection>(IT_ECALBrh);
79 EcalRecHitsEE_token_ = consumes<EcalRecHitCollection>(IT_ECALErh);
80 hltresult_token_ = consumes<edm::TriggerResults>(IT_HLTResult);
82 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() {}