All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types | Private Member Functions | Private Attributes | Friends | List of all members
hit::HitAnaAlg Class Reference

#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< HitAssocPairHitProcessingQueue
 
TTree * wireDataTree
 
std::vector< TTree * > hitDataTree
 

Friends

class HitAnaAlgTest
 

Detailed Description

Definition at line 109 of file HitAnaAlg.h.

Member Typedef Documentation

typedef std::pair<const std::vector<recob::Hit>&, const std::vector<std::vector<int> >&> hit::HitAnaAlg::HitAssocPair
private

Definition at line 112 of file HitAnaAlg.h.

Constructor & Destructor Documentation

hit::HitAnaAlg::HitAnaAlg ( )

Title: HitAnaModule Author: wketc.nosp@m.hum@.nosp@m.lanl..nosp@m.gov Inputs: recob::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.

22 {
24 }
WireROIInfo wireData
Definition: HitAnaAlg.h:165

Member Function Documentation

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.

115 {
116 
117  InitWireData(event, run);
118  for (size_t iwire = 0; iwire < WireVector.size(); iwire++)
119  FillWireInfo(WireVector[iwire], iwire, MCHitCollectionVector, AssocVector[iwire], clock_data);
120 }
void InitWireData(unsigned int, unsigned int)
Definition: HitAnaAlg.cxx:123
void FillWireInfo(recob::Wire const &, int, std::vector< sim::MCHitCollection > const &, std::vector< int > const &, detinfo::DetectorClocksData const &)
Definition: HitAnaAlg.cxx:156
void hit::HitAnaAlg::ClearHitModules ( )

Definition at line 89 of file HitAnaAlg.cxx.

90 {
91  HitModuleLabels.clear();
92  HitProcessingQueue.clear();
94 }
std::vector< std::string > HitModuleLabels
Definition: HitAnaAlg.h:168
WireROIInfo wireData
Definition: HitAnaAlg.h:165
std::vector< HitAssocPair > HitProcessingQueue
Definition: HitAnaAlg.h:169
void hit::HitAnaAlg::ClearWireDataHitInfo ( )
private

Definition at line 133 of file HitAnaAlg.cxx.

134 {
135  wireData.NMCHits = 0;
142 
143  wireData.NHits.assign(wireData.NHitModules, 0);
151  wireData.Hits.clear();
153 }
WireROIInfo wireData
Definition: HitAnaAlg.h:165
std::vector< float > Hits_wAverageCharge
Definition: HitAnaAlg.h:88
std::vector< float > Hits_MeanMultiplicity
Definition: HitAnaAlg.h:90
std::vector< float > Hits_PeakTime
Definition: HitAnaAlg.h:87
float MCHits_wAverageTime
Definition: HitAnaAlg.h:98
std::vector< float > Hits_PeakCharge
Definition: HitAnaAlg.h:86
std::vector< int > NHits
Definition: HitAnaAlg.h:83
float MCHits_IntegratedCharge
Definition: HitAnaAlg.h:93
float MCHits_wAverageCharge
Definition: HitAnaAlg.h:97
std::vector< float > Hits_AverageCharge
Definition: HitAnaAlg.h:85
std::vector< float > Hits_wAverageTime
Definition: HitAnaAlg.h:89
float MCHits_PeakCharge
Definition: HitAnaAlg.h:95
float MCHits_PeakTime
Definition: HitAnaAlg.h:96
std::vector< float > Hits_IntegratedCharge
Definition: HitAnaAlg.h:84
std::vector< std::vector< HitInfo > > Hits
Definition: HitAnaAlg.h:91
float MCHits_AverageCharge
Definition: HitAnaAlg.h:94
void hit::HitAnaAlg::FillHitInfo ( recob::Hit const &  hit,
std::vector< HitInfo > &  HitInfoVector 
)
private

Definition at line 326 of file HitAnaAlg.cxx.

