CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ticl::LayerClusterToSimTracksterAssociator Class Reference

#include <LayerClusterToSimTracksterAssociator.h>

Public Member Functions

ticl::RecoToSimTracksterCollection associateRecoToSim (const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &stCH, const edm::Handle< CaloParticleCollection > &cPCH, const ticl::RecoToSimCollection &lCToCPs, const edm::Handle< SimClusterCollection > &sCCH, const ticl::RecoToSimCollectionWithSimClusters &lCToSCs) const
 Associate a LayerCluster to SimTracksters. More...
 
ticl::SimTracksterToRecoCollection associateSimToReco (const edm::Handle< reco::CaloClusterCollection > &cCCH, const edm::Handle< ticl::TracksterCollection > &sTCH, const edm::Handle< CaloParticleCollection > &cPCH, const ticl::SimToRecoCollection &cpToLCs, const edm::Handle< SimClusterCollection > &sCCH, const ticl::SimToRecoCollectionWithSimClusters &sCToLCs) const
 Associate a SimTrackster to LayerClusters. More...
 
 LayerClusterToSimTracksterAssociator (std::unique_ptr< ticl::LayerClusterToSimTracksterAssociatorBaseImpl >)
 
 LayerClusterToSimTracksterAssociator ()=default
 
 LayerClusterToSimTracksterAssociator (LayerClusterToSimTracksterAssociator &&)=default
 
 LayerClusterToSimTracksterAssociator (const LayerClusterToSimTracksterAssociator &)=delete
 
LayerClusterToSimTracksterAssociatoroperator= (LayerClusterToSimTracksterAssociator &&)=default
 
const LayerClusterToSimTracksterAssociatoroperator= (const LayerClusterToSimTracksterAssociator &)=delete
 
 ~LayerClusterToSimTracksterAssociator ()=default
 

Private Attributes

std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImplm_impl
 

Detailed Description

Definition at line 16 of file LayerClusterToSimTracksterAssociator.h.

Constructor & Destructor Documentation

◆ LayerClusterToSimTracksterAssociator() [1/4]

ticl::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( std::unique_ptr< ticl::LayerClusterToSimTracksterAssociatorBaseImpl ptr)

Definition at line 5 of file LayerClusterToSimTracksterAssociator.cc.

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

◆ LayerClusterToSimTracksterAssociator() [2/4]

ticl::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( )
default

◆ LayerClusterToSimTracksterAssociator() [3/4]

ticl::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( LayerClusterToSimTracksterAssociator &&  )
default

◆ LayerClusterToSimTracksterAssociator() [4/4]

ticl::LayerClusterToSimTracksterAssociator::LayerClusterToSimTracksterAssociator ( const LayerClusterToSimTracksterAssociator )
delete

◆ ~LayerClusterToSimTracksterAssociator()

ticl::LayerClusterToSimTracksterAssociator::~LayerClusterToSimTracksterAssociator ( )
default

Member Function Documentation

◆ associateRecoToSim()

ticl::RecoToSimTracksterCollection ticl::LayerClusterToSimTracksterAssociator::associateRecoToSim ( const edm::Handle< reco::CaloClusterCollection > &  cCCH,
const edm::Handle< ticl::TracksterCollection > &  stCH,
const edm::Handle< CaloParticleCollection > &  cPCH,
const ticl::RecoToSimCollection lCToCPs,
const edm::Handle< SimClusterCollection > &  sCCH,
const ticl::RecoToSimCollectionWithSimClusters lCToSCs 
) const
inline

Associate a LayerCluster to SimTracksters.

Definition at line 30 of file LayerClusterToSimTracksterAssociator.h.

References m_impl.

Referenced by LCToSimTSAssociatorEDProducer::produce().

36  {
37  return m_impl->associateRecoToSim(cCCH, stCH, cPCH, lCToCPs, sCCH, lCToSCs);
38  };
std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImpl > m_impl

◆ associateSimToReco()

ticl::SimTracksterToRecoCollection ticl::LayerClusterToSimTracksterAssociator::associateSimToReco ( const edm::Handle< reco::CaloClusterCollection > &  cCCH,
const edm::Handle< ticl::TracksterCollection > &  sTCH,
const edm::Handle< CaloParticleCollection > &  cPCH,
const ticl::SimToRecoCollection cpToLCs,
const edm::Handle< SimClusterCollection > &  sCCH,
const ticl::SimToRecoCollectionWithSimClusters sCToLCs 
) const
inline

Associate a SimTrackster to LayerClusters.

Definition at line 41 of file LayerClusterToSimTracksterAssociator.h.

References m_impl.

Referenced by LCToSimTSAssociatorEDProducer::produce().

47  {
48  return m_impl->associateSimToReco(cCCH, sTCH, cPCH, cpToLCs, sCCH, sCToLCs);
49  }
std::unique_ptr< LayerClusterToSimTracksterAssociatorBaseImpl > m_impl

◆ operator=() [1/2]

LayerClusterToSimTracksterAssociator& ticl::LayerClusterToSimTracksterAssociator::operator= ( LayerClusterToSimTracksterAssociator &&  )
default

◆ operator=() [2/2]

const LayerClusterToSimTracksterAssociator& ticl::LayerClusterToSimTracksterAssociator::operator= ( const LayerClusterToSimTracksterAssociator )
delete

Member Data Documentation

◆ m_impl

std::unique_ptr<LayerClusterToSimTracksterAssociatorBaseImpl> ticl::LayerClusterToSimTracksterAssociator::m_impl
private