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

◆ VertexProperties

Enumerator
NONE 
MATCHED 
DUPLICATE 
MERGED 

Definition at line 99 of file PrimaryVertexAnalyzer4PUSlimmed.h.

99 { NONE = 0, MATCHED = 1, DUPLICATE = 2, MERGED = 4 };

Constructor & Destructor Documentation

◆ recoPrimaryVertex()

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

Definition at line 100 of file PrimaryVertexAnalyzer4PUSlimmed.h.

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  };

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

Member Data Documentation

◆ closest_vertex_distance_z

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::closest_vertex_distance_z

Definition at line 117 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ kind_of_vertex

int PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::kind_of_vertex

Definition at line 121 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 118 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ r

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::r

Definition at line 113 of file PrimaryVertexAnalyzer4PUSlimmed.h.

Referenced by recoPrimaryVertex().

◆ recVtx

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

Definition at line 125 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ recVtxRef

reco::VertexBaseRef PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::recVtxRef

Definition at line 126 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ sim_vertices

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

Definition at line 122 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ sim_vertices_internal

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

Definition at line 123 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ sim_vertices_num_shared_tracks

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

Definition at line 124 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ x

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::x

◆ y

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::y

◆ z

double PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::z
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::NONE
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:99
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::kind_of_vertex
int kind_of_vertex
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:121
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::MATCHED
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:99
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::purity
double purity
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:118
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::z
double z
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:113
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::num_matched_sim_tracks
int num_matched_sim_tracks
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:120
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::nRecoTrk
int nRecoTrk
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:119
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::ptsq
double ptsq
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:116
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
testProducerWithPsetDescEmpty_cfi.y1
y1
Definition: testProducerWithPsetDescEmpty_cfi.py:29
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::closest_vertex_distance_z
double closest_vertex_distance_z
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:117
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::DUPLICATE
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:99
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::pt
double pt
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:115
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::r
double r
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:113
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::y
double y
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:113
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::recVtx
const reco::Vertex * recVtx
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:125
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::x
double x
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:113
PrimaryVertexAnalyzer4PUSlimmed::recoPrimaryVertex::MERGED
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:99