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

Constructor & Destructor Documentation

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

Definition at line 74 of file PrimaryVertexAnalyzer4PUSlimmed.h.

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

75  :x(x1), y(y1), z(z1),
77  nGenTrk(0),
80  ptot.setPx(0);
81  ptot.setPy(0);
82  ptot.setPz(0);
83  ptot.setE(0);
84  p4 = LorentzVector(0, 0, 0, 0);
85  r = sqrt(x*x + y*y);
86  };
T sqrt(T t)
Definition: SSEVec.h:18

Member Data Documentation

float PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::average_match_quality

Definition at line 94 of file PrimaryVertexAnalyzer4PUSlimmed.h.

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::closest_vertex_distance_z
EncodedEventId PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::eventId
int PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::nGenTrk
int PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::num_matched_reco_tracks
LorentzVector PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::p4
HepMC::FourVector PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::ptot

Definition at line 88 of file PrimaryVertexAnalyzer4PUSlimmed.h.

Referenced by simPrimaryVertex().

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::ptsq
double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::r
std::vector<const reco::Vertex *> PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::rec_vertices
TrackingVertexRef PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::sim_vertex

Definition at line 96 of file PrimaryVertexAnalyzer4PUSlimmed.h.

double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::x
double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::y
double PrimaryVertexAnalyzer4PUSlimmed::simPrimaryVertex::z