Introduction of the reference to Copyright and cvs Id
[u/mrichter/AliRoot.git] / TOF / AliTOF.h
CommitLineData
fe4da5cc 1#ifndef TOF_H
2#define TOF_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
fe4da5cc 8////////////////////////////////////////////////
9// Manager and hits classes for set:TOF //
10////////////////////////////////////////////////
11
12#include "AliDetector.h"
13#include "AliHit.h"
14
15
16class AliTOF : public AliDetector {
17
18protected:
19 Int_t fIdSens;
20
21public:
22 AliTOF();
23 AliTOF(const char *name, const char *title);
24 virtual ~AliTOF() {}
25 virtual void AddHit(Int_t, Int_t*, Float_t*);
26 virtual void BuildGeometry();
27 virtual void CreateGeometry();
28 virtual void CreateMaterials();
29 virtual void Init();
30 virtual Int_t IsVersion() const =0;
31 Int_t DistancetoPrimitive(Int_t px, Int_t py);
32 virtual void StepManager()=0;
33 virtual void TOFpc(Float_t, Float_t, Float_t, Float_t, Float_t) {}
8f72dc0c 34 virtual void DrawModule();
fe4da5cc 35
36 ClassDef(AliTOF,1) // Time Of Flight base class
37};
38
39//___________________________________________
40
41class AliTOFhit : public AliHit {
42public:
43 Int_t fVolume[3]; //array of volumes
44 Float_t fPx; // px in TOF
45 Float_t fPy; // py in TOF
46 Float_t fPz; // pz in TOF
47 Float_t fPmom; // P in TOF
48 Float_t fTof; // Time of Flight
49
50public:
51 AliTOFhit() {}
52 AliTOFhit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
53 virtual ~AliTOFhit() {}
54
55 ClassDef(AliTOFhit,1) // Hits for Time Of Flight
56};
57
58#endif