1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
5 // $MpId: AliMpMotifReader.h,v 1.9 2006/05/24 13:58:18 ivana Exp $
8 /// \class AliMpMotifReader
9 /// \brief Class that takes care of reading the motifs data.
11 /// \author David Guez, Ivana Hrivnacova; IPN Orsay
13 #ifndef ALI_MP_MOTIF_READER_H
14 #define ALI_MP_MOTIF_READER_H
18 #include "AliMpContainers.h"
20 #include "AliMpStationType.h"
21 #include "AliMpPlaneType.h"
22 #include "AliMpIntPair.h"
23 #include "AliMpContainers.h"
30 #include <Riostream.h>
39 class AliMpMotifSpecial;
42 class AliMpMotifReader : public TObject
46 /// Map of int pair to string
47 typedef std::map<std::string, std::pair<Int_t,Int_t> > PadMapType;
48 /// Map of int pair to string iterator
49 typedef PadMapType::iterator PadMapTypeIterator;
52 /// Map of int pair to string
53 typedef TExMap PadMapType;
57 AliMpMotifReader(AliMp::StationType station, AliMp::PlaneType plane);
59 virtual ~AliMpMotifReader();
62 AliMpMotifType* BuildMotifType(const TString& motifTypeId);
63 AliMpMotifSpecial* BuildMotifSpecial(const TString& motifID,
64 AliMpMotifType* motifType,
66 TString MotifSpecialName(const TString& motifID, Double_t scale);
70 AliMpMotifReader(const AliMpMotifReader& right);
72 AliMpMotifReader& operator = (const AliMpMotifReader& right);
75 AliMp::StationType fStationType; ///< station type
76 AliMp::PlaneType fPlaneType; ///< plane type
78 ClassDef(AliMpMotifReader,1) // Data reader
81 #endif //ALI_MP_MOTIF_READER_H