16 namespace fhicl {
class ParameterSet; }
17 namespace anab {
class Calorimetry; }
23 class NormalDistribution;
50 PIDAAlg(fhicl::ParameterSet
const&
p);
52 void RunPIDAAlg(std::vector<float>
const&, std::vector<float>
const&);
141 leaf_structure(
"run/i:event/i:calo_index/i:planeid/i:trk_range/F:calo_KE/F:n_pid_pts/i:mean/F:sigma/F:integral_dedx/F:integral_pida/F"){}
std::vector< float > fpida_errors
TH1F * hPIDAKDE[MAX_BANDWIDTHS]
void SetPIDATree(TTree *, TH1F *, std::vector< TH1F * >)
std::string leaf_structure
float kde_bandwidth[MAX_BANDWIDTHS]
float fpida_integral_pida
void FillPIDATree(unsigned int, unsigned int, unsigned int, anab::Calorimetry const &)
util::NormalDistribution fnormalDist
size_t getNKDEBandwidths()
void calculatePIDAKDEMostProbable()
std::vector< float > fkde_dist_min
PIDAAlg(fhicl::ParameterSet const &p)
void calculatePIDAKDEFullWidthHalfMax()
std::vector< float > fpida_kde_mp
void FillPIDAProperties(unsigned int, unsigned int, unsigned int, anab::Calorimetry const &)
void createKDE(const size_t)
unsigned int n_bandwidths
const std::vector< float > & getPIDAValues()
std::vector< float > fkde_dist_max
std::vector< float > fpida_kde_fwhm
unsigned int fPIDAHistNbins
float kde_fwhm[MAX_BANDWIDTHS]
float getPIDAKDEMostProbable(const size_t)
void RunPIDAAlg(std::vector< float > const &, std::vector< float > const &)
const unsigned int MAX_BANDWIDTHS
std::vector< float > fpida_values
std::vector< float > fValues
float getPIDAKDEFullWidthHalfMax(const size_t)
std::vector< float > fpida_kde_b
void calculatePIDAIntegral(std::map< double, double > const &)
struct pid::PIDAAlg::PIDAProperties PIDAProperties_t
std::vector< float > fKDEBandwidths
std::vector< std::vector< float > > fkde_distribution
const std::vector< float > & getPIDAErrors()
float getKDEBandwidth(const size_t i_b)
PIDAProperties_t fPIDAProperties
float fpida_integral_dedx
void calculatePIDASigma()
float kde_mp[MAX_BANDWIDTHS]
void setExponentConstant(float const &ex)