3 #include <fwk/CentralConfig.h>
4 #include <det/VManager.h>
5 #include <utl/Branch.h>
8 #include <sevt/SEvent.h>
9 #include <sevt/Station.h>
10 #include <sdet/PMTConstants.h>
11 #include <sdet/SDetector.h>
13 #include <utl/ErrorLogger.h>
40 SEvent& sEvent =
event.GetSEvent();
45 const sdet::Station& dStation = det::Detector::GetInstance().GetSDetector().GetStation(*sIt);
47 const bool isUUB = dStation.
IsUUB();
52 if (hasScintillator && !isUUB)
62 INFO(
"Could not find any stations with scintillator in this event, skipping...");
64 INFO(
"Could not find any UUB stations in this event, skipping...");
68 INFO(
"Found at least 1 station with UB scintillator in this event!");
70 INFO(
"Found at least 1 station with UUB in this event!");
75 SelectEvents::Finish()
Branch GetTopBranch() const
StationIterator StationsEnd()
End of all stations.
Detector description interface for Station-related data.
Interface class to access to the SD part of an event.
#define INFO(message)
Macro for logging informational messages.
void Init()
Initialise the registry.
Branch GetChild(const std::string &childName) const
Get child of this Branch by child name.
Class representing a document branch.
void GetData(bool &b) const
Overloads of the GetData member template function.
ResultFlag
Flag returned by module methods to the RunController.
StationIterator StationsBegin()
Beginning of all stations.
bool HasScintillator() const
boost::indirect_iterator< InternalStationIterator, Station & > StationIterator
Iterator over all stations.