1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
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
21 #include <Riostream.h>
23 #include "AliMpStationType.h"
24 #include "AliMpPlaneType.h"
25 #include "AliMpIntPair.h"
26 #include "AliMpContainers.h"
30 class AliMpMotifSpecial;
33 class AliMpMotifReader : public TObject
36 AliMpMotifReader(AliMpStationType station, AliMpPlaneType plane);
38 virtual ~AliMpMotifReader();
41 AliMpMotifType* BuildMotifType(const TString& motifTypeId);
42 AliMpMotifSpecial* BuildMotifSpecial(const TString& motifID,
43 AliMpMotifType* motifType);
46 void SetVerboseLevel(Int_t verboseLevel);
49 AliMpMotifReader(const AliMpMotifReader& right);
50 AliMpMotifReader& operator = (const AliMpMotifReader& right);
54 static const Int_t fgkSeparator; // the separator used for conversion
58 Int_t GetIndex(const string& s) const;
59 Int_t GetIndex(const AliMpIntPair& pair) const;
60 string GetString(Int_t index) const;
61 AliMpIntPair GetPair(Int_t index) const;
65 AliMpStationType fStationType; // station type
66 AliMpPlaneType fPlaneType; // plane type
67 Int_t fVerboseLevel;// verbose level
69 ClassDef(AliMpMotifReader,1) // Data reader
72 #endif //ALI_MP_MOTIF_READER_H