1 #include <io/Telescope_ROOT.h>
2 #include <io/TelescopeSimData_ROOT.h>
3 #include <io/TelescopeTriggerData_ROOT.h>
4 #include <io/StreamerUtilities.h>
41 fTracesStartTime(t.GetTracesStartTime()),
42 fChannels(t.ChannelsBegin(), t.ChannelsEnd()),
43 fPixels(t.PixelsBegin(fevt::ComponentSelector::eExists),
44 t.PixelsEnd(fevt::ComponentSelector::eExists)),
45 fTimeOffset(t.GetTimeOffset()),
46 fRawTelPointing(t.GetRawTelPointing()),
47 fStatus(t.GetStatus())
70 t.
SetStatus(static_cast<fevt::ComponentSelector::Status>(0));
93 for (
const auto& px :
fPixels) {
Telescope Class being actually streamed when using ROOT IO.
bool HasTriggerData() const
void ConvertCopy(T *&destination, const U &source)
void SetStatus(const ComponentSelector::Status status)
void SetTimeOffset(const unsigned int toffset)
unsigned int GetEyeId() const
unsigned int fTelescopeId
std::string fRawTelPointing
TelescopeSimData_ROOT * fSim
Base class to report exceptions in IO.
utl::TimeStamp Convert() const
void MakePixel(const unsigned int pixelId, const ComponentSelector::Status status=ComponentSelector::eHasData)
Make Pixel telescopeId.
Telescope_ROOT & operator=(const Telescope_ROOT &t)
fevt::TelescopeSimData & GetSimData()
Channel & GetChannel(const unsigned int channelId)
void DeepCopy(T *&destination, U *const source)
void SetTracesStartTime(const utl::TimeStamp &tstamp)
TelescopeTriggerData_ROOT * fTrigger
std::vector< Channel_ROOT > fChannels
void SetRawTelPointing(const std::string &pointing)
std::vector< Pixel_ROOT > fPixels
void MakeChannel(const unsigned int channelId)
void operator>>(fevt::Telescope &t) const
fTelescopeId(t.GetTelescopeId())
Pixel & GetPixel(const unsigned int pixelId, const ComponentSelector::Status status=ComponentSelector::eHasData)
Retrieve Pixel by Id, throw exception if not existent.
unsigned int GetId() const
Fluorescence Detector Telescope Event.
TimeStamp_ROOT fTracesStartTime
fevt::TelescopeTriggerData & GetTriggerData()