CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Attributes | Friends
FSimVertexType Class Reference

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)
 

Detailed Description

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.

Author
Maxime Gouzevitch
Date
November 2009

Definition at line 19 of file FSimVertexType.h.

Member Enumeration Documentation

Enum of possible vertex types. May be extended according to different needs

Enumerator
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.

Constructor & Destructor Documentation

FSimVertexType::FSimVertexType ( )

Definition at line 3 of file FSimVertexType.cc.

FSimVertexType::FSimVertexType ( VertexType  vertexType)

Definition at line 6 of file FSimVertexType.cc.

6  :
7  vertexType_(vertexType) {}
VertexType vertexType_
virtual FSimVertexType::~FSimVertexType ( )
inlinevirtual

Definition at line 39 of file FSimVertexType.h.

39 {}

Member Function Documentation

void FSimVertexType::setVertexType ( VertexType  vertexType)
inline

Definition at line 42 of file FSimVertexType.h.

References vertexType(), and vertexType_.

const VertexType vertexType() const
VertexType vertexType_
const VertexType FSimVertexType::vertexType ( ) const
inline

Definition at line 41 of file FSimVertexType.h.

References vertexType_.

Referenced by operator<<(), and setVertexType().

41 {return vertexType_;}
VertexType vertexType_

Friends And Related Function Documentation

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

Definition at line 10 of file FSimVertexType.cc.

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 }
tuple out
Definition: dbtoconf.py:99
mathSSE::Vec4< T > v

Member Data Documentation

VertexType FSimVertexType::vertexType_
private

Definition at line 46 of file FSimVertexType.h.

Referenced by setVertexType(), and vertexType().