]>
Commit | Line | Data |
---|---|---|
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 | ||
3d44ce66 | 10 | #include <AliDetector.h> |
11 | #include <TBranch.h> | |
12 | #include <AliLoader.h> | |
13 | ||
ab256e65 | 14 | class TClonesArray; |
88cb7938 | 15 | class AliFMD : public AliDetector { |
fe4da5cc | 16 | |
17 | public: | |
18 | AliFMD(); | |
19 | AliFMD(const char *name, const char *title); | |
58d6a713 | 20 | AliFMD(const AliFMD& FMD):AliDetector(FMD) {;} //copy ctor |
d28dcc0d | 21 | virtual ~AliFMD(); |
58d6a713 | 22 | AliFMD& operator=(const AliFMD&) {return *this;} |
23 | virtual void AddHit(Int_t track, Int_t * vol, Float_t * hits); | |
24 | virtual void AddDigit(Int_t* digits); | |
88cb7938 | 25 | virtual void BuildGeometry(); |
b9a2d5e4 | 26 | virtual void CreateGeometry() {} |
d28dcc0d | 27 | virtual void CreateMaterials()=0; |
58d6a713 | 28 | virtual const Int_t DistanceToPrimitive(Int_t px, Int_t py); |
fe4da5cc | 29 | virtual Int_t IsVersion() const =0; |
30 | virtual void Init(); | |
88cb7938 | 31 | virtual void MakeBranch(Option_t *opt=" "); |
4110645f | 32 | virtual void MakeBranchInTreeD(TTree *treeD, const char *file=0); |
b9a2d5e4 | 33 | virtual void SetTreeAddress(); |
34 | virtual void ResetHits(); | |
35 | virtual void ResetDigits(); | |
d28dcc0d | 36 | virtual void DrawDetector()=0; |
b9a2d5e4 | 37 | virtual void StepManager() {} |
37c55dc0 | 38 | |
4110645f | 39 | void SetEventNumber(Int_t i) {fEvNrSig = i;} |
58d6a713 | 40 | |
3d44ce66 | 41 | |
88cb7938 | 42 | |
b9a2d5e4 | 43 | // Digitisation |
3d44ce66 | 44 | TClonesArray *ReconParticles() const {return fReconParticles;} |
58d6a713 | 45 | virtual const void SetHitsAddressBranch(TBranch *b){b->SetAddress(&fHits);} |
c92eb8ad | 46 | virtual AliDigitizer* CreateDigitizer(AliRunDigitizer* manager) const; |
dc8af42e | 47 | |
d28dcc0d | 48 | protected: |
46501dfb | 49 | //Granularity |
37c55dc0 | 50 | Int_t fRingsSi1; // Number of rings |
51 | Int_t fSectorsSi1; // Number of sectors | |
52 | Int_t fRingsSi2; // Number of rings | |
53 | Int_t fSectorsSi2; // Number of sectors | |
54 | ||
3d44ce66 | 55 | Int_t fNevents ; // Number of events to digitize |
4110645f | 56 | Int_t fEvNrSig; // signal event number |
37c55dc0 | 57 | |
46501dfb | 58 | |
58d6a713 | 59 | TClonesArray *fReconParticles; //array of reconstructed multiplicity in 0.1eta |
dc8af42e | 60 | |
ac4ea1ec | 61 | ClassDef(AliFMD,6) //Class for the FMD detector |
fe4da5cc | 62 | }; |
b9a2d5e4 | 63 | #endif // AliFMD_H |
dc8af42e | 64 | |
65 |