![]() |
![]() |
A FSimVertexType hold the information on the vertex origine. More...
#include <FSimVertexType.h>
Public Types | |
enum | VertexType { ANY = 0, PRIMARY_VERTEX = 1, NUCL_VERTEX = 2, PAIR_VERTEX = 3, BREM_VERTEX = 4, DECAY_VERTEX = 5, END_VERTEX = 6, PILEUP_VERTEX = 7, BSM_VERTEX = 8 } |
Public Member Functions | |
FSimVertexType () | |
FSimVertexType (VertexType) | |
void | setVertexType (VertexType vertexType) |
const VertexType | vertexType () const |
virtual | ~FSimVertexType () |
Private Attributes | |
VertexType | vertexType_ |
Friends | |
std::ostream & | operator<< (std::ostream &out, const FSimVertexType &co) |
A FSimVertexType hold the information on the vertex origine.
Format FSimVertexType
This data format is designed to hold the information obout the nature of a SimVertex within the Famos or Generation sequences.
Definition at line 19 of file FSimVertexType.h.
Enum of possible vertex types. May be extended according to different needs
ANY | |
PRIMARY_VERTEX | |
NUCL_VERTEX | |
PAIR_VERTEX | |
BREM_VERTEX | |
DECAY_VERTEX | |
END_VERTEX | |
PILEUP_VERTEX | |
BSM_VERTEX |
Definition at line 25 of file FSimVertexType.h.
{ ANY = 0, PRIMARY_VERTEX = 1, NUCL_VERTEX = 2, PAIR_VERTEX = 3, BREM_VERTEX = 4, DECAY_VERTEX = 5, END_VERTEX = 6, PILEUP_VERTEX = 7, BSM_VERTEX = 8 };
FSimVertexType::FSimVertexType | ( | ) |
Definition at line 3 of file FSimVertexType.cc.
: vertexType_(ANY) {}
FSimVertexType::FSimVertexType | ( | VertexType | vertexType | ) |
Definition at line 6 of file FSimVertexType.cc.
: vertexType_(vertexType) {}
virtual FSimVertexType::~FSimVertexType | ( | ) | [inline, virtual] |
Definition at line 39 of file FSimVertexType.h.
{}
void FSimVertexType::setVertexType | ( | VertexType | vertexType | ) | [inline] |
Definition at line 42 of file FSimVertexType.h.
References vertexType(), and vertexType_.
{vertexType_ = vertexType;}
const VertexType FSimVertexType::vertexType | ( | ) | const [inline] |
Definition at line 41 of file FSimVertexType.h.
References vertexType_.
Referenced by operator<<(), and setVertexType().
{return vertexType_;}
std::ostream& operator<< | ( | std::ostream & | out, |
const FSimVertexType & | co | ||
) | [friend] |
Definition at line 10 of file FSimVertexType.cc.
{ out << "vertexType = " << v.vertexType() << " "; switch (v.vertexType()){ case FSimVertexType::ANY: out << "ANY"; break; case FSimVertexType::PRIMARY_VERTEX: out << "PRIMARY"; break; case FSimVertexType::NUCL_VERTEX: out << "NUCLEAR"; break; case FSimVertexType::PAIR_VERTEX: out << "PAIR"; break; case FSimVertexType::BREM_VERTEX: out << "BREM"; break; case FSimVertexType::DECAY_VERTEX: out << "DECAY"; break; case FSimVertexType::END_VERTEX: out << "END"; break; case FSimVertexType::PILEUP_VERTEX: out << "PILEUP"; break; case FSimVertexType::BSM_VERTEX: out << "BSM"; break; default: out << "CHECK YOUR VERTEX TYPE!!!!"; break; } return out; }
VertexType FSimVertexType::vertexType_ [private] |
Definition at line 46 of file FSimVertexType.h.
Referenced by setVertexType(), and vertexType().