]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/Alieve/MUONData.h
Remove MCTrackRef class.
[u/mrichter/AliRoot.git] / EVE / Alieve / MUONData.h
CommitLineData
3626c858 1#ifndef ALIEVE_MUONData_H
2#define ALIEVE_MUONData_H
3
4#include <Reve/Reve.h>
5
6#include <TObject.h>
7
8#include <vector>
9
10class TTree;
11class TString;
3626c858 12
13class AliRawReader;
3626c858 14
15namespace Alieve {
16
17class MUONChamberData;
18
19class MUONData : public TObject, public Reve::ReferenceCount
20{
21
22 protected:
23
24 std::vector<MUONChamberData*> fChambers; // vector of 14 chambers
25
26 static AliRawReader* fgRawReader; // raw reader
eadce74d 27
28 Int_t fNTrackList; // number of MC tracks which have hits
cef26510 29 Int_t fTrackList[256]; // list of MC tracks which have hits
eadce74d 30
3626c858 31 public:
32
33 MUONData();
34 virtual ~MUONData();
35
36 MUONData(const MUONData&);
37 MUONData& operator=(const MUONData&);
38
eadce74d 39 void Reset();
40
832dd5c9 41 void LoadDigits(TTree* tree);
2674c15a 42 void LoadRecPoints(TTree* tree);
eadce74d 43 void LoadHits(TTree* tree);
3626c858 44 void LoadRaw(TString fileName);
3626c858 45
46 void CreateChamber(Int_t chamber);
47 void CreateAllChambers();
48 void DropAllChambers();
49 void DeleteAllChambers();
50
eadce74d 51 void RegisterTrack(Int_t track);
52 Int_t GetNTrackList() { return fNTrackList; }
53 Int_t GetTrack(Int_t index);
54
3626c858 55 MUONChamberData* GetChamberData(Int_t chamber);
56
3626c858 57 ClassDef(MUONData,1); // Manages MUON data for one event
58
59};
60
61}
62
63#endif