CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Attributes
BPHRecoBuilder::BPHInterfaceCollection< T > Class Template Reference
Inheritance diagram for BPHRecoBuilder::BPHInterfaceCollection< T >:
BPHRecoBuilder::BPHGenericCollection BPHRecoBuilder::BPHSpecificCollection< T >

Public Member Functions

 BPHInterfaceCollection (const T &c, const std::string &list)
 
int size () const override
 
 ~BPHInterfaceCollection () override
 
- Public Member Functions inherited from BPHRecoBuilder::BPHGenericCollection
 BPHGenericCollection (const std::string &list)
 
virtual const reco::Candidateget (int i) const =0
 
const std::string & searchList () const
 
virtual ~BPHGenericCollection ()
 

Protected Attributes

const TcPtr
 

Detailed Description

template<class T>
class BPHRecoBuilder::BPHInterfaceCollection< T >

Definition at line 147 of file BPHRecoBuilder.h.

Constructor & Destructor Documentation

◆ BPHInterfaceCollection()

template<class T>
BPHRecoBuilder::BPHInterfaceCollection< T >::BPHInterfaceCollection ( const T c,
const std::string &  list 
)
inline

Definition at line 149 of file BPHRecoBuilder.h.

149 : BPHGenericCollection(list), cPtr(&c) {}

◆ ~BPHInterfaceCollection()

template<class T>
BPHRecoBuilder::BPHInterfaceCollection< T >::~BPHInterfaceCollection ( )
inlineoverride

Definition at line 150 of file BPHRecoBuilder.h.

150 {}

Member Function Documentation

◆ size()

template<class T>
int BPHRecoBuilder::BPHInterfaceCollection< T >::size ( void  ) const
inlineoverridevirtual

Implements BPHRecoBuilder::BPHGenericCollection.

Definition at line 151 of file BPHRecoBuilder.h.

151 { return cPtr->size(); }

Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().

Member Data Documentation

◆ cPtr

template<class T>
const T* BPHRecoBuilder::BPHInterfaceCollection< T >::cPtr
protected
BPHRecoBuilder::BPHInterfaceCollection::cPtr
const T * cPtr
Definition: BPHRecoBuilder.h:154
c
auto & c
Definition: CAHitNtupletGeneratorKernelsImpl.h:56
BPHRecoBuilder::BPHGenericCollection::BPHGenericCollection
BPHGenericCollection(const std::string &list)
Definition: BPHRecoBuilder.h:72