List of all members | Public Member Functions | Private Attributes
otoa::Config Class Reference

Converts an Offline event to ADST. More...

#include "RecDataWriterNG/Config.h"

Public Member Functions

double AerosolAttenuationLengthSampling () const
 
 Config ()
 
bool ConnectToDatabases () const
 
bool DropUntriggeredDetector () const
 
bool DropUntriggeredMCProfiles () const
 
bool DropUntriggeredMCTelescopes () const
 
int GetFieldOfViewOption () const
 
double GetRebinSimTelescopeTraces () const
 
double LaserWavelength () const
 
void SetAerosolAttenuationLengthSampling (const double sampling)
 
void SetConnectToDatabases (const bool use)
 
void SetDropUntriggeredDetector (const bool drop)
 
void SetDropUntriggeredMCProfiles (const bool drop)
 
void SetDropUntriggeredMCTelescopes (const bool drop)
 
void SetFieldOfViewOption (const int calc)
 
void SetLaserWavelength (const double wl)
 
void SetRebinSimTelescopeTraces (const double rebin)
 
void SetStoreAllPixels (const bool store)
 
void SetStoreCalibHistos (const bool store)
 
void SetStoreCloudCameraData (const int store)
 
void SetStoreExcludedRdStations (const bool store)
 
void SetStoreFDTraces (const int level)
 
void SetStoreGOESData (const int store)
 
void SetStoreLCEfficiency (const bool store)
 
void SetStoreLidarData (const bool store)
 
void SetStoreMCTraces (const bool store)
 
void SetStoreMDInjectedParticles (const bool flag)
 
void SetStoreMDParticleTypes (const std::set< int > &pTypes)
 
void SetStoreMDTraces (const bool flag)
 
void SetStoreMPDsMinEnergy (const double threshold)
 
void SetStoreRadioLevel (const int level)
 
void SetStoreSDParticles (const bool store)
 
void SetStoreSDParticleTypes (const std::set< int > &pTypes)
 
void SetStoreSDPETimeDistribution (const bool store)
 
void SetStoreSDTraces (const int level)
 
void SetStoreSDTracesMinEnergy (const double threshold)
 Set energy threshold in Offline units. More...
 
void SetUseWeatherStations (const bool use)
 
void SetVAODReferenceHeight (const double refHeight)
 
void SetVerbosity (const int v)
 
void SetWriteFD (const bool write)
 
void SetWriteSD (const bool write)
 
bool StoreAllPixels () const
 
bool StoreCalibHistos () const
 
int StoreCloudCameraData () const
 
bool StoreExcludedRdStations () const
 
int StoreFDTraces () const
 
int StoreGOESData () const
 
bool StoreLCEfficiency () const
 
bool StoreLidarData () const
 
bool StoreMCTraces () const
 
bool StoreMDInjectedParticles () const
 
const std::set< int > & StoreMDParticleTypes () const
 
bool StoreMDTraces () const
 
double StoreMPDsMinEnergy () const
 
int StoreRadioLevel () const
 
bool StoreSDParticles () const
 
const std::set< int > & StoreSDParticleTypes () const
 
bool StoreSDPETimeDistribution () const
 
int StoreSDTraces () const
 
bool StoreSDTracesEnergyDependent () const
 
double StoreSDTracesMinEnergy () const
 
bool UseWeatherStations () const
 
double VAODReferenceHeight () const
 
int Verbosity () const
 
bool WriteFD () const
 
bool WriteSD () const
 

Private Attributes

double fAerosolAttenuationLengthSampling = 200
 
int fCalculateFOVs = 1
 
bool fConnectToDatabases = true
 
bool fDropUntriggeredDetector = true
 
bool fDropUntriggeredMCProfiles = true
 
bool fDropUntriggeredMCTelescopes = true
 
double fLaserWavelength = 355e-9
 
double fRebinSimTelescopeTraces = 0
 
bool fStoreAllPixels = true
 
bool fStoreCalibHistos = false
 
int fStoreCloudCameraData = 0
 
bool fStoreExcludedRdStations = true
 
int fStoreFDTraces = 1
 
int fStoreGOESData = 0
 
bool fStoreLCEfficiency = true
 
bool fStoreLidarData = true
 
bool fStoreMCTraces = true
 
bool fStoreMDInjectedParticles = false
 
std::set< int > fStoreMDParticleTypes
 
bool fStoreMDTraces = false
 
