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