CMS 3D CMS Logo

BetaCalculatorMUON.cc
Go to the documentation of this file.
2 
3 using namespace edm;
4 using namespace reco;
5 using namespace susybsm;
6 
8 // m_muontiming_dt = iC.consumes<reco::MuonTimeExtraMap>(iConfig.getParameter<InputTag >("muontimingDt" ));
9 // m_muontiming_csc = iC.consumes<reco::MuonTimeExtraMap>(iConfig.getParameter<InputTag >("muontimingCsc" ));
10 // m_muontiming_combined = iC.consumes<reco::MuonTimeExtraMap>(iConfig.getParameter<InputTag >("muontimingCombined"));
11 }
12 
13 
15 {
16  //Do nothing since all muonTiming object are external and get be accessed via reference
17  return;
18 /*
19  if(!candidate.hasMuonRef())return;
20  reco::MuonRef muon = candidate.muonRef();
21 
22  Handle<reco::MuonTimeExtraMap> timeMap_Dt_h;
23  iEvent.getByToken(m_muontiming_dt,timeMap_Dt_h);
24  const reco::MuonTimeExtraMap& timeMap_Dt = *timeMap_Dt_h;
25 
26  Handle<reco::MuonTimeExtraMap> timeMap_Csc_h;
27  iEvent.getByToken(m_muontiming_dt,timeMap_Csc_h);
28  const reco::MuonTimeExtraMap& timeMap_Csc = *timeMap_Csc_h;
29 
30  Handle<reco::MuonTimeExtraMap> timeMap_Combined_h;
31  iEvent.getByToken(m_muontiming_dt,timeMap_Combined_h);
32  const reco::MuonTimeExtraMap& timeMap_Combined = *timeMap_Combined_h;
33 
34  candidate.setMuonTimeDt (timeMap_Dt [muon]);
35  candidate.setMuonTimeCsc (timeMap_Csc [muon]);
36  candidate.setMuonTimeCombined(timeMap_Combined[muon]);
37 */
38 }
39 
void addInfoToCandidate(susybsm::HSCParticle &candidate, edm::Event &iEvent, const edm::EventSetup &iSetup)
int iEvent
Definition: GenABIO.cc:224
BetaCalculatorMUON(const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
fixed size matrix
HLT enums.