CMS 3D CMS Logo

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

#include <MtdSimLayerClusterToTPAssociator.h>

Public Member Functions

reco::SimToTPCollectionMtd associateSimToTP (const edm::Handle< MtdSimLayerClusterCollection > &simClusH, const edm::Handle< TrackingParticleCollection > &trackingParticleH) const
 Associate MtdSimLayerCluster to TrackingParticle. More...
 
reco::TPToSimCollectionMtd associateTPToSim (const edm::Handle< MtdSimLayerClusterCollection > &simClusH, const edm::Handle< TrackingParticleCollection > &trackingParticleH) const
 Associate TrackingParticle to MtdSimLayerCluster. More...
 
 MtdSimLayerClusterToTPAssociator (std::unique_ptr< reco::MtdSimLayerClusterToTPAssociatorBaseImpl >)
 
 MtdSimLayerClusterToTPAssociator ()=default
 
 MtdSimLayerClusterToTPAssociator (MtdSimLayerClusterToTPAssociator &&)=default
 
 MtdSimLayerClusterToTPAssociator (const MtdSimLayerClusterToTPAssociator &)=delete
 
MtdSimLayerClusterToTPAssociatoroperator= (MtdSimLayerClusterToTPAssociator &&)=default
 
const MtdSimLayerClusterToTPAssociatoroperator= (const MtdSimLayerClusterToTPAssociator &)=delete
 
 ~MtdSimLayerClusterToTPAssociator ()=default
 

Private Attributes

std::unique_ptr< MtdSimLayerClusterToTPAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 15 of file MtdSimLayerClusterToTPAssociator.h.

Constructor & Destructor Documentation

◆ MtdSimLayerClusterToTPAssociator() [1/4]

reco::MtdSimLayerClusterToTPAssociator::MtdSimLayerClusterToTPAssociator ( std::unique_ptr< reco::MtdSimLayerClusterToTPAssociatorBaseImpl ptr)

Definition at line 3 of file MtdSimLayerClusterToTPAssociator.cc.

5  : m_impl(std::move(ptr)) {}
std::unique_ptr< MtdSimLayerClusterToTPAssociatorBaseImpl > m_impl
def move(src, dest)
Definition: eostools.py:511

◆ MtdSimLayerClusterToTPAssociator() [2/4]

reco::MtdSimLayerClusterToTPAssociator::MtdSimLayerClusterToTPAssociator ( )
default

◆ MtdSimLayerClusterToTPAssociator() [3/4]

reco::MtdSimLayerClusterToTPAssociator::MtdSimLayerClusterToTPAssociator ( MtdSimLayerClusterToTPAssociator &&  )
default

◆ MtdSimLayerClusterToTPAssociator() [4/4]

reco::MtdSimLayerClusterToTPAssociator::MtdSimLayerClusterToTPAssociator ( const MtdSimLayerClusterToTPAssociator )
delete

◆ ~MtdSimLayerClusterToTPAssociator()

reco::MtdSimLayerClusterToTPAssociator::~MtdSimLayerClusterToTPAssociator ( )
default

Member Function Documentation

◆ associateSimToTP()

reco::SimToTPCollectionMtd reco::MtdSimLayerClusterToTPAssociator::associateSimToTP ( const edm::Handle< MtdSimLayerClusterCollection > &  simClusH,
const edm::Handle< TrackingParticleCollection > &  trackingParticleH 
) const
inline

Associate MtdSimLayerCluster to TrackingParticle.

Definition at line 29 of file MtdSimLayerClusterToTPAssociator.h.

References m_impl.

Referenced by MtdSimLayerClusterToTPAssociatorEDProducer::produce().

30  {
31  return m_impl->associateSimToTP(simClusH, trackingParticleH);
32  };
std::unique_ptr< MtdSimLayerClusterToTPAssociatorBaseImpl > m_impl

◆ associateTPToSim()

reco::TPToSimCollectionMtd reco::MtdSimLayerClusterToTPAssociator::associateTPToSim ( const edm::Handle< MtdSimLayerClusterCollection > &  simClusH,
const edm::Handle< TrackingParticleCollection > &  trackingParticleH 
) const
inline

Associate TrackingParticle to MtdSimLayerCluster.

Definition at line 35 of file MtdSimLayerClusterToTPAssociator.h.

References m_impl.

Referenced by MtdSimLayerClusterToTPAssociatorEDProducer::produce().

36  {
37  return m_impl->associateTPToSim(simClusH, trackingParticleH);
38  };
std::unique_ptr< MtdSimLayerClusterToTPAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

Member Data Documentation

◆ m_impl

std::unique_ptr<MtdSimLayerClusterToTPAssociatorBaseImpl> reco::MtdSimLayerClusterToTPAssociator::m_impl
private

Definition at line 38 of file MtdSimLayerClusterToTPAssociator.h.

Referenced by associateSimToTP(), and associateTPToSim().