Skip to content

[Evt Builder] Restore and expand support for T0 digis in TOF vector

Pierre-Alain Loizeau requested to merge mMQ into master
  • Change masking in Algo from full address to detector type
  • Due to this, introduce in Algo implementation file a templated function to get the type if TofDigi or 0 instead
  • Add support for using T0 as reference even if stored in TOF data (only in Algo, not in Task!)
  • Add support for using T0 as trigger check detector even if stored in TOF data (only in Algo, not in Task!)
  • Replace hard-coded constant in Algo with members + setters in both Algo and Task

@n.herrmann This should allow to support all cases. Two remarks:

  • Default behavior is set for T0 in separate vector
  • I did not test it but this should restore a similar behavior as the "original" for the IO (T0 in TOF vector both for unpacked data and for the CbmEvent) when evtBuilderTask->SetT0InTofDetType() is added to the macro or pAlgo->SetT0InTofDetType() is called in the Device, with the difference the T0 is considered as a separate detector for the selection
    => You will need to set its minimal number for T0 with SetTriggerMinNumber (--SetTrigMinNb kT0, in MQ), e.g. 1 or 2
Edited by Pierre-Alain Loizeau

Merge request reports