CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
List of all members | Public Member Functions | Private Attributes
pat::Conversion Class Reference

#include <Conversion.h>

Public Member Functions

 Conversion ()
 
 Conversion (int index)
 
const int index () const
 
const double lxy () const
 
const int nHitsMax () const
 
void setLxy (double lxy)
 
void setNHitsMax (int nHitsMax)
 
void setVtxProb (double vtxProb)
 
const double vtxProb () const
 
virtual ~Conversion ()
 

Private Attributes

int index_
 
double lxy_
 
int nHitsMax_
 
double vtxProb_
 

Detailed Description

Definition at line 21 of file Conversion.h.

Constructor & Destructor Documentation

◆ Conversion() [1/2]

pat::Conversion::Conversion ( )
inline

Definition at line 23 of file Conversion.h.

23 {}

◆ Conversion() [2/2]

Conversion::Conversion ( int  index)

Definition at line 6 of file Conversion.cc.

References index(), and index_.

6 : vtxProb_(0.0), lxy_(0.0), nHitsMax_(0) { index_ = index; }
double vtxProb_
Definition: Conversion.h:36
const int index() const
Definition: Conversion.h:33

◆ ~Conversion()

virtual pat::Conversion::~Conversion ( )
inlinevirtual

Definition at line 25 of file Conversion.h.

25 {}

Member Function Documentation

◆ index()

const int pat::Conversion::index ( ) const
inline

Definition at line 33 of file Conversion.h.

References index_.

Referenced by Conversion().

33 { return index_; }

◆ lxy()

const double pat::Conversion::lxy ( ) const
inline

Definition at line 29 of file Conversion.h.

References lxy_.

Referenced by setLxy().

29 { return lxy_; }

◆ nHitsMax()

const int pat::Conversion::nHitsMax ( ) const
inline

Definition at line 31 of file Conversion.h.

References nHitsMax_.

Referenced by setNHitsMax().

31 { return nHitsMax_; }

◆ setLxy()

void Conversion::setLxy ( double  lxy)

Definition at line 10 of file Conversion.cc.

References lxy(), and lxy_.

Referenced by pat::PATConversionProducer::produce().

10 { lxy_ = lxy; }
const double lxy() const
Definition: Conversion.h:29

◆ setNHitsMax()

void Conversion::setNHitsMax ( int  nHitsMax)

Definition at line 12 of file Conversion.cc.

References nHitsMax(), and nHitsMax_.

Referenced by pat::PATConversionProducer::produce().

12 { nHitsMax_ = nHitsMax; }
const int nHitsMax() const
Definition: Conversion.h:31

◆ setVtxProb()

void Conversion::setVtxProb ( double  vtxProb)

Definition at line 8 of file Conversion.cc.

References vtxProb(), and vtxProb_.

Referenced by pat::PATConversionProducer::produce().

8 { vtxProb_ = vtxProb; }
const double vtxProb() const
Definition: Conversion.h:27
double vtxProb_
Definition: Conversion.h:36

◆ vtxProb()

const double pat::Conversion::vtxProb ( ) const
inline

Definition at line 27 of file Conversion.h.

References vtxProb_.

Referenced by setVtxProb().

27 { return vtxProb_; }
double vtxProb_
Definition: Conversion.h:36

Member Data Documentation

◆ index_

int pat::Conversion::index_
private

Definition at line 41 of file Conversion.h.

Referenced by Conversion(), and index().

◆ lxy_

double pat::Conversion::lxy_
private

Definition at line 37 of file Conversion.h.

Referenced by lxy(), and setLxy().

◆ nHitsMax_

int pat::Conversion::nHitsMax_
private

Definition at line 38 of file Conversion.h.

Referenced by nHitsMax(), and setNHitsMax().

◆ vtxProb_

double pat::Conversion::vtxProb_
private

Definition at line 36 of file Conversion.h.

Referenced by setVtxProb(), and vtxProb().