CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
SimBeamSpotObjects.cc
Go to the documentation of this file.
2 
3 #include <iostream>
4 
5 void SimBeamSpotObjects::print(std::stringstream& ss) const {
6  ss << "-----------------------------------------------------\n"
7  <<fX0<<std::endl;
8 }
9 
10 std::ostream& operator<< ( std::ostream& os, SimBeamSpotObjects beam ) {
11  std::stringstream ss;
12  beam.print(ss);
13  os << ss.str();
14  return os;
15 }
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
void print(std::stringstream &ss) const