[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

event display



Brendan,

I should warn you: the "alvarez" trigger of the event
display is not actually working.  In fact the body
of the function TAlvarezStepDispTrig::GetNext (in
src/uiuc/DisplayTrigger/TAlvarezStepDispTrig.cpp) is
completely commented out.

If you or Peter would like to test an algorithm for
this purpose, just describe it to me and I can try
implementing it.  Or if you like, you can try it yourself.
The T*StepDispTrig::GetNext(double &time) function
should set the argument "time" (passed as a reference)
to the next occurance of the trigger of interest within
the present Midas event, and return 1 if a trigger is
found or 0 if not.  The class member fIndex can be used
to keep track of where you are in the event block.
Look at TAllMuscStepDispTrig.cpp for a simple example
of a T*StepDispTrig class.

I noticed there were a couple of possibly useful ODB keys
missing in UIUC_Analyzer/Event Display/Triggers, so I added
them (on puma): "tpcEVH" and "goodmuANDtpcEVH".

Best regards,
Steven