new class for PbPb cut analysis
[u/mrichter/AliRoot.git] / GRP / MakeCTPDummyEntries.C
index 6bf0c36966dc72173847a82c4d6ed11b91a08cf7..6e0dc102da4fe58b60f7d6cb844b0e21aacc1b54 100644 (file)
@@ -8,9 +8,11 @@ void MakeCTPDummyEntries(){
        man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
        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;
 }