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 "AliMpStationType.h"
19 #include "AliMpStation12Type.h"
20 #include "AliMpPlaneType.h"
25 #include <Riostream.h>
31 class AliMpMotifSpecial;
33 class AliMpDataStreams;
35 class AliMpMotifReader : public TObject
38 AliMpMotifReader(const AliMpDataStreams& dataStreams,
39 AliMp::StationType station,
40 AliMq::Station12Type station12,
41 AliMp::PlaneType plane);
42 virtual ~AliMpMotifReader();
45 AliMpMotifType* BuildMotifType(const TString& motifTypeId);
46 AliMpMotifSpecial* BuildMotifSpecial(const TString& motifID,
47 AliMpMotifType* motifType,
49 TString MotifSpecialName(const TString& motifID, Double_t scale);
55 AliMpMotifReader(const AliMpMotifReader& right);
57 AliMpMotifReader& operator = (const AliMpMotifReader& right);
60 const AliMpDataStreams& fkDataStreams;///< data streams
61 AliMp::StationType fStationType; ///< station type
62 AliMq::Station12Type fStation12Type; ///< station12 type
63 AliMp::PlaneType fPlaneType; ///< plane type
65 ClassDef(AliMpMotifReader,0) // Data reader
68 #endif //ALI_MP_MOTIF_READER_H