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

Interface class to access to the RD Reconstruction of a Shower. More...

#include "evt/ShowerRRecData.h"

Public Types

typedef
revt::ShowerRRecDataQuantities 
Parameter
 
enum  ReferenceAxis {
  eUseSDReferenceAxis, eUseFDReferenceAxis, eUseMCReferenceAxis, eUseRDReferenceAxis,
  eUseExternalReferenceAxis
}
 
enum  ReferenceCorePosition {
  eUseSDReferenceCore, eUseFDReferenceCore, eUseMCReferenceCore, eUseRDReferenceCore,
  eUseExternalReferenceCore, eUseRDCoordinateOrigin
}
 

Public Member Functions

void DeleteParameter (const Parameter i)
 
void DeleteParameterCovariance (const Parameter i1, const Parameter i2)
 
utl::Vector GetAxis () const
 Returns vector of the shower axis. More...
 
double GetAzimuth () const
 returns the azimuth angle (from the wave fit) More...
 
double GetAzimuthError () const
 returns the error of the azimuth angle (from the wave fit) More...
 
double GetAzimuthPreFit () const
 returns the azimuth angle (from the pre wave fit -> on voltage level) More...
 
double GetAzimuthPreFitError () const
 returns the error of the azimuth angle (from the pre wave fit -> on voltage level) More...
 
utl::Point GetCoordinateOrigin () const
 
double GetCoreCorrelationXY () const
 Return parameter covariance of eCoreX eCoreY. More...
 
utl::Vector GetCoreError () const
 returns vector of core error in referenceCS More...
 
utl::Point GetCorePosition () const
 returns pointer of the position vector of the core in the reference coor system More...
 
std::vector< std::pair
< Parameter, Parameter > > 
GetCovarianceEnumVector () const
 
std::vector< ParameterGetEnumVector () const
 
utl::Vector GetMagneticFieldVector () const
 returns the magnetic field vector from the components stored in the parameter storage More...
 
double GetParameter (const Parameter i) const
 
double GetParameterCovariance (const Parameter i1, const Parameter i2) const
 
bool GetParameterCovarianceLockStatus (const Parameter i1, const Parameter i2) const
 
double GetParameterError (const Parameter i) const
 
bool GetParameterErrorLockStatus (const Parameter i) const
 
bool GetParameterLockStatus (const Parameter i) const
 
double GetRadius () const
 returns the radius (from the spherical wave fit) // TH: This and the following needs to be cleaned out!? More...
 
double GetRadiusError () const
 returns the error of the radius (from the spherical wave fit) More...
 
utl::Vector GetReferenceAxis (const Event &event) const
 Returning the referencedirection depending on the corresponding flag. More...
 
ReferenceAxis GetReferenceAxisFlag () const
 returns the flag which specify the used reference direction More...
 
utl::Vector GetReferenceCoreError (const Event &event) const
 Returning the reference core position error depending on the corresponding flag. More...
 
double GetReferenceCoreErrorCorrelationXY (const Event &event) const
 Returning the reference core position error correlation xy depending on the corresponding flag. More...
 
ReferenceCorePosition GetReferenceCoreFlag () const
 returns the flag which specify the used reference core More...
 
utl::Point GetReferenceCorePosition (const Event &event) const
 Returning the reference core position depending on the corresponding flag. More...
 
unsigned int GetWhichEye () const
 
double GetZenith () const
 returns the zenith angle (from the wave fit) More...
 
double GetZenithError () const
 returns the error of the zenith angle (from the wave fit) More...
 
double GetZenithPreFit () const
 returns the zenith angle (from the pre wave fit -> on voltage level) More...
 
double GetZenithPreFitError () const
 returns the error of the zenith angle (from the pre wave fit -> on voltage level) More...
 
bool HasAxis () const
 Return true if all 3 axis parameter are set. More...
 
bool HasCorePosition () const
 Return true if all 3 core parameter are set. More...
 
bool HasParameter (const Parameter i) const
 
bool HasParameterCovariance (const Parameter i1, const Parameter i2) const
 
bool HasParameterError (const Parameter i) const
 
bool HasReferenceAxis (const Event &event) const
 Return always true for SD and FD if RecShower exsist, asking for min. rec stage could fix this... More...
 
