1#ifndef __SatelliteRead__
2#define __SatelliteRead__
60 if(aTelescopeIndex>=(
int)
sat_tel.size())
return -1;
61 return sat_tel[aTelescopeIndex]->TChain::GetReadEntry();
72 if(aTelescopeIndex>=(
int)
sat_tel.size())
return NULL;
92 bool SetTime(
const ULong64_t aTime);
100 if(aTelescopeIndex>=(
int)
sat_tel.size())
return "";
101 return sat_tel[aTelescopeIndex]->GetName();
110 return sat_tel[0]->GetNtrees();
134 if(aTelescopeIndex>=(UInt_t)
sat_tel.size())
return NULL;
135 return sat_tel[aTelescopeIndex];
152 TGraph **aAlpha, TGraph **aBeta, TGraph **aGamma);
@ pixamplitude
raw amplitude map.
Definition CameraConfig.h:26
This module is used to read a Telescope structure.
Read a Satellite sequence.
Definition SatelliteRead.h:20
TH2S * GetPicture(const UInt_t aTelescopeIndex)
Returns the current picture of a given telescope.
Definition SatelliteRead.h:71
virtual ~SatelliteRead(void)
SatelliteRead class destructor.
Definition SatelliteRead.cc:52
long long int GetPictureIndex(const UInt_t aTelescopeIndex)
Returns the current picture index of a given telescope.
Definition SatelliteRead.h:59
void Init(void)
Inits the satellite sequence.
Definition SatelliteRead.cc:59
TelescopeRead * GetTelescope(const UInt_t aTelescopeIndex)
Returns a pointer to a given telescope.
Definition SatelliteRead.h:133
SatelliteRead(const string aFilePattern)
SatelliteRead class constuctor.
string GetTelescopeName(const UInt_t aTelescopeIndex)
Returns the name of a given telescope.
Definition SatelliteRead.h:99
UInt_t GetTimeDuration(void)
Returns the sequence time duration .
Definition SatelliteRead.cc:88
vector< TelescopeRead * > sat_tel
Vector of telescopes.
Definition SatelliteRead.h:157
int GetNtelescopes(void)
Returns the number of telescopes.
Definition SatelliteRead.h:50
bool SetTime(const ULong64_t aTime)
Sets the satellite time.
Definition SatelliteRead.cc:67
int GetFlightSequence(const UInt_t aTelescopeIndex, TGraph **aAlpha, TGraph **aBeta, TGraph **aGamma)
Returns the flight sequence for a given telescope.
Definition SatelliteRead.cc:99
ULong64_t GetTimeStart(void)
Returns the sequence start time .
Definition SatelliteRead.cc:77
int GetNfiles(void)
Returns the number of input files.
Definition SatelliteRead.h:108
Read a Telescope object.
Definition TelescopeRead.h:26