new class for PbPb cut analysis
[u/mrichter/AliRoot.git] / GRP / MakeCTPDummyEntries.C
index 68c11be816d6a9d2b437f0c8e04747e20c6b9b4f..6e0dc102da4fe58b60f7d6cb844b0e21aacc1b54 100644 (file)
@@ -6,11 +6,13 @@ void MakeCTPDummyEntries(){
 
        AliCDBManager *man = AliCDBManager::Instance();
        man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
-       Char_t * filenameConfig = gSystem->ExpandPathName("$ALICE_ROOT/GRP/CTP/p-p.cfg");
-       Char_t * filenameScalers = gSystem->ExpandPathName("$ALICE_ROOT/GRP/CTP/xcounters.txt");
+       Char_t * filenameConfig = gSystem->ExpandPathName("$ALICE_ROOT/GRP/CTP/stdln.cfg");
+       Char_t * filenameScalers = gSystem->ExpandPathName("$ALICE_ROOT/GRP/CTP/stdln.cnt");
+        Char_t * filenameCTPtime = gSystem->ExpandPathName("$ALICE_ROOT/GRP/CTP/stdln.tim");
 
        AliTriggerConfiguration *runcfg = AliTriggerConfiguration::LoadConfiguration(filenameConfig);
        AliTriggerRunScalers *scalers = AliTriggerRunScalers::ReadScalers(filenameScalers);
+       AliCTPTimeParams *ctptime = AliCTPTimeParams::LoadCTPTimeParams(filenameCTPtime);
 
        AliCDBMetaData* metaconfig = new AliCDBMetaData();
        metaconfig->SetResponsible("Roman Lietava");
@@ -23,5 +25,12 @@ void MakeCTPDummyEntries(){
        metascalers->SetComment("Dummy CTP scalers for standalone runs");
        AliCDBId idscalers("GRP/CTP/DummyScalers",0,AliCDBRunRange::Infinity());
        man->Put(scalers,idscalers, metascalers);
+
+       AliCDBMetaData* metactptime = new AliCDBMetaData();
+       metactptime->SetResponsible("Roman Lietava");
+       metactptime->SetComment("Dummy CTP time params for standalone runs");
+       AliCDBId idctptime("GRP/CTP/DummyCTPtime",0,AliCDBRunRange::Infinity());
+       man->Put(ctptime,idctptime, metactptime);
+
        return;
 }