BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InterRow.cxx
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/rdbModel/src/Tables/InterRow.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/Set.h"
5#include "rdbModel/Tables/InterRow.h"
6
7namespace rdbModel {
8
9 InterRow::InterRow(Table* table, Query* query, bool quit)
10 : m_myTable(table), m_query(query), m_quit(quit) {
11 m_sets.clear();
12 }
13
15 delete m_query;
16
17 // Don't know yet whether anything more needs to be done here
18 m_sets.clear();
19 }
20
21 void InterRow::addSet(const Set& set) {
22 m_sets.push_back(set);
23 }
24
25
27 Visitor::VisitorState state = v->visitInterRow(this);
28 if (state == Visitor::VBRANCHDONE) return Visitor::VCONTINUE;
29
30 unsigned n = m_sets.size();
31 for (unsigned i = 0; i < n; i++) {
32 state = m_sets[i].accept(v);
33 if (state != Visitor::VCONTINUE) return state;
34 }
35 return state;
36 }
37
38}
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: InterRow.cxx:26
InterRow(Table *table, Query *query=0, bool quit=true)
Definition: InterRow.cxx:9
void addSet(const Set &set)
Definition: InterRow.cxx:21