List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
evt::ShowerSimData Class Reference

Interface class to access Shower Simulated parameters. More...

#include <ShowerSimData.h>

Public Types

typedef
utl::MultiTabulatedFunction::ConstIterator 
ConstPhotonIterator
 
typedef
utl::MultiTabulatedFunction::Iterator 
PhotonIterator
 An iterator over the photon traces of the different wavelengths. More...
 
enum  ProfileType {
  eCharged = 0, eEnergyDeposit, ePhoton, eMuon,
  eElectron, eHadron, eMuonProduction, eCherenkov
}
 

Public Member Functions

void AddCherenkovBeamPhotons (const utl::TabulatedFunction &cp, const int wavelength)
 
void AddCherenkovBeamProductionPhotons (const utl::TabulatedFunction &fp, const int wavelength)
 
void AddCherenkovPhotons (const utl::TabulatedFunction &cp, const int wavelength)
 
void AddFluorescencePhotons (const utl::TabulatedFunction &fp, const int wavelength)
 
void AddSimCore (const utl::Point &pos)
 
void CheckGeometry () const
 
PhotonIterator FirstCherenkovBeamProductionWavelength ()
 
ConstPhotonIterator FirstCherenkovBeamProductionWavelength () const
 
PhotonIterator FirstCherenkovBeamWavelength ()
 
ConstPhotonIterator FirstCherenkovBeamWavelength () const
 
PhotonIterator FirstCherenkovWavelength ()
 
ConstPhotonIterator FirstCherenkovWavelength () const
 
PhotonIterator FirstFluorescenceWavelength ()
 
ConstPhotonIterator FirstFluorescenceWavelength () const
 
const evt::AtmosphereParametersGetAtmosphereParameters () const
 Get the Atmosphere profile used to simulate the shower. More...
 
double GetCalorimetricEnergy () const
 Get the calorimetric energy of the shower. More...
 
const utl::TabulatedFunctionGetCherenkovBeamPhotons (const int wavelength) const
 Get the beam of Cherenkov beam photons along the shower axis. More...
 
utl::TabulatedFunctionGetCherenkovBeamPhotons (const int wavelength)
 
const utl::TabulatedFunctionGetCherenkovBeamProductionPhotons (const int wavelength) const
 Get the cherenkov beam production along the shower axis. More...
 
utl::TabulatedFunctionGetCherenkovBeamProductionPhotons (const int wavelength)
 
const utl::TabulatedFunctionGetCherenkovPhotons (const int wavelength) const
 Get the Cherenkov photon production along the shower axis. More...
 
utl::TabulatedFunctionGetCherenkovPhotons (const int wavelength)
 
const utl::TabulatedFunctionGetdEdX () const
 Get the energy deposit of the shower. More...
 
const utl::VectorGetDirection () const
 Get the direction of the shower axis. This is the true direction of shower movement. More...
 
double GetDistanceOfShowerMaximum () const
 Get the geometrical distance of the shower maximum from the core. More...
 
double GetElectromagneticEnergy () const
 Get the electromagnetic energy of the shower. More...
 
double GetEnergy () const
 Get the energy of the shower primary particle. More...
 
double GetEnergyCutoff (const ProfileType type=eElectron) const
 Get the energy cutoff for which the profile of charged particles was calculated. More...
 
const utl::TabulatedFunctionGetFluorescencePhotons (const int wavelength) const
 Get the fluorescence photons generated along the shower axis. More...
 
utl::TabulatedFunctionGetFluorescencePhotons (const int wavelength)
 
const
evt::VGaisserHillasParameter
GetGHParameters () const
 Get the Gaisser-Hillas parameters of the shower. More...
 
utl::ShowerParticleListGetGroundCherenkov (const utl::AttributeMap &am)
 
const utl::ShowerParticleListGetGroundCherenkov (const utl::AttributeMap &am) const
 
std::map< utl::AttributeMap,
utl::ShadowPtr
< utl::ShowerParticleList >
>::const_iterator 
GetGroundCherenkovDataBegin () const
 Get cherenkov ground photons list Proxy. More...
 
std::map< utl::AttributeMap,
utl::ShadowPtr
< utl::ShowerParticleList >
>::const_iterator 
GetGroundCherenkovDataEnd () const
 
utl::CoordinateSystemPtr GetGroundParticleCoordinateSystem () const
 
double GetGroundParticleCoordinateSystemAzimuth () const
 Get the azimuth angle of the shower. Angle in x-y plane wrt. to the x axis (0 is from east). More...
 
double GetGroundParticleCoordinateSystemZenith () const
 Get the zenith angle of the shower. Room angle between z-axis and direction from where the shower is coming from (0 is vertical). More...
 
utl::ShowerParticleListGetGroundParticles ()
 Get particle list Proxy. More...
 
const utl::ShowerParticleListGetGroundParticles () const
 
LaserDataGetLaserData ()
 Get the laser data. More...
 
const LaserDataGetLaserData () const
 
utl::CoordinateSystemPtr GetLocalCoordinateSystem () const
 Get the Auger coordinate system associated to the shower core position. More...
 
const utl::TabulatedFunctionGetLongitudinalProfile (const ProfileType type=eCharged) const
 Get the longitudinal charge profile of the shower. More...
 
utl::TabulatedFunctionGetLongitudinalProfile (const ProfileType type=eCharged)
 
double GetMagneticFieldAzimuth () const
 Get the azimuth angle of the Earth's magnetic field used in CORSIKA/REAS simulation. More...
 
double GetMagneticFieldDeclination () const
 Get the declination of the Earth's magnetic field used in CORSIKA/REAS simulation. More...
 
double GetMagneticFieldInclination () const
 Get the inclination of the Earth's magnetic field used in CORSIKA/REAS simulation. More...
 
double GetMagneticFieldStrength () const
 Get the absolute strength of the Earth's magnetic field used in CORSIKA/REAS simulation. More...
 
double GetMagneticFieldZenith () const
 Get the zenith angle (Auger convention, limited btw. 0 and 90 deg) of the Earth's magnetic field used in CORSIKA/REAS simulation. More...
 
double GetMaxCherenkovWavelength () const
 Get the maximal Cherenkov wavelength for photons in longitudinal profile. More...
 
double GetMaxRadiusCut () const
 Get the maximum radius cut used during shower generation. More...
 
double GetMinCherenkovWavelength () const
 Get the minimal Cherenkov wavelength for photons in longitudinal profile. More...
 
double GetMinRadiusCut () const
 Get the minimum radius from shower axis for which there are valid particles in the shower. More...
 
double GetMuonNumber () const
 Get the number of muons which reach ground level. More...
 
double GetMuonWeightScale () const
 Get the muon weight scale. More...
 
double GetNmu () const
 
int GetNSimCores () const
 
const evt::GenParticleGetParticleTree () const
 Get the tree of particles in the first few generations as simulated by the MC. More...
 
const utl::PointGetPosition () const
 Get the position of the shower core. More...
 
int GetPrimaryParticle () const
 Get the type of the shower primary particle. More...
 
RadioSimulationGetRadioSimulation ()
 Get the radio simulation data. More...
 
const RadioSimulationGetRadioSimulation () const
 
utl::CoordinateSystemPtr GetShowerCoordinateSystem () const
 
int GetShowerNumber () const
 Get the number of the shower in the file. More...
 
std::string GetShowerRunId () const
 Get the run id for the shower. More...
 
const utl::PointGetSimCore (const int i) const
 
const utl::TimeStampGetTimeStamp () const
 Get the TimeStamp of the absolute shower core-time. More...
 
double GetXFirst () const
 Get depth of first interaction. More...
 
double GetXInject () const
 Get depth particle injection. More...
 
double GetXmaxMu () const
 
utl::ShowerParticleIterator GroundCherenkovBegin (const utl::AttributeMap &am) const
 
