mevtChannel_ROOT.cc
Go to the documentation of this file.
1 #include <io/mevtChannel_ROOT.h>
2 
3 using namespace io;
4 
5 
6 ClassImp(mevtChannel_ROOT)
7 
8 
9 mevtChannel_ROOT::mevtChannel_ROOT(const mevt::Channel& c) :
10  fId(c.GetId()),
11  fTrace(c.HasTrace() ? TraceB_ROOT(c.GetTrace()) : TraceB_ROOT())
12 { }
13 
14 
15 void
17  const
18 {
19  if (fTrace) {
20  c.MakeTrace();
21  fTrace >> c.GetTrace();
22  }
23 }
void operator>>(mevt::Channel &c) const
utl::TraceB & GetTrace()
Persistent SD Channel using ROOT.
Channel level event data.

, generated on Tue Sep 26 2023.