327 {
328  HitInfoVector.emplace_back(hit.PeakTime(),
329  hit.SigmaPeakTime(),
330  hit.RMS(),
331  hit.StartTick(),
332  hit.EndTick(),
333  hit.Integral(),
334  hit.SigmaIntegral(),
335  hit.PeakAmplitude(),
336  hit.SigmaPeakAmplitude(),
337  hit.GoodnessOfFit());
338 }
process_name hit
Definition: cheaterreco.fcl:51
void hit::HitAnaAlg::FillWireInfo ( recob::Wire const &  wire,
int  WireIndex,
std::vector< sim::MCHitCollection > const &  MCHitCollectionVector,
std::vector< int > const &  thisAssocVector,
detinfo::DetectorClocksData const &  clock_data 
)
private

Definition at line 156 of file HitAnaAlg.cxx.

161 {
162 
163  wireData.channel = wire.Channel();
164  wireData.plane = wire.View();
165  unsigned int range_index = 0;
166 
167  for (auto const& range : wire.SignalROI().get_ranges()) {
168 
169  wireData.range_index = range_index;
170  wireData.range_start = range.begin_index();
171  wireData.range_size = range.size();
172 
174 
175  ProcessROI(range, WireIndex, MCHitCollectionVector, thisAssocVector, clock_data);
176  range_index++;
177 
178  } //end loop over roi ranges
179 }
unsigned int range_index
Definition: HitAnaAlg.h:75
void ProcessROI(lar::sparse_vector< float >::datarange_t const &, int, std::vector< sim::MCHitCollection > const &, std::vector< int > const &, detinfo::DetectorClocksData const &)
Definition: HitAnaAlg.cxx:203
WireROIInfo wireData
Definition: HitAnaAlg.h:165
void ClearWireDataHitInfo()
Definition: HitAnaAlg.cxx:133
unsigned int range_start
Definition: HitAnaAlg.h:76
unsigned int channel
Definition: HitAnaAlg.h:73
size_t range_size
Definition: HitAnaAlg.h:77
unsigned int plane
Definition: HitAnaAlg.h:74
void hit::HitAnaAlg::FindAndStoreHitsInRange ( std::vector< recob::Hit > const &  HitVector,
std::vector< int > const &  HitsOnWire,
size_t  hitmodule_iter,
size_t  begin_wire_tdc,
size_t  end_wire_tdc 
)
private

Definition at line 234 of file HitAnaAlg.cxx.

