DummyCounterModule.cc
Go to the documentation of this file.
1 #include <DummyCounterModule.h>
2 #include <iostream>
3 
4 using namespace std;
5 
7 
8 
10 {
11  fCounter = 0;
12 }
13 
14 
16 {
17 }
18 
19 
22 {
23  cout << "DummyCounterModule: Init, counter=" << fCounter << endl;
24  return VModule::eSuccess;
25 }
26 
27 
30 {
31  ++fCounter;
32  cout << "DummyCounterModule: Run, counter=" << fCounter << endl;
33  return VModule::eSuccess;
34 }
35 
36 
38 {
39  cout << "DummyCounterModule: Finish" << endl;
40  return VModule::eSuccess;
41 }
VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)

, generated on Tue Sep 26 2023.