LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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... | |
Public Member Functions | |
FlashHypothesisCreator () | |
FlashHypothesisCollection | GetFlashHypothesisCollection (recob::Track const &track, std::vector< float > const &dEdxVector, Providers_t providers, phot::PhotonVisibilityService const &pvs, opdet::OpDigiProperties const &opdigip, float XOffset=0) |
FlashHypothesisCollection | GetFlashHypothesisCollection (sim::MCTrack const &mctrack, std::vector< float > const &dEdxVector, Providers_t providers, phot::PhotonVisibilityService const &pvs, opdet::OpDigiProperties const &opdigip, float XOffset=0) |
FlashHypothesisCollection | 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) |
FlashHypothesisCollection | GetFlashHypothesisCollection (TVector3 const &pt1, TVector3 const &pt2, float const &dEdx, Providers_t providers, phot::PhotonVisibilityService const &pvs, opdet::OpDigiProperties const &opdigip, float XOffset=0) |
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 34 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 39 of file FlashHypothesisCreator.h.
|
inline |
Definition at line 41 of file FlashHypothesisCreator.h.
References CreateFlashHypothesesFromSegment(), GetFlashHypothesisCollection(), and track.
|
private |
Definition at line 123 of file FlashHypothesisCreator.cxx.
References _calc, opdet::FlashHypothesisCalculator::FillFlashHypothesis(), lar::ProviderPack< Providers >::get(), phot::PhotonVisibilityService::GetAllVisibilities(), opdet::OpDigiProperties::QE(), opdet::FlashHypothesisCalculator::SegmentMidpoint(), and opdet::FlashHypothesisCollection::SetPromptHypAndPromptFraction().
Referenced by FlashHypothesisCreator(), and 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 13 of file FlashHypothesisCreator.cxx.
References CreateFlashHypothesesFromSegment(), lar::ProviderPack< Providers >::get(), recob::Track::LocationAtPoint(), recob::Track::NumberTrajectoryPoints(), and pt.
Referenced by FlashHypothesisCreator(), and 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 46 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 79 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 112 of file FlashHypothesisCreator.cxx.
References CreateFlashHypothesesFromSegment().
|
private |
Definition at line 79 of file FlashHypothesisCreator.h.
Referenced by CreateFlashHypothesesFromSegment().