utl::ShowerParticleIterator GroundCherenkovEnd (const utl::AttributeMap &am) const
 
utl::ShowerParticleIterator GroundParticlesBegin () const
 
utl::ShowerParticleIterator GroundParticlesEnd () const
 
bool HasAtmosphereParameters () const
 Check if the Atmosphere profile used to simulate the shower is known. More...
 
bool HasCherenkovBeamPhotons (const int wavelength) const
 
bool HasCherenkovBeamProductionPhotons (const int wavelength) const
 
bool HasCherenkovPhotons (const int wavelength) const
 
bool HasdEdX () const
 Check initialization of the energy deposit. More...
 
bool HasDirection () const
 Check initialization of shower geometry. More...
 
bool HasFluorescencePhotons (const int wavelength) const
 
bool HasGeometry () const
 check initialization of shower geometry More...
 
bool HasGHParameters () const
 Check initialization of the Gaisser-Hillas parameters. More...
 
bool HasGroundCherenkov (const utl::AttributeMap &am) const
 
bool HasGroundParticles () const
 
bool HasLaserData () const
 Check initialization of the LaserData. More...
 
bool HasLongitudinalProfile (const ProfileType type=eCharged) const
 Check initialization of the longitudinal profile. More...
 
bool HasParticleTree () const
 Check if the MC data have been filled in. More...
 
bool HasPosition () const
 Check initialization of shower geometry. More...
 
bool HasRadioSimulation () const
 Check initialization of the RadioSimulation. More...
 
bool HasTimeStamp () const
 Check initialization of the TimeStamp. More...
 
PhotonIterator LastCherenkovBeamProductionWavelength ()
 
ConstPhotonIterator LastCherenkovBeamProductionWavelength () const
 
PhotonIterator LastCherenkovBeamWavelength ()
 
ConstPhotonIterator LastCherenkovBeamWavelength () const
 
PhotonIterator LastCherenkovWavelength ()
 
ConstPhotonIterator LastCherenkovWavelength () const
 
PhotonIterator LastFluorescenceWavelength ()
 
ConstPhotonIterator LastFluorescenceWavelength () const
 
void MakeAtmosphereParameters (const evt::AtmosphereParameters &par)
 Provide the parameters of the atmospheric profile used to simulate the shower. More...
 
void MakedEdX (const utl::TabulatedFunction &dEdX)
 Make the energy deposit of the shower. More...
 
void MakeGeometry (const utl::Point &pointOnShowerAxis)
 initialize the shower geometry. Pos is a point on the shower axis, but not necessarily the core More...
 
void MakeGHParameters (const evt::VGaisserHillasParameter &ghPar)
 Make the Gaisser-Hillas parameters of the shower. More...
 
void MakeGroundCherenkov (const utl::AttributeMap &am)
 
void MakeGroundParticles ()
 
void MakeLaserData ()
 Make the LaserData. More...
 
void MakeLongitudinalProfile (const utl::TabulatedFunction &lp, const ProfileType type=eCharged)
 Make the longitudinal charge profile of the shower. More...
 
void MakeLongitudinalProfile (const ProfileType type=eCharged)
 
void MakeRadioSimulation ()
 Make the RadioSimulation. More...
 
void MakeTimeStamp (const utl::TimeStamp &ts)
 Make the TimeStamp of the shower. More...
 
void SetCalorimetricEnergy (const double energy)
 Set the calorimetric energy of the shower. More...
 
void SetDistanceOfShowerMaximum (const double parDistance)
 Set the geometrical distance of the shower maximum from the core. More...
 
void SetElectromagneticEnergy (const double energy)
 Set the electromagnetic energy of the shower. More...
 
void SetEnergy (const double theEnergy)
 Set the energy of the shower primary particle. More...
 
void SetEnergyCutoff (const double energy, const ProfileType type=eElectron)
 Set the enegy cutoff for which the profile of charged particles was calculated. More...
 
void SetGroundParticleCoordinateSystemAzimuth (const double azimuth)
 Set the azimuth angle of the shower. Angle in x-y plane wrt. to the x axis (0 is from east). More...
 
void SetGroundParticleCoordinateSystemZenith (const double zenith)
 Set the zenith angle of the shower. Room angle between z-axis and direction from where the shower is coming from (0 is vertical). More...
 
void SetMagneticFieldAzimuth (const double magneticFieldAzimuth)
 Set the azimuth angle of the Earth's magnetic field used in CORSIKA/REAS simulation. More...
 
void SetMagneticFieldDeclination (const double magneticFieldDeclination)
 Set the declination of the Earth's magnetic field used in CORSIKA/REAS simulation. More...
 
void SetMagneticFieldInclination (const double magneticFieldInclination)
 Set the inclination of the Earth's magnetic field used in CORSIKA/REAS simulation. More...
 
void SetMagneticFieldStrength (const double magneticFieldStrength)
 Set the absolute strength of the Earth's magnetic field used in CORSIKA/REAS simulation. More...
 
void SetMaxCherenkovWavelength (const double wl)
 Set the maximum Cherenkov wavelength for photons in longitudinal profile. More...
 
void SetMaxRadiusCut (const double maxR)
 
void SetMinCherenkovWavelength (const double wl)
 Set the maximum Cherenkov wavelength for photons in longitudinal profile. More...
 
void SetMinRadiusCut (const double minR)
 Set the minimum radius cut. More...
 
void SetMuonNumber (const double nmuon)
 Set the number of muons which reach ground level. More...
 
void SetMuonWeightScale (const double scale)
 Set the muon weight scale. More...
 
void SetNmu (const double Nmu)
 
void SetParticleTree (const evt::GenParticle &partTree)
 Set the tree of particles in the first few generations. More...
 
void SetPrimaryParticle (const int type)
 Set the type of the shower primary particle. More...
 
void SetShowerNumber (const int sid)
 
void SetShowerRunId (const std::string srid)
 
void SetXFirst (const double xFirst)
 Set depth of first interaction. More...
 
void SetXInject (const double xInject)
 Set depth of particle injection. More...
 
void SetXmaxMu (const double XmaxMu)
 

Private Member Functions

 ShowerSimData (const evt::VShowerGeometryProducer &p)
 
 ~ShowerSimData ()=default
 

Private Attributes

utl::ShadowPtr
< evt::AtmosphereParameters
fAtmosphereParameters
 
utl::ShadowPtr< utl::VectorfCachedDirection
 
utl::ShadowPtr< utl::PointfCachedPosition
 
double fCalorimetricEnergy = 0
 
utl::MultiTabulatedFunction fCherenkovBeamPhotons
 
utl::MultiTabulatedFunction fCherenkovBeamProductionPhotons
 
utl::MultiTabulatedFunction fCherenkovPhotons
 
double fDistanceOfShowerMaximum = std::numeric_limits<double>::quiet_NaN()
 
double fElectromagneticEnergy = 0
 
double fEnergy = 0
 
double fEnergyCutoff = 0
 
double fEnergyCutoffMuon = 0
 
utl::MultiTabulatedFunction fFluorescencePhotons
 
utl::ShadowPtr
< evt::VGaisserHillasParameter
fGHParameters
 
std::map< utl::AttributeMap,
utl::ShadowPtr
< utl::ShowerParticleList > > 
fGroundCherenkov
 
double fGroundParticleCoordinateSystemAzimuth = 0
 
double fGroundParticleCoordinateSystemZenith = 0
 
utl::ShadowPtr
< utl::ShowerParticleList
fGroundParticles
 
utl::LameShadowPtr< LaserDatafLaserData
 
utl::CoordinateSystemPtr fLocalCS
 
utl::MultiTabulatedFunction fLongitudinalProfile
 
double fMagneticFieldDeclination = 0
 
double fMagneticFieldInclination = 0
 
double fMagneticFieldStrength = 0
 
double fMaxCherenkovWavelength = 0
 
