]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliTriggerScalers.h
Commit of new FMD3 geometry and other geometry related issues.
[u/mrichter/AliRoot.git] / STEER / AliTriggerScalers.h
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
24 class AliTriggerScalers : public TObject {
25
26 public:
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;
42         
43               UChar_t    fClassIndex;      // class index 
44                UInt_t    fLOCB;            //  L0 triggers before any vetos  (32 bits)
45                UInt_t    fLOCA;            //  L0 triggers after all vetos   (32 bits)
46                UInt_t    fL1CB;            //  L1 triggers before any vetos  (32 bits)
47                UInt_t    fL1CA;            //  L1 triggers after all vetos   (32 bits)
48                UInt_t    fL2CB;            //  L2 triggers before any vetos  (32 bits)
49                UInt_t    fL2CA;            //  L2 triggers after all vetos   (32 bits)
50     
51 private:    
52                          AliTriggerScalers( const AliTriggerScalers &run );
53     AliTriggerScalers&   operator=(const AliTriggerScalers& clus);
54
55    ClassDef( AliTriggerScalers, 1 )  // Define a Run Trigger Scalers (Scalers)
56 };
57
58 #endif