#include <BeamDataUtil/BeamMonSwicPeds.h>Go to the source code of this file.
Functions | |
| void | dump_peds () |
|
|
Definition at line 19 of file dump_peds.cxx. References det, DbiValidityRec::GetSeqNo(), DbiResultPtr< T >::GetValidityRec(), DbiValidityRec::GetVldRange(), and DbiResultPtr< T >::NewQuery(). 00020 {
00021
00022 VldTimeStamp vts(2005,3,18,0,0,0);
00023 Detector::Detector_t det = Detector::kNear;
00024 SimFlag::SimFlag_t sim = SimFlag::kData;
00025 VldContext vc(det,sim,vts);
00026
00027 DbiResultPtr<BeamMonSwicPeds> p;
00028 int nrows = p.NewQuery(vc);
00029
00030 const DbiValidityRec* vr = p.GetValidityRec();
00031 cerr << nrows << " rows, seqno=" << vr->GetSeqNo()
00032 << " query vc = " << vc << endl
00033 << vr->GetVldRange() << endl;
00034
00035 }
|
1.3.9.1