#include <PIDAAlg.h>
Classes | |
struct | PIDAProperties |
Public Member Functions | |
PIDAAlg (fhicl::ParameterSet const &p) | |
void | RunPIDAAlg (std::vector< float > const &, std::vector< float > const &) |
void | RunPIDAAlg (anab::Calorimetry const &) |
void | RunPIDAAlg (anab::Calorimetry const &, float &, float &) |
float | getPIDAMean () |
float | getPIDASigma () |
const std::vector< float > & | getPIDAValues () |
const std::vector< float > & | getPIDAErrors () |
size_t | getNKDEBandwidths () |
float | getKDEBandwidth (const size_t i_b) |
float | getPIDAKDEMostProbable (const size_t) |
float | getPIDAKDEFullWidthHalfMax (const size_t) |
void | PrintPIDAValues () |
void | setExponentConstant (float const &ex) |
void | SetPIDATree (TTree *, TH1F *, std::vector< TH1F * >) |
void | FillPIDATree (unsigned int, unsigned int, unsigned int, anab::Calorimetry const &) |
Private Types | |
typedef struct pid::PIDAAlg::PIDAProperties | PIDAProperties_t |
Private Member Functions | |
void | calculatePIDAMean () |
void | calculatePIDASigma () |
void | calculatePIDAIntegral (std::map< double, double > const &) |
void | ClearInternalData () |
void | createKDEs () |
void | createKDE (const size_t) |
void | calculatePIDAKDEMostProbable () |
void | calculatePIDAKDEFullWidthHalfMax () |
void | FillPIDAProperties (unsigned int, unsigned int, unsigned int, anab::Calorimetry const &) |
Private Attributes | |
const float | fPIDA_BOGUS |
float | fExponentConstant |
float | fMinResRange |
float | fMaxResRange |
float | fMaxPIDAValue |
float | fKDEEvalMaxSigma |
float | fKDEEvalStepSize |
std::vector< float > | fKDEBandwidths |
std::vector< float > | fpida_values |
std::vector< float > | fpida_errors |
float | fpida_mean |
float | fpida_sigma |
float | fpida_integral_dedx |
float | fpida_integral_pida |
std::vector< float > | fpida_kde_mp |
std::vector< float > | fpida_kde_fwhm |
std::vector< float > | fpida_kde_b |
std::vector< std::vector< float > > | fkde_distribution |
std::vector< float > | fkde_dist_min |
std::vector< float > | fkde_dist_max |
util::NormalDistribution | fnormalDist |
TTree * | fPIDATree |
TH1F * | hPIDAvalues |
TH1F * | hPIDAKDE [MAX_BANDWIDTHS] |
unsigned int | fPIDAHistNbins |
float | fPIDAHistMin |
float | fPIDAHistMax |
PIDAProperties_t | fPIDAProperties |
|
private |
pid::PIDAAlg::PIDAAlg | ( | fhicl::ParameterSet const & | p | ) |
Title: PIDA Algorithim Class Author: Wes Ketchum (wketc), based on ideas/code from Bruce Baller hum@ lanl. gov
Description: Algorithm that calculates the PIDA from a calorimetry object Input: anab::Calorimetry Output: PIDA information
Definition at line 24 of file PIDAAlg.cxx.
|
private |
Definition at line 208 of file PIDAAlg.cxx.
|
private |
|
private |
|
private |
Definition at line 184 of file PIDAAlg.cxx.
|
private |
Definition at line 196 of file PIDAAlg.cxx.
|
private |
Definition at line 41 of file PIDAAlg.cxx.
|
private |
Definition at line 226 of file PIDAAlg.cxx.
|
private |
Definition at line 287 of file PIDAAlg.cxx.
|
private |
Definition at line 292 of file PIDAAlg.cxx.
void pid::PIDAAlg::FillPIDATree | ( | unsigned int | run, |
unsigned int | event, | ||
unsigned int | calo_index, | ||
anab::Calorimetry const & | calo | ||
) |
Definition at line 176 of file PIDAAlg.cxx.
|
inline |
const std::vector< float > & pid::PIDAAlg::getPIDAErrors | ( | ) |
Definition at line 127 of file PIDAAlg.cxx.
float pid::PIDAAlg::getPIDAKDEFullWidthHalfMax | ( | const size_t | i_b | ) |
Definition at line 116 of file PIDAAlg.cxx.
float pid::PIDAAlg::getPIDAKDEMostProbable | ( | const size_t | i_b | ) |
Definition at line 109 of file PIDAAlg.cxx.
float pid::PIDAAlg::getPIDAMean | ( | ) |
Definition at line 95 of file PIDAAlg.cxx.
float pid::PIDAAlg::getPIDASigma | ( | ) |
Definition at line 102 of file PIDAAlg.cxx.
const std::vector< float > & pid::PIDAAlg::getPIDAValues | ( | ) |
Definition at line 123 of file PIDAAlg.cxx.
void pid::PIDAAlg::PrintPIDAValues | ( | ) |
Definition at line 336 of file PIDAAlg.cxx.
void pid::PIDAAlg::RunPIDAAlg | ( | std::vector< float > const & | resRange, |
std::vector< float > const & | dEdx | ||
) |
Definition at line 146 of file PIDAAlg.cxx.
void pid::PIDAAlg::RunPIDAAlg | ( | anab::Calorimetry const & | calo | ) |
Definition at line 131 of file PIDAAlg.cxx.
void pid::PIDAAlg::RunPIDAAlg | ( | anab::Calorimetry const & | calo, |
float & | mean, | ||
float & | sigma | ||
) |
Definition at line 137 of file PIDAAlg.cxx.
|
inline |
Definition at line 69 of file PIDAAlg.h.
void pid::PIDAAlg::SetPIDATree | ( | TTree * | tree, |
TH1F * | hist_vals, | ||
std::vector< TH1F * > | hist_kde | ||
) |
Definition at line 57 of file PIDAAlg.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |