]> git.uio.no Git - u/mrichter/AliRoot.git/blame - START/AliSTART.h
Modifications from A.Maevskaya
[u/mrichter/AliRoot.git] / START / AliSTART.h
CommitLineData
6ca40650 1#ifndef START_H
2#define START_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
6ca40650 8////////////////////////////////////////////////
9// Manager and hits classes for set:START //
10////////////////////////////////////////////////
11
12#include "AliDetector.h"
13#include "AliHit.h"
14
15
16class AliSTART : public AliDetector {
17
18public:
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=" ");
77ee006c 30 virtual void DrawModule()=0;
6ca40650 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
40class AliSTARThit : public AliHit {
41public:
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
49public:
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