CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
reco::MuonToTrackingParticleAssociator Class Reference

#include <MuonToTrackingParticleAssociator.h>

Public Member Functions

void associateMuons (MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::Handle< edm::View< reco::Muon >> &muons, MuonTrackType type, const edm::Handle< TrackingParticleCollection > &tpColl) const
 
void associateMuons (MuonToSimCollection &recoToSim, SimToMuonCollection &simToReco, const edm::RefToBaseVector< reco::Muon > &muons, MuonTrackType type, const edm::RefVector< TrackingParticleCollection > &tpColl) const
 
 MuonToTrackingParticleAssociator ()=default
 
 MuonToTrackingParticleAssociator (MuonToTrackingParticleAssociator &&)=default
 
 MuonToTrackingParticleAssociator (std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl >)
 
MuonToTrackingParticleAssociatoroperator= (MuonToTrackingParticleAssociator &&)=default
 
 ~MuonToTrackingParticleAssociator ()=default
 

Private Member Functions

 MuonToTrackingParticleAssociator (const MuonToTrackingParticleAssociator &)=delete
 
MuonToTrackingParticleAssociatoroperator= (const MuonToTrackingParticleAssociator &)=delete
 

Private Attributes

std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_
 

Detailed Description

Definition at line 15 of file MuonToTrackingParticleAssociator.h.

Constructor & Destructor Documentation

◆ MuonToTrackingParticleAssociator() [1/4]

reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( )
default

◆ ~MuonToTrackingParticleAssociator()

reco::MuonToTrackingParticleAssociator::~MuonToTrackingParticleAssociator ( )
default

◆ MuonToTrackingParticleAssociator() [2/4]

reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl iImpl)

Definition at line 21 of file MuonToTrackingParticleAssociator.cc.

23  : impl_(std::move(iImpl)) {}

◆ MuonToTrackingParticleAssociator() [3/4]

reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( MuonToTrackingParticleAssociator &&  )
default

◆ MuonToTrackingParticleAssociator() [4/4]

reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( const MuonToTrackingParticleAssociator )
privatedelete

Member Function Documentation

◆ associateMuons() [1/2]

void reco::MuonToTrackingParticleAssociator::associateMuons ( MuonToSimCollection recoToSim,
SimToMuonCollection simToReco,
const edm::Handle< edm::View< reco::Muon >> &  muons,
MuonTrackType  type,
const edm::Handle< TrackingParticleCollection > &  tpColl 
) const
inline

Definition at line 32 of file MuonToTrackingParticleAssociator.h.

36  {
37  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
38  }

References impl_, and PDWG_BPHSkim_cff::muons.

◆ associateMuons() [2/2]

void reco::MuonToTrackingParticleAssociator::associateMuons ( MuonToSimCollection recoToSim,
SimToMuonCollection simToReco,
const edm::RefToBaseVector< reco::Muon > &  muons,
MuonTrackType  type,
const edm::RefVector< TrackingParticleCollection > &  tpColl 
) const
inline

Definition at line 25 of file MuonToTrackingParticleAssociator.h.

29  {
30  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
31  }

References impl_, and PDWG_BPHSkim_cff::muons.

Referenced by RecoMuonValidator::analyze(), MuonMCClassifier::produce(), and MuonSimClassifier::produce().

◆ operator=() [1/2]

MuonToTrackingParticleAssociator& reco::MuonToTrackingParticleAssociator::operator= ( const MuonToTrackingParticleAssociator )
privatedelete

◆ operator=() [2/2]

MuonToTrackingParticleAssociator& reco::MuonToTrackingParticleAssociator::operator= ( MuonToTrackingParticleAssociator &&  )
default

Member Data Documentation

◆ impl_

std::unique_ptr<MuonToTrackingParticleAssociatorBaseImpl const> reco::MuonToTrackingParticleAssociator::impl_
private

Definition at line 44 of file MuonToTrackingParticleAssociator.h.

Referenced by associateMuons().

PDWG_BPHSkim_cff.muons
muons
Definition: PDWG_BPHSkim_cff.py:47
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
reco::MuonToTrackingParticleAssociator::impl_
std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_
Definition: MuonToTrackingParticleAssociator.h:44
eostools.move
def move(src, dest)
Definition: eostools.py:511