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 98 of file PrimaryVertexAnalyzer4PUSlimmed.h.

Member Enumeration Documentation

Constructor & Destructor Documentation

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

Definition at line 100 of file PrimaryVertexAnalyzer4PUSlimmed.h.

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

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

Member Data Documentation

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::closest_vertex_distance_z
int PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::kind_of_vertex
int PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::nRecoTrk
int PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::num_matched_sim_tracks
double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::pt
double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::ptsq
double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::purity
double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::r
const reco::Vertex* PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::recVtx
reco::VertexBaseRef PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::recVtxRef

Definition at line 126 of file PrimaryVertexAnalyzer4PUSlimmed.h.

std::vector<const TrackingVertex *> PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::sim_vertices
std::vector<const simPrimaryVertex *> PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::sim_vertices_internal
std::vector<unsigned int> PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::sim_vertices_num_shared_tracks
double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::x
double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::y
double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::z