]> git.uio.no Git - u/mrichter/AliRoot.git/blob - OADB/AliOADBFillingScheme.h
Files consistent with the new physics selection and event cuts.
[u/mrichter/AliRoot.git] / OADB / AliOADBFillingScheme.h
1 #ifndef AliOADBFillingScheme_H
2 #define AliOADBFillingScheme_H
3 /* Copyright(c) 1998-2007, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /* $Id$ */
7
8 //-------------------------------------------------------------------------
9 //     OADB container for filling scheme information (BX ids, name ...)
10 //     Author: Michele Floris, CERN
11 //-------------------------------------------------------------------------
12
13 #include <TNamed.h>
14 #include "TMap.h"
15 #include "TObjString.h"
16
17
18 class AliOADBFillingScheme : public TNamed {
19
20  public :
21   AliOADBFillingScheme();
22   AliOADBFillingScheme(char* name);
23   virtual ~AliOADBFillingScheme();
24   void Init();
25   
26   // Getters
27   const char * GetBXIDs(const char * beamSide) const; 
28   const char * GetFillingSchemeName() const { return fFSName; } 
29   // Setters
30   void SetBXIDs(const char * beamSide, const char * bxids) { fBXIds->Add(new TObjString(beamSide), new TObjString(bxids)); }
31   void SetFillingSchemeName(const char * name) { fFSName = name; }
32   // Browse
33   virtual Bool_t        IsFolder() const { return kTRUE; }
34   void Browse(TBrowser *b);
35   // Print
36   virtual void  Print(Option_t* option = "") const;
37
38  private :
39
40   AliOADBFillingScheme(const AliOADBFillingScheme& cont);            // to be implemented
41   AliOADBFillingScheme& operator=(const AliOADBFillingScheme& cont); // to be implemented
42   
43   TString fFSName               ; // Name of the filling scheme 
44   TMap * fBXIds              ; // Map from the beam side bunch crossing number. Beam side is "B", "A", "C", "E".
45
46   ClassDef(AliOADBFillingScheme, 1);
47 };
48
49 #endif