dump_peds.h File Reference

#include <BeamDataUtil/BeamMonSwicPeds.h>

Go to the source code of this file.

Functions

void dump_peds ()

Function Documentation

void dump_peds (  ) 

Definition at line 19 of file dump_peds.cxx.

References det, DbiValidityRec::GetSeqNo(), DbiResultPtr< T >::GetValidityRec(), DbiValidityRec::GetVldRange(), SimFlag::kData, Detector::kNear, 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 }


Generated on 17 Jun 2018 for loon by  doxygen 1.6.1