This module generates a list of events sorted by time and saves it to an ascii file
module TimeSort verbosity = info enable = true OutputFilename = TimeSortedData.txt SortInPlace = true endmod
Public Member Functions | |
MTimeSort (QSequence *s) | |
virtual void | Init () |
Init method is called before event loop. | |
virtual QEvent * | Do (QEvent *ev) |
Doit method is called for each event, getting the event as argument. | |
virtual void | Done () |
Done method is called after event loop. | |
Private Attributes | |
std::string | fOutputFilename |
this is the name of the file where the sorted list is kept | |
std::vector< std::pair< int, unsigned long long > > | fEventVector |
vector to store event number and time | |
int | fIndex |
An index to keep track of event. | |
int | fIteration |
What iteration are we on? | |
int | fNumberOfEvents |
Number of sorted events. | |
int | fStartTime |
Start time of run. | |
std::vector< int > | fChannelVector |
Vector of channel numbers. |