CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 29 of file DTCache.h.

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

Definition at line 28 of file DTCache.h.

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

Definition at line 27 of file DTCache.h.

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

Definition at line 26 of file DTCache.h.

Constructor & Destructor Documentation

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

Constructor.

Definition at line 34 of file DTCache.h.

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

Destructor.

Definition at line 37 of file DTCache.h.

37 {}

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

References DTCache< T, Coll >::_cache.

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

49 {_cache.clear();}
my_collection _cache
Definition: DTCache.h:56
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 52 of file DTCache.h.

52 {}
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