List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends
fevt::TelescopeSimData Class Reference

Description of simulated data for one Telescope. More...

#include "fevt/TelescopeSimData.h"

Public Types

typedef std::list< utl::Photon >
::const_iterator 
ConstPhotonIterator
 
typedef
utl::MultiTraceD::ConstIterator 
ConstPhotonTraceIterator
 
typedef
PhotonTraceSourceContainer::const_iterator 
ConstPhotonTraceSourceIterator
 
typedef std::list< utl::Photon >
::iterator 
PhotonIterator
 
typedef std::list< utl::PhotonPhotonList
 
typedef utl::MultiTraceD::Iterator PhotonTraceIterator
 An iterator over the components of the photon trace. More...
 
typedef std::map
< fevt::FdConstants::LightSource,
utl::MultiTraceD
PhotonTraceSourceContainer
 
typedef
PhotonTraceSourceContainer::iterator 
PhotonTraceSourceIterator
 

Public Member Functions

void AddPhoton (const utl::Photon &p)
 
void ClearConfigSignature ()
 
void ClearPhotons ()
 
void ClearRayTracedPhotonTrace ()
 Clear the trace of ray traced photons. More...
 
const std::string & GetConfigSignature () const
 
const std::string & GetConfigSignatureStr () const
 
utl::TraceDGetDistanceTrace ()
 Trace for the distance along the shower axis of the light at the diaphragm. More...
 
const utl::TraceDGetDistanceTrace () const
 
int GetNPhotons () const
 
int GetNumberOfFltPixels () const
 
int GetNumberOfFltPixelsFromBackground () const
 
int GetNumberOfFltPixelsFromShower () const
 
int GetNumberOfPhotonBins () const
 
int GetNumberOfPixelsWithShowerPhotons () const
 
int GetNumberOfReadOutPixels () const
 
utl::TimeStamp GetPhotonsStartTime () const
 Start Time of the photons trace. More...
 
utl::TraceDGetPhotonTrace (const fevt::FdConstants::LightSource source, const int wl)
 Photon trace at diaphragm. More...
 
const utl::TraceDGetPhotonTrace (const fevt::FdConstants::LightSource source, const int wl) const
 
utl::TraceIGetRayTracedPhotonTrace ()
 Number of photons that were actually ray-traced (per time bin) More...
 
const utl::TraceIGetRayTracedPhotonTrace () const
 
int GetSltTimeShift () const
 
int GetSltTriggerTime () const
 
bool HasDistanceTrace () const
 Check that trace for the distance along the shower axis is present. More...
 
bool HasPhotonTrace (const fevt::FdConstants::LightSource source, const int wl) const
 Check that light trace for source /par source is present for the given wavelength bin. More...
 
bool HasPhotonTrace (const fevt::FdConstants::LightSource source) const
 Check that any light trace for source /par source is present (regardless of the wavelength bin) More...
 
bool HasRayTracedPhotonTrace () const
 Check that "ray-traced photon trace" is present. More...
 
void MakeDistanceTrace (const unsigned int size=0, const double binSize=0)
 Make the trace of distance along the shower axis of light at the diaphragm. More...
 
void MakePhotonTrace (const fevt::FdConstants::LightSource source, const int wl, const unsigned int size=0, const double binSize=0)
 
void MakeRayTracedPhotonTrace (const unsigned int size=0, const double binSize=0)
 Add a trace for the number of photons that were ray-traced. More...
 
PhotonIterator PhotonsBegin ()
 
ConstPhotonIterator PhotonsBegin () const
 
PhotonIterator PhotonsEnd ()
 
ConstPhotonIterator PhotonsEnd () const
 
PhotonTraceIterator PhotonTracesBegin (const fevt::FdConstants::LightSource source)
 
ConstPhotonTraceIterator PhotonTracesBegin (const fevt::FdConstants::LightSource source) const
 
PhotonTraceIterator PhotonTracesEnd (const fevt::FdConstants::LightSource source)
 
ConstPhotonTraceIterator PhotonTracesEnd (const fevt::FdConstants::LightSource source) const
 
PhotonTraceSourceIterator PhotonTracesSourceBegin ()
 
ConstPhotonTraceSourceIterator PhotonTracesSourceBegin () const
 
PhotonTraceSourceIterator PhotonTracesSourceEnd ()
 
ConstPhotonTraceSourceIterator PhotonTracesSourceEnd () const
 
void SetConfigSignatureStr (const std::string &configSignatureStr)
 
void SetNumberOfFltPixels (const int n)
 
void SetNumberOfFltPixelsFromBackground (const int n)
 
