Fixes for #86059: Install data when ALICE_ROOT does not point to source (Christian)
[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]);
00d46f24 42 virtual void Feed(const AliMUONVDigitStore& digitStore);
57e2ad1a 43 virtual void Feed(const AliMUONVTriggerStore& triggerStore);
516d3280 44 virtual void Reset();
45
57e2ad1a 46 virtual void Scan(const Option_t *option);
516d3280 47
48 virtual void LocalResponse();
49 virtual void RegionalResponse();
50 virtual void GlobalResponse();
51
516d3280 52 virtual void DumpOS();
53
257091b1 54 virtual void Digits2Trigger(const AliMUONVDigitStore& digitStore,
55 AliMUONVTriggerStore& triggerStore);
516d3280 56
00d46f24 57 virtual Bool_t ModifiedLocalResponse(Int_t loCircuit,
58 Bool_t& bendingPlaneResp,
59 Bool_t& nonBendingPlaneResp,
60 Bool_t isCoinc44 = kFALSE,
61 Int_t removeChamber = -1);
62
63 virtual void ResponseRemovingChambers(AliMUONVTriggerStore& triggerStore);
fd19a819 64
b5027f79 65 /// Return Crate array
fd19a819 66 AliMUONTriggerCrateStore* GetCrateStore() {return fCrates;}
67
43368512 68 private:
71a2d3aa 69 /// Not implemented
884a73f1 70 AliMUONTriggerElectronics(const AliMUONTriggerElectronics& right);
71a2d3aa 71 /// Not implemented
884a73f1 72 AliMUONTriggerElectronics& operator = (const AliMUONTriggerElectronics& right);
00d46f24 73
74 void FeedCopyNeighbours();
884a73f1 75
fd19a819 76 /// set copy card array
77 void SetCopyInput();
78
516d3280 79 private:
fd19a819 80 TList* fCopyXInput[2]; ///< list of copy X input from local to local board
81 TList* fCopyYInput[2]; ///< list of copy Y input from local to local board
829425a5 82 AliMUONTriggerCrateStore *fCrates; ///< Crate array
83 AliMUONGlobalTriggerBoard *fGlobalTriggerBoard; ///< Global trigger board
257091b1 84
69d7ac2e 85 ClassDef(AliMUONTriggerElectronics,4) //Manager class for muon trigger electronics
516d3280 86};
87#endif