CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
BetaCalculatorMUON Class Reference

#include <BetaCalculatorMUON.h>

Public Member Functions

void addInfoToCandidate (susybsm::HSCParticle &candidate, edm::Event &iEvent, const edm::EventSetup &iSetup)
 
 BetaCalculatorMUON (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC)
 

Public Attributes

edm::EDGetTokenT< reco::MuonTimeExtraMapm_muontiming_combined
 
edm::EDGetTokenT< reco::MuonTimeExtraMapm_muontiming_csc
 
edm::EDGetTokenT< reco::MuonTimeExtraMapm_muontiming_dt
 

Detailed Description

Definition at line 22 of file BetaCalculatorMUON.h.

Constructor & Destructor Documentation

◆ BetaCalculatorMUON()

BetaCalculatorMUON::BetaCalculatorMUON ( const edm::ParameterSet iConfig,
edm::ConsumesCollector &&  iC 
)

Definition at line 7 of file BetaCalculatorMUON.cc.

7  {
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 }

Member Function Documentation

◆ addInfoToCandidate()

void BetaCalculatorMUON::addInfoToCandidate ( susybsm::HSCParticle candidate,
edm::Event iEvent,
const edm::EventSetup iSetup 
)

Definition at line 13 of file BetaCalculatorMUON.cc.

13  {
14  //Do nothing since all muonTiming object are external and get be accessed via reference
15  return;
16  /*
17  if(!candidate.hasMuonRef())return;
18  reco::MuonRef muon = candidate.muonRef();
19 
20  Handle<reco::MuonTimeExtraMap> timeMap_Dt_h;
21  iEvent.getByToken(m_muontiming_dt,timeMap_Dt_h);
22  const reco::MuonTimeExtraMap& timeMap_Dt = *timeMap_Dt_h;
23 
24  Handle<reco::MuonTimeExtraMap> timeMap_Csc_h;
25  iEvent.getByToken(m_muontiming_dt,timeMap_Csc_h);
26  const reco::MuonTimeExtraMap& timeMap_Csc = *timeMap_Csc_h;
27 
28  Handle<reco::MuonTimeExtraMap> timeMap_Combined_h;
29  iEvent.getByToken(m_muontiming_dt,timeMap_Combined_h);
30  const reco::MuonTimeExtraMap& timeMap_Combined = *timeMap_Combined_h;
31 
32  candidate.setMuonTimeDt (timeMap_Dt [muon]);
33  candidate.setMuonTimeCsc (timeMap_Csc [muon]);
34  candidate.setMuonTimeCombined(timeMap_Combined[muon]);
35 */
36 }

Member Data Documentation

◆ m_muontiming_combined

edm::EDGetTokenT<reco::MuonTimeExtraMap> BetaCalculatorMUON::m_muontiming_combined

Definition at line 29 of file BetaCalculatorMUON.h.

◆ m_muontiming_csc

edm::EDGetTokenT<reco::MuonTimeExtraMap> BetaCalculatorMUON::m_muontiming_csc

Definition at line 28 of file BetaCalculatorMUON.h.

◆ m_muontiming_dt

edm::EDGetTokenT<reco::MuonTimeExtraMap> BetaCalculatorMUON::m_muontiming_dt

Definition at line 27 of file BetaCalculatorMUON.h.