Public Member Functions | Protected Attributes | Private Attributes | List of all members
bpfit::BPFPId Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N21-01-23/BreakPointFitter/DataProducts/BPFPId.h"

Inheritance diagram for bpfit::BPFPId:
rb::PID

Public Member Functions

 BPFPId ()
 
 BPFPId (int pdg, double val)
 
void SetDefaults ()
 Set fLength, fChi2T, fdEdXLL and fHitRatio to default values. More...
 
void SetLength (double length)
 
void SetChi2T (double chi2T)
 
void SetdEdXLL (double dEdXLL)
 
void SetHitRatio (double hitRatio)
 
float GetLength () const
 
float GetChi2T () const
 
float GetdEdXLL () const
 
float GetHitRatio () const
 
int Pdg () const
 
double Value () const
 
void SetPdg (int pdg)
 
void SetVal (double val)
 

Protected Attributes

int fPdg
 pdg code More...
 
double fVal
 pid value More...
 

Private Attributes

float fLength
 Track Length. More...
 
float fChi2T
 BreakPointFitter track total chi^2 (sum of hit plus plane chi^2) More...
 
float fdEdXLL
 dE/dX log likelihood total for the BreakPointFitter Track More...
 
float fHitRatio
 Ratio of on track to on + off track hits. More...
 

Detailed Description

Definition at line 25 of file BPFPId.h.

Constructor & Destructor Documentation

bpfit::BPFPId::BPFPId ( )

Definition at line 21 of file BPFPId.cxx.

References SetDefaults().

21  : rb::PID()
22  {
23  SetDefaults();
24  }
A pid value and corresponding pdg code.
Definition: PID.h:13
void SetDefaults()
Set fLength, fChi2T, fdEdXLL and fHitRatio to default values.
Definition: BPFPId.cxx:35
bpfit::BPFPId::BPFPId ( int  pdg,
double  val 
)

Definition at line 28 of file BPFPId.cxx.

References SetDefaults().

28  : rb::PID(pdg, val)
29  {
30  SetDefaults();
31  }
A pid value and corresponding pdg code.
Definition: PID.h:13
void SetDefaults()
Set fLength, fChi2T, fdEdXLL and fHitRatio to default values.
Definition: BPFPId.cxx:35

Member Function Documentation

float bpfit::BPFPId::GetChi2T ( ) const
inline

Definition at line 43 of file BPFPId.h.

References fChi2T.

Referenced by bpfit::BPFEnergyEstimatorOnly::produce().

43 { return fChi2T; }
float fChi2T
BreakPointFitter track total chi^2 (sum of hit plus plane chi^2)
Definition: BPFPId.h:55
float bpfit::BPFPId::GetdEdXLL ( ) const
inline

Definition at line 44 of file BPFPId.h.

References fdEdXLL.

Referenced by caf::FillTrackVarsBpfPid(), and bpfit::BPFEnergyEstimatorOnly::produce().

44 { return fdEdXLL; }
float fdEdXLL
dE/dX log likelihood total for the BreakPointFitter Track
Definition: BPFPId.h:57
float bpfit::BPFPId::GetHitRatio ( ) const
inline

Definition at line 45 of file BPFPId.h.

References fHitRatio.

Referenced by caf::FillTrackVarsBpfPid(), and bpfit::BPFEnergyEstimatorOnly::produce().

45 { return fHitRatio; }
float fHitRatio
Ratio of on track to on + off track hits.
Definition: BPFPId.h:59
float bpfit::BPFPId::GetLength ( ) const
inline

Definition at line 42 of file BPFPId.h.

References fLength.

Referenced by bpfit::BPFEnergyEstimatorOnly::produce().

42 { return fLength; }
float fLength
Track Length.
Definition: BPFPId.h:53
int rb::PID::Pdg ( ) const
inlineinherited

Definition at line 21 of file PID.h.

References rb::PID::fPdg.

Referenced by qeef::QeFinderVal::analyze().