void SetNumberOfFltPixelsFromShower (const int n)
 
void SetNumberOfPhotonBins (const int n)
 
void SetNumberOfPixelsWithShowerPhotons (const int n)
 
void SetNumberOfReadOutPixels (const int n)
 
void SetPhotonsStartTime (const utl::TimeStamp &ts)
 
void SetSltTimeShift (const int n)
 
void SetSltTriggerTime (const int n)
 

Private Member Functions

 TelescopeSimData ()
 
 ~TelescopeSimData ()
 

Private Attributes

std::string fConfigSignature
 
std::string fConfigSignatureStr
 
utl::ShadowPtr< utl::TraceDfDistanceTrace
 
int fNFltPixels
 
int fNFltPixelsFromBackground
 
int fNFltPixelsFromShower
 
int fNPixelWithShowerLight
 
int fNReadOutPixels
 
int fNumberOfPhotonBins
 
PhotonList fPhotons
 
PhotonTraceSourceContainer fPhotonTraces
 
utl::ShadowPtr< utl::TraceIfRayTracedPhotonTrace
 
int fSltTimeShift
 
int fSltTriggerTime
 
utl::TimeStamp fTraceStartTime
 

Friends

class fevt::Telescope
 
class utl::ShadowPtr< TelescopeSimData >
 

Detailed Description

Description of simulated data for one Telescope.

This class describes the simulated photons at the diaphragm of each telescope. For each of the sources in FdConstants::LightSource, a trace of photons at the diaphragm is provided.

Author
Stefano Argiro'
Luis Prado Jr
Date
30 Jan 2004

Definition at line 36 of file TelescopeSimData.h.

Member Typedef Documentation

typedef std::list<utl::Photon>::const_iterator fevt::TelescopeSimData::ConstPhotonIterator

Definition at line 41 of file TelescopeSimData.h.

Definition at line 62 of file TelescopeSimData.h.

typedef PhotonTraceSourceContainer::const_iterator fevt::TelescopeSimData::ConstPhotonTraceSourceIterator

Definition at line 86 of file TelescopeSimData.h.

Definition at line 40 of file TelescopeSimData.h.

Definition at line 39 of file TelescopeSimData.h.

An iterator over the components of the photon trace.

Definition at line 61 of file TelescopeSimData.h.

Definition at line 84 of file TelescopeSimData.h.

typedef PhotonTraceSourceContainer::iterator fevt::TelescopeSimData::PhotonTraceSourceIterator

Definition at line 85 of file TelescopeSimData.h.

Constructor & Destructor Documentation

TelescopeSimData::TelescopeSimData ( )
private

Definition at line 25 of file TelescopeSimData.cc.

fevt::TelescopeSimData::~TelescopeSimData ( )
inlineprivate

Definition at line 142 of file TelescopeSimData.h.

Member Function Documentation

void fevt::TelescopeSimData::AddPhoton ( const utl::Photon p)
inline
void TelescopeSimData::ClearConfigSignature ( )
void fevt::TelescopeSimData::ClearPhotons ( )
inline
void fevt::TelescopeSimData::ClearRayTracedPhotonTrace ( )
inline
const std::string & TelescopeSimData::GetConfigSignature ( ) const
const std::string& fevt::TelescopeSimData::GetConfigSignatureStr ( ) const
inline
utl::TraceD& fevt::TelescopeSimData::GetDistanceTrace ( )
inline
const utl::TraceD& fevt::TelescopeSimData::GetDistanceTrace ( ) const
inline

Definition at line 95 of file TelescopeSimData.h.

References fDistanceTrace.

int fevt::TelescopeSimData::GetNPhotons ( ) const
inline
int fevt::TelescopeSimData::GetNumberOfFltPixels ( ) const
inline

Definition at line 117 of file TelescopeSimData.h.

References fNFltPixels.

Referenced by FdEventLoggerGS::FdEventLogger::Run().

int fevt::TelescopeSimData::GetNumberOfFltPixelsFromBackground ( ) const
inline

Definition at line 119 of file TelescopeSimData.h.

References fNFltPixelsFromBackground.

Referenced by FdEventLoggerGS::FdEventLogger::Run().

int fevt::TelescopeSimData::GetNumberOfFltPixelsFromShower ( ) const
inline

Definition at line 118 of file TelescopeSimData.h.

References fNFltPixelsFromShower.

Referenced by FdEventLoggerGS::FdEventLogger::Run().

int fevt::TelescopeSimData::GetNumberOfPhotonBins ( ) const
inline
int fevt::TelescopeSimData::GetNumberOfPixelsWithShowerPhotons ( ) const
inline

Definition at line 120 of file TelescopeSimData.h.

