Include the new TRD classes
[u/mrichter/AliRoot.git] / TRD / AliTRDv0.h
... / ...
CommitLineData
1#ifndef TRDv0_H
2#define TRDv0_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:TRD version 0 //
10////////////////////////////////////////////////////////
11
12#include "AliTRD.h"
13
14//_____________________________________________________________________________
15class AliTRDv0 : public AliTRD {
16
17 public:
18
19 AliTRDv0() {};
20 AliTRDv0(const char *name, const char *title);
21 ~AliTRDv0() {};
22 virtual void CreateGeometry();
23 virtual void CreateMaterials();
24 virtual Int_t IsVersion() const { return 0; };
25 virtual void StepManager();
26 virtual void Init();
27
28 virtual void SetHits(Int_t ihit = 1) { fHitsOn = ihit; };
29
30 virtual Int_t GetSensChamber() { return 0; };
31 virtual Int_t GetSensPlane() { return 0; };
32 virtual Int_t GetSensSector() { return 0; };
33
34 protected:
35
36 Int_t fIdSens; // Sensitive volume identifier
37
38 Int_t fIdChamber1; // Driftchamber volume identifier
39 Int_t fIdChamber2; //
40 Int_t fIdChamber3; //
41
42 Int_t fHitsOn; // Used to switch hits on
43
44 ClassDef(AliTRDv0,1) // Transition Radiation Detector version 0 (fast simulator)
45
46};
47
48#endif