double fMaxRadiusCut = 0
 
double fMinCherenkovWavelength = 0
 
double fMinRadiusCut = 0
 
double fMuonNumber = 0
 
double fMuonWeightScale = 0
 
double fNmu = 0
 
utl::CoordinateSystemPtr fParticleCS
 
evt::GenParticle fParticleTree
 
utl::ParticlePropertiesPtr fPrimaryProperties
 
utl::LameShadowPtr
< RadioSimulation
fRadioSimulation
 
utl::CoordinateSystemPtr fShowerCS
 
utl::ShadowPtr
< evt::VShowerGeometryProducer
fShowerGeometryProducer
 
int fShowerNumber = 0
 
std::string fShowerRunId
 
std::vector< utl::PointfSimCores
 
utl::ShadowPtr< utl::TimeStampfTimeStamp
 
double fXFirst = 0
 
double fXInject = 0
 
double fXmaxMu = 0
 

Friends

class evt::Event
 
class io::ShowerSimData_ROOT
 
class utl::LameShadowPtr< ShowerSimData >
 

Detailed Description

Interface class to access Shower Simulated parameters.

Author
Stefano Argiro'
Luis Prado Jr
Date
30 january 2003

Definition at line 49 of file ShowerSimData.h.

Member Typedef Documentation

Definition at line 332 of file ShowerSimData.h.

An iterator over the photon traces of the different wavelengths.

Definition at line 331 of file ShowerSimData.h.

Member Enumeration Documentation

Enumerator
eCharged 

charged particles profile

eEnergyDeposit 

dEdX profile

ePhoton 

gammas from shower

eMuon 

mu+/mu- profile

eElectron 

electron/positron profile

eHadron 

hadron profile

eMuonProduction 

muon production profile

eCherenkov 

Cherenkov photon production (differential)

Definition at line 52 of file ShowerSimData.h.

Constructor & Destructor Documentation

evt::ShowerSimData::ShowerSimData ( const evt::VShowerGeometryProducer p)
inlineprivate

Definition at line 466 of file ShowerSimData.h.

evt::ShowerSimData::~ShowerSimData ( )
privatedefault

Member Function Documentation

void evt::ShowerSimData::AddCherenkovBeamPhotons ( const utl::TabulatedFunction cp,
const int  wavelength 
)
inline
void evt::ShowerSimData::AddCherenkovBeamProductionPhotons ( const utl::TabulatedFunction fp,
const int  wavelength 
)
inline
void evt::ShowerSimData::AddCherenkovPhotons ( const utl::TabulatedFunction cp,
const int  wavelength 
)
inline
void evt::ShowerSimData::AddFluorescencePhotons ( const utl::TabulatedFunction fp,
const int  wavelength 
)
inline
void evt::ShowerSimData::AddSimCore ( const utl::Point pos)

Definition at line 226 of file ShowerSimData.cc.

void evt::ShowerSimData::CheckGeometry ( ) const
PhotonIterator evt::ShowerSimData::FirstCherenkovBeamProductionWavelength ( )
inline
ConstPhotonIterator evt::ShowerSimData::FirstCherenkovBeamProductionWavelength ( ) const
inline
PhotonIterator evt::ShowerSimData::FirstCherenkovBeamWavelength ( )
inline
ConstPhotonIterator evt::ShowerSimData::FirstCherenkovBeamWavelength ( ) const
inline
PhotonIterator evt::ShowerSimData::FirstCherenkovWavelength ( )
inline
ConstPhotonIterator evt::ShowerSimData::FirstCherenkovWavelength ( ) const
inline
PhotonIterator evt::ShowerSimData::FirstFluorescenceWavelength ( )
inline
ConstPhotonIterator evt::ShowerSimData::FirstFluorescenceWavelength ( ) const
inline
const evt::AtmosphereParameters& evt::ShowerSimData::GetAtmosphereParameters ( ) const
inline
double evt::ShowerSimData::GetCalorimetricEnergy ( ) const
inline

Get the calorimetric energy of the shower.

Definition at line 104 of file ShowerSimData.h.

References fCalorimetricEnergy.

const utl::TabulatedFunction& evt::ShowerSimData::GetCherenkovBeamPhotons ( const int  wavelength) const
inline
utl::TabulatedFunction& evt::ShowerSimData::GetCherenkovBeamPhotons ( const int  wavelength)
inline
const utl::TabulatedFunction& evt::ShowerSimData::GetCherenkovBeamProductionPhotons ( const int  wavelength) const
inline
utl::TabulatedFunction& evt::ShowerSimData::GetCherenkovBeamProductionPhotons ( const int  wavelength)
inline
const utl::TabulatedFunction& evt::ShowerSimData::GetCherenkovPhotons ( const int  wavelength) const
inline
utl::TabulatedFunction& evt::ShowerSimData::GetCherenkovPhotons ( const int  wavelength)
inline
const utl::TabulatedFunction& evt::ShowerSimData::GetdEdX ( ) const
inline
const utl::Vector & evt::ShowerSimData::GetDirection ( ) const

Get the direction of the shower axis. This is the true direction of shower movement.

Definition at line 63 of file ShowerSimData.cc.

References GetShowerCoordinateSystem().

