]> git.uio.no Git - u/mrichter/AliRoot.git/blob - STEER/AliLHCTag.h
Update rawdata format for trigger (Christian)
[u/mrichter/AliRoot.git] / STEER / AliLHCTag.h
1 #ifndef ALILHCTAG_H
2 #define ALILHCTAG_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6
7 /* $Id$ */
8
9 //-------------------------------------------------------------------------
10 //                          Class AliLHCTag
11 //   This is the class to deal with the tags for the LHC level
12 //
13 //    Origin: Panos Christakoglou, UOA-CERN, Panos.Christakoglou@cern.ch
14 //-------------------------------------------------------------------------
15
16 #include <stdlib.h>
17 #include <Riostream.h>
18
19 #include "TObject.h"
20 #include "TClonesArray.h"
21
22 //______________________________________________________________________________
23 class AliLHCTag : public TObject
24 {
25  private:
26   Char_t   fLHCState[50];                 //LHC run conditions - comments
27   Float_t  fLHCLuminosity;                //the value of the luminosity
28   
29  public:
30   AliLHCTag();
31   virtual ~AliLHCTag();
32   
33   void          SetLHCState(char *type) {strcpy(fLHCState,type);}
34   void          SetLuminosity(Float_t lumin) {fLHCLuminosity = lumin;}
35   void          SetLHCTag(Float_t lumin, char *type) {fLHCLuminosity = lumin; strcpy(fLHCState,type); }
36   
37   char         *GetLHCState() {return fLHCState;}
38   Float_t       GetLuminosity() {return fLHCLuminosity;}
39   
40   ClassDef(AliLHCTag,1)  //(ClassName, ClassVersion)
41 };
42 //______________________________________________________________________________
43
44 #endif