From c32025f005ddd0912773a1d9d8d4e5a5158bb464 Mon Sep 17 00:00:00 2001 From: cvetan Date: Mon, 10 Mar 2008 14:20:34 +0000 Subject: [PATCH] Proper treatment (which means just ingoring) of DDL files in case of software trigger event, like start_of_*. In these cases we do not have equipment headers, but just LDC payloads. That is a fix for bug #34258 --- MONITOR/root2date.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MONITOR/root2date.cxx b/MONITOR/root2date.cxx index 0128370d9fb..c17ea5b64e4 100644 --- a/MONITOR/root2date.cxx +++ b/MONITOR/root2date.cxx @@ -41,7 +41,7 @@ int Root2Date(AliRawEvent *gdcRootEvent, unsigned char *gdcDateEvent, char *ddlD } memcpy(p, aliEquipment->GetRawData()->GetBuffer(), chunkSize=aliEquipment->GetRawData()->GetSize()); // Write Equipment payload (including CDH) // Write ddl files if requested by the user - if (ddlDir) { + if (ddlDir && aliEquipmentHeader->GetEquipmentSize()) { Int_t ddlIndex; Int_t detId = AliDAQ::DetectorIDFromDdlID(aliEquipmentHeader->GetId(),ddlIndex); char ddlFileName[256]; -- 2.39.3