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.5 2005/09/26 16:10:46 ivana Exp $
8 /// \class AliMpMotifReader
9 /// \brief Class that takes care of reading the motifs data.
11 /// Authors: David Guez, Ivana Hrivnacova; IPN Orsay
13 #ifndef ALI_MP_MOTIF_READER_H
14 #define ALI_MP_MOTIF_READER_H
16 #include "AliMpContainers.h"
31 #include <Riostream.h>
33 #include "AliMpStationType.h"
34 #include "AliMpPlaneType.h"
35 #include "AliMpIntPair.h"
36 #include "AliMpContainers.h"
40 class AliMpMotifSpecial;
43 class AliMpMotifReader : public TObject
47 typedef std::map<std::string, std::pair<Int_t,Int_t> > PadMapType;
48 typedef PadMapType::iterator PadMapTypeIterator;
51 typedef TExMap PadMapType;
55 AliMpMotifReader(AliMpStationType station, AliMpPlaneType plane);
57 virtual ~AliMpMotifReader();
60 AliMpMotifType* BuildMotifType(const TString& motifTypeId);
61 AliMpMotifSpecial* BuildMotifSpecial(const TString& motifID,
62 AliMpMotifType* motifType);
65 void SetVerboseLevel(Int_t verboseLevel);
68 AliMpMotifReader(const AliMpMotifReader& right);
69 AliMpMotifReader& operator = (const AliMpMotifReader& right);
73 AliMpStationType fStationType; // station type
74 AliMpPlaneType fPlaneType; // plane type
75 Int_t fVerboseLevel;// verbose level
77 ClassDef(AliMpMotifReader,1) // Data reader
80 #endif //ALI_MP_MOTIF_READER_H