1 #ifndef _RdGalacticDatasetMaker_h_
2 #define _RdGalacticDatasetMaker_h_
8 #include <fwk/VModule.h>
11 #include <revt/Station.h>
12 #include <revt/Channel.h>
13 #include <revt/REvent.h>
16 #include <utl/Reader.h>
51 static float onlineMean(
float oldMean,
float nextValue,
int n);
static double GetImpedanceAt(utl::Branch topBranch, int channelID, float frequencyMHz)
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
std::vector< float > timeBins
Interface class to access to the Radio part of an event.
REGISTER_MODULE("RdGalacticDatasetMaker", RdGalacticDatasetMaker)
static float HHMMSS2hour(float ffHHMMSS)
std::vector< float > freqBins
static unsigned int TimeStamp2HHMMSS(const utl::TimeStamp ×t)
A TimeStamp holds GPS second and nanosecond for some event.
std::vector< int > fStationIds
Class representing a document branch.
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
double fsamplingFrequency4Header
std::vector< int > fchannels
std::vector< std::vector< std::vector< std::vector< float > > > > AllChannelsAndStationsDatasets
ResultFlag
Flag returned by module methods to the RunController.
virtual ~RdGalacticDatasetMaker()
static double GPSSecToLSTHourAuger(const int gpsSec)
static revt::REvent * fgCurrentREvent
static int getChannelIndex(std::vector< int > vector, int element)
utl::Branch impedanceTopBranch
std::vector< std::vector< float > > stationTraceCounter
static float onlineMean(float oldMean, float nextValue, int n)
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
Provides datasets for galactic calibration.