]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONDigitizerv1.h
get tables from the aliroot directory if they are not in the current one
[u/mrichter/AliRoot.git] / MUON / AliMUONDigitizerv1.h
1 #ifndef ALIMUONDIGITIZERV1_H
2 #define ALIMUONDIGITIZERV1_H
3 /* Copyright(c) 1998-2001, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 // The AliMUONDigitizer procees :
7 // - Addition of hits from different tracks
8 // - Merging of hits from different files
9 // - The response function of the chamber.
10 // - Simulation of the electronic noise, threshold and saturation
11 // 
12 // Gines MARTINEZ Subatech Feb 2003 
13
14 #include "AliMUONDigitizer.h"
15
16 class AliMUONDigitizerv1 : public AliMUONDigitizer 
17 {
18 public:
19         AliMUONDigitizerv1();
20         
21         // Preferred constructor which assigns the manager object.
22         AliMUONDigitizerv1(AliRunDigitizer * manager);
23     
24 protected:
25         // Generation of a TransientDigits from a hit object.
26         void MakeTransientDigitsFromHit(Int_t itrack, Int_t ihit, AliMUONHit * mHit);
27         
28         // The following methods are all derived from AliMUONDigitizer
29         virtual void GenerateTransientDigits();
30         virtual void AddDigit(Int_t chamber, Int_t tracks[kMAXTRACKS], Int_t charges[kMAXTRACKS], Int_t digits[6]);
31         virtual Int_t GetSignalFrom(AliMUONTransientDigit* td);
32         virtual Bool_t InitOutputData(AliMUONLoader* muonloader);
33         virtual void FillOutputData();
34         virtual void CleanupOutputData(AliMUONLoader* muonloader);
35         virtual Bool_t InitInputData(AliMUONLoader* muonloader);
36         virtual void CleanupInputData(AliMUONLoader* muonloader);
37    
38         ClassDef(AliMUONDigitizerv1, 1)
39 };    
40 #endif
41