bool HasReferenceCorePosition (const Event &event) const
 Return always true for SD and FD if RecShower exsist, asking for min. rec stage could fix this... More...
 
void SetParameter (Parameter i, double value, bool lock=true)
 
void SetParameterCovariance (Parameter i1, Parameter i2, double value, bool lock=true)
 
void SetParameterError (Parameter i, double value, bool lock=true)
 
void SetReferenceAxisFlag (const ReferenceAxis refAxisFlag)
 Set a flag to select a reference axis. More...
 
void SetReferenceCoreFlag (const ReferenceCorePosition refCoreFlag)
 Set a flag to select a reference core. More...
 
void SetWhichEye (const unsigned int eye)
 

Private Member Functions

 ShowerRRecData ()=default
 

Static Private Member Functions

static const std::string & CurrentModule ()
 

Private Attributes

ReferenceAxis fReferenceAxisFlag
 
ReferenceCorePosition fReferenceCoreFlag
 
utl::ParameterStorage< ParameterfShowerQuantities {"Shower:ShowerRRecData"}
 
unsigned int fWhichEye = 0
 

Friends

class evt::ShowerRecData
 
class utl::LameShadowPtr< ShowerRRecData >
 

Detailed Description

Interface class to access to the RD Reconstruction of a Shower.

Author
Harm
Date
23 - Jul - 2009

Definition at line 32 of file ShowerRRecData.h.

Member Typedef Documentation

typedef revt::ShowerRRecDataQuantities evt::ShowerRRecData::Parameter

Definition at line 54 of file ShowerRRecData.h.

Member Enumeration Documentation

Enumerator
eUseSDReferenceAxis 
eUseFDReferenceAxis 
eUseMCReferenceAxis 
eUseRDReferenceAxis 
eUseExternalReferenceAxis 

Definition at line 45 of file ShowerRRecData.h.

Enumerator
eUseSDReferenceCore 
eUseFDReferenceCore 
eUseMCReferenceCore 
eUseRDReferenceCore 
eUseExternalReferenceCore 
eUseRDCoordinateOrigin 

Definition at line 36 of file ShowerRRecData.h.

Constructor & Destructor Documentation

evt::ShowerRRecData::ShowerRRecData ( )
privatedefault

Member Function Documentation

static const std::string& evt::ShowerRRecData::CurrentModule ( )
inlinestaticprivate
void evt::ShowerRRecData::DeleteParameter ( const Parameter  i)
inline

Definition at line 92 of file ShowerRRecData.h.

References CurrentModule(), and fShowerQuantities.

void evt::ShowerRRecData::DeleteParameterCovariance ( const Parameter  i1,
const Parameter  i2 
)
inline

Definition at line 95 of file ShowerRRecData.h.

References CurrentModule(), and fShowerQuantities.

utl::Vector ShowerRRecData::GetAxis ( ) const
double ShowerRRecData::GetAzimuth ( ) const

returns the azimuth angle (from the wave fit)

returns the azimuth angle (from the plane or wave fit)

Definition at line 105 of file ShowerRRecData.cc.

References WARNING.

Referenced by RdDirectionConvergenceChecker::RdDirectionConvergenceChecker::Run().

double ShowerRRecData::GetAzimuthError ( ) const

returns the error of the azimuth angle (from the wave fit)

returs the error of the azimuth angle (from the wave fit)

Definition at line 119 of file ShowerRRecData.cc.

References sqrt(), and WARNING.

Referenced by otoa::RdFiller::FillRadioShower(), RdHASLDFFitter::GetSineAlphaSquareErr(), and RdPlaneFit::RdPlaneFit::Run().

double ShowerRRecData::GetAzimuthPreFit ( ) const

returns the azimuth angle (from the pre wave fit -> on voltage level)

returs the azimuth angle (from the pre wave fit -> on voltage level)

Definition at line 210 of file ShowerRRecData.cc.

References WARNING.

double ShowerRRecData::GetAzimuthPreFitError ( ) const

returns the error of the azimuth angle (from the pre wave fit -> on voltage level)

returs the error of the azimuth angle (from the pre wave fit -> on voltage level)

Definition at line 225 of file ShowerRRecData.cc.

References sqrt(), and WARNING.

