]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STEER/AliTriggerScalersESD.h
Fixed compilation
[u/mrichter/AliRoot.git] / STEER / AliTriggerScalersESD.h
CommitLineData
56413996 1#ifndef ALITRIGGERSCALERSESD_H\r
2#define ALITRIGGERSCALERSESD_H\r
3\r
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *\r
5* See cxx source for full Copyright notice */\r
6/* $Id$ */\r
7\r
8///////////////////////////////////////////////////////////////////////////////\r
9//\r
10// Class to define the ALICE Trigger Scalers \r
11//\r
12// For each trigger class there are six scalers:\r
13//\r
14// LOCB L0 triggers before any vetos \r
15// LOCA L0 triggers after all vetos \r
16// L1CB L1 triggers before any vetos \r
17// L1CA L1 triggers after all vetos \r
18// L2CB L2 triggers before any vetos \r
19// L2CA L2 triggers after all vetos \r
20//\r
21//////////////////////////////////////////////////////////////////////////////\r
22\r
23class AliTriggerScalersESD : public TObject {\r
24\r
25public:\r
26 AliTriggerScalersESD();\r
27 AliTriggerScalersESD(\r
28 UChar_t classIndex, \r
29 ULong64_t LOCB, \r
30 ULong64_t LOCA, \r
31 ULong64_t L1CB, \r
32 ULong64_t L1CA, \r
33 ULong64_t L2CB, \r
34 ULong64_t L2CA \r
35 ); \r
a7a2d653 36 AliTriggerScalersESD(UChar_t xlassIndex,ULong64_t* s64);\r
56413996 37 virtual ~AliTriggerScalersESD() {}\r
56413996 38 virtual void Print( const Option_t* opt ="" ) const;\r
39\r
4994d351 40 AliTriggerScalersESD( const AliTriggerScalersESD &scal );\r
41 AliTriggerScalersESD& operator=(const AliTriggerScalersESD& scal);\r
42\r
43 ULong64_t GetLOCB() const { return fLOCB; }\r
44 ULong64_t GetLOCA() const { return fLOCA; }\r
45 ULong64_t GetL1CB() const { return fL1CB; }\r
46 ULong64_t GetL1CA() const { return fL1CA; }\r
47 ULong64_t GetL2CB() const { return fL2CB; }\r
48 ULong64_t GetL2CA() const { return fL2CA; }\r
a7a2d653 49 void GetAllScalers(ULong64_t *scalers) const;\r
4994d351 50\r
a7a2d653 51 UChar_t GetClassIndex() const { return fClassIndex; }\r
56413996 52 \r
53private: \r
a7a2d653 54 UChar_t fClassIndex; // number of triggered classes \r
56413996 55 ULong64_t fLOCB; // L0 triggers before any vetos (64 bits)\r
56 ULong64_t fLOCA; // L0 triggers after all vetos (64 bits)\r
57 ULong64_t fL1CB; // L1 triggers before any vetos (64 bits)\r
58 ULong64_t fL1CA; // L1 triggers after all vetos (64 bits)\r
59 ULong64_t fL2CB; // L2 triggers before any vetos (64 bits)\r
60 ULong64_t fL2CA; // L2 triggers after all vetos (64 bits)\r
4994d351 61 \r
56413996 62 ClassDef( AliTriggerScalersESD, 1 ) // Define a Run Trigger Scalers (Scalers)\r
63};\r
64\r
65#endif\r