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 23 of file DTCache.h.

Member Typedef Documentation

◆ const_iterator

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.

◆ iterator

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

Definition at line 27 of file DTCache.h.

◆ my_collection

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

Definition at line 26 of file DTCache.h.

◆ my_type

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

◆ DTCache()

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

Constructor.

Definition at line 32 of file DTCache.h.

32 {}

◆ ~DTCache()

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

◆ begin()

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

◆ clearCache()

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.

47 { _cache.clear(); }

References DTCache< T, Coll >::_cache.

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

◆ end()

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

◆ reconstruct()

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.

50 {}

◆ size()

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

Member Data Documentation

◆ _cache

template<class T , class Coll = std::vector<T>>
my_collection DTCache< T, Coll >::_cache
protected
DTCache::_cache
my_collection _cache
Definition: DTCache.h:53