]> git.uio.no Git - u/mrichter/AliRoot.git/blob - MUON/AliMUONLocalTrigger.cxx
trigger with new coordinate system in MUONdisplay
[u/mrichter/AliRoot.git] / MUON / AliMUONLocalTrigger.cxx
1 /**************************************************************************
2  * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
3  *                                                                        *
4  * Author: The ALICE Off-line Project.                                    *
5  * Contributors are mentioned in the code where appropriate.              *
6  *                                                                        *
7  * Permission to use, copy, modify and distribute this software and its   *
8  * documentation strictly for non-commercial purposes is hereby granted   *
9  * without fee, provided that the above copyright notice appears in all   *
10  * copies and that both the copyright notice and this permission notice   *
11  * appear in the supporting documentation. The authors make no claims     *
12  * about the suitability of this software for any purpose. It is          *
13  * provided "as is" without express or implied warranty.                  *
14  **************************************************************************/
15
16 /*
17
18 */
19
20 #include "AliMUONLocalTrigger.h"
21
22 ClassImp(AliMUONLocalTrigger);
23 //----------------------------------------------------------------------
24 AliMUONLocalTrigger::AliMUONLocalTrigger()
25 {
26 // constructor
27   fLoCircuit = 0;
28   fLoStripX  = 0;
29   fLoDev     = 0;
30   fLoStripY  = 0;
31   fLoLpt     = 0;
32   fLoHpt     = 0;
33   fLoApt     = 0;
34 }
35 //----------------------------------------------------------------------
36 AliMUONLocalTrigger::AliMUONLocalTrigger(Int_t *localtr)
37 {
38 // add a local trigger object 
39   fLoCircuit = localtr[0];
40   fLoStripX  = localtr[1];         
41   fLoDev     = localtr[2];           
42   fLoStripY  = localtr[3];           
43   fLoLpt     = localtr[4];
44   fLoHpt     = localtr[5];
45   fLoApt     = localtr[6];
46 }
47
48 //----------------------------------------------------------------------
49 //--- methods which return member data related info
50 //----------------------------------------------------------------------
51 Int_t AliMUONLocalTrigger::LoCircuit(){ 
52 // returns circuit number 
53 return fLoCircuit;
54 }
55 //----------------------------------------------------------------------
56 Int_t AliMUONLocalTrigger::LoStripX(){  
57 // returns X strip in MT11 
58 return fLoStripX;
59 }
60 //----------------------------------------------------------------------
61 Int_t AliMUONLocalTrigger::LoDev(){     
62 // returns deviation 
63 return fLoDev;
64 }
65 //----------------------------------------------------------------------
66 Int_t AliMUONLocalTrigger::LoStripY(){  
67 // returns Y strip in MT11 
68 return fLoStripY;
69 }
70 //----------------------------------------------------------------------
71 Int_t AliMUONLocalTrigger::LoLpt(){     
72 // returns Low pt  0 : nothing, 1 : Minus, 2 : Plus, 3 : Undef
73 return fLoLpt;
74 }
75 //----------------------------------------------------------------------
76 Int_t AliMUONLocalTrigger::LoHpt(){     
77 // returns High pt 0 : nothing, 1 : Minus, 2 : Plus, 3 : Undef
78 return fLoHpt;
79 }
80 //----------------------------------------------------------------------
81 Int_t AliMUONLocalTrigger::LoApt(){     
82 // returns All pt  0 : nothing, 1 : Minus, 2 : Plus, 3 : Undef
83 return fLoApt;
84 }