Public Member Functions | Public Attributes | List of all members
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 31 of file ParticleID.h.

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

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 23 of file ParticleID.h.

int anab::sParticleIDAlgScores::fAssumedPdg

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

Definition at line 27 of file ParticleID.h.

int anab::sParticleIDAlgScores::fNdf

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

Definition at line 26 of file ParticleID.h.

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 29 of file ParticleID.h.

kTrackDir anab::sParticleIDAlgScores::fTrackDir

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

Definition at line 25 of file ParticleID.h.

float anab::sParticleIDAlgScores::fValue

Result of Particle ID algorithm/test.

Definition at line 28 of file ParticleID.h.

kVariableType anab::sParticleIDAlgScores::fVariableType

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

Definition at line 24 of file ParticleID.h.


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