Skip to content

TRestRawMultiFEMINOSToSignalProcess: first two events are with the same id #36

Description

@nkx111

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions