LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "FlashHypothesisCreator.h"
Public Types | |
using | Providers_t = lar::ProviderPack< geo::GeometryCore, detinfo::LArProperties > |
Set of service providers used in the common(est) interface. More... | |
Private Member Functions | |
FlashHypothesisCollection | CreateFlashHypothesesFromSegment (TVector3 const &pt1, TVector3 const &pt2, float const &dEdx, Providers_t providers, phot::PhotonVisibilityService const &pvs, opdet::OpDigiProperties const &opdigip, float XOffset) |
Private Attributes | |
FlashHypothesisCalculator | _calc |
Definition at line 43 of file FlashHypothesisCreator.h.
using opdet::FlashHypothesisCreator::Providers_t = lar::ProviderPack<geo::GeometryCore, detinfo::LArProperties> |
Set of service providers used in the common(est) interface.
Definition at line 47 of file FlashHypothesisCreator.h.
|
inline |
Definition at line 49 of file FlashHypothesisCreator.h.
References tca::dEdx(), pt1, pt2, and track.
|
private |
Definition at line 145 of file FlashHypothesisCreator.cxx.
References _calc, tca::dEdx(), opdet::FlashHypothesisCalculator::FillFlashHypothesis(), lar::ProviderPack< Providers >::get(), phot::PhotonVisibilityService::GetAllVisibilities(), pt1, pt2, opdet::OpDigiProperties::QE(), opdet::FlashHypothesisCalculator::SegmentMidpoint(), and opdet::FlashHypothesisCollection::SetPromptHypAndPromptFraction().
Referenced by GetFlashHypothesisCollection().
opdet::FlashHypothesisCollection opdet::FlashHypothesisCreator::GetFlashHypothesisCollection | ( | recob::Track const & | track, |
std::vector< float > const & | dEdxVector, | ||
Providers_t | providers, | ||
phot::PhotonVisibilityService const & | pvs, | ||
opdet::OpDigiProperties const & | opdigip, | ||
float | XOffset = 0 |
||
) |
Title: FlashHypothesis Creator Class Author: Wes Ketchum (wketc) hum@ lanl. gov
Description: Class that produces a flash hypothesis for a trajectory. Input: Trajectory (std::vector<TVector3> objects) Output: FlashHypotheses
Definition at line 19 of file FlashHypothesisCreator.cxx.
References CreateFlashHypothesesFromSegment(), lar::ProviderPack< Providers >::get(), recob::Track::LocationAtPoint(), recob::Track::NumberTrajectoryPoints(), and pt.
Referenced by opdet::FlashHypothesisAnaAlg::RunComparison().
opdet::FlashHypothesisCollection opdet::FlashHypothesisCreator::GetFlashHypothesisCollection | ( | sim::MCTrack const & | mctrack, |
std::vector< float > const & | dEdxVector, | ||
Providers_t | providers, | ||
phot::PhotonVisibilityService const & | pvs, | ||
opdet::OpDigiProperties const & | opdigip, | ||
float | XOffset = 0 |
||
) |
Definition at line 58 of file FlashHypothesisCreator.cxx.
References CreateFlashHypothesesFromSegment(), lar::ProviderPack< Providers >::get(), and pt.
opdet::FlashHypothesisCollection opdet::FlashHypothesisCreator::GetFlashHypothesisCollection | ( | std::vector< TVector3 > const & | trajVector, |
std::vector< float > const & | dEdxVector, | ||
Providers_t | providers, | ||
phot::PhotonVisibilityService const & | pvs, | ||
opdet::OpDigiProperties const & | opdigip, | ||
float | XOffset = 0 |
||
) |
Definition at line 97 of file FlashHypothesisCreator.cxx.
References CreateFlashHypothesesFromSegment(), lar::ProviderPack< Providers >::get(), and pt.
opdet::FlashHypothesisCollection opdet::FlashHypothesisCreator::GetFlashHypothesisCollection | ( | TVector3 const & | pt1, |
TVector3 const & | pt2, | ||
float const & | dEdx, | ||
Providers_t | providers, | ||
phot::PhotonVisibilityService const & | pvs, | ||
opdet::OpDigiProperties const & | opdigip, | ||
float | XOffset = 0 |
||
) |
Definition at line 133 of file FlashHypothesisCreator.cxx.
References CreateFlashHypothesesFromSegment().
|
private |
Definition at line 90 of file FlashHypothesisCreator.h.
Referenced by CreateFlashHypothesesFromSegment().