T3_ROOT.cc
Go to the documentation of this file.
1 #include <io/T3_ROOT.h>
2 #include <sevt/T3.h>
3 
4 using namespace io;
5 
6 
7 ClassImp(T3_ROOT)
8 
9 ClassImp(T3Station_ROOT)
10 
11 
12 T3_ROOT::T3_ROOT(const sevt::T3& t3)
13 {
14  for (auto it = t3.StationsBegin(), end = t3.StationsEnd(); it != end; ++it)
15  fStations.emplace_back(it->fId, it->fOffset.GetInterval(), it->fWindow.GetInterval());
16 }
17 
18 
19 void
21  const
22 {
23  for (const auto& st : fStations)
24  t3.AddStation(st.fId, st.fOffset, st.fWindow);
25 }
This class contains the basic information to build a surface event.
Definition: T3.h:36
a t3: algo, second, usecond and a vector of &lt;t3stat&gt;
Definition: XbT2.h:29
void operator>>(sevt::T3 &t3) const
Definition: T3_ROOT.cc:20
std::vector< T3Station_ROOT > fStations
Definition: T3_ROOT.h:39
void AddStation(const int id, const utl::TimeInterval &offset, const utl::TimeInterval &window)
Add a station to request data, specifying offset and window size.
Definition: T3.cc:13

, generated on Tue Sep 26 2023.