Flexible pt range for the efficiency histogramming
[u/mrichter/AliRoot.git] / T0 / AliT0hit.h
CommitLineData
dc7ca31d 1#ifndef ALIT0hit_H
2#define ALIT0hit_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7////////////////////////////////////////////////
8// Manager and hits classes for set:T0 //
9////////////////////////////////////////////////
10
11#include "AliHit.h"
12
13class AliT0hit : public AliHit {
14public:
2ee4b412 15
c41ceaac 16 AliT0hit();//Empty ctor
dc7ca31d 17 AliT0hit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
18 virtual ~AliT0hit(){}//Empty virtual dtor
2ee4b412 19
20 AliT0hit& operator=(const AliT0hit&) { return *this; }
21 AliT0hit(const AliT0hit& o):AliHit(),
22 fVolume(0),
23 fPmt(0),
24 fParticle(0),
25 fEtot(0),
26 fTime(0)
27 { ((AliT0hit &) o).Copy(*this);}
28
29
dc7ca31d 30 Int_t Volume() const {return fVolume;}
31 Int_t Pmt() const {return fPmt;}
32 Float_t Particle() const {return fParticle;}
33 Double_t Etot() const {return fEtot;}
34 Float_t Time() const {return fTime;}
35
36private:
37 Int_t fVolume; //T0 arm mark
38 Int_t fPmt; //PMT number in the arm
39 Int_t fParticle; //Primary particle ID
40 Double_t fEtot; //Energy of primary particle at the entrance to radiator
41 Float_t fTime; //Primary particle TOF
42
2ee4b412 43
44 ClassDef(AliT0hit,3) //Hits for detector T0
dc7ca31d 45};
46
47typedef AliT0hit AliSTARThit; // for backward compatibility
48
49#endif//ALIT0hit_H