3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
6 ////////////////////////////////////////////////
7 // Manager and hits classes for set:START //
8 ////////////////////////////////////////////////
10 #include "AliDetector.h"
15 R__EXTERN TDirectory * gDirectory;
19 class AliSTART : public AliDetector {
27 AliSTART(const char *name, const char *title);
28 virtual ~AliSTART() {}
29 virtual void AddHit(Int_t, Int_t*, Float_t*);
30 virtual void AddDigit(Int_t*, Int_t*);
31 virtual void BuildGeometry();
32 virtual void CreateGeometry(){}
33 virtual void CreateMaterials(){}
34 virtual Int_t DistanceToPrimitive(Int_t px, Int_t py);
35 virtual void DrawDetector(){}
36 virtual Int_t IsVersion()const {return 0;}
38 void Hit2digit(Int_t iEventNum);
39 void Hit2digit(){return;}
40 virtual void MakeBranch(Option_t *opt=" ");
41 virtual void StepManager(){}
42 void PrintMedium(Int_t iMediumId=0);//Prints "iMediumId" TMED properties
45 TTree * GetTree() { return fTreeD;}//return reference to actual tree
46 Bool_t SetTree(Int_t nevent=0, TDirectory *dir = gDirectory);//map tree from given directory
47 Bool_t MakeTree(Int_t nevent=0);//map tree from given directory
54 Int_t fIdSens; // Sensetive Cherenkov radiator
55 ClassDef(AliSTART,1) //Base class for the T0 aka START detector
58 //_____________________________________________________________________________