LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
ILArPandora.h
Go to the documentation of this file.
1 
7 #ifndef I_LAR_PANDORA_H
8 #define I_LAR_PANDORA_H 1
9 
11 
12 namespace recob {class Hit;}
13 namespace pandora {class Pandora;}
14 
15 //------------------------------------------------------------------------------------------------------------------------------------------
16 
17 namespace lar_pandora
18 {
19 
20 typedef std::map< int, art::Ptr<recob::Hit> > IdToHitMap;
21 
26 {
27 public:
33  ILArPandora(fhicl::ParameterSet const &pset);
34 
38  virtual ~ILArPandora();
39 
40 protected:
44  virtual void CreatePandoraInstances() = 0;
45 
49  virtual void ConfigurePandoraInstances() = 0;
50 
54  virtual void DeletePandoraInstances() = 0;
55 
62  virtual void CreatePandoraInput(art::Event &evt, IdToHitMap &idToHitMap) = 0;
63 
70  virtual void ProcessPandoraOutput(art::Event &evt, const IdToHitMap &idToHitMap) = 0;
71 
75  virtual void RunPandoraInstances() = 0;
76 
80  virtual void ResetPandoraInstances() = 0;
81 
82  const pandora::Pandora *m_pPrimaryPandora;
83 };
84 
85 //------------------------------------------------------------------------------------------------------------------------------------------
86 
87 inline ILArPandora::ILArPandora(fhicl::ParameterSet const &/*pset*/) :
88  m_pPrimaryPandora(nullptr)
89 {
90 }
91 
92 //------------------------------------------------------------------------------------------------------------------------------------------
93 
95 {
96 }
97 
98 } // namespace lar_pandora
99 
100 #endif // #ifndef I_LAR_PANDORA_H
Reconstruction base classes.
ILArPandora class.
Definition: ILArPandora.h:25
std::map< int, art::Ptr< recob::Hit > > IdToHitMap
Definition: ILArPandora.h:20
const pandora::Pandora * m_pPrimaryPandora
The address of the primary pandora instance.
Definition: ILArPandora.h:82
virtual ~ILArPandora()
Destructor.
Definition: ILArPandora.h:94