]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/mapping/AliMpMotifReader.h
Fixed compiler warnings:
[u/mrichter/AliRoot.git] / MUON / mapping / AliMpMotifReader.h
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 #include <fstream>
27
28 class AliMpMotifMap;
29 class AliMpVMotif;
30 class AliMpMotifSpecial;
31 class AliMpMotifType;
32 class AliMpDataStreams;
33
34 class AliMpMotifReader : public TObject
35 {
36   public:
37     AliMpMotifReader(AliMp::StationType station,
38                      AliMq::Station12Type station12,
39                      AliMp::PlaneType plane);
40     virtual ~AliMpMotifReader();
41   
42     // methods   
43     AliMpMotifType*     BuildMotifType(const AliMpDataStreams& dataStreams,
44                                        const TString& motifTypeId);
45     AliMpMotifSpecial*  BuildMotifSpecial(const AliMpDataStreams& dataStreams,
46                                           const TString& motifID,
47                                           AliMpMotifType* motifType,
48                                           Double_t scale=1.0);
49     TString MotifSpecialName(const TString& motifID, Double_t scale);
50     
51   private:
52     /// Not implemented
53     AliMpMotifReader();
54     /// Not implemented
55     AliMpMotifReader(const AliMpMotifReader& right);
56     /// Not implemented
57     AliMpMotifReader&  operator = (const AliMpMotifReader& right);
58
59     // data members  
60     AliMp::StationType    fStationType;   ///< station type 
61     AliMq::Station12Type  fStation12Type; ///< station12 type 
62     AliMp::PlaneType      fPlaneType;     ///< plane type 
63
64   ClassDef(AliMpMotifReader,0)  // Data reader
65 };
66
67 #endif //ALI_MP_MOTIF_READER_H