#include <HitAnaAlg.h>
Public Member Functions | |
HitAnaAlg () | |
void | SetWireDataTree (TTree *) |
void | SetHitDataTree (std::vector< TTree * > &trees) |
void | AnalyzeWires (std::vector< recob::Wire > const &, std::vector< sim::MCHitCollection > const &, std::vector< std::vector< int >> const &, detinfo::DetectorClocksData const &, unsigned int, unsigned int) |
void | LoadHitAssocPair (std::vector< recob::Hit > const &, std::vector< std::vector< int >> const &, std::string const &) |
void | ClearHitModules () |
Private Types | |
typedef std::pair< const std::vector< recob::Hit > &, const std::vector < std::vector< int > > & > | HitAssocPair |
Private Member Functions | |
void | InitWireData (unsigned int, unsigned int) |
void | ClearWireDataHitInfo () |
void | FillHitInfo (recob::Hit const &, std::vector< HitInfo > &) |
void | FillWireInfo (recob::Wire const &, int, std::vector< sim::MCHitCollection > const &, std::vector< int > const &, detinfo::DetectorClocksData const &) |
void | ProcessROI (lar::sparse_vector< float >::datarange_t const &, int, std::vector< sim::MCHitCollection > const &, std::vector< int > const &, detinfo::DetectorClocksData const &) |
void | ROIInfo (lar::sparse_vector< float >::datarange_t const &, float &, float &, float &) |
void | FindAndStoreHitsInRange (std::vector< recob::Hit > const &, std::vector< int > const &, size_t, size_t, size_t) |
void | FindAndStoreMCHitsInRange (std::vector< sim::MCHitCollection > const &, std::vector< int > const &, size_t, size_t, detinfo::DetectorClocksData const &) |
void | SetupWireDataTree () |
Private Attributes | |
WireROIInfo | wireData |
std::vector< recob::Hit * > | hitData |
std::vector< std::string > | HitModuleLabels |
std::vector< HitAssocPair > | HitProcessingQueue |
TTree * | wireDataTree |
std::vector< TTree * > | hitDataTree |
Friends | |
class | HitAnaAlgTest |
Definition at line 109 of file HitAnaAlg.h.
|
private |
Definition at line 112 of file HitAnaAlg.h.
hit::HitAnaAlg::HitAnaAlg | ( | ) |
Title: HitAnaModule Author: wketc Inputs: hum@ lanl. govrecob::Wire (calibrated), recob::Hit, Assns<recob::Wire, recob::Hit> Outputs: validation histograms
Description: This module is intended to be yet another hit analyzer module. Its intention is (1) to compare hit-finding modules against each other, and eventually (2) to compare those to truth
Definition at line 21 of file HitAnaAlg.cxx.
void hit::HitAnaAlg::AnalyzeWires | ( | std::vector< recob::Wire > const & | WireVector, |
std::vector< sim::MCHitCollection > const & | MCHitCollectionVector, | ||
std::vector< std::vector< int >> const & | AssocVector, | ||
detinfo::DetectorClocksData const & | clock_data, | ||
unsigned int | event, | ||
unsigned int | run | ||
) |
Definition at line 109 of file HitAnaAlg.cxx.
void hit::HitAnaAlg::ClearHitModules | ( | ) |
Definition at line 89 of file HitAnaAlg.cxx.
|
private |
Definition at line 133 of file HitAnaAlg.cxx.
|
private |
Definition at line 326 of file HitAnaAlg.cxx.
|
private |
Definition at line 156 of file HitAnaAlg.cxx.
|
private |
Definition at line 234 of file HitAnaAlg.cxx.
|
private |
Definition at line 278 of file HitAnaAlg.cxx.
|
private |
Definition at line 123 of file HitAnaAlg.cxx.
void hit::HitAnaAlg::LoadHitAssocPair | ( | std::vector< recob::Hit > const & | HitVector, |
std::vector< std::vector< int >> const & | AssocVector, | ||
std::string const & | HitModuleLabel | ||
) |
Definition at line 97 of file HitAnaAlg.cxx.
|
private |
Definition at line 203 of file HitAnaAlg.cxx.
|
private |
Definition at line 182 of file HitAnaAlg.cxx.
void hit::HitAnaAlg::SetHitDataTree | ( | std::vector< TTree * > & | trees | ) |
Definition at line 34 of file HitAnaAlg.cxx.
|
private |
Definition at line 56 of file HitAnaAlg.cxx.
void hit::HitAnaAlg::SetWireDataTree | ( | TTree * | wdt | ) |
Definition at line 27 of file HitAnaAlg.cxx.
|
friend |
Definition at line 177 of file HitAnaAlg.h.
|
private |
Definition at line 166 of file HitAnaAlg.h.
|
private |
Definition at line 174 of file HitAnaAlg.h.
|
private |
Definition at line 168 of file HitAnaAlg.h.
|
private |
Definition at line 169 of file HitAnaAlg.h.
|
private |
Definition at line 165 of file HitAnaAlg.h.
|
private |
Definition at line 172 of file HitAnaAlg.h.