Referenced by otoa::RdFiller::FillRadioShower().

utl::Point ShowerRRecData::GetCoordinateOrigin ( ) const
double ShowerRRecData::GetCoreCorrelationXY ( ) const

Return parameter covariance of eCoreX eCoreY.

Definition at line 380 of file ShowerRRecData.cc.

References SdHorizontalReconstructionNS::eCoreX, SdHorizontalReconstructionNS::eCoreY, and WARNING.

utl::Vector ShowerRRecData::GetCoreError ( ) const

returns vector of core error in referenceCS

Definition at line 361 of file ShowerRRecData.cc.

References SdHorizontalReconstructionNS::eCoreX, SdHorizontalReconstructionNS::eCoreY, and WARNING.

utl::Point ShowerRRecData::GetCorePosition ( ) const
std::vector<std::pair<Parameter, Parameter> > evt::ShowerRRecData::GetCovarianceEnumVector ( ) const
inline

Definition at line 101 of file ShowerRRecData.h.

References fShowerQuantities.

Referenced by otoa::RdFiller::FillRadioShower().

std::vector<Parameter> evt::ShowerRRecData::GetEnumVector ( ) const
inline

Definition at line 98 of file ShowerRRecData.h.

References fShowerQuantities.

Referenced by otoa::RdFiller::FillRadioShower().

utl::Vector ShowerRRecData::GetMagneticFieldVector ( ) const
double evt::ShowerRRecData::GetParameter ( const Parameter  i) const
inline
double evt::ShowerRRecData::GetParameterCovariance ( const Parameter  i1,
const Parameter  i2 
) const
inline

Definition at line 68 of file ShowerRRecData.h.

References CurrentModule(), and fShowerQuantities.

Referenced by otoa::RdFiller::FillRadioShower().

bool evt::ShowerRRecData::GetParameterCovarianceLockStatus ( const Parameter  i1,
const Parameter  i2 
) const
inline

Definition at line 71 of file ShowerRRecData.h.

References CurrentModule(), and fShowerQuantities.

double evt::ShowerRRecData::GetParameterError ( const Parameter  i) const
inline

Definition at line 62 of file ShowerRRecData.h.

References CurrentModule(), fShowerQuantities, and sqrt().

Referenced by VerificationRadio::Verification::Run().

bool evt::ShowerRRecData::GetParameterErrorLockStatus ( const Parameter  i) const
inline

Definition at line 65 of file ShowerRRecData.h.

References CurrentModule(), and fShowerQuantities.

bool evt::ShowerRRecData::GetParameterLockStatus ( const Parameter  i) const
inline

Definition at line 59 of file ShowerRRecData.h.

References CurrentModule(), and fShowerQuantities.

double ShowerRRecData::GetRadius ( ) const

returns the radius (from the spherical wave fit) // TH: This and the following needs to be cleaned out!?

returs the radius (from the spherical wave fit)

Definition at line 48 of file ShowerRRecData.cc.

References WARNING.

double ShowerRRecData::GetRadiusError ( ) const

returns the error of the radius (from the spherical wave fit)

returs the error of the radius (from the spherical wave fit)

Definition at line 69 of file ShowerRRecData.cc.

References sqrt(), and WARNING.

Referenced by otoa::RdFiller::FillRadioShower().

utl::Vector ShowerRRecData::GetReferenceAxis ( const Event event) const
ReferenceAxis evt::ShowerRRecData::GetReferenceAxisFlag ( ) const
inline

returns the flag which specify the used reference direction

Definition at line 161 of file ShowerRRecData.h.

References fReferenceAxisFlag.

Referenced by RdHASLDFFitter::GetSineAlphaSquareErr().

utl::Vector ShowerRRecData::GetReferenceCoreError ( const Event event) const
double ShowerRRecData::GetReferenceCoreErrorCorrelationXY ( const Event event) const
ReferenceCorePosition evt::ShowerRRecData::GetReferenceCoreFlag ( ) const
inline

returns the flag which specify the used reference core

Definition at line 158 of file ShowerRRecData.h.

References fReferenceCoreFlag.

utl::Point ShowerRRecData::GetReferenceCorePosition ( const Event event) const
unsigned int evt::ShowerRRecData::GetWhichEye ( ) const
inline

