CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FSimVertexType.cc
Go to the documentation of this file.
2 
4  vertexType_(ANY) {}
5 
7  vertexType_(vertexType) {}
8 
9 
10 std::ostream & operator <<(std::ostream & out , const FSimVertexType & v) {
11 
12  out << "vertexType = " << v.vertexType() << " ";
13 
14  switch (v.vertexType()){
15  case FSimVertexType::ANY: out << "ANY"; break;
16  case FSimVertexType::PRIMARY_VERTEX: out << "PRIMARY"; break;
17  case FSimVertexType::NUCL_VERTEX: out << "NUCLEAR"; break;
18  case FSimVertexType::PAIR_VERTEX: out << "PAIR"; break;
19  case FSimVertexType::BREM_VERTEX: out << "BREM"; break;
20  case FSimVertexType::DECAY_VERTEX: out << "DECAY"; break;
21  case FSimVertexType::END_VERTEX: out << "END"; break;
22  case FSimVertexType::PILEUP_VERTEX: out << "PILEUP"; break;
23  case FSimVertexType::BSM_VERTEX: out << "BSM"; break;
24  default: out << "CHECK YOUR VERTEX TYPE!!!!"; break;
25  }
26 
27  return out;
28 
29 }
const VertexType vertexType() const
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition: ALILine.cc:187
A FSimVertexType hold the information on the vertex origine.
tuple out
Definition: dbtoconf.py:99