CMS 3D CMS Logo

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

#include <MuonToTrackingParticleAssociator.h>

Public Member Functions

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

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)) {}
std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_
def move(src, dest)
Definition: eostools.py:511

◆ MuonToTrackingParticleAssociator() [3/4]

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

◆ MuonToTrackingParticleAssociator() [4/4]

reco::MuonToTrackingParticleAssociator::MuonToTrackingParticleAssociator ( const MuonToTrackingParticleAssociator )
delete

Member Function Documentation

◆ associateMuons() [1/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 27 of file MuonToTrackingParticleAssociator.h.

References impl_, and DiMuonV_cfg::muons.

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

31  {
32  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
33  }
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
Definition: DiMuonV_cfg.py:214
std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_

◆ associateMuons() [2/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 34 of file MuonToTrackingParticleAssociator.h.

References impl_, and DiMuonV_cfg::muons.

38  {
39  impl_->associateMuons(recoToSim, simToReco, muons, type, tpColl);
40  }
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
Definition: DiMuonV_cfg.py:214
std::unique_ptr< MuonToTrackingParticleAssociatorBaseImpl const > impl_

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ impl_

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

Definition at line 43 of file MuonToTrackingParticleAssociator.h.

Referenced by associateMuons().