LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "TrackCalorimetryAlg.h"
Classes | |
struct | HitProperties |
struct | HitPropertySorter |
Public Types | |
using | Providers_t = lar::ProviderPack< geo::GeometryCore, detinfo::LArProperties > |
Public Member Functions | |
TrackCalorimetryAlg (fhicl::ParameterSet const &p) | |
void | ExtractCalorimetry (detinfo::DetectorClocksData const &clock_data, detinfo::DetectorPropertiesData const &det_prop, std::vector< recob::Track > const &, std::vector< recob::Hit > const &, std::vector< std::vector< size_t >> const &, std::vector< anab::Calorimetry > &, std::vector< size_t > &, Providers_t providers) |
Private Types | |
using | HitPropertiesMultiset_t = std::multiset< HitProperties, HitPropertySorter > |
Private Member Functions | |
std::vector< float > | CreatePathLengthFractionVector (recob::Track const &track) |
void | AnalyzeHit (detinfo::DetectorClocksData const &, detinfo::DetectorPropertiesData const &, recob::Hit const &, recob::Track const &, std::vector< std::pair< geo::WireID, float >> const &, std::vector< float > const &, HitPropertiesMultiset_t &, geo::GeometryCore const &) |
bool | IsInvertedTrack (HitPropertiesMultiset_t const &) |
void | MakeCalorimetryObject (HitPropertiesMultiset_t const &hpm, recob::Track const &track, size_t const &i_track, std::vector< anab::Calorimetry > &caloVector, std::vector< size_t > &assnTrackCaloVector, geo::PlaneID const &planeID) |
void | PrintHitPropertiesMultiset (HitPropertiesMultiset_t const &hpm) |
Private Attributes | |
CalorimetryAlg | caloAlg |
unsigned int | fNHitsToDetermineStart |
Definition at line 45 of file TrackCalorimetryAlg.h.
|
private |
Definition at line 89 of file TrackCalorimetryAlg.h.
using calo::TrackCalorimetryAlg::Providers_t = lar::ProviderPack<geo::GeometryCore, detinfo::LArProperties> |
Definition at line 47 of file TrackCalorimetryAlg.h.
calo::TrackCalorimetryAlg::TrackCalorimetryAlg | ( | fhicl::ParameterSet const & | p | ) |
Title: Track Calorimetry Algorithim Class Author: Wes Ketchum (wketc), based on code in the Calorimetry_module hum@ lanl. gov
Description: Algorithm that produces a calorimetry object given a track Input: recob::Track, Assn<recob::Spacepoint,recob::Track>, Assn<recob::Hit,recob::Track> Output: anab::Calorimetry, (and Assn<anab::Calorimetry,recob::Track>)
Definition at line 22 of file TrackCalorimetryAlg.cxx.
References fNHitsToDetermineStart, and fhicl::ParameterSet::get().
|
private |
Definition at line 122 of file TrackCalorimetryAlg.cxx.
References caloAlg, calo::CalorimetryAlg::dEdx_AREA(), recob::Hit::Integral(), recob::Track::LocationAtPoint(), geo::PlaneID::Plane, lar::util::TrackPitchInView(), geo::GeometryCore::View(), and recob::Hit::WireID().
Referenced by ExtractCalorimetry().
|
private |
Definition at line 106 of file TrackCalorimetryAlg.cxx.
References recob::Track::Length(), recob::Track::LocationAtPoint(), and recob::Track::NumberTrajectoryPoints().
Referenced by ExtractCalorimetry().
void calo::TrackCalorimetryAlg::ExtractCalorimetry | ( | detinfo::DetectorClocksData const & | clock_data, |
detinfo::DetectorPropertiesData const & | det_prop, | ||
std::vector< recob::Track > const & | trackVector, | ||
std::vector< recob::Hit > const & | hitVector, | ||
std::vector< std::vector< size_t >> const & | hit_indices_per_track, | ||
std::vector< anab::Calorimetry > & | caloVector, | ||
std::vector< size_t > & | assnTrackCaloVector, | ||
Providers_t | providers | ||
) |
Definition at line 28 of file TrackCalorimetryAlg.cxx.
References AnalyzeHit(), detinfo::DetectorPropertiesData::ConvertXToTicks(), CreatePathLengthFractionVector(), lar::ProviderPack< Providers >::get(), recob::Track::LocationAtPoint(), MakeCalorimetryObject(), recob::Track::NumberTrajectoryPoints(), and track.
Referenced by calo::TrackCalorimetry::produce().
|
private |
Definition at line 147 of file TrackCalorimetryAlg.cxx.
References util::counter(), and fNHitsToDetermineStart.
Referenced by MakeCalorimetryObject(), and PrintHitPropertiesMultiset().
|
private |
Definition at line 171 of file TrackCalorimetryAlg.cxx.
References recob::tracking::convertCollToPoint(), IsInvertedTrack(), and recob::Track::Length().
Referenced by ExtractCalorimetry().
|
private |
Definition at line 226 of file TrackCalorimetryAlg.cxx.
References IsInvertedTrack().
|
private |
Definition at line 61 of file TrackCalorimetryAlg.h.
Referenced by AnalyzeHit().
|
private |
Definition at line 62 of file TrackCalorimetryAlg.h.
Referenced by IsInvertedTrack(), and TrackCalorimetryAlg().