CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
TrackClassifier::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 109 of file TrackClassifier.h.

Constructor & Destructor Documentation

◆ GeneratedPrimaryVertex()

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

Definition at line 110 of file TrackClassifier.h.

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

Member Function Documentation

◆ operator<()

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

Definition at line 112 of file TrackClassifier.h.

112 { return ptsq < reference.ptsq; }

References ptsq, and RecoTauValidation_cfi::reference.

Member Data Documentation

◆ finalstateParticles

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

Definition at line 120 of file TrackClassifier.h.

◆ genVertex

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

Definition at line 122 of file TrackClassifier.h.

◆ nGenTrk

int TrackClassifier::GeneratedPrimaryVertex::nGenTrk

Definition at line 116 of file TrackClassifier.h.

◆ ptot

HepMC::FourVector TrackClassifier::GeneratedPrimaryVertex::ptot

Definition at line 118 of file TrackClassifier.h.

◆ ptsq

double TrackClassifier::GeneratedPrimaryVertex::ptsq

Definition at line 115 of file TrackClassifier.h.

Referenced by operator<().

◆ simTrackIndex

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

Definition at line 121 of file TrackClassifier.h.

◆ x

double TrackClassifier::GeneratedPrimaryVertex::x

◆ y

double TrackClassifier::GeneratedPrimaryVertex::y

◆ z

double TrackClassifier::GeneratedPrimaryVertex::z
TrackClassifier::GeneratedPrimaryVertex::y
double y
Definition: TrackClassifier.h:114
TrackClassifier::GeneratedPrimaryVertex::z
double z
Definition: TrackClassifier.h:114
testProducerWithPsetDescEmpty_cfi.x1
x1
Definition: testProducerWithPsetDescEmpty_cfi.py:33
testProducerWithPsetDescEmpty_cfi.y1
y1
Definition: testProducerWithPsetDescEmpty_cfi.py:29
RecoTauValidation_cfi.reference
reference
Definition: RecoTauValidation_cfi.py:233
TrackClassifier::GeneratedPrimaryVertex::nGenTrk
int nGenTrk
Definition: TrackClassifier.h:116
TrackClassifier::GeneratedPrimaryVertex::ptsq
double ptsq
Definition: TrackClassifier.h:115
TrackClassifier::GeneratedPrimaryVertex::x
double x
Definition: TrackClassifier.h:114