LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_pandora::LArPandoraSliceIdHelper::SliceMetadata Class Reference

Class to hold MC metdata about slices. More...

#include "LArPandoraSliceIdHelper.h"

Public Member Functions

 SliceMetadata ()
 Default constructor. More...
 

Public Attributes

float m_purity
 The fraction of hits in the slice that are neutrino induced. More...
 
float m_completeness
 The fraction of all neutrino induced hits that are in the slice. More...
 
unsigned int m_nHits
 The number of hits in the slice. More...
 
bool m_isMostComplete
 If the slice has the highest completeness in the event. More...
 

Detailed Description

Class to hold MC metdata about slices.

Definition at line 42 of file LArPandoraSliceIdHelper.h.

Constructor & Destructor Documentation

lar_pandora::LArPandoraSliceIdHelper::SliceMetadata::SliceMetadata ( )

Default constructor.

Definition at line 316 of file LArPandoraSliceIdHelper.cxx.

317  : m_purity(-std::numeric_limits<float>::max())
318  , m_completeness(-std::numeric_limits<float>::max())
319  , m_nHits(std::numeric_limits<unsigned int>::max())
320  , m_isMostComplete(false)
321  {}
float m_purity
The fraction of hits in the slice that are neutrino induced.
unsigned int m_nHits
The number of hits in the slice.
float m_completeness
The fraction of all neutrino induced hits that are in the slice.
bool m_isMostComplete
If the slice has the highest completeness in the event.

Member Data Documentation

float lar_pandora::LArPandoraSliceIdHelper::SliceMetadata::m_completeness

The fraction of all neutrino induced hits that are in the slice.

Definition at line 50 of file LArPandoraSliceIdHelper.h.

Referenced by lar_pandora::LArPandoraSliceIdHelper::GetSliceMetadata().

bool lar_pandora::LArPandoraSliceIdHelper::SliceMetadata::m_isMostComplete

If the slice has the highest completeness in the event.

Definition at line 52 of file LArPandoraSliceIdHelper.h.

Referenced by lar_pandora::LArPandoraSliceIdHelper::GetSliceMetadata().

unsigned int lar_pandora::LArPandoraSliceIdHelper::SliceMetadata::m_nHits

The number of hits in the slice.

Definition at line 51 of file LArPandoraSliceIdHelper.h.

Referenced by lar_pandora::LArPandoraSliceIdHelper::GetSliceMetadata().

float lar_pandora::LArPandoraSliceIdHelper::SliceMetadata::m_purity

The fraction of hits in the slice that are neutrino induced.

Definition at line 49 of file LArPandoraSliceIdHelper.h.

Referenced by lar_pandora::LArPandoraSliceIdHelper::GetSliceMetadata().


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