1 #include <io/ShowerFRecData_ROOT.h>
2 #include <io/StreamerUtilities.h>
11 fEmEnergy(sh.GetEmEnergy()),
12 fEmEnergyError(sh.GetEmEnergyError()),
13 fTotalEnergy(sh.GetTotalEnergy()),
14 fTotalEnergyError(sh.GetTotalEnergyError()),
15 fEnergyCutoff(sh.GetEnergyCutoff()),
16 fEmEnergyErrors(sh.GetEmEnergyErrorsBegin(), sh.GetEmEnergyErrorsEnd()),
17 fTotalEnergyErrors(sh.GetTotalEnergyErrorsBegin(), sh.GetTotalEnergyErrorsEnd()),
18 fXmaxErrors(sh.GetXmaxErrorsBegin(), sh.GetXmaxErrorsEnd()),
20 fAxisError(sh.GetAxisError()),
21 fCore(sh.GetCorePosition()),
22 fCoreError(sh.GetCoreError()),
23 fCoreTime(sh.GetCoreTime()),
24 fCoreTimeError(sh.GetCoreTimeError().GetInterval()),
25 fCorrelationXY(sh.GetCorrelationXY()),
26 fCorrelationThetaPhi(sh.GetCorrelationThetaPhi()),
27 fSDTimeResidual(sh.GetSDTimeResidual()),
28 fStationIds(sh.GetStationIds())
30 if (sh.HasEnergyDeposit())
31 fEnergyDeposit = sh.GetEnergyDeposit();
33 if (sh.HasLongitudinalProfile())
34 fLongitudinalProfile = sh.GetLongitudinalProfile();
36 if (sh.HasGHParameters())
37 fGHParameters = sh.GetGHParameters();
39 if (sh.HasMultipleGHParameters())
40 fMultipleGHParameters = sh.GetMultipleGHParameters();
42 if (sh.HasFluorescencePhotons())
43 fFluorescencePhotons = sh.GetFluorescencePhotons();
45 if (sh.HasCherenkovPhotons())
46 fCherenkovPhotons = sh.GetCherenkovPhotons();
std::map< int, double > fTotalEnergyErrors
void SetCorrelationXY(const double corr)
void SetCoreError(const utl::Vector &core_er)
MultipleGaisserHillasParameters_ROOT fMultipleGHParameters
void SetEmEnergyError(const double energyError, const EUncertaintyType type)
void MakeLongitudinalProfile()
void operator>>(evt::ShowerFRecData &sh) const
void SetSDTimeResidual(const double time)
utl::TabulatedFunction & GetCherenkovPhotons()
retrieve number of Cerenkov photons versus depth
void MakeFluorescencePhotons()
void SetCorePosition(const utl::Point &core)
TabulatedFunction_ROOT fCherenkovPhotons
void SetTotalEnergyError(const double energyError, const EUncertaintyType type)
ROOT wise implementation of streaming for class ShowerFRecData.
std::map< int, double > fEmEnergyErrors
void SetAxisError(const utl::Vector &axis_er)
void MakeCherenkovPhotons()
utl::TimeStamp Convert() const
TabulatedFunctionErrors_ROOT fLongitudinalProfile
void SetCoreTime(const utl::TimeStamp &coreTime, const utl::TimeInterval &coreTimeErr)
void SetAxis(const utl::Vector &axis)
void SetCorrelationThetaPhi(const double corr)
evt::MultipleGaisserHillasParameters & GetMultipleGHParameters()
TabulatedFunctionErrors_ROOT fFluorescencePhotons
utl::Point Convert() const
GaisserHillasParameters_ROOT fGHParameters
void SetEmEnergy(const double energy, const double energyError, const EUncertaintyType type=eTotal)
double fCorrelationThetaPhi
std::map< int, double > fXmaxErrors
A TimeInterval is used to represent time elapsed between two events.
void SetEnergyCutoff(const double energy)
utl::TabulatedFunctionErrors & GetLongitudinalProfile()
retrieve longitudinal profile information (size vs depth)
utl::TabulatedFunctionErrors & GetFluorescencePhotons()
retrieve number of fluorescence photons versus depth
void SetXmaxError(const double xmaxError, const EUncertaintyType type)
Interface class for access to the Gaisser-Hillas parameters.
Interface class to access to Fluorescence reconstruction of a Shower.
std::vector< unsigned short int > fStationIds
void SetTotalEnergy(const double energy, const double energyError, const EUncertaintyType type=eTotal)
void MakeGHParameters(const VGaisserHillasParameter &gh)
EUncertaintyType
profile reconstruction uncertainty types
utl::TabulatedFunctionErrors & GetEnergyDeposit()
retrieve dE/dX
void AddStationId(const unsigned short int id)
add a station id to the list of used hybrid stations
utl::Vector Convert() const
TabulatedFunctionErrors_ROOT fEnergyDeposit