CMS 3D CMS Logo

List of all members | Classes | Public Member Functions | Private Attributes
TTTrackTruthPair< T > Class Template Reference

#include <TTTrackTruthPair.h>

Classes

struct  StatusFlags
 

Public Member Functions

int flags () const
 
bool isCombinatoric () const
 
bool isGenuine () const
 
bool isLooselyGenuine () const
 
bool isUnknown () const
 
edm::Ref< TrackingParticleCollectiontrkPart () const
 
 TTTrackTruthPair ()
 
 TTTrackTruthPair (const edm::Ref< std::vector< TTTrack< T > > > &ttTrkRef, const edm::Ref< TrackingParticleCollection > &trkPartRef, int flags)
 
edm::Ref< std::vector< TTTrack< T > > > ttTrk () const
 

Private Attributes

char flags_
 
edm::Ref< TrackingParticleCollectiontrkPartRef_
 
edm::Ref< std::vector< TTTrack< T > > > ttTrkRef_
 

Detailed Description

template<typename T>
class TTTrackTruthPair< T >

Definition at line 12 of file TTTrackTruthPair.h.

Constructor & Destructor Documentation

◆ TTTrackTruthPair() [1/2]

template<typename T >
TTTrackTruthPair< T >::TTTrackTruthPair ( )
inline

Definition at line 24 of file TTTrackTruthPair.h.

24 : flags_(0) {}

◆ TTTrackTruthPair() [2/2]

template<typename T >
TTTrackTruthPair< T >::TTTrackTruthPair ( const edm::Ref< std::vector< TTTrack< T > > > &  ttTrkRef,
const edm::Ref< TrackingParticleCollection > &  trkPartRef,
int  flags 
)
inline

Definition at line 25 of file TTTrackTruthPair.h.

28  : ttTrkRef_(ttTrkRef), trkPartRef_(trkPartRef), flags_(flags) {}

Member Function Documentation

◆ flags()

template<typename T >
int TTTrackTruthPair< T >::flags ( ) const
inline

Definition at line 32 of file TTTrackTruthPair.h.

32 { return flags_; }

References TTTrackTruthPair< T >::flags_.

◆ isCombinatoric()

template<typename T >
bool TTTrackTruthPair< T >::isCombinatoric ( ) const
inline

◆ isGenuine()

template<typename T >
bool TTTrackTruthPair< T >::isGenuine ( ) const
inline

◆ isLooselyGenuine()

template<typename T >
bool TTTrackTruthPair< T >::isLooselyGenuine ( ) const
inline

◆ isUnknown()

template<typename T >
bool TTTrackTruthPair< T >::isUnknown ( ) const
inline

◆ trkPart()

template<typename T >
edm::Ref<TrackingParticleCollection> TTTrackTruthPair< T >::trkPart ( ) const
inline

Definition at line 31 of file TTTrackTruthPair.h.

31 { return trkPartRef_; }

References TTTrackTruthPair< T >::trkPartRef_.

◆ ttTrk()

template<typename T >
edm::Ref<std::vector<TTTrack<T> > > TTTrackTruthPair< T >::ttTrk ( ) const
inline

Definition at line 30 of file TTTrackTruthPair.h.

30 { return ttTrkRef_; }

References TTTrackTruthPair< T >::ttTrkRef_.

Member Data Documentation

◆ flags_

template<typename T >
char TTTrackTruthPair< T >::flags_
private

◆ trkPartRef_

template<typename T >
edm::Ref<TrackingParticleCollection> TTTrackTruthPair< T >::trkPartRef_
private

Definition at line 20 of file TTTrackTruthPair.h.

Referenced by TTTrackTruthPair< T >::trkPart().

◆ ttTrkRef_

template<typename T >
edm::Ref<std::vector<TTTrack<T> > > TTTrackTruthPair< T >::ttTrkRef_
private

Definition at line 19 of file TTTrackTruthPair.h.

Referenced by TTTrackTruthPair< T >::ttTrk().

TTTrackTruthPair::trkPartRef_
edm::Ref< TrackingParticleCollection > trkPartRef_
Definition: TTTrackTruthPair.h:20
TTTrackTruthPair::StatusFlags::IsLooselyGenuine
Definition: TTTrackTruthPair.h:15
TTTrackTruthPair::StatusFlags::IsGenuine
Definition: TTTrackTruthPair.h:15
TTTrackTruthPair::ttTrkRef_
edm::Ref< std::vector< TTTrack< T > > > ttTrkRef_
Definition: TTTrackTruthPair.h:19
TTTrackTruthPair::flags
int flags() const
Definition: TTTrackTruthPair.h:32
TTTrackTruthPair::flags_
char flags_
Definition: TTTrackTruthPair.h:21
TTTrackTruthPair::StatusFlags::IsUnknown
Definition: TTTrackTruthPair.h:15
TTTrackTruthPair::StatusFlags::IsCombinatoric
Definition: TTTrackTruthPair.h:15