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> |
197883c2 |
24 | #include <Riostream.h> |
25 | |
2a7ea2e6 |
26 | #include <fstream> |
197883c2 |
27 | |
28 | class AliMpMotifMap; |
29 | class AliMpVMotif; |
30 | class AliMpMotifSpecial; |
31 | class AliMpMotifType; |
ab167304 |
32 | class AliMpDataStreams; |
197883c2 |
33 | |
34 | class AliMpMotifReader : public TObject |
35 | { |
36 | public: |
ab167304 |
37 | AliMpMotifReader(const AliMpDataStreams& dataStreams, |
4e51cfd2 |
38 | AliMp::StationType station, |
39 | AliMq::Station12Type station12, |
40 | AliMp::PlaneType plane); |
197883c2 |
41 | virtual ~AliMpMotifReader(); |
42 | |
43 | // methods |
44 | AliMpMotifType* BuildMotifType(const TString& motifTypeId); |
45 | AliMpMotifSpecial* BuildMotifSpecial(const TString& motifID, |
d1c53ece |
46 | AliMpMotifType* motifType, |
47 | Double_t scale=1.0); |
0e8df63e |
48 | TString MotifSpecialName(const TString& motifID, Double_t scale); |
197883c2 |
49 | |
13e7956b |
50 | private: |
f5671fc3 |
51 | /// Not implemented |
ab167304 |
52 | AliMpMotifReader(); |
53 | /// Not implemented |
197883c2 |
54 | AliMpMotifReader(const AliMpMotifReader& right); |
f5671fc3 |
55 | /// Not implemented |
197883c2 |
56 | AliMpMotifReader& operator = (const AliMpMotifReader& right); |
57 | |
197883c2 |
58 | // data members |
7d5d0cc5 |
59 | const AliMpDataStreams& fkDataStreams;///< data streams |
4e51cfd2 |
60 | AliMp::StationType fStationType; ///< station type |
61 | AliMq::Station12Type fStation12Type; ///< station12 type |
62 | AliMp::PlaneType fPlaneType; ///< plane type |
197883c2 |
63 | |
228fd720 |
64 | ClassDef(AliMpMotifReader,0) // Data reader |
197883c2 |
65 | }; |
66 | |
67 | #endif //ALI_MP_MOTIF_READER_H |