Correct volume to medium assignment in case several media are asigned to the
[u/mrichter/AliRoot.git] / TPC / AliTPCv2.h
CommitLineData
fe4da5cc 1#ifndef TPCv2_H
2#define TPCv2_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
fe4da5cc 8////////////////////////////////////////////////
9// Version 2 for TPC //
10////////////////////////////////////////////////
11
12#include "AliTPC.h"
13
14class AliTPCv2 : public AliTPC {
15
16public:
17 AliTPCv2() {}
18 AliTPCv2(const char *name, const char *title);
19 virtual ~AliTPCv2() {}
20 virtual void CreateGeometry();
21 virtual void CreateMaterials();
22 virtual void Init();
23 virtual Int_t IsVersion() const {return 2;}
24 virtual void StepManager();
8c555625 25 virtual void DrawDetector();
fe4da5cc 26
27protected:
28 Int_t fIdSens1; //First sensitive volume identifier - lower sector
29 Int_t fIdSens2; //Second sensitive volume identifier - upper sector
30 Int_t fIdSens3; //Sensitive strip - lower sector
31 Int_t fIdSens4; //Sensitive strip - upper sector
32
33private:
34
35 Float_t BetheBloch(Float_t bg);
36
37 ClassDef(AliTPCv2,1) // Time Projection Chamber version 2
38};
39
40#endif