LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
LArPandoraOutput.h
Go to the documentation of this file.
1 
7 #ifndef LAR_PANDORA_OUTPUT_H
8 #define LAR_PANDORA_OUTPUT_H
9 
11 
13 
16 
17 namespace art {class EDProducer;}
18 namespace pandora {class Pandora; class CaloHit;}
19 
20 //------------------------------------------------------------------------------------------------------------------------------------------
21 
22 namespace lar_pandora
23 {
24 
26 {
27 public:
31  class Settings
32  {
33  public:
37  Settings();
38 
39  const pandora::Pandora *m_pPrimaryPandora;
42  };
43 
51  static void ProduceArtOutput(const Settings &settings, const IdToHitMap &idToHitMap, art::Event &evt);
52 
64  static recob::Cluster BuildCluster(const int id, const HitVector &hitVector, const HitList &isolatedHits, cluster::ClusterParamsAlgBase &algo);
65 
72  static recob::SpacePoint BuildSpacePoint(const int id, const pandora::CaloHit *const pCaloHit);
73 
80  static art::Ptr<recob::Hit> GetHit(const IdToHitMap &idToHitMap, const pandora::CaloHit *const pCaloHit);
81 
90  static double CalculateT0(const art::Ptr<recob::Hit> hit, const pandora::CaloHit *const pCaloHit);
91 };
92 
93 } // namespace lar_pandora
94 
95 #endif // LAR_PANDORA_OUTPUT_H
Interface class for LArPandora producer modules, which reconstruct recob::PFParticles from recob::Hit...
const pandora::Pandora * m_pPrimaryPandora
Set of hits with a 2D structure.
Definition: Cluster.h:71
std::map< int, art::Ptr< recob::Hit > > IdToHitMap
Definition: ILArPandora.h:20
Algorithm collection class computing cluster parameters.
Declaration of cluster object.
std::vector< art::Ptr< recob::Hit > > HitVector
Detector simulation of raw signals on wires.
Interface for a algorithm class computing cluster parameters.
HLT enums.
std::set< art::Ptr< recob::Hit > > HitList
helper function for LArPandoraInterface producer module