Last minute changes and new code for event mixing and reconstruction (A.Maevskaia)
[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"
dc8af42e 12#include "AliFMDMerger.h"
fe4da5cc 13
b9a2d5e4 14 class TFile;
15 class TTree;
dc8af42e 16 class AliFMDMerger;
b9a2d5e4 17 class AliFMD : public AliDetector {
fe4da5cc 18
19public:
20 AliFMD();
21 AliFMD(const char *name, const char *title);
d28dcc0d 22 virtual ~AliFMD();
fe4da5cc 23 virtual void AddHit(Int_t, Int_t*, Float_t*);
b9a2d5e4 24 virtual void AddDigit(Int_t*);
fe4da5cc 25 virtual void BuildGeometry();
b9a2d5e4 26 virtual void CreateGeometry() {}
d28dcc0d 27 virtual void CreateMaterials()=0;
28 virtual Int_t DistanceToPrimitive(Int_t px, Int_t py);
fe4da5cc 29 virtual Int_t IsVersion() const =0;
30 virtual void Init();
9e1a0ddb 31 virtual void MakeBranch(Option_t *opt=" ",const char *file=0);
b9a2d5e4 32 virtual void SetTreeAddress();
33 virtual void ResetHits();
34 virtual void ResetDigits();
d28dcc0d 35 virtual void DrawDetector()=0;
b9a2d5e4 36 virtual void StepManager() {}
d28dcc0d 37 void Eta2Radius(Float_t, Float_t, Float_t*);
b9a2d5e4 38 void Hits2SDigits();//
dc8af42e 39 void Digits2Reco();
b9a2d5e4 40 // Digitisation
41 TClonesArray *SDigits() const {return fSDigits;}
42// virtual void SDigits2Digits();
dc8af42e 43 virtual void SDigits2Digits();
44 virtual void SetMerger(AliFMDMerger* merger);
45 virtual AliFMDMerger* Merger();
46 TClonesArray *ReconParticles() const {return fReconParticles;}
47 Int_t fNevents ; // Number of events to digitize
48
d28dcc0d 49 protected:
50 Int_t fIdSens1; //Si sensetive volume
dc8af42e 51 AliFMDMerger *fMerger; // ! pointer to merger
b9a2d5e4 52 TClonesArray *fSDigits ; // List of summable digits
dc8af42e 53 TClonesArray *fReconParticles;
54
55 ClassDef(AliFMD,3) //Class for the FMD detector
fe4da5cc 56};
b9a2d5e4 57#endif // AliFMD_H
dc8af42e 58
59