CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Attributes
DTCache< T, Coll > Class Template Reference

#include <DTCache.h>

Inheritance diagram for DTCache< T, Coll >:
DTBtiCard DTSectColl DTSectColl DTTracoCard DTTSPhi DTTSTheta

Public Types

typedef my_collection::const_iterator const_iterator
 
typedef my_collection::iterator iterator
 
typedef Coll my_collection
 
typedef T my_type
 

Public Member Functions

const_iterator begin () const
 Get first cache element. More...
 
void clearCache ()
 Clear cache vector. More...
 
 DTCache ()
 Constructor. More...
 
const_iterator end () const
 Get last cache element. More...
 
virtual void reconstruct ()
 Virtual reconstruct member. More...
 
int size () const
 Get cache vector's size. More...
 
virtual ~DTCache ()
 Destructor. More...
 

Protected Attributes

my_collection _cache
 

Detailed Description

template<class T, class Coll = std::vector<T>>
class DTCache< T, Coll >

Trigger Cache Used to store various trigger data

Author
C. Battilana

Modifications:

Definition at line 22 of file DTCache.h.

Member Typedef Documentation

template<class T , class Coll = std::vector<T>>
typedef my_collection::const_iterator DTCache< T, Coll >::const_iterator

Definition at line 28 of file DTCache.h.

template<class T , class Coll = std::vector<T>>
typedef my_collection::iterator DTCache< T, Coll >::iterator

Definition at line 27 of file DTCache.h.

template<class T , class Coll = std::vector<T>>
typedef Coll DTCache< T, Coll >::my_collection

Definition at line 26 of file DTCache.h.

template<class T , class Coll = std::vector<T>>
typedef T DTCache< T, Coll >::my_type

Definition at line 25 of file DTCache.h.

Constructor & Destructor Documentation

template<class T , class Coll = std::vector<T>>
DTCache< T, Coll >::DTCache ( )
inline

Constructor.

Definition at line 32 of file DTCache.h.

32 {}
template<class T , class Coll = std::vector<T>>
virtual DTCache< T, Coll >::~DTCache ( )
inlinevirtual

Destructor.

Definition at line 35 of file DTCache.h.

35 {}

Member Function Documentation

template<class T , class Coll = std::vector<T>>
const_iterator DTCache< T, Coll >::begin ( void  ) const
inline
template<class T , class Coll = std::vector<T>>
void DTCache< T, Coll >::clearCache ( )
inline

Clear cache vector.

Definition at line 47 of file DTCache.h.

References DTCache< T, Coll >::_cache.

Referenced by DTTracoCard::clearCache(), DTBtiCard::clearCache(), DTSectColl::clearCache(), and DTTrig::triggerReco().

47 { _cache.clear(); }
my_collection _cache
Definition: DTCache.h:53
template<class T , class Coll = std::vector<T>>
const_iterator DTCache< T, Coll >::end ( void  ) const
inline
template<class T , class Coll = std::vector<T>>
virtual void DTCache< T, Coll >::reconstruct ( )
inlinevirtual

Virtual reconstruct member.

Reimplemented in DTSectColl, DTTracoCard, DTTSTheta, and DTTSPhi.

Definition at line 50 of file DTCache.h.

Referenced by DTBtiCard::getBTI().

50 {}
template<class T , class Coll = std::vector<T>>
int DTCache< T, Coll >::size ( void  ) const
inline

Member Data Documentation

template<class T , class Coll = std::vector<T>>
my_collection DTCache< T, Coll >::_cache
protected