239 {
240 
241  wireData.Hits_PeakCharge[hitmodule_iter] = -999;
242 
243  for (auto const& hit_index : HitsOnWire) {
244  recob::Hit const& thishit = HitVector.at(hit_index);
245 
246  //check if this hit is on this ROI
247  if (thishit.PeakTimeMinusRMS() < begin_wire_tdc || thishit.PeakTimePlusRMS() > end_wire_tdc)
248  continue;
249 
250  FillHitInfo(thishit, wireData.Hits[hitmodule_iter]);
251  wireData.NHits[hitmodule_iter]++;
252  wireData.Hits_IntegratedCharge[hitmodule_iter] += thishit.Integral();
253 
254  if (thishit.PeakAmplitude() > wireData.Hits_PeakCharge[hitmodule_iter]) {
255  wireData.Hits_PeakCharge[hitmodule_iter] = thishit.PeakAmplitude();
256  wireData.Hits_PeakTime[hitmodule_iter] = thishit.PeakTime();
257  }
258 
259  wireData.Hits_wAverageCharge[hitmodule_iter] += thishit.Integral() * thishit.Integral();
260  wireData.Hits_wAverageTime[hitmodule_iter] += thishit.Integral() * thishit.PeakTime();
261  wireData.Hits_MeanMultiplicity[hitmodule_iter] += thishit.Multiplicity();
262 
263  *(hitData.at(hitmodule_iter)) = thishit;
264  (hitDataTree.at(hitmodule_iter))->Fill();
265  }
266 
267  wireData.Hits_AverageCharge[hitmodule_iter] =
268  wireData.Hits_IntegratedCharge[hitmodule_iter] / wireData.NHits[hitmodule_iter];
269  wireData.Hits_wAverageCharge[hitmodule_iter] =
270  wireData.Hits_wAverageCharge[hitmodule_iter] / wireData.Hits_IntegratedCharge[hitmodule_iter];
271  wireData.Hits_wAverageTime[hitmodule_iter] =
272  wireData.Hits_wAverageTime[hitmodule_iter] / wireData.Hits_IntegratedCharge[hitmodule_iter];
273 
274  wireData.Hits_MeanMultiplicity[hitmodule_iter] /= wireData.NHits[hitmodule_iter];
275 }
WireROIInfo wireData
Definition: HitAnaAlg.h:165
void FillHitInfo(recob::Hit const &, std::vector< HitInfo > &)
Definition: HitAnaAlg.cxx:326
std::vector< float > Hits_wAverageCharge
Definition: HitAnaAlg.h:88
std::vector< float > Hits_MeanMultiplicity
Definition: HitAnaAlg.h:90
std::vector< recob::Hit * > hitData
Definition: HitAnaAlg.h:166
std::vector< float > Hits_PeakTime
Definition: HitAnaAlg.h:87
float Integral() const
Integral under the calibrated signal waveform of the hit, in tick x ADC units.
Definition: Hit.h:224
short int Multiplicity() const
How many hits could this one be shared with.
Definition: Hit.h:226
float PeakAmplitude() const
The estimated amplitude of the hit at its peak, in ADC units.
Definition: Hit.h:221
std::vector< float > Hits_PeakCharge
Definition: HitAnaAlg.h:86
std::vector< int > NHits
Definition: HitAnaAlg.h:83
std::vector< float > Hits_AverageCharge
Definition: HitAnaAlg.h:85
std::vector< float > Hits_wAverageTime
Definition: HitAnaAlg.h:89
float PeakTimeMinusRMS(float sigmas=+1.) const
Definition: Hit.h:239
float PeakTime() const
Time of the signal peak, in tick units.
Definition: Hit.h:218
std::vector< float > Hits_IntegratedCharge
Definition: HitAnaAlg.h:84
std::vector< TTree * > hitDataTree
Definition: HitAnaAlg.h:174
std::vector< std::vector< HitInfo > > Hits
Definition: HitAnaAlg.h:91
2D representation of charge deposited in the TDC/wire plane
Definition: Hit.h:48
float PeakTimePlusRMS(float sigmas=+1.) const
Returns a time sigmas RMS away from the peak time.
Definition: Hit.h:236
void hit::HitAnaAlg::FindAndStoreMCHitsInRange ( std::vector< sim::MCHitCollection > const &  MCHitCollectionVector,
std::vector< int > const &  HitsOnWire,
size_t  begin_wire_tdc,
size_t  end_wire_tdc,
detinfo::DetectorClocksData const &  clock_data 
)
private

Definition at line 278 of file HitAnaAlg.cxx.

284 {
285 
287 
288  for (auto const& hit_index : HitsOnWire) {
289  sim::MCHitCollection const& thismchitcol = MCHitCollectionVector.at(hit_index);
290 
291  //let's have a map to keep track of the number of total particles
292  std::unordered_map<int, unsigned int> nmchits_per_trackID_map;
293  for (auto const& thishit : thismchitcol) {
294 
295  //std::cout << "\t************************************************************" << std::endl;
296  //std::cout << "\t\tMCHit begin: " << ts->TPCTDC2Tick( thishit.PeakTime()-thishit.PeakWidth() ) << std::endl;
297  //std::cout << "\t\tMCHit end: " << ts->TPCTDC2Tick( thishit.PeakTime()+thishit.PeakWidth() ) << std::endl;
298 
299  //check if this hit is on this ROI
300  if (clock_data.TPCTDC2Tick(thishit.PeakTime() - thishit.PeakWidth()) < begin_wire_tdc ||
301  clock_data.TPCTDC2Tick(thishit.PeakTime() + thishit.PeakWidth()) > end_wire_tdc)
302  continue;
303 
304  nmchits_per_trackID_map[thishit.PartTrackId()] += 1;
305  wireData.MCHits_IntegratedCharge += thishit.Charge();
306 
307  if (thishit.Charge(true) > wireData.MCHits_PeakCharge) {
308  wireData.MCHits_PeakCharge = thishit.Charge(true);
309  wireData.MCHits_PeakTime = clock_data.TPCTDC2Tick(thishit.PeakTime());
310  }
311 
312  wireData.MCHits_wAverageCharge += thishit.Charge() * thishit.Charge();
313  wireData.MCHits_wAverageTime += thishit.Charge() * clock_data.TPCTDC2Tick(thishit.PeakTime());
314  }
315 
316  wireData.NMCHits = nmchits_per_trackID_map.size();
317 
322  }
323 }
WireROIInfo wireData
Definition: HitAnaAlg.h:165
float MCHits_wAverageTime
Definition: HitAnaAlg.h:98
float MCHits_IntegratedCharge
Definition: HitAnaAlg.h:93
float MCHits_wAverageCharge
Definition: HitAnaAlg.h:97
float MCHits_PeakCharge
Definition: HitAnaAlg.h:95
float MCHits_PeakTime
Definition: HitAnaAlg.h:96
float MCHits_AverageCharge
Definition: HitAnaAlg.h:94
void hit::HitAnaAlg::InitWireData ( unsigned int  event,
unsigned int  run 
)
private

