12 m_InternalNumber( 99 ),
18 m_Bunches.push_back(
b);
23 m_InternalNumber = 99;
30 cout <<
indent <<
"BunchGroup ";
33 cout <<
indent <<
"\t partition # :\t\t\t" << m_Partition << endl;
34 cout <<
indent <<
"\t internal # :\t\t\t" << m_InternalNumber << endl;
35 cout <<
indent <<
"\t Bunches: " << m_Bunches.size() <<
"\t\t";
37 for(
unsigned int i=0;
i < m_Bunches.size();
i++) {
38 cout << m_Bunches[
i] <<
" ";
46 indent(xmlfile,indentLevel, indentWidth)
47 <<
"<BunchGroup internalNumber=\"" << m_InternalNumber <<
"\" name=\"" <<
name() <<
"\"";
48 if(m_Bunches.size()==0) {
49 xmlfile <<
"/>" << endl;
51 xmlfile <<
">" << endl;
52 for(
unsigned int i=0;
i < m_Bunches.size();
i++)
53 indent(xmlfile,indentLevel+1, indentWidth)
54 <<
"<Bunch bunchNumber=\"" << m_Bunches[
i] <<
"\"/>" << endl;
55 indent(xmlfile,indentLevel, indentWidth)
56 <<
"</BunchGroup>" << endl;