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 */
8 //-------------------------------------------------------------------------
9 // OADB container for filling scheme information (BX ids, name ...)
10 // Author: Michele Floris, CERN
11 //-------------------------------------------------------------------------
15 #include "TObjString.h"
18 class AliOADBFillingScheme : public TNamed {
21 AliOADBFillingScheme();
22 AliOADBFillingScheme(char* name);
23 virtual ~AliOADBFillingScheme();
24 AliOADBFillingScheme(const AliOADBFillingScheme& cont);
25 AliOADBFillingScheme& operator=(const AliOADBFillingScheme& cont);
29 const char * GetBXIDs(const char * beamSide) const;
30 const char * GetFillingSchemeName() const { return fFSName; }
32 void SetBXIDs(const char * beamSide, const char * bxids) { fBXIds->Add(new TObjString(beamSide), new TObjString(bxids)); }
33 void SetFillingSchemeName(const char * name) { fFSName = name; }
35 virtual Bool_t IsFolder() const { return kTRUE; }
36 void Browse(TBrowser *b);
38 virtual void Print(Option_t* option = "") const;
42 TString fFSName ; // Name of the filling scheme
43 TMap * fBXIds ; // Map from the beam side bunch crossing number. Beam side is "B", "A", "C", "E".
45 ClassDef(AliOADBFillingScheme, 1);