]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/EveDet/AliEveMUONData.h
Temporary fix to avoid xrootd thrashing
[u/mrichter/AliRoot.git] / EVE / EveDet / AliEveMUONData.h
1 // $Id$
2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 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 ALIEVE_MUONData_H
10 #define ALIEVE_MUONData_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
24 class AliEveMUONChamberData;
25
26 class AliEveMUONData : public TObject, public TEveRefCnt
27 {
28
29  protected:
30
31   std::vector<AliEveMUONChamberData*>   fChambers;           // vector of 14 chambers
32
33   static AliRawReader*            fgRawReader;         // raw reader
34
35   Int_t fNTrackList;      // number of MC tracks which have hits
36   Int_t fTrackList[256];  // list of MC tracks which have hits
37
38  public:
39
40   AliEveMUONData();
41   virtual ~AliEveMUONData();
42
43   AliEveMUONData(const AliEveMUONData&);
44   AliEveMUONData& operator=(const AliEveMUONData&);
45
46   void Reset();
47
48   void LoadDigits(TTree* tree);
49   void LoadRecPoints(TTree* tree);
50   void LoadHits(TTree* tree);
51   void LoadRaw(TString fileName);
52
53   void CreateChamber(Int_t chamber);
54   void CreateAllChambers();
55   void DropAllChambers();
56   void DeleteAllChambers();
57
58   void  RegisterTrack(Int_t track);
59   Int_t GetNTrackList() { return fNTrackList; }
60   Int_t GetTrack(Int_t index);
61
62   AliEveMUONChamberData* GetChamberData(Int_t chamber);
63
64   ClassDef(AliEveMUONData,1);           // Manages MUON data for one event
65
66 };
67
68 #endif