Avoid warnings on SunOS
[u/mrichter/AliRoot.git] / TRD / AliTRDv2.h
CommitLineData
fe4da5cc 1#ifndef TRDv2_H
2#define TRDv2_H
3////////////////////////////////////////////////////////
4// Manager and hits classes for set:TRD version 2 //
5////////////////////////////////////////////////////////
6
d3f347ff 7#include <TF1.h>
fe4da5cc 8#include "AliTRD.h"
9
d3f347ff 10// Energy spectrum of the delta-rays
11Double_t Ermilova(Double_t *x, Double_t *par);
12
fe4da5cc 13class AliTRDv2 : public AliTRD {
14
15public:
16 AliTRDv2() {}
17 AliTRDv2(const char *name, const char *title);
d3f347ff 18 virtual ~AliTRDv2();
fe4da5cc 19 virtual void CreateGeometry();
20 virtual void CreateMaterials();
21 virtual Int_t IsVersion() const {return 2;}
22 virtual void StepManager();
23 virtual void Init();
05e51f55 24 virtual void DrawModule();
fe4da5cc 25
26protected:
d3f347ff 27 Int_t fIdSensI[ncham]; // Sensitive volume identifier (inner chambers)
28 Int_t fIdSensN[ncham]; // Sensitive volume identifier (neighbouring chambers)
29 Int_t fIdSensO[ncham]; // Sensitive volume identifier (outer chambers)
30
fe4da5cc 31private:
d3f347ff 32 virtual Double_t BetheBloch(Double_t bg);
33
34 TF1 *fDeltaE; // Energy distribution of the delta-electrons
fe4da5cc 35
d3f347ff 36 ClassDef(AliTRDv2,1) // Transition Radiation Detector version 2
fe4da5cc 37};
38
39#endif