Definition at line 123 of file HitAnaAlg.cxx.

124 {
125 
126  wireData.event = event;
127  wireData.run = run;
130 }
std::vector< std::string > HitModuleLabels
Definition: HitAnaAlg.h:168
unsigned int event
Definition: HitAnaAlg.h:71
WireROIInfo wireData
Definition: HitAnaAlg.h:165
std::vector< std::string > HitModuleLabels
Definition: HitAnaAlg.h:82
unsigned int run
Definition: HitAnaAlg.h:72
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.

100 {
101 
102  HitProcessingQueue.push_back(std::make_pair(std::cref(HitVector), std::cref(AssocVector)));
103  HitModuleLabels.push_back(HitModuleLabel);
104 
105  if (HitProcessingQueue.size() != HitModuleLabels.size()) throw hitanaalgexception;
106 }
std::vector< std::string > HitModuleLabels
Definition: HitAnaAlg.h:168
hit::HitAnaAlgException hitanaalgexception
std::vector< HitAssocPair > HitProcessingQueue
Definition: HitAnaAlg.h:169
void hit::HitAnaAlg::ProcessROI ( lar::sparse_vector< float >::datarange_t const &  range,
int  WireIndex,
std::vector< sim::MCHitCollection > const &  MCHitCollectionVector,
std::vector< int > const &  thisAssocVector,
detinfo::DetectorClocksData const &  clock_data 
)
private

Definition at line 203 of file HitAnaAlg.cxx.

208 {
209 
211 
212  //std::cout << "----------------------------------------------------------------" << std::endl;
213  //std::cout << "WireIndex = " << WireIndex << std::endl;
214  //std::cout << "\tRange begin: " << range.begin_index() << std::endl;
215  //std::cout << "\tRange end: " << range.begin_index()+range.size() << std::endl;
216 
217  for (size_t iter = 0; iter < HitProcessingQueue.size(); iter++)
219  HitProcessingQueue[iter].second.at(WireIndex),
220  iter,
221  range.begin_index(),
222  range.begin_index() + range.size());
223 
224  FindAndStoreMCHitsInRange(MCHitCollectionVector,
225  thisAssocVector,
226  range.begin_index(),
227  range.begin_index() + range.size(),
228  clock_data);
229 
230  wireDataTree->Fill();
231 }
TTree * wireDataTree
Definition: HitAnaAlg.h:172
WireROIInfo wireData
Definition: HitAnaAlg.h:165
size_type size() const
Returns the size of the vector.
float peak_charge
Definition: HitAnaAlg.h:79
float integrated_charge
Definition: HitAnaAlg.h:78
void FindAndStoreHitsInRange(std::vector< recob::Hit > const &, std::vector< int > const &, size_t, size_t, size_t)
Definition: HitAnaAlg.cxx:234
std::vector< HitAssocPair > HitProcessingQueue
Definition: HitAnaAlg.h:169
void ROIInfo(lar::sparse_vector< float >::datarange_t const &, float &, float &, float &)
Definition: HitAnaAlg.cxx:182
void FindAndStoreMCHitsInRange(std::vector< sim::MCHitCollection > const &, std::vector< int > const &, size_t, size_t, detinfo::DetectorClocksData const &)
Definition: HitAnaAlg.cxx:278
void hit::HitAnaAlg::ROIInfo ( lar::sparse_vector< float >::datarange_t const &  range,
float &  charge_sum,
float &  charge_peak,
float &  charge_peak_time 
)
private

