#include <RdChannelNoisePowerAnalyser.h>
|
enum | Month {
eJan = 1,
eFeb = 2,
eMar = 3,
eApr = 4,
eMay = 5,
eJun = 6,
eJul = 7,
eAug = 8,
eSep = 9,
eOct = 10,
eNov = 11,
eDec = 12
} |
|
enum | ResultFlag { eSuccess,
eFailure,
eBreakLoop,
eContinueLoop
} |
| Flag returned by module methods to the RunController. More...
|
|
enum | VersionInfoType {
eFilename = 1,
eRevisionNumber = 2,
eDate = 3,
eTime = 4,
eLastEditor = 5
} |
| Different types of version info that can be retrieved from GetVersionInfo. More...
|
|
Enumerator |
---|
eInfoNone |
|
eInfoFinal |
|
eInfoIntermediate |
|
eInfoDebug |
|
Definition at line 125 of file VModule.h.
enum RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::Month |
Flag returned by module methods to the RunController.
Enumerator |
---|
eSuccess |
Report success to RunController.
|
eFailure |
Report failure to RunController, causing RunController to terminate execution.
|
eBreakLoop |
Break current loop. It works for nested loops too!
|
eContinueLoop |
Skip remaining modules in the current loop and continue with next iteration of the loop.
|
Definition at line 60 of file VModule.h.
Different types of version info that can be retrieved from GetVersionInfo.
Enumerator |
---|
eFilename |
|
eRevisionNumber |
|
eDate |
|
eTime |
|
eLastEditor |
|
Definition at line 110 of file VModule.h.
RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser |
( |
| ) |
|
double RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::FindPulse |
( |
revt::Station & |
station | ) |
|
|
private |
Finish: invoked at end of the run (NOT end of the event)
This method is for things that should be done at the end of the run (for example, closing files or writing out histograms) {You must override this method in your concrete module}
Implements fwk::VModule.
Definition at line 401 of file RdChannelNoisePowerAnalyser.cc.
References fwk::VModule::eSuccess, fDynamicPowerSpectrum, fHistogramPowerMap, fHistogramPowerMapLinear, fMaximumChannelId, fMaximumStationId, fMinimumChannelId, fMinimumStationId, fNFrequencyBins, fRootOut, and INFO.
std::string fwk::VModule::GetResultFlagByName |
( |
const ResultFlag |
flag | ) |
|
|
staticinherited |
Retrieve different sorts of module version info.
Definition at line 26 of file VModule.cc.
Referenced by fwk::CentralConfig::GetConfig(), ThresholdCalculatorKG::ThresholdCalculator::Init(), fdDoubleBumpFinder::FdDoubleBumpFinder::Init(), LaserGeneratorNA::LaserGenerator::Init(), LaserLightSimulatorNA::LaserLightSimulator::Init(), FdElectronicsSimulatorOG::FdElectronicsSimulator::Init(), TelescopeSimulatorKG::TelescopeSimulator::Init(), TelescopeSimulatorKG2::TelescopeSimulator::Init(), SdSimpleSimKG::SdSimpleSim::Init(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Init(), and testRunController::testModuleVersionInfo().
double RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::GPSSecToLSTHourAuger |
( |
const unsigned long |
gps | ) |
|
|
private |
Initialize: invoked at beginning of run (NOT beginning of event)
This method is for things that should be done once at the beginning of a run (for example, booking histograms, performing calculations that need to be done only once, initializing parameters) {You must override this method in your concrete module}
Implements fwk::VModule.
Definition at line 107 of file RdChannelNoisePowerAnalyser.cc.
References fwk::VModule::eSuccess, fFrequencies, fFrequencyBinWidth, fHistogramPowerMap, fHistogramPowerMapLinear, fInfoLevel, fMaxFrequency, fMaximumChannelId, fMaximumStationId, fMinFrequency, fMinimumChannelId, fMinimumStationId, fNFrequencyBins, fNumberOfBinsPerDay, fOutputFilename, fOutputPath, fRootOut, utl::Branch::GetChild(), utl::Branch::GetData(), fwk::CentralConfig::GetInstance(), fwk::CentralConfig::GetTopBranch(), INFO, and utl::MHz.
void fwk::VModule::InitTiming |
( |
| ) |
|
|
inlineinherited |
static bool RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::IsLeapYear |
( |
const int |
year | ) |
|
|
inlinestaticprivate |
static int RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::NumberOfDaysInMonth |
( |
const int |
year, |
|
|
const int |
month |
|
) |
| |
|
inlinestaticprivate |
Definition at line 84 of file RdChannelNoisePowerAnalyser.h.
References eApr, eAug, eDec, eFeb, eJan, eJul, eJun, eMar, eMay, eNov, eOct, eSep, and IsLeapYear().
Referenced by Run().
RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::REGISTER_MODULE |
( |
"RdChannelNoisePowerAnalyser" |
, |
|
|
RdChannelNoisePowerAnalyser |
|
|
) |
| |
|
private |
Run: invoked once per event.
This method is for things that should be done once per event {You must override this method in your concrete module}
Implements fwk::VModule.
Definition at line 214 of file RdChannelNoisePowerAnalyser.cc.
References utl::abs(), revt::REvent::CandidateStationsBegin(), revt::REvent::CandidateStationsEnd(), fwk::VModule::eContinueLoop, RdChannelNoisePowerAnalyser::eDebug, fwk::VModule::eSuccess, fCurrentMonth, fDynamicPowerSpectrum, fFrequencies, fHistogramPowerMap, fHistogramPowerMapLinear, fMaxFrequency, fMaximumChannelId, fMaximumStationId, fMinFrequency, fMinimumChannelId, fMinimumStationId, fNFrequencyBins, fNumberOfBinsPerDay, fRootOut, utl::TimeStamp::GetGPSSecond(), revt::REvent::GetHeader(), utl::UTCDate::GetMonth(), revt::Header::GetTime(), utl::UTCDateTime::GetTimeStamp(), utl::UTCDate::GetYear(), GPSSecToLSTHourAuger(), evt::Event::HasREvent(), INFO, INFO2, utl::MHz, NumberOfDaysInMonth(), utl::ohm, WARNING, utl::watt, and galactic::year.
int RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fCurrentMonth |
|
private |
std::map<KeyYearMonth, TProfile2D*> RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fDynamicPowerSpectrum |
|
private |
std::vector<double> RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fFrequencies |
|
private |
double RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fFrequencyBinWidth |
|
private |
std::map<Key, THnSparseF*> RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fHistogramPowerMap |
|
private |
std::map<Key, THnSparseF*> RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fHistogramPowerMapLinear |
|
private |
int RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fInfoLevel |
|
private |
const double RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fLocalSiderealDay |
|
private |
double RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fMaxFrequency |
|
private |
const int RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fMaximumChannelId |
|
private |
int RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fMaximumStationId |
|
private |
double RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fMinFrequency |
|
private |
const int RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fMinimumChannelId |
|
private |
int RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fMinimumStationId |
|
private |
int RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fNFrequencyBins |
|
private |
const int RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fNumberOfBinsPerDay |
|
private |
std::ofstream RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fOfs |
|
private |
std::ofstream RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fOfs_freqs |
|
private |
std::string RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fOutputFilename |
|
private |
std::string RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fOutputPath |
|
private |
const utl::UTCDateTime RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fReferenceTime |
|
private |
TFile* RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fRootOut |
|
private |
bool RdChannelNoisePowerAnalyser::RdChannelNoisePowerAnalyser::fUnbinnedASCIIOutput |
|
private |
The documentation for this class was generated from the following files: