FMD geometry with pad and SDigits
[u/mrichter/AliRoot.git] / FMD / AliFMD.h
CommitLineData
d28dcc0d 1#ifndef ALIFMD_H
2#define ALIFMD_H
3da30618 3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
fe4da5cc 6////////////////////////////////////////////////
d28dcc0d 7// Manager and hits classes for set:Si-FMD //
fe4da5cc 8////////////////////////////////////////////////
9
10#include "AliDetector.h"
b9a2d5e4 11#include "TString.h"
fe4da5cc 12
b9a2d5e4 13 class TFile;
14 class TTree;
15 class AliFMD : public AliDetector {
fe4da5cc 16
17public:
18 AliFMD();
19 AliFMD(const char *name, const char *title);
d28dcc0d 20 virtual ~AliFMD();
fe4da5cc 21 virtual void AddHit(Int_t, Int_t*, Float_t*);
b9a2d5e4 22 virtual void AddDigit(Int_t*);
fe4da5cc 23 virtual void BuildGeometry();
b9a2d5e4 24 virtual void CreateGeometry() {}
d28dcc0d 25 virtual void CreateMaterials()=0;
26 virtual Int_t DistanceToPrimitive(Int_t px, Int_t py);
fe4da5cc 27 virtual Int_t IsVersion() const =0;
28 virtual void Init();
b9a2d5e4 29 virtual void MakeBranch(Option_t *opt=" ",char *file=0);
30 virtual void SetTreeAddress();
31 virtual void ResetHits();
32 virtual void ResetDigits();
d28dcc0d 33 virtual void DrawDetector()=0;
b9a2d5e4 34 virtual void StepManager() {}
d28dcc0d 35 void Eta2Radius(Float_t, Float_t, Float_t*);
b9a2d5e4 36 void Hits2SDigits();//
37 // Digitisation
38 TClonesArray *SDigits() const {return fSDigits;}
39// virtual void SDigits2Digits();
40
d28dcc0d 41 protected:
42 Int_t fIdSens1; //Si sensetive volume
b9a2d5e4 43 TClonesArray *fSDigits ; // List of summable digits
44 ClassDef(AliFMD,2) //Class for the FMD detector
fe4da5cc 45};
b9a2d5e4 46#endif // AliFMD_H