]> git.uio.no Git - u/mrichter/AliRoot.git/blame - MFT/AliMFTDigitizer.h
K0s code update (Matt Steinpreis)
[u/mrichter/AliRoot.git] / MFT / 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
d4643a10 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
820b4d9e 46
47 Int_t fNPlanes;
48
49 AliMFTSegmentation *fSegmentation;
50
51private:
52
53 AliMFTDigitizer (const AliMFTDigitizer& mftDigitizer); // dummy copy constructor
54 AliMFTDigitizer &operator=(const AliMFTDigitizer& mftDigitizer); // dummy assignment operator
55
56 ClassDef(AliMFTDigitizer,1)
57
58};
59
60//====================================================================================================================================================
61
62#endif
63
64