LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
lar_pandora::LArPandoraOutput::Settings Class Reference

Settings class. More...

#include "LArPandoraOutput.h"

Public Member Functions

 Settings ()
 Default constructor. More...
 
void Validate () const
 Check the parameters and throw an exception if they are not valid. More...
 

Public Attributes

const pandora::Pandora * m_pPrimaryPandora
 
art::EDProducerm_pProducer
 
bool m_shouldRunStitching
 
bool m_shouldProduceAllOutcomes
 If all outcomes should be produced in separate collections (choose false if you only require the consolidated output) More...
 
std::string m_allOutcomesInstanceLabel
 The label for the instance producing all outcomes. More...
 
bool m_isNeutrinoRecoOnlyNoSlicing
 If we are running the neutrino reconstruction only with no slicing. More...
 
std::string m_hitfinderModuleLabel
 The hit finder module label. More...
 

Detailed Description

Settings class.

Definition at line 60 of file LArPandoraOutput.h.

Constructor & Destructor Documentation

lar_pandora::LArPandoraOutput::Settings::Settings ( )

Default constructor.

Definition at line 984 of file LArPandoraOutput.cxx.

984  :
985  m_pPrimaryPandora(nullptr),
986  m_pProducer(nullptr),
987  m_shouldRunStitching(false),
990 {
991 }
const pandora::Pandora * m_pPrimaryPandora
bool m_isNeutrinoRecoOnlyNoSlicing
If we are running the neutrino reconstruction only with no slicing.
bool m_shouldProduceAllOutcomes
If all outcomes should be produced in separate collections (choose false if you only require the cons...

Member Function Documentation

void lar_pandora::LArPandoraOutput::Settings::Validate ( ) const

Check the parameters and throw an exception if they are not valid.

Definition at line 995 of file LArPandoraOutput.cxx.

References m_allOutcomesInstanceLabel, m_pPrimaryPandora, m_pProducer, and m_shouldProduceAllOutcomes.

Referenced by lar_pandora::LArPandoraOutput::ProduceArtOutput().

996 {
997  if (!m_pPrimaryPandora)
998  throw cet::exception("LArPandora") << " LArPandoraOutput::Settings::Validate --- primary Pandora instance does not exist ";
999 
1000  if (!m_pProducer)
1001  throw cet::exception("LArPandora") << " LArPandoraOutput::Settings::Validate --- pointer to ART Producer module does not exist ";
1002 
1003  if (!m_shouldProduceAllOutcomes) return;
1004 
1005  if (m_allOutcomesInstanceLabel.empty())
1006  throw cet::exception("LArPandora") << " LArPandoraOutput::Settings::Validate --- all outcomes instance label not set ";
1007 }
const pandora::Pandora * m_pPrimaryPandora
std::string m_allOutcomesInstanceLabel
The label for the instance producing all outcomes.
bool m_shouldProduceAllOutcomes
If all outcomes should be produced in separate collections (choose false if you only require the cons...
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33

Member Data Documentation

std::string lar_pandora::LArPandoraOutput::Settings::m_allOutcomesInstanceLabel

The label for the instance producing all outcomes.

Definition at line 77 of file LArPandoraOutput.h.

Referenced by lar_pandora::LArPandora::ProcessPandoraOutput(), lar_pandora::LArPandoraOutput::ProduceArtOutput(), and Validate().

std::string lar_pandora::LArPandoraOutput::Settings::m_hitfinderModuleLabel

The hit finder module label.

Definition at line 79 of file LArPandoraOutput.h.

Referenced by lar_pandora::LArPandoraOutput::CopyAllHitsToSingleSlice(), and lar_pandora::LArPandora::LArPandora().

bool lar_pandora::LArPandoraOutput::Settings::m_isNeutrinoRecoOnlyNoSlicing

If we are running the neutrino reconstruction only with no slicing.

Definition at line 78 of file LArPandoraOutput.h.

Referenced by lar_pandora::LArPandoraOutput::BuildSlices(), and lar_pandora::LArPandora::LArPandora().

const pandora::Pandora* lar_pandora::LArPandoraOutput::Settings::m_pPrimaryPandora
art::EDProducer* lar_pandora::LArPandoraOutput::Settings::m_pProducer
bool lar_pandora::LArPandoraOutput::Settings::m_shouldProduceAllOutcomes

If all outcomes should be produced in separate collections (choose false if you only require the consolidated output)

Definition at line 76 of file LArPandoraOutput.h.

Referenced by lar_pandora::LArPandora::ProcessPandoraOutput(), lar_pandora::LArPandoraOutput::ProduceArtOutput(), and Validate().

bool lar_pandora::LArPandoraOutput::Settings::m_shouldRunStitching

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