42 for (
unsigned int i = 0; i < histos.size(); i++) {
54 void BeginRun(
int transition,
int run,
int time) {
55 std::cout <<
"User BOR method" << std::endl;
57 std::cout <<
"End User BOR method" << std::endl;
60 void EndRun(
int transition,
int run,
int time) {
61 std::cout <<
"User EOR method" << std::endl;
85 int main(
int argc,
char *argv[])
87 MyTestLoop::CreateSingleton<MyTestLoop>();
int main(int argc, char *argv[])
void UpdateHistograms(TDataContainer &dataContainer)
This method can be implemented by users to update user histograms.
void EndRun(int transition, int run, int time)
void PlotCanvas(TDataContainer &dataContainer)
This method can be implemented by users to plotting of current canvas.
void AddAllCanvases()
User must.
void ResetHistograms()
This method can be implemented by users to plotting of current canvas.
void BeginRun(int transition, int run, int time)
std::vector< THistogramArrayBase * > GetHistograms()
void EndRun(int transition, int run, int time)
int ProcessMidasEvent(TDataContainer &dataContainer)
Processes the midas event, fills histograms, etc.
void UpdateTransientPlots(TDataContainer &dataContainer)
void BeginRun(int transition, int run, int time)
void AddSingleCanvas(std::string name, std::string subtab_name=std::string(""))
Add a new canvas; user will interactively fill it.
void SetDisplayName(std::string name)
Set Display name.
void SetOnlineUpdatingBasedSeconds(bool updateBasedSeconds=true)
static TRootanaEventLoop & Get(void)
void DisableRootOutput(bool disable=true)
void SetOutputFilename(std::string name)
int ExecuteLoop(int argc, char *argv[])
Method to actually process the Midas information, either as file or online.