1 #ifndef ALIMUONTRIGGERCIRCUIT_H
2 #define ALIMUONTRIGGERCIRCUIT_H
6 #include "AliMUONSegmentationTrigger.h"
8 class AliMUONSegmentationTrigger;
9 //----------------------------------------------
10 class AliMUONTriggerCircuit :
13 AliMUONTriggerCircuit();
14 virtual ~AliMUONTriggerCircuit(){;}
16 AliMUONTriggerCircuit(const AliMUONTriggerCircuit& AliMUONTriggerCircuit);
17 // assignment operator
18 AliMUONTriggerCircuit& operator=(const AliMUONTriggerCircuit& AliMUONTriggerCircuit);
21 void Init(Int_t iCircuit);
24 Float_t PtCal(Int_t istripX, Int_t idev, Int_t istripY);
26 //--- methods which return member data related info
31 Int_t GetPosCircuit();
32 Int_t GetIdCircuitD();
34 Int_t GetIdCircuitU();
38 void GetOrMud(Int_t orMud[2]);
39 Int_t GetXcode(Int_t chamber, Int_t istrip);
40 Int_t GetYcode(Int_t chamber, Int_t istrip);
41 Float_t GetY11Pos(Int_t istrip);
42 Float_t GetY21Pos(Int_t istrip);
43 Float_t GetX11Pos(Int_t istrip);
45 // Get reference to segmentation model
46 virtual AliSegmentation* SegmentationModel(Int_t isec) {
47 return (AliSegmentation *) (*fSegmentation)[isec-1];
51 TObjArray *fSegmentation; // pointer to segmentation
54 Int_t CircuitNumber(Int_t idCircuit);
55 Int_t ModuleNumber(Int_t idModule);
56 Int_t Module(Int_t idCircuit);
57 Int_t Position(Int_t idCircuit);
64 ClassDef(AliMUONTriggerCircuit,1) // Trigger Circuit class
67 Int_t fIdCircuit; // circuit Id number
68 Int_t fX2m; // internal info needed by TriggerDecision
69 Int_t fX2ud; // internal info needed by TriggerDecision
70 Int_t fOrMud[2]; // internal info needed by TriggerDecision
71 Int_t fXcode[4][32]; // code of X strips
72 Int_t fYcode[4][32]; // code of Y strips
73 Float_t fXpos11[16]; // X position of Y strips in MC11
74 Float_t fYpos11[31]; // Y position of X strips in MC11
75 Float_t fYpos21[63]; // Y position of X strips in MC21