Public Member Functions | Protected Attributes | Private Attributes | List of all members
rvp::RVP Class Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-25/RecVarPID/RVP.h"

Inheritance diagram for rvp::RVP:
rb::PID

Public Member Functions

 RVP ()
 
 RVP (int pdg, unsigned int ncell, float recE, float lTrack, float ltFrac, float mFrac, float mHits, float ePlane20, float eFrac2Plane, float eFrac6Plane, float eFrac2Sig, int png3D, float pngEBal, float pid, int png2D, float pngEBal2D, float eIso3, float rvp12)
 
void SetNCells (unsigned int ncell)
 
void SetRecoE (float recE)
 
void SetLongTr (float lTrack)
 
void SetLongTrFrac (float ltFrac)
 
void SetMipFrac (float mFrac)
 
void SetMipHits (float mHits)
 
void SetEPl20Frac (float ePlane20)
 
void SetEFrac2PlWin (float eFrac2Plane)
 
void SetEFrac6PlWin (float eFrac6Plane)
 
void SetEFrac2SigRd (float eFrac2Sig)
 
void SetProngs3D (int png3D)
 
void SetProngEBal3D (float pngEBal)
 
void SetProngs2D (int png2D)
 
void SetProngEBal2D (float pngEBal2D)
 
void SetEIso3Sig (float eIso3Sig)
 
void SetRVP12 (float rvp12)
 
unsigned int NCells () const
 
float RecoE () const
 
float LongTr () const
 
float LongTrFrac () const
 
float MipFrac () const
 
float MipHits () const
 
float EPl20Frac () const
 
float EFrac2PlWin () const
 
float EFrac6PlWin () const
 
float EFrac2SigRd () const
 
int Prongs3D () const
 
float ProngEBal3D () const
 
int Prongs2D () const
 
float ProngEBal2D () const
 
float EIso3Sig () const
 
float RVP12 () 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

unsigned int fNCells
 Number of cells in slice. More...
 
float fRecoE
 Reco energy of slice. More...
 
float fLongTr
 Longest discrete track merge track. More...
 
float fLongTrFrac
 Fraction of cells in longest track out of total cells in slice. More...
 
float fMipFrac
 Fraction of mip hits out of total number of hits. More...
 
float fMipHits
 Number of mip hits in slice. More...
 
float fEPl20Frac
 Fraction of energy in first 20 planes out of total slice energy. More...
 
float fEFrac2PlWin
 Largest fraction of energy in a 2 plane window out of total slice. More...
 
float fEFrac6PlWin
 Largest fraction of energy in a 6 plane window out of total slice. More...
 
float fEFrac2SigRd
 Fraction of slice energy within 2sigma of mean energy weighted slice position. More...
 
int fProngs3D
 Number of 3D FuzzyK prongs associated with slice. More...
 
float fProngEBal3D
 The energy balance between the two hightest energy 3D prongs in slice. More...
 
int fProngs2D
 Number of 2D FuzzyK prongs associated with slice. More...
 
float fProngEBal2D
 The energy balance between highest energy 2D prong and 3D prong in the opposite view. More...
 
float fEIso3Sig
 Fraction of slice energy more then 3sigma from mean energy weighted slice position. More...
 
float fRVP12
 PID value for 12 variable RVP for comparison purposes. More...
 

Detailed Description

Definition at line 16 of file RVP.h.

Constructor & Destructor Documentation

rvp::RVP::RVP ( )

Definition at line 6 of file RVP.cxx.