Definition at line 182 of file HitAnaAlg.cxx.

186 {
187 
188  charge_sum = 0;
189  charge_peak = -999;
190  unsigned int counter = range.begin_index();
191 
192  for (auto const& value : range) {
193  charge_sum += value;
194  if (value > charge_peak) {
195  charge_peak = value;
196  charge_peak_time = (float)counter;
197  }
198  counter++;
199  }
200 }
auto counter(T begin, T end)
Returns an object to iterate values from begin to end in a range-for loop.
Definition: counter.h:285
temporary value
void hit::HitAnaAlg::SetHitDataTree ( std::vector< TTree * > &  trees)

Definition at line 34 of file HitAnaAlg.cxx.

35 {
36 
37  hitDataTree.clear();
38  hitData.clear();
39 
40  hitDataTree.reserve(trees.size());
41  // This is particularly important: to establish the hitData memory -- all before
42  // individually making the tree->Branch() calls, specifying those addresses.
43  hitData.reserve(trees.size());
44 
45  // Construct the local attribute data container
46  for (auto const& t : trees) {
47  hitDataTree.push_back(t);
48  hitData.push_back(new recob::Hit);
49  }
50 
51  for (size_t i = 0; i < hitData.size(); ++i)
52  hitDataTree[i]->Branch(hitDataTree[i]->GetName(), "recob::Hit", &(hitData[i]));
53 }
std::vector< recob::Hit * > hitData
Definition: HitAnaAlg.h:166
std::pair< double, bool > Branch(double hnl_mass, double ue4, double um4, double rand)
std::vector< TTree * > hitDataTree
Definition: HitAnaAlg.h:174
2D representation of charge deposited in the TDC/wire plane
Definition: Hit.h:48
void hit::HitAnaAlg::SetupWireDataTree ( )
private

Definition at line 56 of file HitAnaAlg.cxx.

