Closed nsjarvis closed 2 years ago
@faustus123 suggested to use the translation table to avoid the hard-wired numbers:
vector<const DTranslationTable *> ttab;
loop->Get(ttab);
if( ! ttab.empty() ){
auto rocid_by_system = ttab[0]->Get_ROCID_By_System();
if( rocid_by_system[ DTranslationTable::CDC ].count( rocid ) != 0 ){
// This rocid belongs to the CDC
}
}
Is there a data file I can use to test this?
Elton was using this:
/work/halld/home/elton/monitoring/hd_rawdata_100077_000.evio
Looks good now. Thanks.
When Df125windowrawdata for rocid > 30 is present, without an FDC pulse, the software generates an emulated FDC pulse.
https://github.com/JeffersonLab/halld_recon/blob/2c9a71a53e6ca9285be0d0d7e8a7afc9bd19e57c/src/libraries/DAQ/JEventSource_EVIO.cc#L2183