]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FIT/AliFITHits.h
changes for FIT
[u/mrichter/AliRoot.git] / FIT / AliFITHits.h
CommitLineData
c1c44db3 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
12class AliFITHits : public AliHit {
13public:
14
15 AliFITHits();//Empty ctor
16 AliFITHits(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
17 virtual ~AliFITHits(){}//Empty virtual dtor
18
19 AliFITHits& operator=(const AliFITHits&) { return *this; }
20 AliFITHits(const AliFITHits& o):AliHit(),
21 fVolume(999),
22 fPmt(999),
23 fMCP(999),
24 fParticle(0),
25 fEtot(0),
26 fTime(0)
27 { ((AliFITHits &) o).Copy(*this);}
28
29
30 Int_t Volume() const {return fVolume;}
31 Int_t Pmt() const {return fPmt;}
32 Int_t MCP() const {return fMCP;}
33 Float_t Particle() const {return fParticle;}
34 Double_t Etot() const {return fEtot;}
35 Float_t Time() const {return fTime;}
36
37private:
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 ClassDef(AliFITHits,1) //Hits for detector T0
47};
48
49
50
51#endif//ALIT0hit_H