double fStoreMPDsMinEnergy = 0
 
int fStoreRadioLevel = -1
 
bool fStoreSDParticles = true
 
std::set< int > fStoreSDParticleTypes
 
bool fStoreSDPETimeDistribution = true
 
int fStoreSDTraces = 2
 
double fStoreSDTracesMinEnergy = 0
 
bool fUseWeatherStations = true
 
double fVAODReferenceHeight = 0
 
int fVerbosity = 0
 
bool fWriteFD = true
 
bool fWriteSD = true
 

Detailed Description

Converts an Offline event to ADST.

Definition at line 19 of file Config.h.

Constructor & Destructor Documentation

otoa::Config::Config ( )
inline

Definition at line 21 of file Config.h.

Member Function Documentation

double otoa::Config::AerosolAttenuationLengthSampling ( ) const
inline

Definition at line 58 of file Config.h.

References fAerosolAttenuationLengthSampling.

Referenced by otoa::Detector2ADST::FillAerosols().

bool otoa::Config::ConnectToDatabases ( ) const
inline

Definition at line 34 of file Config.h.

References fConnectToDatabases.

bool otoa::Config::DropUntriggeredDetector ( ) const
inline

Definition at line 73 of file Config.h.

References fDropUntriggeredDetector.

Referenced by otoa::Offline2ADST::Convert().

bool otoa::Config::DropUntriggeredMCProfiles ( ) const
inline

Definition at line 67 of file Config.h.

References fDropUntriggeredMCProfiles.

Referenced by otoa::Offline2ADST::Convert(), and otoa::FD2ADST::Convert().

bool otoa::Config::DropUntriggeredMCTelescopes ( ) const
inline

Definition at line 70 of file Config.h.

References fDropUntriggeredMCTelescopes.

int otoa::Config::GetFieldOfViewOption ( ) const
inline

Definition at line 55 of file Config.h.

References fCalculateFOVs.

double otoa::Config::GetRebinSimTelescopeTraces ( ) const
inline

Definition at line 76 of file Config.h.

References fRebinSimTelescopeTraces.

double otoa::Config::LaserWavelength ( ) const
inline

Definition at line 61 of file Config.h.

References fLaserWavelength.

Referenced by otoa::Detector2ADST::FillAerosols().

void otoa::Config::SetAerosolAttenuationLengthSampling ( const double  sampling)
inline

Definition at line 59 of file Config.h.

References fAerosolAttenuationLengthSampling.

void otoa::Config::SetConnectToDatabases ( const bool  use)
inline

Definition at line 35 of file Config.h.

References fConnectToDatabases.

void otoa::Config::SetDropUntriggeredDetector ( const bool  drop)
inline

Definition at line 74 of file Config.h.

References fDropUntriggeredDetector.

void otoa::Config::SetDropUntriggeredMCProfiles ( const bool  drop)
inline

Definition at line 68 of file Config.h.

References fDropUntriggeredMCProfiles.

void otoa::Config::SetDropUntriggeredMCTelescopes ( const bool  drop)
inline

Definition at line 71 of file Config.h.

References fDropUntriggeredMCTelescopes.

void otoa::Config::SetFieldOfViewOption ( const int  calc)
inline

Definition at line 56 of file Config.h.

References fCalculateFOVs.

void otoa::Config::SetLaserWavelength ( const double  wl)
inline

Definition at line 62 of file Config.h.

References fLaserWavelength.

void otoa::Config::SetRebinSimTelescopeTraces ( const double  rebin)
inline

Definition at line 77 of file Config.h.

References fRebinSimTelescopeTraces.

void otoa::Config::SetStoreAllPixels ( const bool  store)
inline

Definition at line 47 of file Config.h.

References fStoreAllPixels.

void otoa::Config::SetStoreCalibHistos ( const bool  store)
inline

Definition at line 86 of file Config.h.

References fStoreCalibHistos.

void otoa::Config::SetStoreCloudCameraData ( const int  store)
inline

Definition at line 41 of file Config.h.

References fStoreCloudCameraData.

void otoa::Config::SetStoreExcludedRdStations ( const bool  store)
inline

Definition at line 105 of file Config.h.

References fStoreExcludedRdStations.

void otoa::Config::SetStoreFDTraces ( const int  level)
inline

Definition at line 50 of file Config.h.

References fStoreFDTraces.

void otoa::Config::SetStoreGOESData ( const int  store)
inline

