Implementation of trigger response re-calculation with a 4/4 coincidence or after...
[u/mrichter/AliRoot.git] / MUON / AliMUONTriggerElectronics.h
CommitLineData
516d3280 1#ifndef ALIMUONTRIGGERELECTRONICS_H
2#define ALIMUONTRIGGERELECTRONICS_H
3/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * See cxx source for full Copyright notice */
5
6/* $Id$ */
7
4f725a38 8/// \ingroup sim
9/// \class AliMUONTriggerElectronics
10/// \brief Manager class for muon trigger electronics
11///
12/// Client of trigger board classes
13///
14/// \author Rachid Guernane (LPCCFd)
516d3280 15
257091b1 16#ifndef ROOT_TObject
17# include "TObject.h"
516d3280 18#endif
19
20#ifndef ROOT_TString
21# include "TString.h"
22#endif
23
24class AliMUONTriggerCrate;
4c0f0f5d 25class AliMUONCalibrationData;
516d3280 26class AliMUONGlobalTriggerBoard;
f1e8d46c 27class AliMUONTriggerCrateStore;
257091b1 28class AliMUONVTriggerStore;
29class AliMUONVDigitStore;
516d3280 30
257091b1 31class AliMUONTriggerElectronics : public TObject
516d3280 32{
33 public:
257091b1 34 AliMUONTriggerElectronics(AliMUONCalibrationData* calibData=0);
35
fd19a819 36 virtual ~AliMUONTriggerElectronics();
516d3280 37
4f725a38 38 virtual void Factory(AliMUONCalibrationData* calibData);
39 void LoadMasks(AliMUONCalibrationData* calibData);
516d3280 40
516d3280 41 virtual void Feed(UShort_t pattern[2][4]);
257091b1 42 virtual void Feed(const AliMUONVDigitStore& digitStore);
516d3280 43 virtual void Reset();
44
45 virtual void Scan(Option_t *option);
46
47 virtual void LocalResponse();
48 virtual void RegionalResponse();
49 virtual void GlobalResponse();
50
516d3280 51 virtual void DumpOS();
52
257091b1 53 virtual void Digits2Trigger(const AliMUONVDigitStore& digitStore,
54 AliMUONVTriggerStore& triggerStore);
516d3280 55
fd19a819 56
b5027f79 57 /// Return Crate array
fd19a819 58 AliMUONTriggerCrateStore* GetCrateStore() {return fCrates;}
59
43368512 60 private:
71a2d3aa 61 /// Not implemented
884a73f1 62 AliMUONTriggerElectronics(const AliMUONTriggerElectronics& right);
71a2d3aa 63 /// Not implemented
884a73f1 64 AliMUONTriggerElectronics& operator = (const AliMUONTriggerElectronics& right);
65
fd19a819 66 /// set copy card array
67 void SetCopyInput();
68
516d3280 69 private:
fd19a819 70 TList* fCopyXInput[2]; ///< list of copy X input from local to local board
71 TList* fCopyYInput[2]; ///< list of copy Y input from local to local board
829425a5 72 AliMUONTriggerCrateStore *fCrates; ///< Crate array
73 AliMUONGlobalTriggerBoard *fGlobalTriggerBoard; ///< Global trigger board
257091b1 74
69d7ac2e 75 ClassDef(AliMUONTriggerElectronics,4) //Manager class for muon trigger electronics
516d3280 76};
77#endif