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