From Laurent:
[u/mrichter/AliRoot.git] / MUON / AliMUONDigitizerv2.h
CommitLineData
d1775029 1#ifndef ALIMUONDIGITIZERV2_H
2#define ALIMUONDIGITIZERV2_H
3/* Copyright(c) 1998-2001, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
30178c30 6/* $Id$ */
7// Revision of includes 07/05/2004
8
38169520 9#include "AliMUONDigitizer.h"
30178c30 10#include "AliMUONDigit.h"
11
12class AliMUONLoader;
d1775029 13
38169520 14class AliMUONDigitizerv2 : public AliMUONDigitizer
cf286af7 15{
8789635b 16 public:
cf286af7 17 AliMUONDigitizerv2();
8789635b 18 virtual ~AliMUONDigitizerv2();
cf286af7 19
20 // Preferred constructor which assigns the manager object.
21 AliMUONDigitizerv2(AliRunDigitizer * manager);
d1775029 22
cf286af7 23 // Makes a transient digit from the specified s-digit from the specified chamber.
24 void MakeTransientDigitFromSDigit(Int_t iChamber, AliMUONDigit* sDigit);
d1775029 25
cf286af7 26 // The following methods are inherited from AliMUONDigitizerv1 and overridden.
38169520 27 void GenerateTransientDigits();
28 void AddDigit(Int_t chamber, Int_t tracks[kMAXTRACKS], Int_t charges[kMAXTRACKS], Int_t digits[7]);
29 Bool_t InitInputData(AliMUONLoader* muonloader);
30 void CleanupInputData(AliMUONLoader* muonloader);
31
32 // methods from old AliMUONDigitizerv1
33 Int_t GetSignalFrom(AliMUONTransientDigit* td);
34 Bool_t InitOutputData(AliMUONLoader* muonloader);
35 void CleanupOutputData(AliMUONLoader* muonloader);
36 void FillOutputData();
37
38 // for trigger purpose
39 virtual void CreateTrigger();
40 virtual void CleanupTriggerArrays();
2be06f1e 41 virtual void AddDigitTrigger(
42 Int_t chamber, Int_t tracks[kMAXTRACKS],
43 Int_t charges[kMAXTRACKS], Int_t digits[7],
b812d393 44 Int_t digitindex
2be06f1e 45 );
38169520 46 virtual void FillTriggerOutput();
d1775029 47
cf286af7 48 ClassDef(AliMUONDigitizerv2, 0)
d1775029 49};
50#endif
51