21 {return fPdg; }
int fPdg
pdg code
Definition: PID.h:27
void bpfit::BPFPId::SetChi2T ( double  chi2T)
inline

Definition at line 37 of file BPFPId.h.

References fChi2T.

Referenced by bpfit::BPFPIdMaker::produce(), and SetDefaults().

37 { fChi2T = chi2T; }
float fChi2T
BreakPointFitter track total chi^2 (sum of hit plus plane chi^2)
Definition: BPFPId.h:55
void bpfit::BPFPId::SetdEdXLL ( double  dEdXLL)
inline

Definition at line 38 of file BPFPId.h.

References fdEdXLL.

Referenced by bpfit::BPFPIdMaker::produce(), and SetDefaults().

38 { fdEdXLL = dEdXLL; }
float fdEdXLL
dE/dX log likelihood total for the BreakPointFitter Track
Definition: BPFPId.h:57
void bpfit::BPFPId::SetDefaults ( )

Set fLength, fChi2T, fdEdXLL and fHitRatio to default values.

Definition at line 35 of file BPFPId.cxx.

References SetChi2T(), SetdEdXLL(), SetHitRatio(), and SetLength().

Referenced by BPFPId().

36  {
37  SetLength(-5.0);
38  SetChi2T(1.0e9);
39  SetdEdXLL(-1.0e9);
40  SetHitRatio(-5.0);
41  }
void SetdEdXLL(double dEdXLL)
Definition: BPFPId.h:38
void SetHitRatio(double hitRatio)
Definition: BPFPId.h:39
void SetLength(double length)
Definition: BPFPId.h:36
void SetChi2T(double chi2T)
Definition: BPFPId.h:37
void bpfit::BPFPId::SetHitRatio ( double  hitRatio)
inline

Definition at line 39 of file BPFPId.h.

References fHitRatio.

Referenced by bpfit::BPFPIdMaker::produce(), and SetDefaults().

39 { fHitRatio = hitRatio; }
float fHitRatio
Ratio of on track to on + off track hits.
Definition: BPFPId.h:59
void bpfit::BPFPId::SetLength ( double  length)
inline

Definition at line 36 of file BPFPId.h.

References fLength, and demo0::length.

Referenced by bpfit::BPFPIdMaker::produce(), and SetDefaults().

36 { fLength = length; }
length
Definition: demo0.py:21
float fLength
Track Length.
Definition: BPFPId.h:53
void rb::PID::SetPdg ( int  pdg)
inlineinherited
void rb::PID::SetVal ( double  val)
inlineinherited
double rb::PID::Value ( ) const
inlineinherited

Member Data Documentation

float bpfit::BPFPId::fChi2T
private

BreakPointFitter track total chi^2 (sum of hit plus plane chi^2)

Definition at line 55 of file BPFPId.h.

Referenced by GetChi2T(), and SetChi2T().

float bpfit::BPFPId::fdEdXLL
private

dE/dX log likelihood total for the BreakPointFitter Track

Definition at line 57 of file BPFPId.h.

Referenced by GetdEdXLL(), and SetdEdXLL().

float bpfit::BPFPId::fHitRatio
private

Ratio of on track to on + off track hits.

Definition at line 59 of file BPFPId.h.

Referenced by GetHitRatio(), and SetHitRatio().

float bpfit::BPFPId::fLength
private

Track Length.

Definition at line 53 of file BPFPId.h.

Referenced by GetLength(), and SetLength().

int rb::PID::fPdg
protectedinherited

pdg code

Definition at line 27 of file PID.h.

Referenced by lem::PIDDetails::FromString(), rb::PID::Pdg(), and rb::PID::SetPdg().

double rb::PID::fVal
protectedinherited

pid value

Definition at line 28 of file PID.h.

Referenced by lem::PIDDetails::FromString(), rb::PID::SetVal(), lem::PIDDetails::ToString(), and rb::PID::Value().


The documentation for this class was generated from the following files: