Line data Source code
1 : #ifndef ALIFITHits_H
2 : #define ALIFITHits_H
3 : /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 : * See cxx source for full Copyright notice */
5 : ////////////////////////////////////////////////
6 : // Manager and hits classes for set:FIT
7 : // Alla.Maevskaya@cern.ch //
8 : ////////////////////////////////////////////////
9 :
10 : #include "AliHit.h"
11 :
12 : class AliFITHits : public AliHit {
13 : public:
14 :
15 : AliFITHits();//Empty ctor
16 : AliFITHits(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
17 0 : virtual ~AliFITHits(){}//Empty virtual dtor
18 :
19 0 : AliFITHits& operator=(const AliFITHits&) { return *this; }
20 0 : AliFITHits(const AliFITHits& o):AliHit(),
21 0 : fVolume(999),
22 0 : fPmt(999),
23 0 : fMCP(999),
24 0 : fParticle(0),
25 0 : fEtot(0),
26 0 : fTime(0)
27 0 : { ((AliFITHits &) o).Copy(*this);}
28 :
29 :
30 0 : Int_t Volume() const {return fVolume;}
31 0 : Int_t Pmt() const {return fPmt;}
32 0 : Int_t MCP() const {return fMCP;}
33 0 : Float_t Particle() const {return fParticle;}
34 0 : Double_t Etot() const {return fEtot;}
35 0 : Float_t Time() const {return fTime;}
36 :
37 : private:
38 : Int_t fVolume; //T0 arm mark
39 : Int_t fPmt; //PMT number on MCP
40 : Int_t fMCP; // # MCP
41 : Int_t fParticle; //Primary particle ID
42 : Double_t fEtot; //Energy of primary particle at the entrance to radiator
43 : Float_t fTime; //Primary particle TOF
44 :
45 :
46 4 : ClassDef(AliFITHits,1) //Hits for detector T0
47 : };
48 :
49 :
50 :
51 : #endif//ALIT0hit_H
|