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