Definition at line 187 of file ShowerRRecData.h.

References fWhichEye.

double ShowerRRecData::GetZenith ( ) const
double ShowerRRecData::GetZenithError ( ) const

returns the error of the zenith angle (from the wave fit)

returs the error of the zenith angle (from the wave fit)

Definition at line 174 of file ShowerRRecData.cc.

References sqrt(), and WARNING.

Referenced by otoa::RdFiller::FillRadioShower(), RdHASLDFFitter::GetSineAlphaSquareErr(), and RdPlaneFit::RdPlaneFit::Run().

double ShowerRRecData::GetZenithPreFit ( ) const

returns the zenith angle (from the pre wave fit -> on voltage level)

returs the zenith angle (from the pre wave fit -> on voltage level)

Definition at line 261 of file ShowerRRecData.cc.

References WARNING.

double ShowerRRecData::GetZenithPreFitError ( ) const

returns the error of the zenith angle (from the pre wave fit -> on voltage level)

returs the error of the zenith angle (from the pre wave fit -> on voltage level)

Definition at line 280 of file ShowerRRecData.cc.

References sqrt(), and WARNING.

Referenced by otoa::RdFiller::FillRadioShower().

bool ShowerRRecData::HasAxis ( ) const
bool ShowerRRecData::HasCorePosition ( ) const
bool evt::ShowerRRecData::HasParameter ( const Parameter  i) const
inline
bool evt::ShowerRRecData::HasParameterCovariance ( const Parameter  i1,
const Parameter  i2 
) const
inline

Definition at line 77 of file ShowerRRecData.h.

References fShowerQuantities.

Referenced by otoa::RdFiller::FillRadioShower().

bool evt::ShowerRRecData::HasParameterError ( const Parameter  i) const
inline

Definition at line 80 of file ShowerRRecData.h.

References fShowerQuantities.

Referenced by VerificationRadio::Verification::Run().

bool ShowerRRecData::HasReferenceAxis ( const Event event) const
bool ShowerRRecData::HasReferenceCorePosition ( const Event event) const
void evt::ShowerRRecData::SetParameter ( Parameter  i,
double  value,
bool  lock = true 
)
inline
void evt::ShowerRRecData::SetParameterCovariance ( Parameter  i1,
Parameter  i2,
double  value,
bool  lock = true 
)
inline
void evt::ShowerRRecData::SetParameterError ( Parameter  i,
double  value,
bool  lock = true 
)
inline
void evt::ShowerRRecData::SetReferenceAxisFlag ( const ReferenceAxis  refAxisFlag)
inline

Set a flag to select a reference axis.

Definition at line 167 of file ShowerRRecData.h.

References fReferenceAxisFlag.

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

void evt::ShowerRRecData::SetReferenceCoreFlag ( const ReferenceCorePosition  refCoreFlag)
inline

Set a flag to select a reference core.

Definition at line 164 of file ShowerRRecData.h.

References fReferenceCoreFlag.

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

void evt::ShowerRRecData::SetWhichEye ( const unsigned int  eye)
inline

Definition at line 189 of file ShowerRRecData.h.

References fWhichEye.

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

Friends And Related Function Documentation

friend class evt::ShowerRecData
friend

Definition at line 203 of file ShowerRRecData.h.

friend class utl::LameShadowPtr< ShowerRRecData >
friend

Definition at line 204 of file ShowerRRecData.h.

Member Data Documentation

ReferenceAxis evt::ShowerRRecData::fReferenceAxisFlag
private

Definition at line 199 of file ShowerRRecData.h.

Referenced by GetReferenceAxisFlag(), and SetReferenceAxisFlag().

ReferenceCorePosition evt::ShowerRRecData::fReferenceCoreFlag
private

Definition at line 198 of file ShowerRRecData.h.

Referenced by GetReferenceCoreFlag(), and SetReferenceCoreFlag().

utl::ParameterStorage<Parameter> evt::ShowerRRecData::fShowerQuantities {"Shower:ShowerRRecData"}
private
unsigned int evt::ShowerRRecData::fWhichEye = 0
private

Definition at line 201 of file ShowerRRecData.h.

Referenced by GetWhichEye(), and SetWhichEye().


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

, generated on Tue Sep 26 2023.