Digitizer
[u/mrichter/AliRoot.git] / START / AliSTART.h
CommitLineData
ef51244a 1#ifndef ALISTART_H
2#define ALISTART_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6ca40650 6////////////////////////////////////////////////
7// Manager and hits classes for set:START //
8////////////////////////////////////////////////
9
10#include "AliDetector.h"
971579f6 11#include "TTree.h"
12class TDirectory;
2ab0c725 13class TFile;
14
971579f6 15R__EXTERN TDirectory * gDirectory;
16
6ca40650 17
18
19class AliSTART : public AliDetector {
c345bb4f 20
c345bb4f 21
22
971579f6 23public:
c345bb4f 24 AliSTART();
25 AliSTART(const char *name, const char *title);
bff160c8 26 virtual ~AliSTART();
ef51244a 27 virtual void AddHit(Int_t track, Int_t *vol, Float_t *hits);
28 virtual void AddDigit(Int_t *tracks, Int_t *digits);
c345bb4f 29 virtual void BuildGeometry();
30 virtual void CreateGeometry(){}
31 virtual void CreateMaterials(){}
32 virtual Int_t DistanceToPrimitive(Int_t px, Int_t py);
33 virtual void DrawDetector(){}
34 virtual Int_t IsVersion()const {return 0;}
35 virtual void Init();
ede9aff7 36 virtual void SetHitsAddressBranch(TBranch *b){b->SetAddress(&fHits);}
c345bb4f 37 void Hit2digit(Int_t iEventNum);
38 void Hit2digit(){return;}
9e1a0ddb 39 virtual void MakeBranch(Option_t *opt=" ", const char *file=0);
c345bb4f 40 virtual void StepManager(){}
c345bb4f 41
971579f6 42protected:
c345bb4f 43 Int_t fIdSens; // Sensetive Cherenkov radiator
f3ed336b 44
45private:
c345bb4f 46 ClassDef(AliSTART,1) //Base class for the T0 aka START detector
6ca40650 47};
48
c345bb4f 49//_____________________________________________________________________________
50
6ca40650 51#endif
c345bb4f 52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82