CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ScoutingVertex Class Reference

#include <ScoutingVertex.h>

Public Member Functions

float chi2 () const
 
bool isValidVtx () const
 
int ndof () const
 
 ScoutingVertex (float x, float y, float z, float zError, float xError, float yError, int tracksSize, float chi2, int ndof, bool isValidVtx)
 
 ScoutingVertex ()
 
int tracksSize () const
 
float x () const
 
float xError () const
 
float y () const
 
float yError () const
 
float z () const
 
float zError () const
 

Private Attributes

float chi2_
 
bool isValidVtx_
 
int ndof_
 
int tracksSize_
 
float x_
 
float xError_
 
float y_
 
float yError_
 
float z_
 
float zError_
 

Detailed Description

Definition at line 8 of file ScoutingVertex.h.

Constructor & Destructor Documentation

◆ ScoutingVertex() [1/2]

ScoutingVertex::ScoutingVertex ( float  x,
float  y,
float  z,
float  zError,
float  xError,
float  yError,
int  tracksSize,
float  chi2,
int  ndof,
bool  isValidVtx 
)
inline

Definition at line 11 of file ScoutingVertex.h.

21  : x_(x),
22  y_(y),
23  z_(z),
24  zError_(zError),
25  xError_(xError),
26  yError_(yError),
28  chi2_(chi2),
29  ndof_(ndof),
bool isValidVtx() const
float yError() const
float xError() const
int tracksSize() const
int ndof() const
float x() const
float z() const
float chi2() const
float y() const
float zError() const

◆ ScoutingVertex() [2/2]

ScoutingVertex::ScoutingVertex ( )
inline

Definition at line 32 of file ScoutingVertex.h.

33  : x_(0),
34  y_(0),
35  z_(0),
36  zError_(0),
37  xError_(0),
38  yError_(0),
39  tracksSize_(0),
40  chi2_(0),
41  ndof_(0),
42  isValidVtx_(false) {}

Member Function Documentation

◆ chi2()

float ScoutingVertex::chi2 ( void  ) const
inline

Definition at line 52 of file ScoutingVertex.h.

References chi2_.

52 { return chi2_; }

◆ isValidVtx()

bool ScoutingVertex::isValidVtx ( ) const
inline

Definition at line 54 of file ScoutingVertex.h.

References isValidVtx_.

54 { return isValidVtx_; }

◆ ndof()

int ScoutingVertex::ndof ( ) const
inline

Definition at line 53 of file ScoutingVertex.h.

References ndof_.

53 { return ndof_; }

◆ tracksSize()

int ScoutingVertex::tracksSize ( ) const
inline

Definition at line 51 of file ScoutingVertex.h.

References tracksSize_.

51 { return tracksSize_; }

◆ x()

float ScoutingVertex::x ( ) const
inline

◆ xError()

float ScoutingVertex::xError ( ) const
inline

Definition at line 49 of file ScoutingVertex.h.

References xError_.

49 { return xError_; }

◆ y()

float ScoutingVertex::y ( ) const
inline

◆ yError()

float ScoutingVertex::yError ( ) const
inline

Definition at line 50 of file ScoutingVertex.h.

References yError_.

50 { return yError_; }

◆ z()

float ScoutingVertex::z ( ) const
inline

Definition at line 47 of file ScoutingVertex.h.

References z_.

Referenced by geometryXMLparser.Alignable::pos(), and ntupleDataFormat._HitObject::r3D().

47 { return z_; }

◆ zError()

float ScoutingVertex::zError ( ) const
inline

Definition at line 48 of file ScoutingVertex.h.

References zError_.

48 { return zError_; }

Member Data Documentation

◆ chi2_

float ScoutingVertex::chi2_
private

Definition at line 64 of file ScoutingVertex.h.

Referenced by chi2().

◆ isValidVtx_

bool ScoutingVertex::isValidVtx_
private

Definition at line 66 of file ScoutingVertex.h.

Referenced by isValidVtx().

◆ ndof_

int ScoutingVertex::ndof_
private

Definition at line 65 of file ScoutingVertex.h.

Referenced by ndof().

◆ tracksSize_

int ScoutingVertex::tracksSize_
private

Definition at line 63 of file ScoutingVertex.h.

Referenced by tracksSize().

◆ x_

float ScoutingVertex::x_
private

Definition at line 57 of file ScoutingVertex.h.

Referenced by x().

◆ xError_

float ScoutingVertex::xError_
private

Definition at line 61 of file ScoutingVertex.h.

Referenced by xError().

◆ y_

float ScoutingVertex::y_
private

Definition at line 58 of file ScoutingVertex.h.

Referenced by y().

◆ yError_

float ScoutingVertex::yError_
private

Definition at line 62 of file ScoutingVertex.h.

Referenced by yError().

◆ z_

float ScoutingVertex::z_
private

Definition at line 59 of file ScoutingVertex.h.

Referenced by z().

◆ zError_

float ScoutingVertex::zError_
private

Definition at line 60 of file ScoutingVertex.h.

Referenced by zError().