7  : fNCells(0),
8  fRecoE(-1),
9  fLongTr(-1),
10  fLongTrFrac(-1),
11  fMipFrac(-1),
12  fMipHits(-1),
13  fEPl20Frac(-1),
14  fEFrac2PlWin(-1),
15  fEFrac6PlWin(-1),
16  fEFrac2SigRd(-1),
17  fProngs3D(0),
18  fProngEBal3D(-1),
19  fProngs2D(0),
20  fProngEBal2D(-1),
21  fEIso3Sig(-1),
22  fRVP12(-1)
23  {
24  }
float fEIso3Sig
Fraction of slice energy more then 3sigma from mean energy weighted slice position.
Definition: RVP.h:94
float fLongTr
Longest discrete track merge track.
Definition: RVP.h:82
float fEPl20Frac
Fraction of energy in first 20 planes out of total slice energy.
Definition: RVP.h:86
float fEFrac2PlWin
Largest fraction of energy in a 2 plane window out of total slice.
Definition: RVP.h:87
float fProngEBal3D
The energy balance between the two hightest energy 3D prongs in slice.
Definition: RVP.h:91
int fProngs3D
Number of 3D FuzzyK prongs associated with slice.
Definition: RVP.h:90
float fLongTrFrac
Fraction of cells in longest track out of total cells in slice.
Definition: RVP.h:83
float fRVP12
PID value for 12 variable RVP for comparison purposes.
Definition: RVP.h:95
int fProngs2D
Number of 2D FuzzyK prongs associated with slice.
Definition: RVP.h:92
float fMipFrac
Fraction of mip hits out of total number of hits.
Definition: RVP.h:84
float fEFrac2SigRd
Fraction of slice energy within 2sigma of mean energy weighted slice position.
Definition: RVP.h:89
float fEFrac6PlWin
Largest fraction of energy in a 6 plane window out of total slice.
Definition: RVP.h:88
float fMipHits
Number of mip hits in slice.
Definition: RVP.h:85
float fProngEBal2D
The energy balance between highest energy 2D prong and 3D prong in the opposite view.
Definition: RVP.h:93
unsigned int fNCells
Number of cells in slice.
Definition: RVP.h:80
float fRecoE
Reco energy of slice.
Definition: RVP.h:81
rvp::RVP::RVP ( int  pdg,
unsigned int  ncell,
float  recE,
float  lTrack,
float  ltFrac,
float  mFrac,
float  mHits,
float  ePlane20,
float  eFrac2Plane,
float  eFrac6Plane,
float  eFrac2Sig,
int  png3D,
float  pngEBal,
float  pid,
int  png2D,
float  pngEBal2D,
float  eIso3,
float  rvp12 
)

Definition at line 28 of file RVP.cxx.

46  : rb::PID(pdg,pid),
47  fNCells(cells),
48  fRecoE(recE),
49  fLongTr(longTr),
50  fLongTrFrac(longTrFrac),
51  fMipFrac(mipFrac),
52  fMipHits(mipHits),
53  fEPl20Frac(ePl20Frac),
54  fEFrac2PlWin(eFrac2PlWin),
55  fEFrac6PlWin(eFrac6PlWin),
56  fEFrac2SigRd(eFrac2SigRd),
57  fProngs3D(prongs3D),
58  fProngEBal3D(prongEBal3D),
59  fProngs2D(prongs2D),
60  fProngEBal2D(prongEBal2D),
61  fEIso3Sig(eIso3Sig),
62  fRVP12(rvp12)
63  {
64  }
A pid value and corresponding pdg code.
Definition: PID.h:13
float fEIso3Sig
Fraction of slice energy more then 3sigma from mean energy weighted slice position.
Definition: RVP.h:94
float fLongTr
Longest discrete track merge track.
Definition: RVP.h:82
float fEPl20Frac
Fraction of energy in first 20 planes out of total slice energy.
Definition: RVP.h:86
float fEFrac2PlWin
Largest fraction of energy in a 2 plane window out of total slice.
Definition: RVP.h:87
float fProngEBal3D
The energy balance between the two hightest energy 3D prongs in slice.
Definition: RVP.h:91
int fProngs3D
Number of 3D FuzzyK prongs associated with slice.
Definition: RVP.h:90
float fLongTrFrac
Fraction of cells in longest track out of total cells in slice.
Definition: RVP.h:83
float fRVP12
PID value for 12 variable RVP for comparison purposes.
Definition: RVP.h:95
int fProngs2D
Number of 2D FuzzyK prongs associated with slice.
Definition: RVP.h:92
float fMipFrac
Fraction of mip hits out of total number of hits.
Definition: RVP.h:84
float fEFrac2SigRd
Fraction of slice energy within 2sigma of mean energy weighted slice position.
Definition: RVP.h:89
float fEFrac6PlWin
Largest fraction of energy in a 6 plane window out of total slice.
Definition: RVP.h:88
float fMipHits
Number of mip hits in slice.
Definition: RVP.h:85
float fProngEBal2D
The energy balance between highest energy 2D prong and 3D prong in the opposite view.
Definition: RVP.h:93
unsigned int fNCells
Number of cells in slice.
Definition: RVP.h:80
float fRecoE
Reco energy of slice.
Definition: RVP.h:81

Member Function Documentation

float rvp::RVP::EFrac2PlWin ( ) const
inline

Definition at line 67 of file RVP.h.

References fEFrac2PlWin.

Referenced by caf::FillRVPVars().

67 { return fEFrac2PlWin; }
float fEFrac2PlWin
Largest fraction of energy in a 2 plane window out of total slice.
Definition: RVP.h:87
float rvp::RVP::EFrac2SigRd ( ) const
inline

