MFT module
[u/mrichter/AliRoot.git] / MFT / MFTsim / AliMFTDigitizer.h
CommitLineData
820b4d9e 1#ifndef AliMFTDigitizer_H
2#define AliMFTDigitizer_H
3
4/* Copyright (c) 1998-2001, ALICE Experiment at CERN, All rights reserved *
5 * See cxx source for full Copyright notice */
6
7//====================================================================================================================================================
8//
9// Digitizer class for the ALICE Muon Forward Tracker
10//
11// Contact author: antonio.uras@cern.ch
12//
13//====================================================================================================================================================
14
15#include "AliRun.h"
16#include "AliRunLoader.h"
f21fc003 17#include "AliDigitizationInput.h"
820b4d9e 18#include "AliLoader.h"
19#include "AliLog.h"
20#include "AliMFTDigit.h"
21#include "AliMFTSegmentation.h"
22#include "TObjArray.h"
23#include "TClonesArray.h"
24#include "AliDigitizer.h"
25
26//====================================================================================================================================================
27
28class AliMFTDigitizer : public AliDigitizer {
29
30public:
31
32 AliMFTDigitizer();
f21fc003 33 AliMFTDigitizer(AliDigitizationInput *digInp);
d8c2cc3e 34 virtual ~AliMFTDigitizer() { delete fSegmentation; }
820b4d9e 35
f21fc003 36 void Digitize(Option_t *option);
820b4d9e 37 void SDigits2Digits(TClonesArray *pSDigitList, TObjArray *pDigitLst);
38
39 void MergeDigits(AliMFTDigit *mainDig, AliMFTDigit *digToSum);
40
41
42protected:
43
026547c6 44 static const Int_t fNMaxPlanes = AliMFTConstants::fNMaxPlanes; // max number of MFT planes
45 static const Int_t fNMaxMCTracks = AliMFTConstants::fNMaxMCTracksPerDigit; // max MC tracks sharing a digit
46 static const Int_t fNMaxDetElemPerPlane = AliMFTConstants::fNMaxDetElemPerPlane;
820b4d9e 47
48 Int_t fNPlanes;
49
50 AliMFTSegmentation *fSegmentation;
51
52private:
53
54 AliMFTDigitizer (const AliMFTDigitizer& mftDigitizer); // dummy copy constructor
55 AliMFTDigitizer &operator=(const AliMFTDigitizer& mftDigitizer); // dummy assignment operator
56
57 ClassDef(AliMFTDigitizer,1)
58
59};
60
61//====================================================================================================================================================
62
63#endif
64
65