12 #include <utl/ErrorLogger.h>
13 #include <utl/MathConstants.h>
14 #include <utl/Vector.h>
15 #include <utl/PhysicalConstants.h>
16 #include <utl/TabulatedFunctionErrors.h>
18 #include <evt/Event.h>
19 #include <evt/ShowerRecData.h>
20 #include <evt/ShowerFRecData.h>
22 #include <fevt/FEvent.h>
24 #include <fevt/Telescope.h>
25 #include <fevt/EyeRecData.h>
27 #include <det/Detector.h>
28 #include <atm/Atmosphere.h>
29 #include <atm/AttenuationResult.h>
32 #include <fdet/Pixel.h>
33 #include <fdet/Channel.h>
35 #include <utl/Vector.h>
37 using namespace FdCherenkovSubtracterOG;
65 eyeIter !=
event.GetFEvent().EyesEnd();
72 SubtractCherenkov(eye);
102 for (
unsigned int i=0; i<totalFlux.
GetNPoints(); ++i) {
104 fluoFlux.
GetY(i) = totalFlux.
GetY(i)
105 - directCherenkovFlux.
GetY(i)
106 - rayscattCherenkovFlux.
GetY(i)
107 - miescattCherenkovFlux.
GetY(i);
unsigned int GetNPoints() const
bool HasLightFlux(const FdConstants::LightSource source=FdConstants::eTotal) const
Check that light profile for source /par source is present.
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
Fluorescence Detector Eye Event.
boost::filter_iterator< ComponentSelector, AllEyeIterator > EyeIterator
selective Eye iterators
EyeIterator EyesBegin(const ComponentSelector::Status status)
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
const double & GetY(const unsigned int idx) const
fevt::FEvent & GetFEvent()
ResultFlag
Flag returned by module methods to the RunController.
void SubtractCherenkov(fevt::Eye &eye)
Sutract the Cherenkov light components.
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
utl::TabulatedFunctionErrors & GetLightFlux(const FdConstants::LightSource source=fevt::FdConstants::eTotal)
Light flux at diaphragm, photons/m^2 versus time in ns.
fevt::EyeRecData & GetRecData()
Reconstructed data for this eye.