Definition at line 69 of file RVP.h.

References fEFrac2SigRd.

Referenced by caf::FillRVPVars().

69 { return fEFrac2SigRd; }
float fEFrac2SigRd
Fraction of slice energy within 2sigma of mean energy weighted slice position.
Definition: RVP.h:89
float rvp::RVP::EFrac6PlWin ( ) const
inline

Definition at line 68 of file RVP.h.

References fEFrac6PlWin.

Referenced by caf::FillRVPVars().

68 { return fEFrac6PlWin; }
float fEFrac6PlWin
Largest fraction of energy in a 6 plane window out of total slice.
Definition: RVP.h:88
float rvp::RVP::EIso3Sig ( ) const
inline

Definition at line 74 of file RVP.h.

References fEIso3Sig.

Referenced by caf::FillRVPVars().

74 { return fEIso3Sig; }
float fEIso3Sig
Fraction of slice energy more then 3sigma from mean energy weighted slice position.
Definition: RVP.h:94
float rvp::RVP::EPl20Frac ( ) const
inline

Definition at line 66 of file RVP.h.

References fEPl20Frac.

Referenced by caf::FillRVPVars().

66 { return fEPl20Frac; }
float fEPl20Frac
Fraction of energy in first 20 planes out of total slice energy.
Definition: RVP.h:86
float rvp::RVP::LongTr ( ) const
inline

Definition at line 62 of file RVP.h.

References fLongTr.

Referenced by caf::FillRVPVars().

62 { return fLongTr; }
float fLongTr
Longest discrete track merge track.
Definition: RVP.h:82
float rvp::RVP::LongTrFrac ( ) const
inline

Definition at line 63 of file RVP.h.

References fLongTrFrac.

Referenced by caf::FillRVPVars().

63 { return fLongTrFrac; }
float fLongTrFrac
Fraction of cells in longest track out of total cells in slice.
Definition: RVP.h:83
float rvp::RVP::MipFrac ( ) const
inline

Definition at line 64 of file RVP.h.

References fMipFrac.

Referenced by caf::FillRVPVars().

64 { return fMipFrac; }
float fMipFrac
Fraction of mip hits out of total number of hits.
Definition: RVP.h:84
float rvp::RVP::MipHits ( ) const
inline

Definition at line 65 of file RVP.h.

References fMipHits.

Referenced by caf::FillRVPVars().

65 { return fMipHits; }
float fMipHits
Number of mip hits in slice.
Definition: RVP.h:85
unsigned int rvp::RVP::NCells ( ) const
inline

Definition at line 60 of file RVP.h.

References fNCells.

Referenced by caf::FillRVPVars().

60 { return fNCells; }
unsigned int fNCells
Number of cells in slice.
Definition: RVP.h:80
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
float rvp::RVP::ProngEBal2D ( ) const
inline

Definition at line 73 of file RVP.h.

References fProngEBal2D.

Referenced by caf::FillRVPVars().

73 { return fProngEBal2D; }
float fProngEBal2D
The energy balance between highest energy 2D prong and 3D prong in the opposite view.
Definition: RVP.h:93
float rvp::RVP::ProngEBal3D ( ) const
inline

Definition at line 71 of file RVP.h.

References fProngEBal3D.

Referenced by caf::FillRVPVars().

71 { return fProngEBal3D; }
float fProngEBal3D
The energy balance between the two hightest energy 3D prongs in slice.
Definition: RVP.h:91
int rvp::RVP::Prongs2D ( ) const
inline

Definition at line 72 of file RVP.h.

References fProngs2D.

Referenced by caf::FillRVPVars().

72 { return fProngs2D; }
int fProngs2D
Number of 2D FuzzyK prongs associated with slice.
Definition: RVP.h:92
int rvp::RVP::Prongs3D ( ) const
inline

Definition at line 70 of file RVP.h.

References fProngs3D.

Referenced by caf::FillRVPVars().

70 { return fProngs3D; }
int fProngs3D
Number of 3D FuzzyK prongs associated with slice.
Definition: RVP.h:90
float rvp::RVP::RecoE ( ) const
inline

Definition at line 61 of file RVP.h.

References fRecoE.

Referenced by caf::FillRVPVars().

61 { return fRecoE; }
float fRecoE
Reco energy of slice.
Definition: RVP.h:81
float rvp::RVP::RVP12 ( ) const
inline

Definition at line 75 of file RVP.h.

References fRVP12.

Referenced by caf::FillRVPVars().

