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 26 of file ShowerBayesianTrucatingdEdx_tool.cc.
ShowerRecoTools::ShowerBayesianTrucatingdEdx::ShowerBayesianTrucatingdEdx | ( | const fhicl::ParameterSet & | pset | ) |
Definition at line 93 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
overridevirtual |
Implements ShowerRecoTools::IShowerTool.
Definition at line 142 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 246 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 236 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 318 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 399 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 345 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
inlineprivate |
Definition at line 51 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
inlineprivate |
Definition at line 45 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 377 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 424 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 77 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 82 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 89 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 87 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 83 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 86 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 85 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 84 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 90 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 88 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 81 of file ShowerBayesianTrucatingdEdx_tool.cc.
|
private |
Definition at line 78 of file ShowerBayesianTrucatingdEdx_tool.cc.