CheckEventDataModule1.cc
Go to the documentation of this file.
1 #include <iostream>
3 #include <fwk/RunController.h>
4 #include <evt/Event.h>
5 
6 #include <sevt/SEvent.h>
7 #include <sevt/Station.h>
8 #include <sevt/StationSimData.h>
9 
10 using namespace std;
11 using namespace fwk;
12 using namespace sevt;
13 
14 
17 {
18  return VModule::eSuccess;
19 }
20 
21 
24 {
25  if (event.GetHeader().GetId() != string("3"))
26  return VModule::eFailure;
27 
28  return VModule::eSuccess;
29 }
30 
31 
34 {
35  return VModule::eSuccess;
36 }
evt::Header & GetHeader()
VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
const std::string & GetId() const
Get the event identifier.
Definition: Event/Header.h:31
ResultFlag
Flag returned by module methods to the RunController.
Definition: VModule.h:60
VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)

, generated on Tue Sep 26 2023.