75 { return fRVP12; }
float fRVP12
PID value for 12 variable RVP for comparison purposes.
Definition: RVP.h:95
void rvp::RVP::SetEFrac2PlWin ( float  eFrac2Plane)
inline

Definition at line 49 of file RVP.h.

References fEFrac2PlWin.

Referenced by rvp::RecVarPID::produce().

49 { fEFrac2PlWin = eFrac2Plane; }
float fEFrac2PlWin
Largest fraction of energy in a 2 plane window out of total slice.
Definition: RVP.h:87
void rvp::RVP::SetEFrac2SigRd ( float  eFrac2Sig)
inline

Definition at line 51 of file RVP.h.

References fEFrac2SigRd.

Referenced by rvp::RecVarPID::produce().

51 { fEFrac2SigRd = eFrac2Sig; }
float fEFrac2SigRd
Fraction of slice energy within 2sigma of mean energy weighted slice position.
Definition: RVP.h:89
void rvp::RVP::SetEFrac6PlWin ( float  eFrac6Plane)
inline

Definition at line 50 of file RVP.h.

References fEFrac6PlWin.

Referenced by rvp::RecVarPID::produce().

50 { fEFrac6PlWin = eFrac6Plane; }
float fEFrac6PlWin
Largest fraction of energy in a 6 plane window out of total slice.
Definition: RVP.h:88
void rvp::RVP::SetEIso3Sig ( float  eIso3Sig)
inline

Definition at line 56 of file RVP.h.

References fEIso3Sig.

Referenced by rvp::RecVarPID::produce().

56 { fEIso3Sig = eIso3Sig; }
float fEIso3Sig
Fraction of slice energy more then 3sigma from mean energy weighted slice position.
Definition: RVP.h:94
void rvp::RVP::SetEPl20Frac ( float  ePlane20)
inline

Definition at line 48 of file RVP.h.

References fEPl20Frac.

Referenced by rvp::RecVarPID::produce().

48 { fEPl20Frac = ePlane20; }
float fEPl20Frac
Fraction of energy in first 20 planes out of total slice energy.
Definition: RVP.h:86
void rvp::RVP::SetLongTr ( float  lTrack)
inline

Definition at line 44 of file RVP.h.

References fLongTr.

Referenced by rvp::RecVarPID::produce().

44 { fLongTr = lTrack; }
float fLongTr
Longest discrete track merge track.
Definition: RVP.h:82
void rvp::RVP::SetLongTrFrac ( float  ltFrac)
inline

Definition at line 45 of file RVP.h.

References fLongTrFrac.

Referenced by rvp::RecVarPID::produce().

45 { fLongTrFrac = ltFrac; }
float fLongTrFrac
Fraction of cells in longest track out of total cells in slice.
Definition: RVP.h:83
void rvp::RVP::SetMipFrac ( float  mFrac)
inline

Definition at line 46 of file RVP.h.

References fMipFrac.

Referenced by rvp::RecVarPID::produce().

46 { fMipFrac = mFrac; }
float fMipFrac
Fraction of mip hits out of total number of hits.
Definition: RVP.h:84
void rvp::RVP::SetMipHits ( float  mHits)
inline

Definition at line 47 of file RVP.h.

References fMipHits.

Referenced by rvp::RecVarPID::produce().

47 { fMipHits = mHits; }
float fMipHits
Number of mip hits in slice.
Definition: RVP.h:85
void rvp::RVP::SetNCells ( unsigned int  ncell)
inline

Definition at line 42 of file RVP.h.

References fNCells.

Referenced by rvp::RecVarPID::produce().

42 { fNCells = ncell; }
unsigned int fNCells
Number of cells in slice.
Definition: RVP.h:80
void rb::PID::SetPdg ( int  pdg)
inlineinherited
void rvp::RVP::SetProngEBal2D ( float  pngEBal2D)
inline

Definition at line 55 of file RVP.h.

References fProngEBal2D.

Referenced by rvp::RecVarPID::produce().

55 { fProngEBal2D = pngEBal2D; }
float fProngEBal2D
The energy balance between highest energy 2D prong and 3D prong in the opposite view.
Definition: RVP.h:93
void rvp::RVP::SetProngEBal3D ( float  pngEBal)
inline

Definition at line 53 of file RVP.h.

References fProngEBal3D.

Referenced by rvp::RecVarPID::produce().

53 { fProngEBal3D = pngEBal; }
float fProngEBal3D
The energy balance between the two hightest energy 3D prongs in slice.
Definition: RVP.h:91
void rvp::RVP::SetProngs2D ( int  png2D)
inline

Definition at line 54 of file RVP.h.

References fProngs2D.

