Patch for the tracker
[u/mrichter/AliRoot.git] / TPC / AliTPCv2.h
CommitLineData
73042f01 1#ifndef ALITPCV2_H
2#define ALITPCV2_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////////////////////////////////////////////////
cc80f89e 11
fe4da5cc 12
13#include "AliTPC.h"
d899e254 14#include <stdlib.h>
15#include <TMath.h>
16#include "AliMC.h"
17#include "AliConst.h"
18#include <TVirtualMC.h>
19#include <TSystem.h>
20#include "AliTPCParamSR.h"
21#include "AliRun.h"
22#include "AliTPCDigitsArray.h"
23#include "TGeoManager.h"
fe4da5cc 24class AliTPCv2 : public AliTPC {
25
26public:
e046d791 27 AliTPCv2():AliTPC(),
28 fIdSens(0),
29 fIDrift(0),
30 fSecOld(0){}
fe4da5cc 31 AliTPCv2(const char *name, const char *title);
32 virtual ~AliTPCv2() {}
33 virtual void CreateGeometry();
34 virtual void CreateMaterials();
ac81c411 35 virtual void AddAlignableVolumes() const;
36 void SetInnerChambersAlignable() const;
37 void SetOuterChambersAlignable() const;
fe4da5cc 38 virtual void Init();
39 virtual Int_t IsVersion() const {return 2;}
40 virtual void StepManager();
d899e254 41 virtual void DrawDetector() const;
fe4da5cc 42
43protected:
37831078 44 Int_t fIdSens; // sensitive strip
c1637e41 45 Int_t fIDrift; // drift gas
46 Int_t fSecOld; // indicate the previous sector - for reference points
fe4da5cc 47
affc456d 48 ClassDef(AliTPCv2,2) // Time Projection Chamber version 2
fe4da5cc 49};
50
51#endif