CMS 3D CMS Logo

Public Member Functions | Public Attributes

BetaCalculatorMUON Class Reference

#include <BetaCalculatorMUON.h>

List of all members.

Public Member Functions

void addInfoToCandidate (susybsm::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 22 of file BetaCalculatorMUON.h.


Constructor & Destructor Documentation

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

Definition at line 7 of file BetaCalculatorMUON.cc.

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

Member Function Documentation

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

Definition at line 14 of file BetaCalculatorMUON.cc.

{
   //Do nothing since all muonTiming object are external and get be accessed via reference
   return;
/*
   if(!candidate.hasMuonRef())return;
   reco::MuonRef muon  = candidate.muonRef();

   Handle<reco::MuonTimeExtraMap> timeMap_Dt_h;
   iEvent.getByLabel(m_muontiming_dt,timeMap_Dt_h);
   const reco::MuonTimeExtraMap& timeMap_Dt = *timeMap_Dt_h;
   
   Handle<reco::MuonTimeExtraMap> timeMap_Csc_h;
   iEvent.getByLabel(m_muontiming_dt,timeMap_Csc_h);
   const reco::MuonTimeExtraMap& timeMap_Csc = *timeMap_Csc_h;

   Handle<reco::MuonTimeExtraMap> timeMap_Combined_h;
   iEvent.getByLabel(m_muontiming_dt,timeMap_Combined_h);
   const reco::MuonTimeExtraMap& timeMap_Combined = *timeMap_Combined_h;

   candidate.setMuonTimeDt      (timeMap_Dt      [muon]);
   candidate.setMuonTimeCsc     (timeMap_Csc     [muon]);
   candidate.setMuonTimeCombined(timeMap_Combined[muon]);
*/
}

Member Data Documentation

Definition at line 29 of file BetaCalculatorMUON.h.

Definition at line 28 of file BetaCalculatorMUON.h.

Definition at line 27 of file BetaCalculatorMUON.h.