1 #ifndef ALIMPSLATMOTIFMAP_H
2 #define ALIMPSLATMOTIFMAP_H
4 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
10 /// \class AliMpSlatMotifMap
11 /// \brief A container to keep track of allocated motifs and motifTypes for slats
12 /// (both St345 and trigger ones).
14 // Author Laurent Aphecetche, Subatech
24 class AliMpSlatMotifMap : public TObject
28 virtual ~AliMpSlatMotifMap();
30 AliMpVMotif* FindMotif(const TString& id) const;
31 AliMpMotifType* FindMotifType(const TString& id) const;
33 Bool_t AddMotif(AliMpVMotif* motif, Bool_t warn=kTRUE);
34 Bool_t AddMotifType(AliMpMotifType* motifType, Bool_t warn=kTRUE);
36 void Print(Option_t* opt="") const;
42 AliMpSlatMotifMap(const AliMpSlatMotifMap& rhs);
44 AliMpSlatMotifMap& operator=(const AliMpSlatMotifMap& rhs);
46 TMap fMotifs; ///< collection of motifs
47 TMap fMotifTypes; ///< collection of motifTypes
49 ClassDef(AliMpSlatMotifMap,3) // Slat motif map