All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
caf::SRTrackTruth Class Reference

#include <SRTrackTruth.h>

Public Member Functions

 SRTrackTruth ()
 Constructor. More...
 

Public Attributes

float visEintrk
 True total deposited energy associated with this Track across all 3 planes [GeV]. NOTE: this energy is a sum of the depoisted energy as seen individually by each plane. More...
 
float eff
 Cluster efficiency for best matched particle. More...
 
float eff_cryo
 Clsuter efficiency for best matched particle, for the cryostat this cluster is in. More...
 
float pur
 Cluster purity for best matched particle. More...
 
int nmatches
 Number of matches. More...
 
std::vector< SRParticleMatchmatches
 List of particle matches, sorted by most energy matched */. More...
 
SRParticleMatch bestmatch
 Best match for track (most energy). Same as index-0 of matches. Useful for columnar analyses. More...
 
SRTrueParticle p
 A copy of the true particle for the best match. Set to nonsense if there is no such match. More...
 

Detailed Description

Truth matching information between a SRTrack and a list of SRTrueParticle objects matching is done using the sum of energies on each plane, so energy variables use the sum of energy seen by each plane

Definition at line 19 of file SRTrackTruth.h.

Constructor & Destructor Documentation

caf::SRTrackTruth::SRTrackTruth ( )

Constructor.

Definition at line 14 of file SRTrackTruth.cxx.

14  :
15  visEintrk(std::numeric_limits<float>::signaling_NaN()),
16  eff(std::numeric_limits<float>::signaling_NaN()),
17  eff_cryo(std::numeric_limits<float>::signaling_NaN()),
18  pur(std::numeric_limits<float>::signaling_NaN()),
19  nmatches(0)
20 {}
int nmatches
Number of matches.
Definition: SRTrackTruth.h:27
float eff
Cluster efficiency for best matched particle.
Definition: SRTrackTruth.h:23
float visEintrk
True total deposited energy associated with this Track across all 3 planes [GeV]. NOTE: this energy i...
Definition: SRTrackTruth.h:22
float pur
Cluster purity for best matched particle.
Definition: SRTrackTruth.h:25
float eff_cryo
Clsuter efficiency for best matched particle, for the cryostat this cluster is in.
Definition: SRTrackTruth.h:24

Member Data Documentation

SRParticleMatch caf::SRTrackTruth::bestmatch

Best match for track (most energy). Same as index-0 of matches. Useful for columnar analyses.

Definition at line 29 of file SRTrackTruth.h.

float caf::SRTrackTruth::eff

Cluster efficiency for best matched particle.

Definition at line 23 of file SRTrackTruth.h.

float caf::SRTrackTruth::eff_cryo

Clsuter efficiency for best matched particle, for the cryostat this cluster is in.

Definition at line 24 of file SRTrackTruth.h.

std::vector<SRParticleMatch> caf::SRTrackTruth::matches

List of particle matches, sorted by most energy matched */.

Definition at line 28 of file SRTrackTruth.h.

int caf::SRTrackTruth::nmatches

Number of matches.

Definition at line 27 of file SRTrackTruth.h.

SRTrueParticle caf::SRTrackTruth::p

A copy of the true particle for the best match. Set to nonsense if there is no such match.

Definition at line 30 of file SRTrackTruth.h.

float caf::SRTrackTruth::pur

Cluster purity for best matched particle.

Definition at line 25 of file SRTrackTruth.h.

float caf::SRTrackTruth::visEintrk

True total deposited energy associated with this Track across all 3 planes [GeV]. NOTE: this energy is a sum of the depoisted energy as seen individually by each plane.

Definition at line 22 of file SRTrackTruth.h.


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