References fNPixelWithShowerLight.

Referenced by FdEventLoggerGS::FdEventLogger::Run().

int fevt::TelescopeSimData::GetNumberOfReadOutPixels ( ) const
inline

Definition at line 121 of file TelescopeSimData.h.

References fNReadOutPixels.

Referenced by FdEventLoggerGS::FdEventLogger::Run().

utl::TimeStamp fevt::TelescopeSimData::GetPhotonsStartTime ( ) const
inline
utl::TraceD & TelescopeSimData::GetPhotonTrace ( const fevt::FdConstants::LightSource  source,
const int  wl 
)
const utl::TraceD & TelescopeSimData::GetPhotonTrace ( const fevt::FdConstants::LightSource  source,
const int  wl 
) const

Definition at line 59 of file TelescopeSimData.cc.

References ERROR, and fPhotonTraces.

utl::TraceI& fevt::TelescopeSimData::GetRayTracedPhotonTrace ( )
inline
const utl::TraceI& fevt::TelescopeSimData::GetRayTracedPhotonTrace ( ) const
inline

Definition at line 75 of file TelescopeSimData.h.

References fRayTracedPhotonTrace.

int fevt::TelescopeSimData::GetSltTimeShift ( ) const
inline

Definition at line 123 of file TelescopeSimData.h.

References fSltTimeShift.

Referenced by FdEventLoggerGS::FdEventLogger::Run().

int fevt::TelescopeSimData::GetSltTriggerTime ( ) const
inline

Definition at line 122 of file TelescopeSimData.h.

References fSltTriggerTime.

Referenced by FdEventLoggerGS::FdEventLogger::Run().

bool fevt::TelescopeSimData::HasDistanceTrace ( ) const
inline
bool TelescopeSimData::HasPhotonTrace ( const fevt::FdConstants::LightSource  source,
const int  wl 
) const
bool TelescopeSimData::HasPhotonTrace ( const fevt::FdConstants::LightSource  source) const

Check that any light trace for source /par source is present (regardless of the wavelength bin)

Definition at line 91 of file TelescopeSimData.cc.

References fPhotonTraces.

bool fevt::TelescopeSimData::HasRayTracedPhotonTrace ( ) const
inline
void TelescopeSimData::MakeDistanceTrace ( const unsigned int  size = 0,
const double  binSize = 0 
)

Make the trace of distance along the shower axis of light at the diaphragm.

Definition at line 181 of file TelescopeSimData.cc.

References ERROR, and fDistanceTrace.

Referenced by io::TelescopeSimData_ROOT::operator>>(), and FieldOfViewCalculatorKG::FieldOfViewCalculator::Run().

void TelescopeSimData::MakePhotonTrace ( const fevt::FdConstants::LightSource  source,
const int  wl,
const unsigned int  size = 0,
const double  binSize = 0 
)
void TelescopeSimData::MakeRayTracedPhotonTrace ( const unsigned int  size = 0,
const double  binSize = 0 
)

Add a trace for the number of photons that were ray-traced.

Definition at line 170 of file TelescopeSimData.cc.

References ERROR, and fRayTracedPhotonTrace.

Referenced by ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run().

PhotonIterator fevt::TelescopeSimData::PhotonsBegin ( )
inline
ConstPhotonIterator fevt::TelescopeSimData::PhotonsBegin ( ) const
inline

Definition at line 129 of file TelescopeSimData.h.

References fPhotons.

PhotonIterator fevt::TelescopeSimData::PhotonsEnd ( )
inline
ConstPhotonIterator fevt::TelescopeSimData::PhotonsEnd ( ) const
inline

Definition at line 131 of file TelescopeSimData.h.

References fPhotons.

TelescopeSimData::PhotonTraceIterator TelescopeSimData::PhotonTracesBegin ( const fevt::FdConstants::LightSource  source)
TelescopeSimData::ConstPhotonTraceIterator TelescopeSimData::PhotonTracesBegin ( const fevt::FdConstants::LightSource  source) const

Definition at line 126 of file TelescopeSimData.cc.

References ERROR, and fPhotonTraces.

TelescopeSimData::PhotonTraceIterator TelescopeSimData::PhotonTracesEnd ( const fevt::FdConstants::LightSource  source)
TelescopeSimData::ConstPhotonTraceIterator TelescopeSimData::PhotonTracesEnd ( const fevt::FdConstants::LightSource  source) const

Definition at line 155 of file TelescopeSimData.cc.

References ERROR, and fPhotonTraces.

PhotonTraceSourceIterator fevt::TelescopeSimData::PhotonTracesSourceBegin ( )
inline

