CMS 3D CMS Logo

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

List of all members.

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.
void clearCache ()
 Clear cache vector.
 DTCache ()
 Constructor.
const_iterator end () const
 Get last cache element.
virtual void reconstruct ()
 Virtual reconstruct member.
int size () const
 Get cache vector's size.
virtual ~DTCache ()
 Destructor.

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

Date:
2006/07/19 10:32:51
Revision:
1.1
Author:
C. Battilana

Modifications:

Definition at line 24 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 31 of file DTCache.h.

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

Definition at line 30 of file DTCache.h.

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

Definition at line 29 of file DTCache.h.

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

Definition at line 28 of file DTCache.h.


Constructor & Destructor Documentation

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

Constructor.

Definition at line 36 of file DTCache.h.

{}
template<class T , class Coll = std::vector<T>>
virtual DTCache< T, Coll >::~DTCache ( ) [inline, virtual]

Destructor.

Definition at line 39 of file DTCache.h.

{}

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.

Reimplemented in DTBtiCard, DTSectColl, and DTTracoCard.

Definition at line 51 of file DTCache.h.

References DTCache< T, Coll >::_cache.

Referenced by DTTrig::triggerReco().

{_cache.clear();}
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 ( ) [inline, virtual]

Virtual reconstruct member.

Reimplemented in DTSectColl, DTTracoCard, DTTSPhi, and DTTSTheta.

Definition at line 54 of file DTCache.h.

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