AliPhysics  9c66e61 (9c66e61)
OCDBConfig.C
Go to the documentation of this file.
1 
14 struct OCDBCfg : public VirtualOCDBCfg
15 {
16  const char* Prefix() const { return "2008/v4-15-Release"; }
17  void Init(Bool_t forSim)
18  {
19  Bool_t is10h = grp->period.EqualTo("LHC10h");
20 
21  // --- ITS (1 Total) ----------------------------------------------
22  AddStore("ITS/Align/Data", forSim);
23  if (!forSim)
24  AddStore("ITS/Align/SPDSparseDead",false);
25 
26  // --- MUON (1 object) ---------------------------------------------
27  AddStore("MUON/Align/Data", forSim);
28 
29  // ---- TPC (6 total) ----------------------------------------------
30  AddStore("TPC/Calib/TimeGain", forSim);
31  AddStore("TPC/Calib/ClusterParam", forSim);
32  AddStore("TPC/Calib/AltroConfig", forSim);
33  AddStore("TPC/Calib/Correction", forSim);
34  AddStore("TPC/Align/Data", forSim);
35  AddStore("TPC/Calib/TimeDrift", forSim);
36  AddStore("TPC/Calib/RecoParam", false);
37 
38  // --- ZDC for 2010 the following is needed ------------------------
39  // (https://savannah.cern.ch/task/?func=detailitem&item_id=33180#comment46)
40  if (is10h) AddStore("ZDC/Align/Data",true);
41  }
42 };
43 
44 
45 void OCDBConfig()
46 {
47  ::Info("OCDBConfig", "Creating OCDB configuration");
48  ocdbCfg = new OCDBCfg;
49 }
50 //
51 // EOF
52 //
const char * Prefix() const
Definition: OCDBConfig.C:16
VirtualOCDBCfg * ocdbCfg
Definition: BaseConfig.C:181
void AddStore(const char *key, Bool_t ideal)
Definition: BaseConfig.C:168
TString period
Definition: GRP.C:101
void OCDBConfig()
Definition: OCDBConfig.C:45
GRPData * grp
Definition: GRP.C:361
void Init(Bool_t forSim)
Definition: OCDBConfig.C:17
bool Bool_t
Definition: External.C:53