PFParticleHitDumper class. More...
Public Member Functions | |
| PFParticleHitDumper (fhicl::ParameterSet const &pset) | |
| Constructor. More... | |
| virtual | ~PFParticleHitDumper () |
| Destructor. More... | |
| void | beginJob () |
| void | endJob () |
| void | analyze (const art::Event &evt) |
| void | reconfigure (fhicl::ParameterSet const &pset) |
Public Member Functions inherited from art::EDAnalyzer | |
| EDAnalyzer (fhicl::ParameterSet const &pset) | |
| template<typename Config > | |
| EDAnalyzer (Table< Config > const &config) | |
| std::string | workerType () const |
Public Member Functions inherited from art::detail::Analyzer | |
| virtual | ~Analyzer () noexcept |
| Analyzer (fhicl::ParameterSet const &pset) | |
| template<typename Config > | |
| Analyzer (Table< Config > const &config) | |
| void | doBeginJob (SharedResources const &resources) |
| void | doEndJob () |
| void | doRespondToOpenInputFile (FileBlock const &fb) |
| void | doRespondToCloseInputFile (FileBlock const &fb) |
| void | doRespondToOpenOutputFiles (FileBlock const &fb) |
| void | doRespondToCloseOutputFiles (FileBlock const &fb) |
| bool | doBeginRun (RunPrincipal &rp, ModuleContext const &mc) |
| bool | doEndRun (RunPrincipal &rp, ModuleContext const &mc) |
| bool | doBeginSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
| bool | doEndSubRun (SubRunPrincipal &srp, ModuleContext const &mc) |
| bool | doEvent (EventPrincipal &ep, ModuleContext const &mc, std::atomic< std::size_t > &counts_run, std::atomic< std::size_t > &counts_passed, std::atomic< std::size_t > &counts_failed) |
Public Member Functions inherited from art::Observer | |
| ~Observer () noexcept | |
| Observer (Observer const &)=delete | |
| Observer (Observer &&)=delete | |
| Observer & | operator= (Observer const &)=delete |
| Observer & | operator= (Observer &&)=delete |
| void | registerProducts (ProductDescriptions &, ModuleDescription const &) |
| void | fillDescriptions (ModuleDescription const &) |
| fhicl::ParameterSetID | selectorConfig () const |
Public Member Functions inherited from art::ModuleBase | |
| virtual | ~ModuleBase () noexcept |
| ModuleBase () | |
| ModuleDescription const & | moduleDescription () const |
| void | setModuleDescription (ModuleDescription const &) |
| std::array< std::vector< ProductInfo >, NumBranchTypes > const & | getConsumables () const |
| void | sortConsumables (std::string const ¤t_process_name) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | consumesView (InputTag const &tag) |
| template<typename T , BranchType BT> | |
| ViewToken< T > | mayConsumeView (InputTag const &tag) |
Private Member Functions | |
| void | FillRecoTracks (const PFParticlesToTracks &particlesToTracks) |
| Store 3D track hits. More... | |
| void | FillReco3D (const PFParticleVector &particleVector, const PFParticlesToSpacePoints &particlesToSpacePoints, const SpacePointsToHits &spacePointsToHits) |
| Store 3D hits. More... | |
| void | FillReco2D (const art::Event &event, const HitVector &hitVector, const HitsToPFParticles &hitsToParticles) |
| Store 2D hits. More... | |
| void | FillAssociated2DHits (const art::Event &evt, const PFParticleVector &particleVector, const PFParticlesToHits &particlesToHits, const PFParticlesToHits &particlesToHitsClusters, const PFParticlesToTracks &particlesToTracks, const TracksToHits &tracksToHits, const PFParticlesToShowers &particlesToShowers, const ShowersToHits &showersToHits) |
| Store number of 2D hits associated to PFParticle in different ways. More... | |
| void | FillRecoWires (const art::Event &event, const WireVector &wireVector) |
| Store raw data. More... | |
| double | GetUVW (const geo::WireID &wireID) const |
| Conversion from wire ID to U/V/W coordinate. More... | |
| double | YZtoU (const unsigned int cstat, const unsigned int tpc, const double y, const double z) const |
| Convert from (Y,Z) to U coordinate. More... | |
| double | YZtoV (const unsigned int cstat, const unsigned int tpc, const double y, const double z) const |
| Convert from (Y,Z) to V coordinate. More... | |
Private Attributes | |
| TTree * | m_pRecoTracks |
| TTree * | m_pReco3D |
| TTree * | m_pReco2D |
| TTree * | m_pRecoComparison |
| TTree * | m_pRecoWire |
| int | m_run |
| int | m_event |
| int | m_particle |
| int | m_primary |
| int | m_pdgcode |
| int | m_cstat |
| int | m_tpc |
| int | m_plane |
| int | m_wire |
| double | m_u |
| double | m_v |
| double | m_w |
| double | m_x |
| double | m_y |
| double | m_z |
| double | m_q |
| int | m_hitsFromSpacePoints |
| int | m_hitsFromClusters |
| int | m_hitsFromTrackOrShower |
| std::string | m_calwireLabel |
| std::string | m_hitfinderLabel |
| std::string | m_clusterLabel |
| std::string | m_spacepointLabel |
| std::string | m_particleLabel |
| std::string | m_trackLabel |
| std::string | m_showerLabel |
| bool | m_storeWires |
| bool | m_printDebug |
| switch for print statements (TODO: use message service!) More... | |
Additional Inherited Members | |
Public Types inherited from art::EDAnalyzer | |
| using | WorkerType = WorkerT< EDAnalyzer > |
| using | ModuleType = EDAnalyzer |
Protected Member Functions inherited from art::Observer | |
| std::string const & | processName () const |
| bool | wantAllEvents () const noexcept |
| bool | wantEvent (ScheduleID id, Event const &e) const |
| Handle< TriggerResults > | getTriggerResults (Event const &e) const |
| Observer (fhicl::ParameterSet const &config) | |
| Observer (std::vector< std::string > const &select_paths, std::vector< std::string > const &reject_paths, fhicl::ParameterSet const &config) | |
Protected Member Functions inherited from art::ModuleBase | |
| ConsumesCollector & | consumesCollector () |
| template<typename T , BranchType = InEvent> | |
| ProductToken< T > | consumes (InputTag const &) |
| template<typename Element , BranchType = InEvent> | |
| ViewToken< Element > | consumesView (InputTag const &) |
| template<typename T , BranchType = InEvent> | |
| void | consumesMany () |
| template<typename T , BranchType = InEvent> | |
| ProductToken< T > | mayConsume (InputTag const &) |
| template<typename Element , BranchType = InEvent> | |
| ViewToken< Element > | mayConsumeView (InputTag const &) |
| template<typename T , BranchType = InEvent> | |
| void | mayConsumeMany () |
PFParticleHitDumper class.
Definition at line 26 of file PFParticleHitDumper_module.cc.
| lar_pandora::PFParticleHitDumper::PFParticleHitDumper | ( | fhicl::ParameterSet const & | pset | ) |
Constructor.
| pset |
Definition at line 209 of file PFParticleHitDumper_module.cc.
|
virtual |
| void lar_pandora::PFParticleHitDumper::analyze | ( | const art::Event & | evt | ) |
Definition at line 312 of file PFParticleHitDumper_module.cc.
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 237 of file PFParticleHitDumper_module.cc.
|
virtual |
Reimplemented from art::EDAnalyzer.
Definition at line 306 of file PFParticleHitDumper_module.cc.
|
private |
Store number of 2D hits associated to PFParticle in different ways.
| particleVector | the input vector of PFParticles |
| particlesToHits | mapping between PFParticles and 2D hits through space points |
| particlesToHitsClusters | mapping between PFParticles and 2D hits through clusters |
| particlesToTracks | mapping between PFParticles and tracks |
| particlesToShowers | mapping between PFParticles and showers |
Definition at line 554 of file PFParticleHitDumper_module.cc.
|
private |
Store 2D hits.
| hitVector | the input vector of 2D hits |
| hitsToParticles | mapping between 2D hits and PFParticles |
Definition at line 617 of file PFParticleHitDumper_module.cc.
|
private |
Store 3D hits.
| particleVector | the input vector of PFParticles |
| particlesToSpacePoints | mapping between 3D hits and PFParticles |
| spacePointsToHits | mapping between 3D hits and 2D hits |
Definition at line 468 of file PFParticleHitDumper_module.cc.
|
private |
Store 3D track hits.
| particlesToTracks | mapping between 3D track hits and PFParticles |
Definition at line 422 of file PFParticleHitDumper_module.cc.
|
private |
Store raw data.
| wireVector | the input vector of reconstructed wires |
Definition at line 669 of file PFParticleHitDumper_module.cc.
|
private |
Conversion from wire ID to U/V/W coordinate.
| wireID | the input wire ID |
Definition at line 729 of file PFParticleHitDumper_module.cc.
| void lar_pandora::PFParticleHitDumper::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 221 of file PFParticleHitDumper_module.cc.
|
private |
Convert from (Y,Z) to U coordinate.
| cstat | the cryostat |
| tpc | the tpc |
| y | the y coordinate |
| z | the z coordinate |
Definition at line 766 of file PFParticleHitDumper_module.cc.
|
private |
Convert from (Y,Z) to V coordinate.
| cstat | the crystat |
| tpc | the tpc |
| y | the y coordinate |
| z | the z coordinate |
Definition at line 780 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 161 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 163 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 144 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 139 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 162 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 158 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 157 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 159 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 140 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 165 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 142 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 146 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 134 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 133 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 135 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 132 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 136 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 141 of file PFParticleHitDumper_module.cc.
|
private |
switch for print statements (TODO: use message service!)
Definition at line 170 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 155 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 138 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 167 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 164 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 169 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 145 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 166 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 149 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 150 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 151 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 147 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 152 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 153 of file PFParticleHitDumper_module.cc.
|
private |
Definition at line 154 of file PFParticleHitDumper_module.cc.
1.8.11