]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveMUONData.h
Fix order of public/protected/private sections to conform with coding
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveMUONData.h
1 // $Id$
2 // Main authors: Matevz Tadel & Alja Mrak-Tadel & Bogdan Vulpescu: 2006, 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9 #ifndef AliEveMUONData_H
10 #define AliEveMUONData_H
11
12 #include <TEveUtil.h>
13
14 #include <TObject.h>
15
16 #include <vector>
17
18 class TTree;
19 class TString;
20
21 class AliRawReader;
22
23 class AliEveMUONChamberData;
24
25 class AliEveMUONData : public TObject, public TEveRefCnt
26 {
27 public:
28
29   AliEveMUONData();
30   virtual ~AliEveMUONData();
31
32   AliEveMUONData(const AliEveMUONData&);
33   AliEveMUONData& operator=(const AliEveMUONData&);
34
35   void Reset();
36
37   void LoadDigits(TTree* tree);
38   void LoadRecPoints(TTree* tree);
39   void LoadRecPointsFromESD(Char_t *fileName);
40   void LoadHits(TTree* tree);
41   void LoadRaw(TString fileName);
42
43   void CreateChamber(Int_t chamber);
44   void CreateAllChambers();
45   void DropAllChambers();
46   void DeleteAllChambers();
47
48   void  RegisterTrack(Int_t track);
49   Int_t GetNTrackList() const { return fNTrackList; }
50   Int_t GetTrack(Int_t index) const;
51
52   AliEveMUONChamberData* GetChamberData(Int_t chamber);
53
54 protected:
55
56   std::vector<AliEveMUONChamberData*>   fChambers;   // vector of 14 chambers
57
58   static AliRawReader                  *fgRawReader; // raw reader
59
60   Int_t fNTrackList;      // number of MC tracks which have hits
61   Int_t fTrackList[256];  // list of MC tracks which have hits
62
63   ClassDef(AliEveMUONData, 0);           // Manages MUON data for one event
64
65 };
66
67 #endif