Public Member Functions | |
ShowerBayesianTrucatingdEdx (const fhicl::ParameterSet &pset) | |
int | CalculateElement (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) override |
Public Member Functions inherited from ShowerRecoTools::IShowerTool | |
IShowerTool (const fhicl::ParameterSet &pset) | |
virtual | ~IShowerTool () noexcept=default |
int | RunShowerTool (const art::Ptr< recob::PFParticle > &pfparticle, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder, std::string evd_display_name_append="") |
virtual void | InitialiseProducers () |
void | SetPtr (art::ProducesCollector *collector) |
void | InitaliseProducerPtr (reco::shower::ShowerProducedPtrsHolder &uniqueproducerPtrs) |
virtual int | AddAssociations (const art::Ptr< recob::PFParticle > &pfpPtr, art::Event &Event, reco::shower::ShowerElementHolder &ShowerEleHolder) |
Private Member Functions | |
double | CalculatePosterior (std::string priorname, std::vector< double > &values, int &minprob, float &mean, float &likelihood) |
double | CalculatePosterior (std::string priorname, std::vector< double > &values) |
bool | isProbabilityGood (float &old_prob, float &new_prob) |
bool | isPosteriorProbabilityGood (double &prob, double &old_posteior) |
bool | CheckPoint (std::string priorname, double &value) |
std::vector< double > | GetLikelihooddEdxVec (double &electronprob, double &photonprob, std::string prior, std::vector< double > &dEdxVec) |
std::vector< double > | MakeSeed (std::vector< double > &dEdxVec) |
void | ForceSeedToFit (std::vector< double > &SeedTrack, std::string &prior, float &mean, double &posterior) |
void | RecurivelyAddHit (std::vector< double > &SeedTrack, std::vector< double > &dEdxVec, std::string &prior, int &SkippedHitsNum, float &old_mean, double &old_posteior) |
Private Attributes | |
TH1F * | electronpriorHist |
TH1F * | photonpriorHist |
int | fVerbose |
std::string | fdEdxInputLabel |
int | fNumSeedHits |
float | fProbSeedCut |
float | fProbPointCut |
float | fPostiorCut |
int | fnSkipHits |
std::string | fShowerdEdxOutputLabel |
bool | fDefineBestPlane |
std::string | fShowerBestPlaneOutputLabel |
Additional Inherited Members | |
Protected Member Functions inherited from ShowerRecoTools::IShowerTool | |
const shower::LArPandoraShowerAlg & | GetLArPandoraShowerAlg () const |
template<class T > | |
art::Ptr< T > | GetProducedElementPtr (std::string Name, reco::shower::ShowerElementHolder &ShowerEleHolder, int iter=-1) |
template<class T > | |
void | InitialiseProduct (std::string Name, std::string InstanceName="") |
template<class T , class A , class B > | |
void | AddSingle (A &a, B &b, std::string Name) |
int | GetVectorPtrSize (std::string Name) |
void | PrintPtrs () |
void | PrintPtr (std::string Name) |
Definition at line 24 of file ShowerBayesianTrucatingdEdx_tool.cc.
ShowerRecoTools::ShowerBayesianTrucatingdEdx::ShowerBayesianTrucatingdEdx | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 91 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
overridevirtual |
Implements ShowerRecoTools::IShowerTool.
Definition at line 140 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 244 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 234 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 316 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 397 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 343 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
inlineprivate |
Definition at line 49 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
inlineprivate |
Definition at line 43 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 375 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 422 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 75 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 80 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 87 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 85 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 81 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 84 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 83 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 82 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 88 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 86 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 79 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 76 of file ShowerBayesianTrucatingdEdx_tool.cc.