AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEMCALTriggerFastOR.h
Go to the documentation of this file.
1 /**************************************************************************
2  * This file is property of and copyright by the ALICE HLT Project *
3  * All rights reserved. *
4  * *
5  * Primary Authors: Salvatore Aiola *
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 #ifndef ALIEMCALTRIGGERFASTOR_H
16 #define ALIEMCALTRIGGERFASTOR_H
17 
26 #include <Rtypes.h>
27 
28 class AliEMCALGeometry;
29 
36 
37  public:
38 
40  AliEMCALTriggerFastOR(UInt_t L0amp, UInt_t L1amp, Int_t absId, const AliEMCALGeometry* geom);
41  AliEMCALTriggerFastOR(UInt_t L0amp, UInt_t L1amp, Int_t globalRow, Int_t glocalCol, const AliEMCALGeometry* geom);
42 
43  void Initialize(UInt_t L0amp, UInt_t L1amp, Int_t absId, const AliEMCALGeometry* geom);
44  void Initialize(UInt_t L0amp, UInt_t L1amp, Int_t globalRow, Int_t glocalCol, Int_t L0time, const AliEMCALGeometry* geom);
45 
46  void Initialize(Int_t absId, const AliEMCALGeometry* geom);
47  void Initialize(Int_t globalRow, Int_t glocalCol, const AliEMCALGeometry* geom);
48 
49  UInt_t GetAbsId() const { return fAbsId ; }
50  UChar_t GetGlobalCol() const { return fGlobalCol ; }
51  UChar_t GetGlobalRow() const { return fGlobalRow ; }
52  UChar_t GetSM() const { return fSM ; }
53  UChar_t GetCol() const { return fCol ; }
54  UChar_t GetRow() const { return fRow ; }
55  UInt_t GetL0Amp() const { return fL0Amp ; }
56  UInt_t GetL1Amp() const { return fL1Amp ; }
57  Int_t GetL0Time() const { return fL0Time ; }
58 
59  void SetL0Amp(UInt_t amp) { fL0Amp = amp ; }
60  void SetL1Amp(UInt_t amp) { fL1Amp = amp ; }
61  void SetL0Time(Int_t t) { fL0Time = t ; }
62 
63  private:
65  UInt_t fAbsId;
67  UChar_t fGlobalCol;
69  UChar_t fGlobalRow;
71  UChar_t fSM;
73  UChar_t fCol;
75  UChar_t fRow;
77  UInt_t fL0Amp;
79  UInt_t fL1Amp;
81  Int_t fL0Time;
82 };
83 
84 #endif
UChar_t GetGlobalRow() const
UChar_t GetGlobalCol() const
void Initialize(UInt_t L0amp, UInt_t L1amp, Int_t absId, const AliEMCALGeometry *geom)
TEveGeoShape * geom
Definition: tpc_tracks.C:10