Definition at line 44 of file Config.h.

References fStoreGOESData.

void otoa::Config::SetStoreLCEfficiency ( const bool  store)
inline

Definition at line 53 of file Config.h.

References fStoreLCEfficiency.

void otoa::Config::SetStoreLidarData ( const bool  store)
inline

Definition at line 38 of file Config.h.

References fStoreLidarData.

void otoa::Config::SetStoreMCTraces ( const bool  store)
inline

Definition at line 80 of file Config.h.

References fStoreMCTraces.

void otoa::Config::SetStoreMDInjectedParticles ( const bool  flag)
inline

Definition at line 112 of file Config.h.

References fStoreMDInjectedParticles.

void otoa::Config::SetStoreMDParticleTypes ( const std::set< int > &  pTypes)
inline

Definition at line 114 of file Config.h.

References fStoreMDParticleTypes.

void otoa::Config::SetStoreMDTraces ( const bool  flag)
inline

Definition at line 109 of file Config.h.

References fStoreMDTraces.

void otoa::Config::SetStoreMPDsMinEnergy ( const double  threshold)
inline

Definition at line 92 of file Config.h.

References fStoreMPDsMinEnergy.

void otoa::Config::SetStoreRadioLevel ( const int  level)
inline

Definition at line 104 of file Config.h.

References fStoreRadioLevel.

void otoa::Config::SetStoreSDParticles ( const bool  store)
inline

Definition at line 99 of file Config.h.

References fStoreSDParticles.

void otoa::Config::SetStoreSDParticleTypes ( const std::set< int > &  pTypes)
inline

Definition at line 101 of file Config.h.

References fStoreSDParticleTypes.

void otoa::Config::SetStoreSDPETimeDistribution ( const bool  store)
inline

Definition at line 96 of file Config.h.

References fStoreSDPETimeDistribution.

void otoa::Config::SetStoreSDTraces ( const int  level)
inline

Definition at line 83 of file Config.h.

References fStoreSDTraces.

void otoa::Config::SetStoreSDTracesMinEnergy ( const double  threshold)
inline

Set energy threshold in Offline units.

Definition at line 91 of file Config.h.

References fStoreSDTracesMinEnergy.

void otoa::Config::SetUseWeatherStations ( const bool  use)
inline

Definition at line 32 of file Config.h.

References fUseWeatherStations.

void otoa::Config::SetVAODReferenceHeight ( const double  refHeight)
inline

Definition at line 65 of file Config.h.

References fVAODReferenceHeight.

void otoa::Config::SetVerbosity ( const int  v)
inline

Definition at line 24 of file Config.h.

References fVerbosity.

Referenced by RecDataWriterNG::RecDataWriter::ReadConfig().

void otoa::Config::SetWriteFD ( const bool  write)
inline

Definition at line 27 of file Config.h.

References fWriteFD.

void otoa::Config::SetWriteSD ( const bool  write)
inline

Definition at line 29 of file Config.h.

References fWriteSD.

bool otoa::Config::StoreAllPixels ( ) const
inline

Definition at line 46 of file Config.h.

References fStoreAllPixels.

bool otoa::Config::StoreCalibHistos ( ) const
inline

Definition at line 85 of file Config.h.

References fStoreCalibHistos.

int otoa::Config::StoreCloudCameraData ( ) const
inline

Definition at line 40 of file Config.h.

References fStoreCloudCameraData.

Referenced by otoa::Detector2ADST::Convert().

bool otoa::Config::StoreExcludedRdStations ( ) const
inline

Definition at line 106 of file Config.h.

References fStoreExcludedRdStations.

Referenced by otoa::Offline2ADST::FillRadio().

int otoa::Config::StoreFDTraces ( ) const
inline

Definition at line 49 of file Config.h.

References fStoreFDTraces.

Referenced by otoa::Offline2ADST::FinishDetectorAndFileInfo().

int otoa::Config::StoreGOESData ( ) const
inline

Definition at line 43 of file Config.h.

References fStoreGOESData.

Referenced by otoa::Detector2ADST::Convert().

bool otoa::Config::StoreLCEfficiency ( ) const
inline

Definition at line 52 of file Config.h.

References fStoreLCEfficiency.

bool otoa::Config::StoreLidarData ( ) const
inline

Definition at line 37 of file Config.h.

References fStoreLidarData.

Referenced by otoa::Detector2ADST::Convert().

