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

Constructor & Destructor Documentation

◆ simPrimaryVertex()

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

Definition at line 68 of file PrimaryVertexAnalyzer4PUSlimmed.h.

69  : x(x1),
70  y(y1),
71  z(z1),
72  ptsq(0),
74  nGenTrk(0),
77  ptot.setPx(0);
78  ptot.setPy(0);
79  ptot.setPz(0);
80  ptot.setE(0);
81  p4 = LorentzVector(0, 0, 0, 0);
82  r = sqrt(x * x + y * y);
83  };

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

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

Referenced by simPrimaryVertex().

◆ rec_vertices

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

Definition at line 94 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ sim_vertex

TrackingVertexRef PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::sim_vertex

Definition at line 93 of file PrimaryVertexAnalyzer4PUSlimmed.h.

◆ x

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::x

◆ y

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::y

◆ z

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::z
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::closest_vertex_distance_z
double closest_vertex_distance_z
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:88
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::ptsq
double ptsq
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:87
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::ptot
HepMC::FourVector ptot
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:85
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::z
double z
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:83
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
testProducerWithPsetDescEmpty_cfi.y1
y1
Definition: testProducerWithPsetDescEmpty_cfi.py:29
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::nGenTrk
int nGenTrk
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:89
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::p4
LorentzVector p4
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:86
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::r
double r
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:83
PrimaryVertexAnalyzer4PUSlimmed::LorentzVector
math::XYZTLorentzVector LorentzVector
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:62
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::num_matched_reco_tracks
int num_matched_reco_tracks
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:90
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::average_match_quality
float average_match_quality
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:91
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::x
double x
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:83
PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::y
double y
Definition: PrimaryVertexAnalyzer4PUSlimmed.h:83