BOSS 7.0.4
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 06:10:53 maqm Exp $
2
3#include "rdbModel/Tables/Query.h"
4#include "rdbModel/Tables/Assertion.h"
5
6namespace rdbModel {
7
8 Query::Query(Table* table, const std::vector<std::string>* toSelect,
9 Assertion* pAssert) : m_myTable(table), m_assert(pAssert) {
10 m_toSelect.clear();
11
12 if (toSelect != 0) {
13 unsigned n = toSelect->size();
14 m_toSelect.reserve(n);
15 for (unsigned i = 0; i < n; i++) {
16 m_toSelect.push_back((*toSelect)[i]);
17 }
18 }
19
20 }
21
23 m_toSelect.clear();
24 // delete pAssert; // ?? This is probably already done by ~Table
25 }
26
28 Visitor::VisitorState state = v->visitQuery(this);
29 if (state == Visitor::VBRANCHDONE) return Visitor::VCONTINUE;
30 return state;
31 }
32}
33
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:27
Query(Table *table, const std::vector< std::string > *toSelect=0, Assertion *pAssert=0)
Definition: Query.cxx:8