]>
Commit | Line | Data |
---|---|---|
197883c2 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
4 | // $Id$ | |
13985652 | 5 | // $MpId: AliMpMotifReader.h,v 1.9 2006/05/24 13:58:18 ivana Exp $ |
197883c2 | 6 | |
7 | /// \ingroup motif | |
8 | /// \class AliMpMotifReader | |
9 | /// \brief Class that takes care of reading the motifs data. | |
10 | /// | |
13985652 | 11 | /// \author David Guez, Ivana Hrivnacova; IPN Orsay |
197883c2 | 12 | |
13 | #ifndef ALI_MP_MOTIF_READER_H | |
14 | #define ALI_MP_MOTIF_READER_H | |
15 | ||
2a7ea2e6 | 16 | #include <TObject.h> |
17 | ||
2a7ea2e6 | 18 | #include "AliMpStationType.h" |
4e51cfd2 | 19 | #include "AliMpStation12Type.h" |
2a7ea2e6 | 20 | #include "AliMpPlaneType.h" |
5006ec94 | 21 | |
5006ec94 | 22 | #include <TExMap.h> |
197883c2 | 23 | #include <TString.h> |
24 | #include <TVector2.h> | |
25 | #include <Riostream.h> | |
26 | ||
2a7ea2e6 | 27 | #include <fstream> |
197883c2 | 28 | |
29 | class AliMpMotifMap; | |
30 | class AliMpVMotif; | |
31 | class AliMpMotifSpecial; | |
32 | class AliMpMotifType; | |
ab167304 | 33 | class AliMpDataStreams; |
197883c2 | 34 | |
35 | class AliMpMotifReader : public TObject | |
36 | { | |
37 | public: | |
ab167304 | 38 | AliMpMotifReader(const AliMpDataStreams& dataStreams, |
4e51cfd2 | 39 | AliMp::StationType station, |
40 | AliMq::Station12Type station12, | |
41 | AliMp::PlaneType plane); | |
197883c2 | 42 | virtual ~AliMpMotifReader(); |
43 | ||
44 | // methods | |
45 | AliMpMotifType* BuildMotifType(const TString& motifTypeId); | |
46 | AliMpMotifSpecial* BuildMotifSpecial(const TString& motifID, | |
d1c53ece | 47 | AliMpMotifType* motifType, |
48 | Double_t scale=1.0); | |
0e8df63e | 49 | TString MotifSpecialName(const TString& motifID, Double_t scale); |
197883c2 | 50 | |
13e7956b | 51 | private: |
ab167304 | 52 | /// Not implemented |
53 | AliMpMotifReader(); | |
f5671fc3 | 54 | /// Not implemented |
197883c2 | 55 | AliMpMotifReader(const AliMpMotifReader& right); |
f5671fc3 | 56 | /// Not implemented |
197883c2 | 57 | AliMpMotifReader& operator = (const AliMpMotifReader& right); |
58 | ||
197883c2 | 59 | // data members |
7d5d0cc5 | 60 | const AliMpDataStreams& fkDataStreams;///< data streams |
4e51cfd2 | 61 | AliMp::StationType fStationType; ///< station type |
62 | AliMq::Station12Type fStation12Type; ///< station12 type | |
63 | AliMp::PlaneType fPlaneType; ///< plane type | |
197883c2 | 64 | |
228fd720 | 65 | ClassDef(AliMpMotifReader,0) // Data reader |
197883c2 | 66 | }; |
67 | ||
68 | #endif //ALI_MP_MOTIF_READER_H |