CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Public Attributes
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex Struct Reference

Public Types

enum  VertexProperties { NONE = 0, MATCHED = 1, DUPLICATE = 2, MERGED = 4 }
 

Public Member Functions

 recoPrimaryVertex (double x1, double y1, double z1)
 

Public Attributes

double closest_vertex_distance_z
 
int kind_of_vertex
 
int nRecoTrk
 
int num_matched_sim_tracks
 
double pt
 
double ptsq
 
double purity
 
double r
 
const reco::VertexrecVtx
 
reco::VertexBaseRef recVtxRef
 
std::vector< const TrackingVertex * > sim_vertices
 
std::vector< const simPrimaryVertex * > sim_vertices_internal
 
std::vector< unsigned int > sim_vertices_num_shared_tracks
 
double x
 
double y
 
double z
 

Detailed Description

Definition at line 97 of file PrimaryVertexAnalyzer4PUSlimmed.h.

Member Enumeration Documentation

◆ VertexProperties

Constructor & Destructor Documentation

◆ recoPrimaryVertex()

PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::recoPrimaryVertex ( double  x1,
double  y1,
double  z1 
)
inline

Definition at line 99 of file PrimaryVertexAnalyzer4PUSlimmed.h.

References r, mathSSE::sqrt(), x, and y.

100  : x(x1),
101  y(y1),
102  z(z1),
103  pt(0),
104  ptsq(0),
106  purity(-1.),
107  nRecoTrk(0),
109  kind_of_vertex(0),
110  recVtx(nullptr) {
111  r = sqrt(x * x + y * y);
112  };
T sqrt(T t)
Definition: SSEVec.h:19

Member Data Documentation

◆ closest_vertex_distance_z

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::closest_vertex_distance_z

Definition at line 116 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ kind_of_vertex

int PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::kind_of_vertex

Definition at line 120 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ nRecoTrk

int PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::nRecoTrk

◆ num_matched_sim_tracks

int PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::num_matched_sim_tracks

◆ pt

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::pt

◆ ptsq

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::ptsq

◆ purity

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::purity

Definition at line 117 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ r

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::r

Definition at line 112 of file PrimaryVertexAnalyzer4PUSlimmed.h.

Referenced by recoPrimaryVertex().

◆ recVtx

const reco::Vertex* PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::recVtx

Definition at line 124 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ recVtxRef

reco::VertexBaseRef PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::recVtxRef

Definition at line 125 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ sim_vertices

std::vector<const TrackingVertex *> PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::sim_vertices

Definition at line 121 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ sim_vertices_internal

std::vector<const simPrimaryVertex *> PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::sim_vertices_internal

Definition at line 122 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ sim_vertices_num_shared_tracks

std::vector<unsigned int> PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::sim_vertices_num_shared_tracks

Definition at line 123 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ x

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::x

◆ y

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::y

◆ z

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::z