Referenced by FdSimEventCheckerOG::FdSimEventChecker::CalculateMinViewingAngle(), FdSimEventCheckerOG::FdSimEventChecker::CalculateXmaxViewingAngle(), testShowerImpl::CheckShowerSimDataValues(), ShowerLightSimulatorKG::ShowerLightSimulator::CherenkovLight(), SdRecPlotterOG::SdRecPlotter::DrawEvent(), otoa::FD2ADST::FillEyeSim(), LDFFinderOG::LDFFinder::FixCore(), EventGeneratorOG::EventGenerator::FlagHoleStations(), ShowerLightSimulatorKG::ShowerLightSimulator::FluorescenceLight(), SdHorizontalReconstructionNS::SdHorizontalReconstruction::GetExternalGeometry(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::InitNewShower(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::PlotLDF(), RdLDFFitter::RdLDFFitter::PlotScan(), FdLightCollectionEfficiencyKG::SimMockEvent::PrepareEvent(), RdHASLDFFitter::RdHASLDFFitter::Run(), MuonProfileBuilder::MuonProfileBuilder::Run(), RdStationSimPulseFinder::RdStationSimPulseFinder::Run(), RdStationSimulationRejector::RdStationSimulationRejector::Run(), RdAntennaStationToChannelConverter::RdAntennaStationToChannelConverter::Run(), ProfileSimulatorOG::ProfileSimulator::Run(), ConexShowerGeneratorKG::ConexShowerGenerator::Run(), LaserLightSimulatorNA::LaserLightSimulator::Run(), MdShowerRegeneratorAG::MdShowerRegenerator::Run(), ShowerLightSimulatorKG::ShowerLightSimulator::Run(), FdEventLoggerGS::FdEventLogger::Run(), TimeModelTestKG::TimeModelTest::Run(), RdHyperbolicWavefrontFit::RdHyperbolicWavefrontFit::Run(), SdSimpleSimKG::SdSimpleSim::Run(), RdStationSignalInterpolator::RdStationSignalInterpolator::Run(), RdStationInterpolatorStarShape::RdStationInterpolatorStarShape::Run(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::Run(), SdSimMuonNumberFitterNS::SdSimMuonNumberFitter::Run(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run(), UniversalityFitter::UniversalityFitter::Run(), UseMcGeometryOG::UseMcGeometry::SetSDP(), UseMcGeometryOG::UseMcGeometry::SetTimeFit(), RdPolarGrid::RdPolarGrid::skyVector(), testCorsikaShowerFile::testCherenkovShower(), testEVAFile::testRead(), testZHAireSFile::testRead(), testCONEXFile::testRead(), testArtificialShowerFile::testRead(), testREASFile::testRead(), testSenecaShowerFile::testRead(), and testCorsikaShowerFile::testRead().

double evt::ShowerSimData::GetDistanceOfShowerMaximum ( ) const
inline

Get the geometrical distance of the shower maximum from the core.

Definition at line 450 of file ShowerSimData.h.

References fDistanceOfShowerMaximum.

Referenced by RdHASLDFFitter::RdHASLDFFitter::Run(), RdAntennaStationToChannelConverter::RdAntennaStationToChannelConverter::Run(), and testREASFile::testRead().

double evt::ShowerSimData::GetElectromagneticEnergy ( ) const
inline

Get the electromagnetic energy of the shower.

Definition at line 110 of file ShowerSimData.h.

References fElectromagneticEnergy.

Referenced by RdHASLDFFitter::RdHASLDFFitter::Run().

double evt::ShowerSimData::GetEnergy ( ) const
inline
double evt::ShowerSimData::GetEnergyCutoff ( const ProfileType  type = eElectron) const

Get the energy cutoff for which the profile of charged particles was calculated.

Definition at line 174 of file ShowerSimData.cc.

References cevt::StationConstants::eElectron, and cevt::StationConstants::eMuon.

Referenced by ShowerLightSimulatorKG::ShowerLightSimulator::CherenkovLight(), and FdLightCollectionEfficiencyKG::SimMockEvent::SetLongitudinalProfilesFromGH().

const utl::TabulatedFunction& evt::ShowerSimData::GetFluorescencePhotons ( const int  wavelength) const
inline
utl::TabulatedFunction& evt::ShowerSimData::GetFluorescencePhotons ( const int  wavelength)
inline
const evt::VGaisserHillasParameter& evt::ShowerSimData::GetGHParameters ( ) const
inline
utl::ShowerParticleList& evt::ShowerSimData::GetGroundCherenkov ( const utl::AttributeMap am)
inline

Definition at line 421 of file ShowerSimData.h.

References fGroundCherenkov.

Referenced by io::CorsikaShowerFile::Read().

const utl::ShowerParticleList& evt::ShowerSimData::GetGroundCherenkov ( const utl::AttributeMap am) const
inline

Definition at line 422 of file ShowerSimData.h.

References fGroundCherenkov.

std::map<utl::AttributeMap, utl::ShadowPtr<utl::ShowerParticleList> >::const_iterator evt::ShowerSimData::GetGroundCherenkovDataBegin ( ) const
inline

Get cherenkov ground photons list Proxy.

Definition at line 419 of file ShowerSimData.h.

References fGroundCherenkov.

std::map<utl::AttributeMap, utl::ShadowPtr<utl::ShowerParticleList> >::const_iterator evt::ShowerSimData::GetGroundCherenkovDataEnd ( ) const
inline

Definition at line 420 of file ShowerSimData.h.

References fGroundCherenkov.

utl::CoordinateSystemPtr evt::ShowerSimData::GetGroundParticleCoordinateSystem ( ) const
inline

This is the coordinate system in which the air shower simulation program, e.g. CORSIKA, saves its ground particles. This is mainly used during the reading of particles from disk.

It is important to realize that zenith, azimuth and direction are defined first-of-all in this reference frame, since it is the external air shower simulation program that typically defines the geometry and direction.

Note
This depends on having called MakeGeometry first. Check with HasGeometry to make sure

Definition at line 242 of file ShowerSimData.h.

References CheckGeometry(), and fParticleCS.

Referenced by GroundCherenkovBegin(), GroundCherenkovEnd(), GroundParticlesBegin(), GroundParticlesEnd(), atm::SimShowerProfileModel::LazyInit(), and io::ShowerSimData_ROOT::ShowerSimData_ROOT().

double evt::ShowerSimData::GetGroundParticleCoordinateSystemAzimuth ( ) const
inline

Get the azimuth angle of the shower. Angle in x-y plane wrt. to the x axis (0 is from east).

Definition at line 134 of file ShowerSimData.h.

References fGroundParticleCoordinateSystemAzimuth.

Referenced by EventGeneratorOG::EventGenerator::GenerateSphereCentricCore(), and io::ZHAireSFile::Read().

double evt::ShowerSimData::GetGroundParticleCoordinateSystemZenith ( ) const
inline

Get the zenith angle of the shower. Room angle between z-axis and direction from where the shower is coming from (0 is vertical).

Definition at line 140 of file ShowerSimData.h.

References fGroundParticleCoordinateSystemZenith.

Referenced by EventGeneratorOG::EventGenerator::GenerateSphereCentricCore(), and io::ZHAireSFile::Read().

utl::ShowerParticleList& evt::ShowerSimData::GetGroundParticles ( )
inline
const utl::ShowerParticleList& evt::ShowerSimData::GetGroundParticles ( ) const
inline

Definition at line 408 of file ShowerSimData.h.

References fGroundParticles.

LaserData& evt::ShowerSimData::GetLaserData ( )
inline
const LaserData& evt::ShowerSimData::GetLaserData ( ) const
inline

Definition at line 432 of file ShowerSimData.h.

References fLaserData.

utl::CoordinateSystemPtr evt::ShowerSimData::GetLocalCoordinateSystem ( ) const
inline

Get the Auger coordinate system associated to the shower core position.

Definition at line 209 of file ShowerSimData.h.

References CheckGeometry(), and fLocalCS.

Referenced by testShowerImpl::CheckShowerSimDataValues(), ShowerLightSimulatorKG::ShowerLightSimulator::CherenkovLight(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::EvaluateDirectCherenkovHits(), EventGeneratorOG::EventGenerator::FlagHoleStations(), ShowerLightSimulatorKG::ShowerLightSimulator::FluorescenceLight(), ShowerInventorNS::ShowerInventor::GetOneParticle(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::InitNewShower(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::PlotLDF(), RdLDFFitter::RdLDFFitter::PlotScan(), MuonProfileBuilder::MuonProfileBuilder::Run(), RdStationSimulationRejector::RdStationSimulationRejector::Run(), RdAntennaStationToChannelConverter::RdAntennaStationToChannelConverter::Run(), ProfileSimulatorOG::ProfileSimulator::Run(), ConexShowerGeneratorKG::ConexShowerGenerator::Run(), ShowerInventorAnalyzerNS::ShowerInventorAnalyzer::Run(), LaserLightSimulatorNA::LaserLightSimulator::Run(), MdShowerRegeneratorAG::MdShowerRegenerator::Run(), ShowerLightSimulatorKG::ShowerLightSimulator::Run(), FdEventLoggerGS::FdEventLogger::Run(), ShowerInventorNS::ShowerInventor::Run(), SdSimpleSimKG::SdSimpleSim::Run(), RdStationSignalInterpolator::RdStationSignalInterpolator::Run(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::Run(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::Run(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::Run(), SdSimMuonNumberFitterNS::SdSimMuonNumberFitter::Run(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run(), UniversalityFitter::UniversalityFitter::Run(), testShowerImpl::SetShowerSimDataValues(), UseMcGeometryOG::UseMcGeometry::SetTimeFit(), io::ShowerSimData_ROOT::ShowerSimData_ROOT(), testCorsikaShowerFile::testCherenkovShower(), testEVAFile::testRead(), testZHAireSFile::testRead(), testCONEXFile::testRead(), testArtificialShowerFile::testRead(), testREASFile::testRead(), testCorsikaShowerFile::testRead(), and testSenecaShowerFile::testRead().

const utl::TabulatedFunction& evt::ShowerSimData::GetLongitudinalProfile ( const ProfileType  type = eCharged) const
inline
utl::TabulatedFunction& evt::ShowerSimData::GetLongitudinalProfile ( const ProfileType  type = eCharged)
inline
double evt::ShowerSimData::GetMagneticFieldAzimuth ( ) const
inline

Get the azimuth angle of the Earth's magnetic field used in CORSIKA/REAS simulation.

Definition at line 175 of file ShowerSimData.h.

References utl::degree, and fMagneticFieldDeclination.

Referenced by RdEventInitializer::RdEventInitializer::Run().

double evt::ShowerSimData::GetMagneticFieldDeclination ( ) const
inline

Get the declination of the Earth's magnetic field used in CORSIKA/REAS simulation.

Definition at line 185 of file ShowerSimData.h.

References fMagneticFieldDeclination.

Referenced by io::ZHAireSFile::Read().

double evt::ShowerSimData::GetMagneticFieldInclination ( ) const
inline

Get the inclination of the Earth's magnetic field used in CORSIKA/REAS simulation.

Definition at line 180 of file ShowerSimData.h.

References fMagneticFieldInclination.

Referenced by io::ZHAireSFile::Read().

double evt::ShowerSimData::GetMagneticFieldStrength ( ) const
inline

Get the absolute strength of the Earth's magnetic field used in CORSIKA/REAS simulation.

Definition at line 190 of file ShowerSimData.h.

References fMagneticFieldStrength.

Referenced by io::ZHAireSFile::Read(), and RdEventInitializer::RdEventInitializer::Run().

double evt::ShowerSimData::GetMagneticFieldZenith ( ) const
inline

Get the zenith angle (Auger convention, limited btw. 0 and 90 deg) of the Earth's magnetic field used in CORSIKA/REAS simulation.

There is not setter function for the magnetic field zenith angle because with the auger zenith definition the direction information (incoming/outgoing) is lost. Please use the magnetic field inclination that also allows negative values instead.

Definition at line 172 of file ShowerSimData.h.

References utl::deg, and fMagneticFieldInclination.

Referenced by RdEventInitializer::RdEventInitializer::Run().

double evt::ShowerSimData::GetMaxCherenkovWavelength ( ) const
inline

Get the maximal Cherenkov wavelength for photons in longitudinal profile.

Definition at line 126 of file ShowerSimData.h.

References fMaxCherenkovWavelength.

Referenced by ShowerLightSimulatorKG::ShowerLightSimulator::CherenkovLight().

double evt::ShowerSimData::GetMaxRadiusCut ( ) const
inline

Get the maximum radius cut used during shower generation.

This is the cut on maximum radius in the shower transverse plane. For Aires it corresonds to the second entry in the RLimsFile parameter. For Corsika showers, this value does not apply.

Definition at line 163 of file ShowerSimData.h.

References fMaxRadiusCut.

Referenced by testShowerImpl::CheckShowerSimDataValues().

double evt::ShowerSimData::GetMinCherenkovWavelength ( ) const
inline

Get the minimal Cherenkov wavelength for photons in longitudinal profile.

Definition at line 121 of file ShowerSimData.h.

References fMinCherenkovWavelength.

Referenced by ShowerLightSimulatorKG::ShowerLightSimulator::CherenkovLight().

double evt::ShowerSimData::GetMinRadiusCut ( ) const
inline

Get the minimum radius from shower axis for which there are valid particles in the shower.

This is the cut on minimum radius in the shower transverse plane. For Aires it corresponds to the first entry in the RLimsFile parameter. For Corsika it corresponds to the max radius cut for radial thinning (word 152 in the event header sub-block).

Definition at line 154 of file ShowerSimData.h.

References fMinRadiusCut.

Referenced by testShowerImpl::CheckShowerSimDataValues(), EventGeneratorOG::EventGenerator::FlagHoleStations(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::InitNewShower(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::InitNewShower(), MdShowerRegeneratorAG::MdShowerRegenerator::Run(), and testCorsikaShowerFile::testRead().

double evt::ShowerSimData::GetMuonNumber ( ) const
inline

Get the number of muons which reach ground level.

Definition at line 94 of file ShowerSimData.h.

References fMuonNumber.

double evt::ShowerSimData::GetMuonWeightScale ( ) const
inline

Get the muon weight scale.

Definition at line 99 of file ShowerSimData.h.

References fMuonWeightScale.

double evt::ShowerSimData::GetNmu ( ) const
inline

Definition at line 392 of file ShowerSimData.h.

References fNmu.

int evt::ShowerSimData::GetNSimCores ( ) const
inline

Definition at line 195 of file ShowerSimData.h.

References fSimCores.

Referenced by EventGeneratorOG::EventGenerator::Run().

const evt::GenParticle& evt::ShowerSimData::GetParticleTree ( ) const
inline

Get the tree of particles in the first few generations as simulated by the MC.

Definition at line 456 of file ShowerSimData.h.

References fParticleTree.

Referenced by io::ShowerSimData_ROOT::ShowerSimData_ROOT().

const utl::Point & evt::ShowerSimData::GetPosition ( ) const

Get the position of the shower core.

Definition at line 52 of file ShowerSimData.cc.

Referenced by FdSimEventCheckerOG::FdSimEventChecker::CalculateMinViewingAngle(), FdSimEventCheckerOG::FdSimEventChecker::CalculateXmaxViewingAngle(), SdRecPlotterOG::SdRecPlotter::DrawEvent(), otoa::FD2ADST::FillEyeSim(), LDFFinderOG::LDFFinder::FixCore(), SdHorizontalReconstructionNS::SdHorizontalReconstruction::GetExternalGeometry(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::InitNewShower(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::InitNewShower(), FdLightCollectionEfficiencyKG::SimMockEvent::PrepareEvent(), RdPolarGrid::RdPolarGrid::RRecShower(), MuonProfileBuilder::MuonProfileBuilder::Run(), RdStationSimPulseFinder::RdStationSimPulseFinder::Run(), RdStationSimulationRejector::RdStationSimulationRejector::Run(), ValidationNS::Validation::Run(), RdAntennaStationToChannelConverter::RdAntennaStationToChannelConverter::Run(), ConexShowerGeneratorKG::ConexShowerGenerator::Run(), LaserLightSimulatorNA::LaserLightSimulator::Run(), EventGeneratorOG::EventGenerator::Run(), FdEventLoggerGS::FdEventLogger::Run(), LDFTestKG::LDFTest::Run(), TimeModelTestKG::TimeModelTest::Run(), RdHyperbolicWavefrontFit::RdHyperbolicWavefrontFit::Run(), SdSimpleSimKG::SdSimpleSim::Run(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::Run(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::Run(), RdStationInterpolatorStarShape::RdStationInterpolatorStarShape::Run(), CachedDirectInjectorOG::CachedDirectInjector::Run(), SdSimMuonNumberFitterNS::SdSimMuonNumberFitter::Run(), and UniversalityFitter::UniversalityFitter::Run().

int evt::ShowerSimData::GetPrimaryParticle ( ) const
inline
RadioSimulation& evt::ShowerSimData::GetRadioSimulation ( )
inline
const RadioSimulation& evt::ShowerSimData::GetRadioSimulation ( ) const
inline

Definition at line 441 of file ShowerSimData.h.

References fRadioSimulation.

utl::CoordinateSystemPtr evt::ShowerSimData::GetShowerCoordinateSystem ( ) const
inline

Get the shower coordinate system. The origin of this coordinate system is the core GetPosition() of the shower. The z axis points opposite to the direction of motion of the primary particle (i.e., its 3-momentum is anti-parallel to the unit vector in z direction). The y axis is in the horizontal plane as defined by the local coordinate system. The x axis completes the system to a right-handed coordinate system.

This definition of the shower coordinate system uses the azimuth and zenith angle as the first two Euler angles in the construction of the coordinate transformation.

Note
This depends on having called MakeGeometry first. Check with HasGeometry to make sure

Definition at line 227 of file ShowerSimData.h.

References CheckGeometry(), and fShowerCS.

Referenced by otoa::SD2ADST::AddStations(), testShowerImpl::CheckShowerSimDataValues(), ShowerLightSimulatorKG::ShowerLightSimulator::CherenkovLight(), otoa::MD2ADST::Convert(), ShowerLightSimulatorKG::ShowerLightSimulator::FluorescenceLight(), ShowerInventorNS::ShowerInventor::GetOneParticle(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::InitNewShower(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::InitNewShower(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::PlotLDF(), ShowerLightSimulatorKG::ShowerLightSimulator::PrimaryCherenkovLight(), ShowerInventorAnalyzerNS::ShowerInventorAnalyzer::Run(), FdSimEventCheckerOG::FdSimEventChecker::Run(), FieldOfViewCalculatorKG::FieldOfViewCalculator::Run(), MdShowerRegeneratorAG::MdShowerRegenerator::Run(), ShowerLightSimulatorKG::ShowerLightSimulator::Run(), ShowerInventorNS::ShowerInventor::Run(), SdSimpleSimKG::SdSimpleSim::Run(), CachedXShowerRegeneratorAG::CachedXShowerRegenerator::Run(), CachedShowerRegeneratorASCII::CachedShowerRegenerator::Run(), LightAtDiaphragmSimulatorKG::LightAtDiaphragmSimulator::Run(), CachedDirectInjectorOG::CachedDirectInjector::Run(), ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run(), UseMcGeometryOG::UseMcGeometry::SetSdGeometry(), UseMcGeometryOG::UseMcGeometry::SetSDP(), UseMcGeometryOG::UseMcGeometry::SetTimeFit(), io::ShowerSimData_ROOT::ShowerSimData_ROOT(), and un2::SimpleReco().

int evt::ShowerSimData::GetShowerNumber ( ) const
inline
std::string evt::ShowerSimData::GetShowerRunId ( ) const
inline
const utl::Point& evt::ShowerSimData::GetSimCore ( const int  i) const
inline

Definition at line 196 of file ShowerSimData.h.

References fSimCores.

Referenced by EventGeneratorOG::EventGenerator::Run().

const utl::TimeStamp& evt::ShowerSimData::GetTimeStamp ( ) const
inline
double evt::ShowerSimData::GetXFirst ( ) const
inline
double evt::ShowerSimData::GetXInject ( ) const
inline

Get depth particle injection.

Definition at line 388 of file ShowerSimData.h.

References fXInject.

Referenced by FieldOfViewCalculatorKG::FieldOfViewCalculator::Run().

double evt::ShowerSimData::GetXmaxMu ( ) const
inline

Definition at line 395 of file ShowerSimData.h.

References fXmaxMu.

Referenced by UniversalityFitter::UniversalityFitter::Run().

utl::ShowerParticleIterator evt::ShowerSimData::GroundCherenkovBegin ( const utl::AttributeMap am) const
inline
utl::ShowerParticleIterator evt::ShowerSimData::GroundCherenkovEnd ( const utl::AttributeMap am) const
inline
utl::ShowerParticleIterator evt::ShowerSimData::GroundParticlesBegin ( ) const
inline
utl::ShowerParticleIterator evt::ShowerSimData::GroundParticlesEnd ( ) const
inline
bool evt::ShowerSimData::HasAtmosphereParameters ( ) const
inline

Check if the Atmosphere profile used to simulate the shower is known.

Definition at line 380 of file ShowerSimData.h.

References fAtmosphereParameters.

Referenced by io::ShowerSimData_ROOT::ShowerSimData_ROOT().

bool evt::ShowerSimData::HasCherenkovBeamPhotons ( const int  wavelength) const
inline
bool evt::ShowerSimData::HasCherenkovBeamProductionPhotons ( const int  wavelength) const
inline
bool evt::ShowerSimData::HasCherenkovPhotons ( const int  wavelength) const
inline
bool evt::ShowerSimData::HasdEdX ( ) const
inline
bool evt::ShowerSimData::HasDirection ( ) const
inline
bool evt::ShowerSimData::HasFluorescencePhotons ( const int  wavelength) const
inline
bool evt::ShowerSimData::HasGeometry ( ) const
inline
bool evt::ShowerSimData::HasGHParameters ( ) const
inline
bool evt::ShowerSimData::HasGroundCherenkov ( const utl::AttributeMap am) const
inline
bool evt::ShowerSimData::HasGroundParticles ( ) const
inline
bool evt::ShowerSimData::HasLaserData ( ) const
inline
bool evt::ShowerSimData::HasLongitudinalProfile ( const ProfileType  type = eCharged) const
inline
bool evt::ShowerSimData::HasParticleTree ( ) const
inline

Check if the MC data have been filled in.

Definition at line 463 of file ShowerSimData.h.

References fParticleTree, and evt::GenParticle::GetParentId().

Referenced by io::FillShowerProfileDataFromConex(), and io::ShowerSimData_ROOT::ShowerSimData_ROOT().

bool evt::ShowerSimData::HasPosition ( ) const
inline
bool evt::ShowerSimData::HasRadioSimulation ( ) const
inline
bool evt::ShowerSimData::HasTimeStamp ( ) const
inline

Check initialization of the TimeStamp.

Definition at line 401 of file ShowerSimData.h.

References fTimeStamp.

Referenced by EventGeneratorOG::EventGenerator::Run(), ShowerInventorNS::ShowerInventor::Run(), and io::ShowerSimData_ROOT::ShowerSimData_ROOT().

PhotonIterator evt::ShowerSimData::LastCherenkovBeamProductionWavelength ( )
inline
ConstPhotonIterator evt::ShowerSimData::LastCherenkovBeamProductionWavelength ( ) const
inline
PhotonIterator evt::ShowerSimData::LastCherenkovBeamWavelength ( )
inline
ConstPhotonIterator evt::ShowerSimData::LastCherenkovBeamWavelength ( ) const
inline
PhotonIterator evt::ShowerSimData::LastCherenkovWavelength ( )
inline
ConstPhotonIterator evt::ShowerSimData::LastCherenkovWavelength ( ) const
inline
PhotonIterator evt::ShowerSimData::LastFluorescenceWavelength ( )
inline
ConstPhotonIterator evt::ShowerSimData::LastFluorescenceWavelength ( ) const
inline
void evt::ShowerSimData::MakeAtmosphereParameters ( const evt::AtmosphereParameters par)

Provide the parameters of the atmospheric profile used to simulate the shower.

Definition at line 154 of file ShowerSimData.cc.

References ERROR.

Referenced by io::ShowerSimData_ROOT::operator>>().

void evt::ShowerSimData::MakedEdX ( const utl::TabulatedFunction dEdX)
inline
void evt::ShowerSimData::MakeGeometry ( const utl::Point anyPointOnShowerAxis)

initialize the shower geometry. Pos is a point on the shower axis, but not necessarily the core

Create the shower geometry

Note
This function defined the core, direction, shower coordinate system, ground particle coordinate system and also the local auger coordinade system. The zenith and azimuth must be defined before and cannot be changed afterwards. Also the shower position cannot be moved afterwards.

Definition at line 83 of file ShowerSimData.cc.

References fwk::LocalCoordinateSystemConstructor< Policy >::Create(), ERROR, utl::TransformerConstructor< Policy >::RotationY(), and utl::TransformerConstructor< Policy >::RotationZ().

Referenced by RdStationInterpolator::RdStationInterpolator::BuildSimShower(), RdStationInterpolatorStarShape::RdStationInterpolatorStarShape::BuildSimShower(), FdLightCollectionEfficiencyKG::SimMockEvent::FillSimEvent(), EventGeneratorOG::EventGenerator::Run(), ShowerInventorNS::ShowerInventor::Run(), testShowerImpl::SetShowerSimDataValues(), SDenseDetectorTestBasic::testBasic1(), SDenseDetectorTestAzimuth::testBasicAzimuth(), SDenseDetectorTestZenith::testBasicZenith(), testCorsikaShowerFile::testCherenkovShower(), testArtificialShowerFile::testParticleRead(), testSenecaShowerFile::testParticleRead(), testCorsikaShowerFile::testParticleRead(), testEVAFile::testRead(), testZHAireSFile::testRead(), testCONEXFile::testRead(), testREASFile::testRead(), testArtificialShowerFile::testRead(), testSenecaShowerFile::testRead(), testCorsikaShowerFile::testRead(), and testShowerImpl::testShowerSimDataNoGeometry().

void evt::ShowerSimData::MakeGHParameters ( const evt::VGaisserHillasParameter ghPar)
void evt::ShowerSimData::MakeGroundCherenkov ( const utl::AttributeMap am)

Definition at line 127 of file ShowerSimData.cc.

References ERROR.

Referenced by io::CorsikaShowerFile::Read().

void evt::ShowerSimData::MakeGroundParticles ( )
void evt::ShowerSimData::MakeLaserData ( )
void evt::ShowerSimData::MakeLongitudinalProfile ( const utl::TabulatedFunction lp,
const ProfileType  type = eCharged 
)
inline
void evt::ShowerSimData::MakeLongitudinalProfile ( const ProfileType  type = eCharged)
inline
void evt::ShowerSimData::MakeRadioSimulation ( )
void evt::ShowerSimData::MakeTimeStamp ( const utl::TimeStamp ts)
void evt::ShowerSimData::SetCalorimetricEnergy ( const double  energy)
inline

Set the calorimetric energy of the shower.

Definition at line 106 of file ShowerSimData.h.

References fCalorimetricEnergy.

Referenced by io::FillShowerProfileDataFromConex(), io::ShowerSimData_ROOT::operator>>(), and io::CorsikaShowerFile::ReadProfile().

void evt::ShowerSimData::SetDistanceOfShowerMaximum ( const double  parDistance)
inline

Set the geometrical distance of the shower maximum from the core.

Definition at line 453 of file ShowerSimData.h.

References fDistanceOfShowerMaximum.

Referenced by io::ShowerSimData_ROOT::operator>>(), io::REASFile::Read(), and io::REASH5File::Read().

void evt::ShowerSimData::SetElectromagneticEnergy ( const double  energy)
inline

Set the electromagnetic energy of the shower.

Definition at line 112 of file ShowerSimData.h.

References fElectromagneticEnergy.

Referenced by io::ShowerSimData_ROOT::operator>>(), and io::CorsikaShowerFile::ReadProfile().

void evt::ShowerSimData::SetEnergy ( const double  theEnergy)
inline
void evt::ShowerSimData::SetEnergyCutoff ( const double  energy,
const ProfileType  type = eElectron 
)
void evt::ShowerSimData::SetGroundParticleCoordinateSystemAzimuth ( const double  azimuth)
void evt::ShowerSimData::SetGroundParticleCoordinateSystemZenith ( const double  zenith)

Set the zenith angle of the shower. Room angle between z-axis and direction from where the shower is coming from (0 is vertical).

Create and set the shower direction

Note
The definition of direction and angles is as follows: zenith is the angle between the normal (z-axis) and the shower incoming direction (0 is vertical). Azimuth is the angle in the x-y-plane with respect to the x-axis. The shower direction is the true direction of movement of the shower (NOT the direction from where the shower is coming from).

Definition at line 30 of file ShowerSimData.cc.

References ERROR.

Referenced by io::FillShowerSimDataFromConex(), FdLightCollectionEfficiencyKG::SimMockEvent::FillSimEvent(), EventGeneratorOG::EventGenerator::GenerateSphereCentricCore(), io::ShowerSimData_ROOT::operator>>(), io::ZHAireSFile::Read(), io::ArtificialShowerFile::Read(), io::SenecaShowerFile::Read(), io::AiresShowerFile::Read(), io::SELFASFile::Read(), io::EVAFile::ReadShowerData(), GeometryGeneratorKG::GeometryGenerator::Run(), LaserGeneratorNA::LaserGenerator::Run(), ShowerInventorNS::ShowerInventor::Run(), testShowerImpl::SetShowerSimDataValues(), SDenseDetectorTestBasic::testBasic1(), SDenseDetectorTestAzimuth::testBasicAzimuth(), and SDenseDetectorTestZenith::testBasicZenith().

void evt::ShowerSimData::SetMagneticFieldAzimuth ( const double  magneticFieldAzimuth)
inline

Set the azimuth angle of the Earth's magnetic field used in CORSIKA/REAS simulation.

Definition at line 177 of file ShowerSimData.h.

References utl::degree, and fMagneticFieldDeclination.

void evt::ShowerSimData::SetMagneticFieldDeclination ( const double  magneticFieldDeclination)
inline

Set the declination of the Earth's magnetic field used in CORSIKA/REAS simulation.

Definition at line 187 of file ShowerSimData.h.

References fMagneticFieldDeclination.

Referenced by io::ShowerSimData_ROOT::operator>>(), io::REASFile::Read(), and io::REASH5File::Read().

void evt::ShowerSimData::SetMagneticFieldInclination ( const double  magneticFieldInclination)
inline

Set the inclination of the Earth's magnetic field used in CORSIKA/REAS simulation.

Definition at line 182 of file ShowerSimData.h.

References fMagneticFieldInclination.

Referenced by io::ShowerSimData_ROOT::operator>>().

void evt::ShowerSimData::SetMagneticFieldStrength ( const double  magneticFieldStrength)
inline

Set the absolute strength of the Earth's magnetic field used in CORSIKA/REAS simulation.

Definition at line 192 of file ShowerSimData.h.

References fMagneticFieldStrength.

Referenced by io::ShowerSimData_ROOT::operator>>().

void evt::ShowerSimData::SetMaxCherenkovWavelength ( const double  wl)
inline

Set the maximum Cherenkov wavelength for photons in longitudinal profile.

Definition at line 128 of file ShowerSimData.h.

References fMaxCherenkovWavelength.

Referenced by io::ShowerSimData_ROOT::operator>>().

void evt::ShowerSimData::SetMaxRadiusCut ( const double  maxR)
inline
void evt::ShowerSimData::SetMinCherenkovWavelength ( const double  wl)
inline

Set the maximum Cherenkov wavelength for photons in longitudinal profile.

Definition at line 123 of file ShowerSimData.h.

References fMinCherenkovWavelength.

Referenced by io::ShowerSimData_ROOT::operator>>().

void evt::ShowerSimData::SetMinRadiusCut ( const double  minR)
inline
void evt::ShowerSimData::SetMuonNumber ( const double  nmuon)
inline

Set the number of muons which reach ground level.

Definition at line 96 of file ShowerSimData.h.

References fMuonNumber.

Referenced by io::ShowerSimData_ROOT::operator>>(), and io::AiresShowerFile::Read().

void evt::ShowerSimData::SetMuonWeightScale ( const double  scale)
inline
void evt::ShowerSimData::SetNmu ( const double  Nmu)
inline
void evt::ShowerSimData::SetParticleTree ( const evt::GenParticle partTree)
inline

Set the tree of particles in the first few generations.

Definition at line 459 of file ShowerSimData.h.

References fParticleTree.

Referenced by io::FillShowerProfileDataFromConex(), and io::ShowerSimData_ROOT::operator>>().

void evt::ShowerSimData::SetPrimaryParticle ( const int  type)
void evt::ShowerSimData::SetShowerNumber ( const int  sid)
inline
void evt::ShowerSimData::SetShowerRunId ( const std::string  srid)
inline
void evt::ShowerSimData::SetXFirst ( const double  xFirst)
inline
void evt::ShowerSimData::SetXInject ( const double  xInject)
inline

Set depth of particle injection.

Definition at line 390 of file ShowerSimData.h.

References fXInject.

Referenced by io::FillShowerProfileDataFromConex(), and io::ShowerSimData_ROOT::operator>>().

void evt::ShowerSimData::SetXmaxMu ( const double  XmaxMu)
inline

Friends And Related Function Documentation

friend class evt::Event
friend

Definition at line 529 of file ShowerSimData.h.

friend class io::ShowerSimData_ROOT
friend

Definition at line 531 of file ShowerSimData.h.

friend class utl::LameShadowPtr< ShowerSimData >
friend

Definition at line 530 of file ShowerSimData.h.

Member Data Documentation

utl::ShadowPtr<evt::AtmosphereParameters> evt::ShowerSimData::fAtmosphereParameters
private

Definition at line 518 of file ShowerSimData.h.

Referenced by GetAtmosphereParameters(), and HasAtmosphereParameters().

utl::ShadowPtr<utl::Vector> evt::ShowerSimData::fCachedDirection
mutableprivate

Definition at line 527 of file ShowerSimData.h.

utl::ShadowPtr<utl::Point> evt::ShowerSimData::fCachedPosition
mutableprivate

Definition at line 526 of file ShowerSimData.h.

double evt::ShowerSimData::fCalorimetricEnergy = 0
private

Definition at line 479 of file ShowerSimData.h.

Referenced by GetCalorimetricEnergy(), and SetCalorimetricEnergy().

utl::MultiTabulatedFunction evt::ShowerSimData::fCherenkovBeamPhotons
private
utl::MultiTabulatedFunction evt::ShowerSimData::fCherenkovBeamProductionPhotons
private
utl::MultiTabulatedFunction evt::ShowerSimData::fCherenkovPhotons
private
double evt::ShowerSimData::fDistanceOfShowerMaximum = std::numeric_limits<double>::quiet_NaN()
private

Definition at line 496 of file ShowerSimData.h.

Referenced by GetDistanceOfShowerMaximum(), and SetDistanceOfShowerMaximum().

double evt::ShowerSimData::fElectromagneticEnergy = 0
private

Definition at line 480 of file ShowerSimData.h.

Referenced by GetElectromagneticEnergy(), and SetElectromagneticEnergy().

double evt::ShowerSimData::fEnergy = 0
private

Definition at line 476 of file ShowerSimData.h.

Referenced by GetEnergy(), and SetEnergy().

double evt::ShowerSimData::fEnergyCutoff = 0
private

Definition at line 483 of file ShowerSimData.h.

double evt::ShowerSimData::fEnergyCutoffMuon = 0
private

Definition at line 484 of file ShowerSimData.h.

utl::MultiTabulatedFunction evt::ShowerSimData::fFluorescencePhotons
private
utl::ShadowPtr<evt::VGaisserHillasParameter> evt::ShowerSimData::fGHParameters
private

Definition at line 517 of file ShowerSimData.h.

Referenced by GetGHParameters(), and HasGHParameters().

std::map<utl::AttributeMap, utl::ShadowPtr<utl::ShowerParticleList> > evt::ShowerSimData::fGroundCherenkov
private
double evt::ShowerSimData::fGroundParticleCoordinateSystemAzimuth = 0
private

Definition at line 481 of file ShowerSimData.h.

Referenced by GetGroundParticleCoordinateSystemAzimuth().

double evt::ShowerSimData::fGroundParticleCoordinateSystemZenith = 0
private

Definition at line 482 of file ShowerSimData.h.

Referenced by GetGroundParticleCoordinateSystemZenith().

utl::ShadowPtr<utl::ShowerParticleList> evt::ShowerSimData::fGroundParticles
private
utl::LameShadowPtr<LaserData> evt::ShowerSimData::fLaserData
private

Definition at line 520 of file ShowerSimData.h.

Referenced by GetLaserData(), HasLaserData(), and io::ShowerSimData_ROOT::operator>>().

utl::CoordinateSystemPtr evt::ShowerSimData::fLocalCS
private
utl::MultiTabulatedFunction evt::ShowerSimData::fLongitudinalProfile
private
double evt::ShowerSimData::fMagneticFieldDeclination = 0
private
double evt::ShowerSimData::fMagneticFieldInclination = 0
private
double evt::ShowerSimData::fMagneticFieldStrength = 0
private

Definition at line 491 of file ShowerSimData.h.

Referenced by GetMagneticFieldStrength(), and SetMagneticFieldStrength().

double evt::ShowerSimData::fMaxCherenkovWavelength = 0
private

Definition at line 486 of file ShowerSimData.h.

Referenced by GetMaxCherenkovWavelength(), and SetMaxCherenkovWavelength().

double evt::ShowerSimData::fMaxRadiusCut = 0
private

Definition at line 488 of file ShowerSimData.h.

Referenced by GetMaxRadiusCut(), and SetMaxRadiusCut().

double evt::ShowerSimData::fMinCherenkovWavelength = 0
private

Definition at line 485 of file ShowerSimData.h.

Referenced by GetMinCherenkovWavelength(), and SetMinCherenkovWavelength().

double evt::ShowerSimData::fMinRadiusCut = 0
private

Definition at line 487 of file ShowerSimData.h.

Referenced by GetMinRadiusCut(), and SetMinRadiusCut().

double evt::ShowerSimData::fMuonNumber = 0
private

Definition at line 477 of file ShowerSimData.h.

Referenced by GetMuonNumber(), and SetMuonNumber().

double evt::ShowerSimData::fMuonWeightScale = 0
private

Definition at line 478 of file ShowerSimData.h.

Referenced by GetMuonWeightScale(), and SetMuonWeightScale().

double evt::ShowerSimData::fNmu = 0
private

Definition at line 500 of file ShowerSimData.h.

Referenced by GetNmu(), and SetNmu().

utl::CoordinateSystemPtr evt::ShowerSimData::fParticleCS
private
evt::GenParticle evt::ShowerSimData::fParticleTree
private

Definition at line 524 of file ShowerSimData.h.

Referenced by GetParticleTree(), HasParticleTree(), and SetParticleTree().

utl::ParticlePropertiesPtr evt::ShowerSimData::fPrimaryProperties
private

Definition at line 475 of file ShowerSimData.h.

Referenced by GetPrimaryParticle().

utl::LameShadowPtr<RadioSimulation> evt::ShowerSimData::fRadioSimulation
private
utl::CoordinateSystemPtr evt::ShowerSimData::fShowerCS
private
utl::ShadowPtr<evt::VShowerGeometryProducer> evt::ShowerSimData::fShowerGeometryProducer
private

Definition at line 471 of file ShowerSimData.h.

int evt::ShowerSimData::fShowerNumber = 0
private

Definition at line 492 of file ShowerSimData.h.

Referenced by GetShowerNumber(), and SetShowerNumber().

std::string evt::ShowerSimData::fShowerRunId
private

Definition at line 493 of file ShowerSimData.h.

Referenced by GetShowerRunId(), and SetShowerRunId().

std::vector<utl::Point> evt::ShowerSimData::fSimCores
private

Definition at line 498 of file ShowerSimData.h.

Referenced by GetNSimCores(), and GetSimCore().

utl::ShadowPtr<utl::TimeStamp> evt::ShowerSimData::fTimeStamp
private

Definition at line 507 of file ShowerSimData.h.

Referenced by GetTimeStamp(), and HasTimeStamp().

double evt::ShowerSimData::fXFirst = 0
private

Definition at line 494 of file ShowerSimData.h.

Referenced by GetXFirst(), and SetXFirst().

double evt::ShowerSimData::fXInject = 0
private

Definition at line 495 of file ShowerSimData.h.

Referenced by GetXInject(), and SetXInject().

double evt::ShowerSimData::fXmaxMu = 0
private

Definition at line 501 of file ShowerSimData.h.

Referenced by GetXmaxMu(), and SetXmaxMu().


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

, generated on Tue Sep 26 2023.