I found that the first two events from TRestRawMultiFEMINOSToSignalProcess are with same id. Don't know if is the file/daq problem or the process's problem.
I download this file: https://github.com/rest-for-physics/rawlib/blob/master/pipeline/data/R01208_Ar2Iso_Background14h_14Vetos_IccubFEC-000.aqs
and type directly in restRoot:
TRestRawMultiFEMINOSToSignalProcess pc;
pc.OpenInputFiles({"R01208_Ar2Iso_Background14h_14Vetos_IccubFEC-000.aqs"});
TRestRun r;
pc.SetRunInfo(&r);
pc.InitProcess()
pc.ProcessEvent(NULL)->GetTimeStamp().GetNanoSec() //293870925
pc.ProcessEvent(NULL)->GetTimeStamp().GetNanoSec() //293870925
pc.ProcessEvent(NULL)->GetTimeStamp().GetNanoSec() //375673055
pc.ProcessEvent(NULL)->GetTimeStamp().GetNanoSec() //317906618
And see the timestamp of the first two events are same. We can also try event id, and see they are same. However, the signal data seems to be different, meaning that the events are not actually same.
TRestRawMultiFEMINOSToSignalProcess pc;
pc.OpenInputFiles({"R01208_Ar2Iso_Background14h_14Vetos_IccubFEC-000.aqs"});
TRestRun r;
pc.SetRunInfo(&r);
pc.InitProcess();
((TRestRawSignalEvent*)pc.ProcessEvent(NULL))->GetSignal(0)->GetData(0) //249
((TRestRawSignalEvent*)pc.ProcessEvent(NULL))->GetSignal(0)->GetData(0) //261
((TRestRawSignalEvent*)pc.ProcessEvent(NULL))->GetSignal(0)->GetData(0) //269
((TRestRawSignalEvent*)pc.ProcessEvent(NULL))->GetSignal(0)->GetData(0) //249
I found that the first two events from TRestRawMultiFEMINOSToSignalProcess are with same id. Don't know if is the file/daq problem or the process's problem.
I download this file: https://github.com/rest-for-physics/rawlib/blob/master/pipeline/data/R01208_Ar2Iso_Background14h_14Vetos_IccubFEC-000.aqs
and type directly in restRoot:
And see the timestamp of the first two events are same. We can also try event id, and see they are same. However, the signal data seems to be different, meaning that the events are not actually same.