bool otoa::Config::StoreMCTraces ( ) const
inline

Definition at line 79 of file Config.h.

References fStoreMCTraces.

Referenced by otoa::FD2ADST::FillRecPixel().

bool otoa::Config::StoreMDInjectedParticles ( ) const
inline

Definition at line 111 of file Config.h.

References fStoreMDInjectedParticles.

Referenced by otoa::MD2ADST::MakeSimCounter().

const std::set<int>& otoa::Config::StoreMDParticleTypes ( ) const
inline

Definition at line 113 of file Config.h.

References fStoreMDParticleTypes.

Referenced by otoa::MD2ADST::MakeSimCounter().

bool otoa::Config::StoreMDTraces ( ) const
inline

Definition at line 108 of file Config.h.

References fStoreMDTraces.

Referenced by otoa::MD2ADST::MakeChannel(), and otoa::MD2ADST::MakeModule().

double otoa::Config::StoreMPDsMinEnergy ( ) const
inline

Definition at line 93 of file Config.h.

References fStoreMPDsMinEnergy.

int otoa::Config::StoreRadioLevel ( ) const
inline
bool otoa::Config::StoreSDParticles ( ) const
inline

Definition at line 98 of file Config.h.

References fStoreSDParticles.

const std::set<int>& otoa::Config::StoreSDParticleTypes ( ) const
inline

Definition at line 100 of file Config.h.

References fStoreSDParticleTypes.

bool otoa::Config::StoreSDPETimeDistribution ( ) const
inline

Definition at line 95 of file Config.h.

References fStoreSDPETimeDistribution.

int otoa::Config::StoreSDTraces ( ) const
inline

Definition at line 82 of file Config.h.

References fStoreSDTraces.

Referenced by otoa::Offline2ADST::FinishDetectorAndFileInfo().

bool otoa::Config::StoreSDTracesEnergyDependent ( ) const
inline

Definition at line 88 of file Config.h.

References fStoreSDTracesMinEnergy.

double otoa::Config::StoreSDTracesMinEnergy ( ) const
inline

Definition at line 89 of file Config.h.

References fStoreSDTracesMinEnergy.

bool otoa::Config::UseWeatherStations ( ) const
inline

Definition at line 31 of file Config.h.

References fUseWeatherStations.

Referenced by otoa::Detector2ADST::FillDetector().

double otoa::Config::VAODReferenceHeight ( ) const
inline

Definition at line 64 of file Config.h.

References fVAODReferenceHeight.

int otoa::Config::Verbosity ( ) const
inline

Definition at line 23 of file Config.h.

References fVerbosity.

Referenced by otoa::Offline2ADST::Verbosity(), and otoa::FD2ADST::Verbosity().

bool otoa::Config::WriteFD ( ) const
inline

Definition at line 26 of file Config.h.

References fWriteFD.

Referenced by otoa::Offline2ADST::Convert(), and otoa::Detector2ADST::FillDetector().

bool otoa::Config::WriteSD ( ) const
inline

Definition at line 28 of file Config.h.

References fWriteSD.

Referenced by otoa::Offline2ADST::Convert(), and otoa::Detector2ADST::FillDetector().

Member Data Documentation

double otoa::Config::fAerosolAttenuationLengthSampling = 200
private
int otoa::Config::fCalculateFOVs = 1
private

Definition at line 130 of file Config.h.

Referenced by GetFieldOfViewOption(), and SetFieldOfViewOption().

bool otoa::Config::fConnectToDatabases = true
private

Definition at line 123 of file Config.h.

Referenced by ConnectToDatabases(), and SetConnectToDatabases().

bool otoa::Config::fDropUntriggeredDetector = true
private

Definition at line 138 of file Config.h.

Referenced by DropUntriggeredDetector(), and SetDropUntriggeredDetector().

bool otoa::Config::fDropUntriggeredMCProfiles = true
private

Definition at line 136 of file Config.h.

Referenced by DropUntriggeredMCProfiles(), and SetDropUntriggeredMCProfiles().

bool otoa::Config::fDropUntriggeredMCTelescopes = true
private

Definition at line 137 of file Config.h.

Referenced by DropUntriggeredMCTelescopes(), and SetDropUntriggeredMCTelescopes().

double otoa::Config::fLaserWavelength = 355e-9
private

Definition at line 132 of file Config.h.

Referenced by LaserWavelength(), and SetLaserWavelength().

