AliRoot Core  3dc7879 (3dc7879)
AliMpSlatMotifMap Class Reference

A container to keep track of allocated motifs and motifTypes for slats (both St345 and trigger ones). More...

#include <AliMpSlatMotifMap.h>

Inheritance diagram for AliMpSlatMotifMap:

Public Member Functions

 AliMpSlatMotifMap ()
 
virtual ~AliMpSlatMotifMap ()
 
AliMpVMotifFindMotif (const TString &id) const
 
AliMpMotifTypeFindMotifType (const TString &id) const
 
Bool_t AddMotif (AliMpVMotif *motif, Bool_t warn=kTRUE)
 
Bool_t AddMotifType (AliMpMotifType *motifType, Bool_t warn=kTRUE)
 
void Print (Option_t *opt="") const
 
void Reset ()
 

Private Member Functions

 AliMpSlatMotifMap (const AliMpSlatMotifMap &rhs)
 Not implemented. More...
 
AliMpSlatMotifMapoperator= (const AliMpSlatMotifMap &rhs)
 Not implemented. More...
 

Private Attributes

TMap fMotifs
 collection of motifs More...
 
TMap fMotifTypes
 collection of motifTypes More...
 

Detailed Description

A container to keep track of allocated motifs and motifTypes for slats (both St345 and trigger ones).

Definition at line 24 of file AliMpSlatMotifMap.h.

Constructor & Destructor Documentation

AliMpSlatMotifMap::AliMpSlatMotifMap ( )

ctor

Definition at line 47 of file AliMpSlatMotifMap.cxx.

AliMpSlatMotifMap::~AliMpSlatMotifMap ( )
virtual

dtor

Definition at line 58 of file AliMpSlatMotifMap.cxx.

AliMpSlatMotifMap::AliMpSlatMotifMap ( const AliMpSlatMotifMap rhs)
private

Not implemented.

Member Function Documentation

Bool_t AliMpSlatMotifMap::AddMotif ( AliMpVMotif motif,
Bool_t  warn = kTRUE 
)

Add a motif to the map

Definition at line 75 of file AliMpSlatMotifMap.cxx.

Referenced by AliMpPCB::Add(), and AliMpTriggerReader::ReadPCB().

Bool_t AliMpSlatMotifMap::AddMotifType ( AliMpMotifType motifType,
Bool_t  warn = kTRUE 
)

Add a motif to the map

Definition at line 100 of file AliMpSlatMotifMap.cxx.

Referenced by AliMpSt345Reader::ReadPCB(), and AliMpTriggerReader::ReadPCB().

AliMpVMotif * AliMpSlatMotifMap::FindMotif ( const TString &  id) const

Search a given motif in the map and returns it if it's there.

Definition at line 128 of file AliMpSlatMotifMap.cxx.

Referenced by AliMpPCB::Add(), AddMotif(), and AliMpTriggerReader::ReadPCB().

AliMpMotifType * AliMpSlatMotifMap::FindMotifType ( const TString &  id) const

Search a given motifType in the map and returns it if it's there.

Definition at line 148 of file AliMpSlatMotifMap.cxx.

Referenced by AddMotifType(), AliMpSt345Reader::ReadPCB(), and AliMpTriggerReader::ReadPCB().

AliMpSlatMotifMap& AliMpSlatMotifMap::operator= ( const AliMpSlatMotifMap rhs)
private

Not implemented.

void AliMpSlatMotifMap::Print ( Option_t *  opt = "") const

printout

Definition at line 168 of file AliMpSlatMotifMap.cxx.

Referenced by AliMpTriggerReader::ReadSlat().

void AliMpSlatMotifMap::Reset ( void  )

Clear

Definition at line 66 of file AliMpSlatMotifMap.cxx.

Referenced by ~AliMpSlatMotifMap().

Member Data Documentation

TMap AliMpSlatMotifMap::fMotifs
private

collection of motifs

Definition at line 46 of file AliMpSlatMotifMap.h.

Referenced by AddMotif(), FindMotif(), Print(), and Reset().

TMap AliMpSlatMotifMap::fMotifTypes
private

collection of motifTypes

Definition at line 47 of file AliMpSlatMotifMap.h.

Referenced by AddMotifType(), FindMotifType(), Print(), and Reset().


The documentation for this class was generated from the following files: