StationCalibData_ROOT.cc
Go to the documentation of this file.
1 #include <sevt/StationCalibData.h>
2 #include <io/StationCalibData_ROOT.h>
3 
4 using namespace io;
5 
6 
7 ClassImp(StationCalibData_ROOT)
8 
9 
10 StationCalibData_ROOT::StationCalibData_ROOT(const sevt::StationCalibData& c) :
11  fVersion(c.GetVersion()),
12  fStartSecond(c.GetStartSecond()),
13  fEndSecond(c.GetEndSecond()),
14  fNT1(c.GetNT1()),
15  fNT2(c.GetNT2()),
16  fNTot(c.GetNTot()),
17  fNTubesOk(c.GetNTubesOk()),
18  fMuonChargeHisto(c.GetMuonChargeHisto()),
19  fMuonChargeHistoOffset(c.GetMuonChargeHistoOffset())
20 { }
21 
22 
23 void
25  const
26 {
30  c.SetNT1(fNT1);
31  c.SetNT2(fNT2);
32  c.SetNTot(fNTot);
35 }
void SetNTot(const unsigned int ntot)
total number of triggers recevied during calibration
void operator>>(sevt::StationCalibData &c) const
std::vector< int > fMuonChargeHisto
Persistent StationCalibData using ROOT.
void SetNTubesOk(const unsigned int nTubesOk)
get numbers of tubes with calibration
void SetVersion(const int version)
version of the onboard calibration
Station Calibration data
void SetMuonChargeHisto(const std::vector< int > &mch, const int offset)
histogram of the sum of muon charges
void SetNT1(const unsigned int nt1)
number of T1 received during calibration
void SetNT2(const unsigned int nt2)
number of T2 received during calibration
void SetStartSecond(const unsigned int ss)
GPS second of start of calibration.
void SetEndSecond(const unsigned int es)
GPS second of end of calibration.

, generated on Tue Sep 26 2023.