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();
27 const char * GetBXIDs(const char * beamSide) const;
28 const char * GetFillingSchemeName() const { return fFSName; }
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; }
33 virtual Bool_t IsFolder() const { return kTRUE; }
34 void Browse(TBrowser *b);
36 virtual void Print(Option_t* option = "") const;
40 AliOADBFillingScheme(const AliOADBFillingScheme& cont); // to be implemented
41 AliOADBFillingScheme& operator=(const AliOADBFillingScheme& cont); // to be implemented
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".
46 ClassDef(AliOADBFillingScheme, 1);