Definition at line 88 of file TelescopeSimData.h.

References fPhotonTraces.

Referenced by ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run().

ConstPhotonTraceSourceIterator fevt::TelescopeSimData::PhotonTracesSourceBegin ( ) const
inline

Definition at line 89 of file TelescopeSimData.h.

References fPhotonTraces.

PhotonTraceSourceIterator fevt::TelescopeSimData::PhotonTracesSourceEnd ( )
inline

Definition at line 90 of file TelescopeSimData.h.

References fPhotonTraces.

Referenced by ShowerPhotonGeneratorOG::ShowerPhotonGenerator::Run().

ConstPhotonTraceSourceIterator fevt::TelescopeSimData::PhotonTracesSourceEnd ( ) const
inline

Definition at line 91 of file TelescopeSimData.h.

References fPhotonTraces.

void fevt::TelescopeSimData::SetConfigSignatureStr ( const std::string &  configSignatureStr)
inline
void fevt::TelescopeSimData::SetNumberOfFltPixels ( const int  n)
inline
void fevt::TelescopeSimData::SetNumberOfFltPixelsFromBackground ( const int  n)
inline
void fevt::TelescopeSimData::SetNumberOfFltPixelsFromShower ( const int  n)
inline
void fevt::TelescopeSimData::SetNumberOfPhotonBins ( const int  n)
inline
void fevt::TelescopeSimData::SetNumberOfPixelsWithShowerPhotons ( const int  n)
inline
void fevt::TelescopeSimData::SetNumberOfReadOutPixels ( const int  n)
inline
void fevt::TelescopeSimData::SetPhotonsStartTime ( const utl::TimeStamp ts)
inline
void fevt::TelescopeSimData::SetSltTimeShift ( const int  n)
inline
void fevt::TelescopeSimData::SetSltTriggerTime ( const int  n)
inline

Friends And Related Function Documentation

friend class fevt::Telescope
friend

Definition at line 163 of file TelescopeSimData.h.

friend class utl::ShadowPtr< TelescopeSimData >
friend

Definition at line 164 of file TelescopeSimData.h.

Member Data Documentation

std::string fevt::TelescopeSimData::fConfigSignature
mutableprivate

Definition at line 161 of file TelescopeSimData.h.

Referenced by ClearConfigSignature(), and GetConfigSignature().

std::string fevt::TelescopeSimData::fConfigSignatureStr
private
utl::ShadowPtr<utl::TraceD> fevt::TelescopeSimData::fDistanceTrace
private

Definition at line 147 of file TelescopeSimData.h.

Referenced by GetDistanceTrace(), HasDistanceTrace(), and MakeDistanceTrace().

int fevt::TelescopeSimData::fNFltPixels
private

Definition at line 150 of file TelescopeSimData.h.

Referenced by GetNumberOfFltPixels(), and SetNumberOfFltPixels().

int fevt::TelescopeSimData::fNFltPixelsFromBackground
private
int fevt::TelescopeSimData::fNFltPixelsFromShower
private
int fevt::TelescopeSimData::fNPixelWithShowerLight
private
int fevt::TelescopeSimData::fNReadOutPixels
private

Definition at line 154 of file TelescopeSimData.h.

Referenced by GetNumberOfReadOutPixels(), and SetNumberOfReadOutPixels().

int fevt::TelescopeSimData::fNumberOfPhotonBins
private

Definition at line 145 of file TelescopeSimData.h.

Referenced by GetNumberOfPhotonBins(), and SetNumberOfPhotonBins().

PhotonList fevt::TelescopeSimData::fPhotons
private

Definition at line 158 of file TelescopeSimData.h.

Referenced by AddPhoton(), ClearPhotons(), GetNPhotons(), PhotonsBegin(), and PhotonsEnd().

PhotonTraceSourceContainer fevt::TelescopeSimData::fPhotonTraces
private
utl::ShadowPtr<utl::TraceI> fevt::TelescopeSimData::fRayTracedPhotonTrace
private
int fevt::TelescopeSimData::fSltTimeShift
private

Definition at line 156 of file TelescopeSimData.h.

Referenced by GetSltTimeShift(), and SetSltTimeShift().

int fevt::TelescopeSimData::fSltTriggerTime
private

Definition at line 155 of file TelescopeSimData.h.

Referenced by GetSltTriggerTime(), and SetSltTriggerTime().

utl::TimeStamp fevt::TelescopeSimData::fTraceStartTime
private

Definition at line 144 of file TelescopeSimData.h.

Referenced by GetPhotonsStartTime(), and SetPhotonsStartTime().


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

, generated on Tue Sep 26 2023.