LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
LArPandora.h
Go to the documentation of this file.
1 
8 #ifndef LAR_PANDORA_H
9 #define LAR_PANDORA_H 1
10 
15 
16 #include <string>
17 #include <memory> // std::unique_ptr<>
18 
19 namespace lar_pandora
20 {
21 
25 class LArPandora : public ILArPandora
26 {
27 public:
33  LArPandora(fhicl::ParameterSet const &pset);
34 
35  void beginJob();
36  void produce(art::Event &evt);
37 
38 protected:
39  std::string m_configFile;
40 
49 
50 private:
51  void CreatePandoraInput(art::Event &evt, IdToHitMap &idToHitMap);
52  void ProcessPandoraOutput(art::Event &evt, const IdToHitMap &idToHitMap);
53 
54  std::string m_generatorModuleLabel;
55  std::string m_geantModuleLabel;
56  std::string m_hitfinderModuleLabel;
58 
63 
66 
68 };
69 
70 } // namespace lar_pandora
71 
72 #endif // #ifndef LAR_PANDORA_H
Interface class for LArPandora producer modules, which reconstruct recob::PFParticles from recob::Hit...
void CreatePandoraInput(art::Event &evt, IdToHitMap &idToHitMap)
Create pandora input hits, mc particles etc.
Definition: LArPandora.cxx:145
ILArPandora class.
Definition: ILArPandora.h:25
Helper functions for extracting detector geometry for use in reconsruction.
std::map< unsigned int, LArDriftVolume > LArDriftVolumeMap
bool m_shouldRunAllHitsCosmicReco
Steering: whether to run all hits cosmic-ray reconstruction.
Definition: LArPandora.h:41
std::map< int, art::Ptr< recob::Hit > > IdToHitMap
Definition: ILArPandora.h:20
Helper functions for processing outputs from pandora.
std::string m_backtrackerModuleLabel
The back tracker module label.
Definition: LArPandora.h:57
bool m_lineGapsCreated
Book-keeping: whether line gap creation has been called.
Definition: LArPandora.h:62
bool m_shouldRunCosmicHitRemoval
Steering: whether to remove hits from tagged cosmic-rays.
Definition: LArPandora.h:43
bool m_shouldRunNeutrinoRecoOption
Steering: whether to run neutrino reconstruction for each slice.
Definition: LArPandora.h:45
LArDriftVolumeMap m_driftVolumeMap
The map from volume id to drift volume.
Definition: LArPandora.h:67
bool m_printOverallRecoStatus
Steering: whether to print current operation status messages.
Definition: LArPandora.h:48
std::string m_generatorModuleLabel
The generator module label.
Definition: LArPandora.h:54
std::string m_geantModuleLabel
The geant module label.
Definition: LArPandora.h:55
void ProcessPandoraOutput(art::Event &evt, const IdToHitMap &idToHitMap)
Process pandora output particle flow objects.
Definition: LArPandora.cxx:198
bool m_shouldRunCosmicRecoOption
Steering: whether to run cosmic-ray reconstruction for each slice.
Definition: LArPandora.h:46
LArPandora(fhicl::ParameterSet const &pset)
Constructor.
Definition: LArPandora.cxx:45
std::string m_configFile
The config file.
Definition: LArPandora.h:39
bool m_enableDetectorGaps
Whether to pass detector gap information to Pandora instances.
Definition: LArPandora.h:60
void produce(art::Event &evt)
Definition: LArPandora.cxx:134
bool m_shouldRunStitching
Steering: whether to stitch cosmic-ray muons crossing between volumes.
Definition: LArPandora.h:42
LArPandoraInput::Settings m_inputSettings
The lar pandora input settings.
Definition: LArPandora.h:64
LArPandoraOutput::Settings m_outputSettings
The lar pandora output settings.
Definition: LArPandora.h:65
Helper functions for providing inputs to pandora.
bool m_shouldRunSlicing
Steering: whether to slice events into separate regions for processing.
Definition: LArPandora.h:44
bool m_enableMCParticles
Whether to pass mc information to Pandora instances to aid development.
Definition: LArPandora.h:61
LArPandora class.
Definition: LArPandora.h:25
bool m_enableProduction
Whether to persist output products.
Definition: LArPandora.h:59
bool m_shouldPerformSliceId
Steering: whether to identify slices and select most appropriate pfos.
Definition: LArPandora.h:47
std::string m_hitfinderModuleLabel
The hit finder module label.
Definition: LArPandora.h:56