57 {
58  wireDataTree->Branch("event", &wireData.event, "event/i");
59  wireDataTree->Branch("run", &wireData.run, "run/i");
60  wireDataTree->Branch("channel", &wireData.channel, "channel/i");
61  wireDataTree->Branch("plane", &wireData.plane, "plane/i");
62  wireDataTree->Branch("roi_index", &wireData.range_index, "roi_index/i");
63  wireDataTree->Branch("roi_start", &wireData.range_start, "roi_start/i");
64  wireDataTree->Branch("roi_size", &wireData.range_size, "roi_size/i");
65  wireDataTree->Branch("roi_charge", &wireData.integrated_charge, "roi_charge/F");
66  wireDataTree->Branch("roi_peak_charge", &wireData.peak_charge, "roi_peak_charge/F");
67  wireDataTree->Branch("roi_peak_time", &wireData.peak_time, "roi_peak_time/F");
68  wireDataTree->Branch("nHitModules", &wireData.NHitModules, "nHitModules/I");
69  wireDataTree->Branch("HitModuleLabels", &wireData.HitModuleLabels);
70  wireDataTree->Branch("NHits", &wireData.NHits);
71  wireDataTree->Branch("Hits_IntegratedCharge", &wireData.Hits_IntegratedCharge);
72  wireDataTree->Branch("Hits_AverageCharge", &wireData.Hits_AverageCharge);
73  wireDataTree->Branch("Hits_PeakCharge", &wireData.Hits_PeakCharge);
74  wireDataTree->Branch("Hits_Peak", &wireData.Hits_PeakTime);
75  wireDataTree->Branch("Hits_wAverageCharge", &wireData.Hits_wAverageCharge);
76  wireDataTree->Branch("Hits_wAverageTime", &wireData.Hits_wAverageTime);
77  wireDataTree->Branch("Hits_MeanMultiplicity", &wireData.Hits_MeanMultiplicity);
78 
79  wireDataTree->Branch("NMCHits", &wireData.NMCHits);
80  wireDataTree->Branch("MCHits_IntegratedCharge", &wireData.MCHits_IntegratedCharge);
81  wireDataTree->Branch("MCHits_AverageCharge", &wireData.MCHits_AverageCharge);
82  wireDataTree->Branch("MCHits_PeakCharge", &wireData.MCHits_PeakCharge);
83  wireDataTree->Branch("MCHits_Peak", &wireData.MCHits_PeakTime);
84  wireDataTree->Branch("MCHits_wAverageCharge", &wireData.MCHits_wAverageCharge);
85  wireDataTree->Branch("MCHits_wAverageTime", &wireData.MCHits_wAverageTime);
86 }
TTree * wireDataTree
Definition: HitAnaAlg.h:172
unsigned int range_index
Definition: HitAnaAlg.h:75
unsigned int event
Definition: HitAnaAlg.h:71
WireROIInfo wireData
Definition: HitAnaAlg.h:165
std::vector< float > Hits_wAverageCharge
Definition: HitAnaAlg.h:88
std::vector< float > Hits_MeanMultiplicity
Definition: HitAnaAlg.h:90
std::vector< float > Hits_PeakTime
Definition: HitAnaAlg.h:87
unsigned int range_start
Definition: HitAnaAlg.h:76
std::vector< std::string > HitModuleLabels
Definition: HitAnaAlg.h:82
float MCHits_wAverageTime
Definition: HitAnaAlg.h:98
unsigned int run
Definition: HitAnaAlg.h:72
std::vector< float > Hits_PeakCharge
Definition: HitAnaAlg.h:86
std::vector< int > NHits
Definition: HitAnaAlg.h:83
float MCHits_IntegratedCharge
Definition: HitAnaAlg.h:93
float MCHits_wAverageCharge
Definition: HitAnaAlg.h:97
float peak_charge
Definition: HitAnaAlg.h:79
std::vector< float > Hits_AverageCharge
Definition: HitAnaAlg.h:85
std::vector< float > Hits_wAverageTime
Definition: HitAnaAlg.h:89
unsigned int channel
Definition: HitAnaAlg.h:73
float MCHits_PeakCharge
Definition: HitAnaAlg.h:95
size_t range_size
Definition: HitAnaAlg.h:77
float MCHits_PeakTime
Definition: HitAnaAlg.h:96
unsigned int plane
Definition: HitAnaAlg.h:74
std::vector< float > Hits_IntegratedCharge
Definition: HitAnaAlg.h:84
float integrated_charge
Definition: HitAnaAlg.h:78
float MCHits_AverageCharge
Definition: HitAnaAlg.h:94
void hit::HitAnaAlg::SetWireDataTree ( TTree *  wdt)

Definition at line 27 of file HitAnaAlg.cxx.

28 {
29  wireDataTree = wdt;
31 }
TTree * wireDataTree
Definition: HitAnaAlg.h:172
void SetupWireDataTree()
Definition: HitAnaAlg.cxx:56

Friends And Related Function Documentation

friend class HitAnaAlgTest
friend

Definition at line 177 of file HitAnaAlg.h.

Member Data Documentation

std::vector<recob::Hit*> hit::HitAnaAlg::hitData
private

Definition at line 166 of file HitAnaAlg.h.

std::vector<TTree*> hit::HitAnaAlg::hitDataTree
private

Definition at line 174 of file HitAnaAlg.h.

std::vector<std::string> hit::HitAnaAlg::HitModuleLabels
private

Definition at line 168 of file HitAnaAlg.h.

std::vector<HitAssocPair> hit::HitAnaAlg::HitProcessingQueue
private

Definition at line 169 of file HitAnaAlg.h.

WireROIInfo hit::HitAnaAlg::wireData
private

Definition at line 165 of file HitAnaAlg.h.

TTree* hit::HitAnaAlg::wireDataTree
private

Definition at line 172 of file HitAnaAlg.h.


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