CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes
BetaCalculatorMUON Class Reference

#include <BetaCalculatorMUON.h>

Public Member Functions

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

Public Attributes

edm::InputTag m_muontiming_combined
 
edm::InputTag m_muontiming_csc
 
edm::InputTag m_muontiming_dt
 

Detailed Description

Definition at line 26 of file BetaCalculatorMUON.h.

Constructor & Destructor Documentation

BetaCalculatorMUON::BetaCalculatorMUON ( const edm::ParameterSet iConfig)

Definition at line 3 of file BetaCalculatorMUON.cc.

3  {
4 // m_muontiming_dt = iConfig.getParameter<InputTag >("muontimingDt" );
5 // m_muontiming_csc = iConfig.getParameter<InputTag >("muontimingCsc" );
6 // m_muontiming_combined = iConfig.getParameter<InputTag >("muontimingCombined");
7 }

Member Function Documentation

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

Definition at line 10 of file BetaCalculatorMUON.cc.

Referenced by HSCParticleProducer::filter().

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

Member Data Documentation

edm::InputTag BetaCalculatorMUON::m_muontiming_combined

Definition at line 33 of file BetaCalculatorMUON.h.

edm::InputTag BetaCalculatorMUON::m_muontiming_csc

Definition at line 32 of file BetaCalculatorMUON.h.

edm::InputTag BetaCalculatorMUON::m_muontiming_dt

Definition at line 31 of file BetaCalculatorMUON.h.