LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
anab::sParticleIDAlgScores Struct Reference

#include "ParticleID.h"

Public Member Functions

 sParticleIDAlgScores ()
 

Public Attributes

std::string fAlgName
 < determined particle ID More...
 
kVariableType fVariableType
 Variable type enum: defined in ParticleID_VariableTypeEnums.h. Set to kNotSet by default. More...
 
kTrackDir fTrackDir
 Track direction enum: defined in ParticleID_VariableTypeEnums.h. Set to kNoDirection by default. More...
 
int fNdf
 Number of degrees of freedom used by algorithm, if applicable. Set to -9999 by default. More...
 
int fAssumedPdg
 PDG of particle hypothesis assumed by algorithm, if applicable. Set to 0 by default. More...
 
float fValue
 Result of Particle ID algorithm/test. More...
 
std::bitset< 8 > fPlaneMask
 Bitset for PlaneID used by algorithm, allowing for multiple planes and up to 8 total planes. Set to all 0s by default. Convention for bitset is that fPlaneMask0 represents plane 0, bit 1 represents plane 1, and so on (with plane conventions defined by the experiment). More...
 

Detailed Description

Definition at line 22 of file ParticleID.h.

Constructor & Destructor Documentation

anab::sParticleIDAlgScores::sParticleIDAlgScores ( )
inline

Definition at line 37 of file ParticleID.h.

References fAlgName, fAssumedPdg, fNdf, fTrackDir, fVariableType, anab::kNoDirection, and anab::kNotSet.

38  {
39  fAlgName = "AlgNameNotSet";
42  fAssumedPdg = 0;
43  fNdf = -9999;
44  fValue = -9999.;
45  // fPlaneMask will use default constructor: sets all values to 0
46  }
float fValue
Result of Particle ID algorithm/test.
Definition: ParticleID.h:33
std::string fAlgName
< determined particle ID
Definition: ParticleID.h:24
int fNdf
Number of degrees of freedom used by algorithm, if applicable. Set to -9999 by default.
Definition: ParticleID.h:30
kTrackDir fTrackDir
Track direction enum: defined in ParticleID_VariableTypeEnums.h. Set to kNoDirection by default...
Definition: ParticleID.h:28
kVariableType fVariableType
Variable type enum: defined in ParticleID_VariableTypeEnums.h. Set to kNotSet by default.
Definition: ParticleID.h:26
int fAssumedPdg
PDG of particle hypothesis assumed by algorithm, if applicable. Set to 0 by default.
Definition: ParticleID.h:32

Member Data Documentation

std::string anab::sParticleIDAlgScores::fAlgName

< determined particle ID

Algorithm name (to be defined by experiment). Set to "AlgNameNotSet" by default.

Definition at line 24 of file ParticleID.h.

Referenced by pid::Chi2PIDAlg::DoParticleID(), and sParticleIDAlgScores().

int anab::sParticleIDAlgScores::fAssumedPdg

PDG of particle hypothesis assumed by algorithm, if applicable. Set to 0 by default.

Definition at line 32 of file ParticleID.h.

Referenced by pid::Chi2PIDAlg::DoParticleID(), and sParticleIDAlgScores().

int anab::sParticleIDAlgScores::fNdf

Number of degrees of freedom used by algorithm, if applicable. Set to -9999 by default.

Definition at line 30 of file ParticleID.h.

Referenced by pid::Chi2PIDAlg::DoParticleID(), and sParticleIDAlgScores().

std::bitset<8> anab::sParticleIDAlgScores::fPlaneMask

Bitset for PlaneID used by algorithm, allowing for multiple planes and up to 8 total planes. Set to all 0s by default. Convention for bitset is that fPlaneMask0 represents plane 0, bit 1 represents plane 1, and so on (with plane conventions defined by the experiment).

Definition at line 35 of file ParticleID.h.

Referenced by pid::Chi2PIDAlg::DoParticleID().

kTrackDir anab::sParticleIDAlgScores::fTrackDir

Track direction enum: defined in ParticleID_VariableTypeEnums.h. Set to kNoDirection by default.

Definition at line 28 of file ParticleID.h.

Referenced by pid::Chi2PIDAlg::DoParticleID(), and sParticleIDAlgScores().

float anab::sParticleIDAlgScores::fValue

Result of Particle ID algorithm/test.

Definition at line 33 of file ParticleID.h.

Referenced by pid::Chi2PIDAlg::DoParticleID().

kVariableType anab::sParticleIDAlgScores::fVariableType

Variable type enum: defined in ParticleID_VariableTypeEnums.h. Set to kNotSet by default.

Definition at line 26 of file ParticleID.h.

Referenced by pid::Chi2PIDAlg::DoParticleID(), and sParticleIDAlgScores().


The documentation for this struct was generated from the following file: