CMS 3D CMS Logo

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

Public Member Functions

 simPrimaryVertex (double x1, double y1, double z1)
 

Public Attributes

float average_match_quality
 
double closest_vertex_distance_z
 
EncodedEventId eventId
 
int nGenTrk
 
int num_matched_reco_tracks
 
LorentzVector p4
 
HepMC::FourVector ptot
 
double ptsq
 
double r
 
std::vector< const reco::Vertex * > rec_vertices
 
TrackingVertexRef sim_vertex
 
double x
 
double y
 
double z
 

Detailed Description

Definition at line 66 of file PrimaryVertexAnalyzer4PUSlimmed.h.

Constructor & Destructor Documentation

◆ simPrimaryVertex()

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

Definition at line 67 of file PrimaryVertexAnalyzer4PUSlimmed.h.

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

68  : x(x1),
69  y(y1),
70  z(z1),
71  ptsq(0),
73  nGenTrk(0),
76  ptot.setPx(0);
77  ptot.setPy(0);
78  ptot.setPz(0);
79  ptot.setE(0);
80  p4 = LorentzVector(0, 0, 0, 0);
81  r = sqrt(x * x + y * y);
82  };
T sqrt(T t)
Definition: SSEVec.h:19

Member Data Documentation

◆ average_match_quality

float PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::average_match_quality

◆ closest_vertex_distance_z

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::closest_vertex_distance_z

Definition at line 87 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ eventId

EncodedEventId PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::eventId

◆ nGenTrk

int PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::nGenTrk

◆ num_matched_reco_tracks

int PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::num_matched_reco_tracks

◆ p4

LorentzVector PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::p4

◆ ptot

HepMC::FourVector PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::ptot

◆ ptsq

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::ptsq

◆ r

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::r

Definition at line 82 of file PrimaryVertexAnalyzer4PUSlimmed.h.

Referenced by simPrimaryVertex().

◆ rec_vertices

std::vector<const reco::Vertex *> PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::rec_vertices

Definition at line 93 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ sim_vertex

TrackingVertexRef PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::sim_vertex

Definition at line 92 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ x

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::x

◆ y

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::y

◆ z

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::z