- Three classes by MinJung Kweon AliHFEpriVtx, AliHFEsecVtx and AliHFEmcQA for primar...
[u/mrichter/AliRoot.git] / STEER / AliTriggerScalers.h
CommitLineData
d7dd8a54 1#ifndef ALITRIGGERSCALERS_H
2#define ALITRIGGERSCALERS_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
7/* $Id: AliTriggerScalers.h 22322 2007-11-22 11:43:14Z cvetan $ */
8
9///////////////////////////////////////////////////////////////////////////////
10//
11// Class to define the ALICE Trigger Scalers
12//
13// For each trigger class there are six scalers:
14//
15// LOCB L0 triggers before any vetos
16// LOCA L0 triggers after all vetos
17// L1CB L1 triggers before any vetos
18// L1CA L1 triggers after all vetos
19// L2CB L2 triggers before any vetos
20// L2CA L2 triggers after all vetos
21//
22//////////////////////////////////////////////////////////////////////////////
23
24class AliTriggerScalers : public TObject {
25
26public:
27 AliTriggerScalers();
28 AliTriggerScalers(
29 UChar_t classIndex,
30 UInt_t LOCB,
31 UInt_t LOCA,
32 UInt_t L1CB,
33 UInt_t L1CA,
34 UInt_t L2CB,
35 UInt_t L2CA
36 );
37 virtual ~AliTriggerScalers() {}
38
39 virtual Bool_t IsSortable() const { return kTRUE; }
40 virtual Int_t Compare( const TObject* obj ) const;
41 virtual void Print( const Option_t* opt ="" ) const;
6833469d 42 UInt_t GetLOCB() const { return fLOCB; }
43 UInt_t GetLOCA() const { return fLOCA; }
44 UInt_t GetL1CB() const { return fL1CB; }
45 UInt_t GetL1CA() const { return fL1CA; }
46 UInt_t GetL2CB() const { return fL2CB; }
47 UInt_t GetL2CA() const { return fL2CA; }
48 UChar_t GetClassIndex() const { return fClassIndex; }
49private:
50
d7dd8a54 51 UChar_t fClassIndex; // class index
52 UInt_t fLOCB; // L0 triggers before any vetos (32 bits)
53 UInt_t fLOCA; // L0 triggers after all vetos (32 bits)
54 UInt_t fL1CB; // L1 triggers before any vetos (32 bits)
55 UInt_t fL1CA; // L1 triggers after all vetos (32 bits)
56 UInt_t fL2CB; // L2 triggers before any vetos (32 bits)
57 UInt_t fL2CA; // L2 triggers after all vetos (32 bits)
6833469d 58
59
d7dd8a54 60 AliTriggerScalers( const AliTriggerScalers &run );
61 AliTriggerScalers& operator=(const AliTriggerScalers& clus);
62
63 ClassDef( AliTriggerScalers, 1 ) // Define a Run Trigger Scalers (Scalers)
64};
65
66#endif