CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
VertexClassifier::GeneratedPrimaryVertex Struct Reference

Auxiliary class holding simulated primary vertices. More...

Public Member Functions

 GeneratedPrimaryVertex (double x1, double y1, double z1)
 
bool operator< (GeneratedPrimaryVertex const &reference) const
 

Public Attributes

std::vector< int > finalstateParticles
 
std::vector< int > genVertex
 
int nGenTrk
 
HepMC::FourVector ptot
 
double ptsq
 
std::vector< int > simTrackIndex
 
double x
 
double y
 
double z
 

Detailed Description

Auxiliary class holding simulated primary vertices.

Definition at line 73 of file VertexClassifier.h.

Constructor & Destructor Documentation

◆ GeneratedPrimaryVertex()

VertexClassifier::GeneratedPrimaryVertex::GeneratedPrimaryVertex ( double  x1,
double  y1,
double  z1 
)
inline

Definition at line 74 of file VertexClassifier.h.

74 : x(x1), y(y1), z(z1), ptsq(0), nGenTrk(0) {}

Member Function Documentation

◆ operator<()

bool VertexClassifier::GeneratedPrimaryVertex::operator< ( GeneratedPrimaryVertex const &  reference) const
inline

Definition at line 76 of file VertexClassifier.h.

76 { return ptsq < reference.ptsq; }

References ptsq, and RecoTauValidation_cfi::reference.

Member Data Documentation

◆ finalstateParticles

std::vector<int> VertexClassifier::GeneratedPrimaryVertex::finalstateParticles

Definition at line 84 of file VertexClassifier.h.

◆ genVertex

std::vector<int> VertexClassifier::GeneratedPrimaryVertex::genVertex

Definition at line 86 of file VertexClassifier.h.

◆ nGenTrk

int VertexClassifier::GeneratedPrimaryVertex::nGenTrk

Definition at line 80 of file VertexClassifier.h.

◆ ptot

HepMC::FourVector VertexClassifier::GeneratedPrimaryVertex::ptot

Definition at line 82 of file VertexClassifier.h.

◆ ptsq

double VertexClassifier::GeneratedPrimaryVertex::ptsq

Definition at line 79 of file VertexClassifier.h.

Referenced by operator<().

◆ simTrackIndex

std::vector<int> VertexClassifier::GeneratedPrimaryVertex::simTrackIndex

Definition at line 85 of file VertexClassifier.h.

◆ x

double VertexClassifier::GeneratedPrimaryVertex::x

◆ y

double VertexClassifier::GeneratedPrimaryVertex::y

◆ z

double VertexClassifier::GeneratedPrimaryVertex::z
VertexClassifier::GeneratedPrimaryVertex::z
double z
Definition: VertexClassifier.h:78
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
testProducerWithPsetDescEmpty_cfi.y1
y1
Definition: testProducerWithPsetDescEmpty_cfi.py:29
VertexClassifier::GeneratedPrimaryVertex::ptsq
double ptsq
Definition: VertexClassifier.h:79
VertexClassifier::GeneratedPrimaryVertex::y
double y
Definition: VertexClassifier.h:78
RecoTauValidation_cfi.reference
reference
Definition: RecoTauValidation_cfi.py:233
VertexClassifier::GeneratedPrimaryVertex::nGenTrk
int nGenTrk
Definition: VertexClassifier.h:80
VertexClassifier::GeneratedPrimaryVertex::x
double x
Definition: VertexClassifier.h:78