CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
FSimVertexType.cc File Reference
#include "FastSimDataFormats/NuclearInteractions/interface/FSimVertexType.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &out, const FSimVertexType &v)
 

Function Documentation

std::ostream& operator<< ( std::ostream &  out,
const FSimVertexType v 
)

Definition at line 10 of file FSimVertexType.cc.

References FSimVertexType::ANY, FSimVertexType::BREM_VERTEX, FSimVertexType::BSM_VERTEX, FSimVertexType::DECAY_VERTEX, FSimVertexType::END_VERTEX, FSimVertexType::NUCL_VERTEX, dbtoconf::out, FSimVertexType::PAIR_VERTEX, FSimVertexType::PILEUP_VERTEX, FSimVertexType::PRIMARY_VERTEX, and FSimVertexType::vertexType().

10  {
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
tuple out
Definition: dbtoconf.py:99