BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Query.cxx
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/rdbModel/src/Tables/Query.cxx,v 1.1.1.1 2005/10/17
2// 06:10:53 maqm Exp $
3
4#include "rdbModel/Tables/Query.h"
5#include "rdbModel/Tables/Assertion.h"
6
7namespace rdbModel {
8
9 Query::Query( Table* table, const std::vector<std::string>* toSelect, Assertion* pAssert )
10 : m_myTable( table ), m_assert( pAssert ) {
11 m_toSelect.clear();
12
13 if ( toSelect != 0 )
14 {
15 unsigned n = toSelect->size();
16 m_toSelect.reserve( n );
17 for ( unsigned i = 0; i < n; i++ ) { m_toSelect.push_back( ( *toSelect )[i] ); }
18 }
19 }
20
22 m_toSelect.clear();
23 // delete pAssert; // ?? This is probably already done by ~Table
24 }
25
27 Visitor::VisitorState state = v->visitQuery( this );
28 if ( state == Visitor::VBRANCHDONE ) return Visitor::VCONTINUE;
29 return state;
30 }
31} // namespace rdbModel
const Int_t n
**********Class see also m_nmax DOUBLE PRECISION m_amel DOUBLE PRECISION m_x2 DOUBLE PRECISION m_alfinv DOUBLE PRECISION m_Xenph INTEGER m_KeyWtm INTEGER m_idyfs DOUBLE PRECISION m_zini DOUBLE PRECISION m_q2 DOUBLE PRECISION m_Wt_KF DOUBLE PRECISION m_WtCut INTEGER m_KFfin *COMMON c_KarLud $ !Input CMS energy[GeV] $ !CMS energy after beam spread beam strahlung[GeV] $ !Beam energy spread[GeV] $ !z boost due to beam spread $ !electron beam mass *ff pair spectrum $ !minimum v
Definition KarLud.h:35
Visitor::VisitorState accept(Visitor *v)
Definition Query.cxx:26
Query(Table *table, const std::vector< std::string > *toSelect=0, Assertion *pAssert=0)
Definition Query.cxx:9