38 dom() : fDomHeader(), fvPmt() { }
48 if (fvPmt.size() == 0)
return false;
53 for (
unsigned int pmt = 0;
pmt < fvPmt.size(); ++
pmt)
54 if (fvPmt[
pmt].GetPmtId() ==
pmtId)
return true;
58 void SetPmtsData(
const std::vector<pmt> pmts) { fvPmt = pmts; }
64 for (
unsigned int pmt = 0;
pmt < fvPmt.size(); ++
pmt)
65 if (fvPmt[
pmt].GetPmtId() ==
pmtId) curPmt = fvPmt[
pmt];
71 std::vector<pmt> fvPmt;
const domHeader GetDomHeader() const
get the information contained in the header (see domHeader class)
organisation of the data - dom level
void ClearPmtsData()
clear the dom data
const pmt GetPmtData(const int pmtId) const
get only one pmt objects
Identify and fill the pmts with data.
void SetPmtsData(const std::vector< pmt > pmts)
set the filled pmts in the dom
void SetDomHeader(const domHeader &eHeader)
set the information in the header (see domHeader class)
const std::vector< pmt > GetPmtsData() const
get all the pmts objects (in which are the data)
const bool HasPmtsData() const
test if dom has data whatever the pmt
const bool HasPmtData(const int pmtId)
test if dom has data on a specific pmt