CMS 3D CMS Logo

DTCache< T, Coll > Class Template Reference

Trigger Cache Used to store various trigger data. More...

#include <L1Trigger/DTUtilities/interface/DTCache.h>

Inheritance diagram for DTCache< T, Coll >:

DTSectColl DTSectColl 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.

00036 {}

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

Destructor.

Definition at line 39 of file DTCache.h.

00039 {}


Member Function Documentation

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

Get first cache element.

Definition at line 42 of file DTCache.h.

Referenced by DTTrig::BtiTrigs(), DTTSTheta::loadDTTSTheta(), DTSectColl::loadSectColl(), DTTracoCard::loadTRACO(), DTTSPhi::loadTSPhi(), DTTSPhi::localClear(), DTTSPhi::nSegm(), DTTSTheta::nSegm(), DTSectColl::nSegmPh(), DTSectColl::nSegmTh(), DTSectColl::runSectColl(), DTTSPhi::runTSPhi(), DTSectColl::SectCollPhSegment(), DTSectColl::SectCollThSegment(), DTTSPhi::segment(), DTTSTheta::segment(), DTTSPhi::setConfig(), DTTrig::TracoTrigs(), DTTrig::TSPhTrigs(), DTTrig::TSThTrigs(), and DTTSPhi::~DTTSPhi().

00042 { return _cache.begin();}

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

Clear cache vector.

Reimplemented in DTBtiCard, DTSectColl, and DTTracoCard.

Definition at line 51 of file DTCache.h.

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

00051 {_cache.clear();}

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

Get last cache element.

Definition at line 45 of file DTCache.h.

Referenced by DTTrig::BtiTrigs(), DTTSTheta::loadDTTSTheta(), DTSectColl::loadSectColl(), DTTracoCard::loadTRACO(), DTTSPhi::loadTSPhi(), DTTSPhi::nSegm(), DTTSTheta::nSegm(), DTSectColl::nSegmPh(), DTSectColl::nSegmTh(), DTSectColl::SectCollPhSegment(), DTSectColl::SectCollThSegment(), DTTSPhi::segment(), DTTSTheta::segment(), DTTrig::TracoTrigs(), DTTrig::TSPhTrigs(), and DTTrig::TSThTrigs().

00045 {return _cache.end();}

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

Virtual reconstruct member.

Reimplemented in DTSectColl, DTTracoCard, DTTSPhi, and DTTSTheta.

Definition at line 54 of file DTCache.h.

00054 {}

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

Get cache vector's size.

Definition at line 48 of file DTCache.h.

Referenced by DTTSPhi::getDTTSM(), DTTSPhi::getDTTSS(), DTSCTrigUnit::nDTBtiChip(), DTSCTrigUnit::nDTTracoChip(), DTTSTheta::nHTrig(), DTTSTheta::nTrig(), DTSectColl::runSectColl(), and DTTrig::triggerReco().

00048 {return _cache.size();}


Member Data Documentation

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

Definition at line 58 of file DTCache.h.

Referenced by DTCache< DTBtiTrigData > >::begin(), DTSectColl::beginPh(), DTSectColl::beginTh(), DTCache< DTBtiTrigData > >::clearCache(), DTCache< DTBtiTrigData > >::end(), DTSectColl::endPh(), DTSectColl::endTh(), DTTSTheta::runDTTSTheta(), DTSectColl::runSectColl(), DTTSPhi::runTSPhi(), DTCache< DTBtiTrigData > >::size(), DTSectColl::sizePh(), and DTSectColl::sizeTh().


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:18:44 2009 for CMSSW by  doxygen 1.5.4