+
+ // darc type vardorh
+ if (darcHeader->GetDarcType() == 4)
+ fMaxReg = 1;
+
+ // darc type def.
+ if (darcHeader->GetDarcType() == 6)
+ fMaxReg = 8;
+
+ if(darcHeader->GetEventType() == scalerEvent)
+ if (fWarnings) AliWarning("Wrong event type obtained from the Darc header, take the one of CDH");
+