All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
lar_pandora::CollectionSplitting Class Reference
Inheritance diagram for lar_pandora::CollectionSplitting:

Public Member Functions

 CollectionSplitting (fhicl::ParameterSet const &pset)
 
 CollectionSplitting (CollectionSplitting const &)=delete
 
 CollectionSplitting (CollectionSplitting &&)=delete
 
CollectionSplittingoperator= (CollectionSplitting const &)=delete
 
CollectionSplittingoperator= (CollectionSplitting &&)=delete
 
void produce (art::Event &e) override
 

Private Attributes

std::string m_inputProducerLabel
 Label for the Pandora instance that produced the collections we want to split up. More...
 
std::string m_trackProducerLabel
 Label for the track producer using the Pandora instance that produced the collections we want to split up. More...
 
std::string m_showerProducerLabel
 Label for the shower producer using the Pandora instance that produced the collections we want to split up. More...
 
std::string m_hitProducerLabel
 Label for the hit producer that was used as input to the Pandora instance specified. More...
 
bool m_shouldProduceT0s
 If we should produce T0s (relevant when stitching over multiple drift volumes) More...
 

Detailed Description

Definition at line 21 of file CollectionSplitting_module.cc.

Constructor & Destructor Documentation

lar_pandora::CollectionSplitting::CollectionSplitting ( fhicl::ParameterSet const &  pset)
explicit

Definition at line 63 of file CollectionSplitting_module.cc.

63  :
64  EDProducer{pset},
65  m_inputProducerLabel(pset.get<std::string>("InputProducerLabel")),
66  m_trackProducerLabel(pset.get<std::string>("TrackProducerLabel")),
67  m_showerProducerLabel(pset.get<std::string>("ShowerProducerLabel")),
68  m_hitProducerLabel(pset.get<std::string>("HitProducerLabel")),
69  m_shouldProduceT0s(pset.get<bool>("ShouldProduceT0s", false))
70 {
71  produces< std::vector<recob::PFParticle> >();
72  produces< std::vector<recob::SpacePoint> >();
73  produces< std::vector<recob::Cluster> >();
74  produces< std::vector<recob::Vertex> >();
75  produces< std::vector<recob::Slice> >();
76  produces< std::vector<recob::Track> >();
77  produces< std::vector<recob::Shower> >();
78  produces< std::vector<recob::PCAxis> >();
79  produces< std::vector<larpandoraobj::PFParticleMetadata> >();
80 
81  produces< art::Assns<recob::PFParticle, recob::SpacePoint> >();
82  produces< art::Assns<recob::PFParticle, recob::Cluster> >();
83  produces< art::Assns<recob::PFParticle, recob::Vertex> >();
84  produces< art::Assns<recob::PFParticle, recob::Slice> >();
85  produces< art::Assns<recob::PFParticle, recob::Track> >();
86  produces< art::Assns<recob::PFParticle, recob::Shower> >();
87  produces< art::Assns<recob::PFParticle, recob::PCAxis> >();
88  produces< art::Assns<recob::PFParticle, larpandoraobj::PFParticleMetadata> >();
89  produces< art::Assns<recob::Track, recob::Hit, recob::TrackHitMeta> >();
90  produces< art::Assns<recob::Shower, recob::Hit> >();
91  produces< art::Assns<recob::Shower, recob::PCAxis> >();
92  produces< art::Assns<recob::SpacePoint, recob::Hit> >();
93  produces< art::Assns<recob::Cluster, recob::Hit> >();
94  produces< art::Assns<recob::Slice, recob::Hit> >();
95 
97  {
98  produces< std::vector<anab::T0> >();
99  produces< art::Assns<recob::PFParticle, anab::T0> >();
100  }
101 }
std::string m_trackProducerLabel
Label for the track producer using the Pandora instance that produced the collections we want to spli...
std::string m_showerProducerLabel
Label for the shower producer using the Pandora instance that produced the collections we want to spl...
std::string m_inputProducerLabel
Label for the Pandora instance that produced the collections we want to split up. ...
bool m_shouldProduceT0s
If we should produce T0s (relevant when stitching over multiple drift volumes)
std::string m_hitProducerLabel
Label for the hit producer that was used as input to the Pandora instance specified.
lar_pandora::CollectionSplitting::CollectionSplitting ( CollectionSplitting const &  )
delete
lar_pandora::CollectionSplitting::CollectionSplitting ( CollectionSplitting &&  )
delete

Member Function Documentation

CollectionSplitting& lar_pandora::CollectionSplitting::operator= ( CollectionSplitting const &  )
delete
CollectionSplitting& lar_pandora::CollectionSplitting::operator= ( CollectionSplitting &&  )
delete
void lar_pandora::CollectionSplitting::produce ( art::Event &  e)
override

Definition at line 105 of file CollectionSplitting_module.cc.

106 {
108  const lar_pandora::LArPandoraEvent pandoraEvent(this, &evt, labels, m_shouldProduceT0s);
109 
110  pandoraEvent.WriteToEvent();
111 }
std::string m_trackProducerLabel
Label for the track producer using the Pandora instance that produced the collections we want to spli...
* labels
LArPandoraEvent class.
std::string m_showerProducerLabel
Label for the shower producer using the Pandora instance that produced the collections we want to spl...
std::string m_inputProducerLabel
Label for the Pandora instance that produced the collections we want to split up. ...
bool m_shouldProduceT0s
If we should produce T0s (relevant when stitching over multiple drift volumes)
Class to handle the required producer labels.
TCEvent evt
Definition: DataStructs.cxx:8
std::string m_hitProducerLabel
Label for the hit producer that was used as input to the Pandora instance specified.

Member Data Documentation

std::string lar_pandora::CollectionSplitting::m_hitProducerLabel
private

Label for the hit producer that was used as input to the Pandora instance specified.

Definition at line 37 of file CollectionSplitting_module.cc.

std::string lar_pandora::CollectionSplitting::m_inputProducerLabel
private

Label for the Pandora instance that produced the collections we want to split up.

Definition at line 34 of file CollectionSplitting_module.cc.

bool lar_pandora::CollectionSplitting::m_shouldProduceT0s
private

If we should produce T0s (relevant when stitching over multiple drift volumes)

Definition at line 38 of file CollectionSplitting_module.cc.

std::string lar_pandora::CollectionSplitting::m_showerProducerLabel
private

Label for the shower producer using the Pandora instance that produced the collections we want to split up.

Definition at line 36 of file CollectionSplitting_module.cc.

std::string lar_pandora::CollectionSplitting::m_trackProducerLabel
private

Label for the track producer using the Pandora instance that produced the collections we want to split up.

Definition at line 35 of file CollectionSplitting_module.cc.


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