Referenced by rvp::RecVarPID::produce().

54 { fProngs2D = png2D; }
int fProngs2D
Number of 2D FuzzyK prongs associated with slice.
Definition: RVP.h:92
void rvp::RVP::SetProngs3D ( int  png3D)
inline

Definition at line 52 of file RVP.h.

References fProngs3D.

Referenced by rvp::RecVarPID::produce().

52 { fProngs3D = png3D; }
int fProngs3D
Number of 3D FuzzyK prongs associated with slice.
Definition: RVP.h:90
void rvp::RVP::SetRecoE ( float  recE)
inline

Definition at line 43 of file RVP.h.

References fRecoE.

Referenced by rvp::RecVarPID::produce().

43 { fRecoE = recE; }
float fRecoE
Reco energy of slice.
Definition: RVP.h:81
void rvp::RVP::SetRVP12 ( float  rvp12)
inline

Definition at line 57 of file RVP.h.

References fRVP12.

Referenced by rvp::RecVarPID::produce().

57 { fRVP12 = rvp12; }
float fRVP12
PID value for 12 variable RVP for comparison purposes.
Definition: RVP.h:95
void rb::PID::SetVal ( double  val)
inlineinherited
double rb::PID::Value ( ) const
inlineinherited

Member Data Documentation

float rvp::RVP::fEFrac2PlWin
private

Largest fraction of energy in a 2 plane window out of total slice.

Definition at line 87 of file RVP.h.

Referenced by EFrac2PlWin(), and SetEFrac2PlWin().

float rvp::RVP::fEFrac2SigRd
private

Fraction of slice energy within 2sigma of mean energy weighted slice position.

Definition at line 89 of file RVP.h.

Referenced by EFrac2SigRd(), and SetEFrac2SigRd().

float rvp::RVP::fEFrac6PlWin
private

Largest fraction of energy in a 6 plane window out of total slice.

Definition at line 88 of file RVP.h.

Referenced by EFrac6PlWin(), and SetEFrac6PlWin().

float rvp::RVP::fEIso3Sig
private

Fraction of slice energy more then 3sigma from mean energy weighted slice position.

Definition at line 94 of file RVP.h.

Referenced by EIso3Sig(), and SetEIso3Sig().

float rvp::RVP::fEPl20Frac
private

Fraction of energy in first 20 planes out of total slice energy.

Definition at line 86 of file RVP.h.

Referenced by EPl20Frac(), and SetEPl20Frac().

float rvp::RVP::fLongTr
private

Longest discrete track merge track.

Definition at line 82 of file RVP.h.

Referenced by LongTr(), and SetLongTr().

float rvp::RVP::fLongTrFrac
private

Fraction of cells in longest track out of total cells in slice.

Definition at line 83 of file RVP.h.

Referenced by LongTrFrac(), and SetLongTrFrac().

float rvp::RVP::fMipFrac
private

Fraction of mip hits out of total number of hits.

Definition at line 84 of file RVP.h.

Referenced by MipFrac(), and SetMipFrac().

float rvp::RVP::fMipHits
private

Number of mip hits in slice.

Definition at line 85 of file RVP.h.

Referenced by MipHits(), and SetMipHits().

unsigned int rvp::RVP::fNCells
private

Number of cells in slice.

Definition at line 80 of file RVP.h.

Referenced by NCells(), and SetNCells().

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().

float rvp::RVP::fProngEBal2D
private

The energy balance between highest energy 2D prong and 3D prong in the opposite view.

Definition at line 93 of file RVP.h.

Referenced by ProngEBal2D(), and SetProngEBal2D().

float rvp::RVP::fProngEBal3D
private

The energy balance between the two hightest energy 3D prongs in slice.

Definition at line 91 of file RVP.h.

Referenced by ProngEBal3D(), and SetProngEBal3D().

int rvp::RVP::fProngs2D
private

Number of 2D FuzzyK prongs associated with slice.

Definition at line 92 of file RVP.h.

Referenced by Prongs2D(), and SetProngs2D().

int rvp::RVP::fProngs3D
private

Number of 3D FuzzyK prongs associated with slice.

Definition at line 90 of file RVP.h.

Referenced by Prongs3D(), and SetProngs3D().

float rvp::RVP::fRecoE
private

Reco energy of slice.

Definition at line 81 of file RVP.h.

Referenced by RecoE(), and SetRecoE().

float rvp::RVP::fRVP12
private

PID value for 12 variable RVP for comparison purposes.

Definition at line 95 of file RVP.h.

Referenced by RVP12(), and SetRVP12().

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: