Public Member Functions | Public Attributes | List of all members
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
 
bool m_shouldRunStitching
 
bool m_shouldProduceSlices
 Whether to produce output slices e.g. may not want to do this if only (re)processing single slices. More...
 
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_shouldProduceTestBeamInteractionVertices
 Whether to write the test beam interaction vertices in a separate collection. More...
 
std::string m_testBeamInteractionVerticesInstanceLabel
 The label for the test beam interaction vertices. 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 68 of file LArPandoraOutput.h.

Constructor & Destructor Documentation

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

Default constructor.

Definition at line 1218 of file LArPandoraOutput.cxx.

1219  : m_pPrimaryPandora(nullptr)
1220  , m_shouldRunStitching(false)
1224  {}
const pandora::Pandora * m_pPrimaryPandora
bool m_isNeutrinoRecoOnlyNoSlicing
If we are running the neutrino reconstruction only with no slicing.
bool m_shouldProduceTestBeamInteractionVertices
Whether to write the test beam interaction vertices in a separate collection.
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 1229 of file LArPandoraOutput.cxx.

1230  {
1231  if (!m_pPrimaryPandora)
1232  throw cet::exception("LArPandora")
1233  << " LArPandoraOutput::Settings::Validate --- primary Pandora instance does not exist ";
1234 
1235  if (!m_shouldProduceAllOutcomes) return;
1236 
1237  if (m_allOutcomesInstanceLabel.empty())
1238  throw cet::exception("LArPandora")
1239  << " LArPandoraOutput::Settings::Validate --- all outcomes instance label not set ";
1240  }
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 86 of file LArPandoraOutput.h.

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

The hit finder module label.

Definition at line 93 of file LArPandoraOutput.h.

bool lar_pandora::LArPandoraOutput::Settings::m_isNeutrinoRecoOnlyNoSlicing

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

Definition at line 92 of file LArPandoraOutput.h.

const pandora::Pandora* lar_pandora::LArPandoraOutput::Settings::m_pPrimaryPandora

Definition at line 80 of file LArPandoraOutput.h.

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 85 of file LArPandoraOutput.h.

bool lar_pandora::LArPandoraOutput::Settings::m_shouldProduceSlices

Whether to produce output slices e.g. may not want to do this if only (re)processing single slices.

Definition at line 83 of file LArPandoraOutput.h.

bool lar_pandora::LArPandoraOutput::Settings::m_shouldProduceTestBeamInteractionVertices

Whether to write the test beam interaction vertices in a separate collection.

Definition at line 88 of file LArPandoraOutput.h.

bool lar_pandora::LArPandoraOutput::Settings::m_shouldRunStitching

Definition at line 81 of file LArPandoraOutput.h.

std::string lar_pandora::LArPandoraOutput::Settings::m_testBeamInteractionVerticesInstanceLabel

The label for the test beam interaction vertices.

Definition at line 90 of file LArPandoraOutput.h.


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