double otoa::Config::fRebinSimTelescopeTraces = 0
private

Definition at line 139 of file Config.h.

Referenced by GetRebinSimTelescopeTraces(), and SetRebinSimTelescopeTraces().

bool otoa::Config::fStoreAllPixels = true
private

Definition at line 127 of file Config.h.

Referenced by SetStoreAllPixels(), and StoreAllPixels().

bool otoa::Config::fStoreCalibHistos = false
private

Definition at line 142 of file Config.h.

Referenced by SetStoreCalibHistos(), and StoreCalibHistos().

int otoa::Config::fStoreCloudCameraData = 0
private

Definition at line 125 of file Config.h.

Referenced by SetStoreCloudCameraData(), and StoreCloudCameraData().

bool otoa::Config::fStoreExcludedRdStations = true
private

Definition at line 151 of file Config.h.

Referenced by SetStoreExcludedRdStations(), and StoreExcludedRdStations().

int otoa::Config::fStoreFDTraces = 1
private

Definition at line 128 of file Config.h.

Referenced by SetStoreFDTraces(), and StoreFDTraces().

int otoa::Config::fStoreGOESData = 0
private

Definition at line 126 of file Config.h.

Referenced by SetStoreGOESData(), and StoreGOESData().

bool otoa::Config::fStoreLCEfficiency = true
private

Definition at line 129 of file Config.h.

Referenced by SetStoreLCEfficiency(), and StoreLCEfficiency().

bool otoa::Config::fStoreLidarData = true
private

Definition at line 124 of file Config.h.

Referenced by SetStoreLidarData(), and StoreLidarData().

bool otoa::Config::fStoreMCTraces = true
private

Definition at line 135 of file Config.h.

Referenced by SetStoreMCTraces(), and StoreMCTraces().

bool otoa::Config::fStoreMDInjectedParticles = false
private

Definition at line 153 of file Config.h.

Referenced by SetStoreMDInjectedParticles(), and StoreMDInjectedParticles().

std::set<int> otoa::Config::fStoreMDParticleTypes
private

Definition at line 154 of file Config.h.

Referenced by SetStoreMDParticleTypes(), and StoreMDParticleTypes().

bool otoa::Config::fStoreMDTraces = false
private

Definition at line 152 of file Config.h.

Referenced by SetStoreMDTraces(), and StoreMDTraces().

double otoa::Config::fStoreMPDsMinEnergy = 0
private

Definition at line 145 of file Config.h.

Referenced by SetStoreMPDsMinEnergy(), and StoreMPDsMinEnergy().

int otoa::Config::fStoreRadioLevel = -1
private

Definition at line 150 of file Config.h.

Referenced by SetStoreRadioLevel(), and StoreRadioLevel().

bool otoa::Config::fStoreSDParticles = true
private

Definition at line 147 of file Config.h.

Referenced by SetStoreSDParticles(), and StoreSDParticles().

std::set<int> otoa::Config::fStoreSDParticleTypes
private

Definition at line 148 of file Config.h.

Referenced by SetStoreSDParticleTypes(), and StoreSDParticleTypes().

bool otoa::Config::fStoreSDPETimeDistribution = true
private

Definition at line 146 of file Config.h.

Referenced by SetStoreSDPETimeDistribution(), and StoreSDPETimeDistribution().

int otoa::Config::fStoreSDTraces = 2
private

Definition at line 141 of file Config.h.

Referenced by SetStoreSDTraces(), and StoreSDTraces().

double otoa::Config::fStoreSDTracesMinEnergy = 0
private
bool otoa::Config::fUseWeatherStations = true
private

Definition at line 122 of file Config.h.

Referenced by SetUseWeatherStations(), and UseWeatherStations().

double otoa::Config::fVAODReferenceHeight = 0
private

Definition at line 133 of file Config.h.

Referenced by SetVAODReferenceHeight(), and VAODReferenceHeight().

int otoa::Config::fVerbosity = 0
private

Definition at line 117 of file Config.h.

Referenced by SetVerbosity(), and Verbosity().

bool otoa::Config::fWriteFD = true
private

Definition at line 119 of file Config.h.

Referenced by SetWriteFD(), and WriteFD().

bool otoa::Config::fWriteSD = true
private

Definition at line 120 of file Config.h.

Referenced by SetWriteSD(), and WriteSD().


The documentation for this class was generated from the following file:

, generated on Tue Sep 26 2023.