12 #include <fwk/CentralConfig.h>
13 #include <fwk/RunController.h>
15 #include <utl/config.h>
16 #include <utl/Reader.h>
17 #include <utl/ErrorLogger.h>
18 #include <utl/AugerUnits.h>
20 #include <evt/Event.h>
22 #include <fevt/FEvent.h>
24 #include <fevt/Header.h>
25 #include <fevt/EyeHeader.h>
26 #include <fevt/EyeTriggerData.h>
27 #include <fevt/Telescope.h>
28 #include <fevt/Channel.h>
29 #include <fevt/ChannelRecData.h>
30 #include <fevt/Pixel.h>
31 #include <fevt/PixelRecData.h>
32 #include <fevt/PixelTriggerData.h>
33 #include <fevt/TelescopeTriggerData.h>
34 #include <fevt/SLTData.h>
36 #include <det/Detector.h>
39 #include <fdet/Telescope.h>
40 #include <fdet/Camera.h>
41 #include <fdet/Channel.h>
42 #include <fdet/Pixel.h>
43 #include <fdet/FDetector.h>
45 #include <utl/Trace.h>
46 #include <utl/TraceAlgorithm.h>
48 #include <AugerEvent.h>
49 #include <EyeEvent.hh>
50 #include <EyeEventHeader.hh>
51 #include <EyeT3Data.hh>
52 #include <FadcData.hh>
53 #include <FdNumbering.hh>
54 #include <FDEventLibVersion.hh>
60 using namespace VirtualChannelCalibratorKG;
74 ERROR(
"Could not find branch VirtualChannelCalibrator");
96 bool saturatedEvent =
false;
99 const fdet::FDetector& detFD = det::Detector::GetInstance().GetFDetector();
102 eyeIter != fdEvent.
EyesEnd(); ++eyeIter) {
108 telescopeIter != eyeEvent.
TelescopesEnd(); ++telescopeIter) {
117 map<unsigned int, TraceD> saturatedPixelList;
126 if (!chanIter->HasRecData())
132 saturatedEvent =
true;
Branch GetTopBranch() const
ChannelIterator ChannelsBegin()
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Description of the electronic channel for the 480 channels of the crate.
Fluorescence Detector Eye Event.
boost::filter_iterator< ComponentSelector, ConstAllEyeIterator > ConstEyeIterator
int GetADCDynamicRange() const
EyeIterator EyesEnd(const ComponentSelector::Status status)
ChannelIterator ChannelsEnd()
Branch GetChild(const std::string &childName) const
Get child of this Branch by child name.
const Camera & GetCamera() const
Get the Camera object that belongs to the telescope.
Detector description interface for FDetector-related data.
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
Class representing a document branch.
TelescopeIterator TelescopesEnd()
first available tel of status eHasData (DEPRECATED)
EyeIterator EyesBegin(const ComponentSelector::Status status)
const Channel & GetChannel(const fevt::Channel &eventChannel) const
Get fdet::Channel from fevt::Channel.
#define WARNING(message)
Macro for logging warning messages.
void GetData(bool &b) const
Overloads of the GetData member template function.
bool ChannelIsSaturated() const
check saturation flag for this channel
Top of Fluorescence Detector event hierarchy.
TelescopeIterator TelescopesBegin()
first available tel of status eHasData (DEPRECATED)
Fluorescence Detector Channel Reconstructed Data Event.
Detector description interface for Telescope-related data.
ResultFlag
Flag returned by module methods to the RunController.
const Telescope & GetTelescope(const fevt::Telescope &eventTel) const
Get fdet::Telescope from fevt::Telescope.
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
boost::indirect_iterator< InternalConstChannelIterator, const Channel & > ConstChannelIterator
An iterator over available channles for read.
unsigned int GetVirtualChannelId() const
Fluorescence Detector Telescope Event.
#define ERROR(message)
Macro for logging error messages.
boost::filter_iterator< ComponentSelector, ConstAllTelescopeIterator > ConstTelescopeIterator