]> git.uio.no Git - u/mrichter/AliRoot.git/blob - START/AliSTART.h
Introduction of the reference to Copyright and cvs Id
[u/mrichter/AliRoot.git] / START / AliSTART.h
1 #ifndef START_H
2 #define START_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 ////////////////////////////////////////////////
9 //  Manager and hits classes for set:START     //
10 ////////////////////////////////////////////////
11  
12 #include "AliDetector.h"
13 #include "AliHit.h"
14  
15  
16 class AliSTART : public AliDetector {
17  
18 public:
19   AliSTART();
20   AliSTART(const char *name, const char *title);
21   virtual       ~AliSTART() {}
22   virtual void   AddHit(Int_t, Int_t*, Float_t*);
23   virtual void   BuildGeometry();
24   virtual void   CreateGeometry()=0;
25   virtual void   CreateMaterials()=0; 
26   virtual Int_t  DistanceToPrimitive(Int_t px, Int_t py);
27   virtual Int_t  IsVersion() const =0;
28   virtual void   Init();
29   virtual void   MakeBranch(Option_t *opt=" ");
30   virtual void   DrawModule()=0;
31   virtual void   StepManager()=0;
32   
33  protected:
34   Int_t fIdSens1;
35   ClassDef(AliSTART,1)  //Class for the START detector
36 };
37
38 //_____________________________________________________________________________
39  
40 class AliSTARThit : public AliHit {
41 public:
42   Int_t      fVolume;
43   Int_t      fPmt;
44   Int_t      fParticle;     //Particle identificator
45   Float_t    fEdep;    //Energy deposition
46   Float_t    fEtot;    //Energy of particle 
47   Float_t    fTime;    //Time of flight 
48  
49 public:
50   AliSTARThit() {}
51   AliSTARThit(Int_t shunt, Int_t track, Int_t *vol, Float_t *hits);
52   virtual ~AliSTARThit() {}
53   
54   ClassDef(AliSTARThit,1)  //Hits for detector START
55 };
56
57 #endif