LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "Chi2PIDAlg.h"
Public Member Functions | |
Chi2PIDAlg (fhicl::ParameterSet const &pset) | |
virtual | ~Chi2PIDAlg () |
void | reconfigure (fhicl::ParameterSet const &pset) |
void | DoParticleID (art::Ptr< anab::Calorimetry > calo, anab::ParticleID &pidOut) |
Private Attributes | |
std::string | fTemplateFile |
bool | fUseMedian |
std::string | fROOTfile |
TProfile * | dedx_range_pro |
proton template More... | |
TProfile * | dedx_range_ka |
kaon template More... | |
TProfile * | dedx_range_pi |
pion template More... | |
TProfile * | dedx_range_mu |
muon template More... | |
Definition at line 28 of file Chi2PIDAlg.h.
pid::Chi2PIDAlg::Chi2PIDAlg | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 35 of file Chi2PIDAlg.cxx.
References reconfigure().
|
virtual |
Definition at line 41 of file Chi2PIDAlg.cxx.
void pid::Chi2PIDAlg::DoParticleID | ( | art::Ptr< anab::Calorimetry > | calo, |
anab::ParticleID & | pidOut | ||
) |
Definition at line 73 of file Chi2PIDAlg.cxx.
References bin, anab::Calorimetry::DeadWireResRC(), anab::Calorimetry::dEdx(), dedx_range_ka, dedx_range_mu, dedx_range_pi, dedx_range_pro, e, anab::ParticleID::fChi2Kaon, anab::ParticleID::fChi2Muon, anab::ParticleID::fChi2Pion, anab::ParticleID::fChi2Proton, anab::ParticleID::fDeltaChi2, anab::ParticleID::fMinChi2, anab::ParticleID::fMissingE, anab::ParticleID::fMissingEavg, anab::ParticleID::fNdf, anab::ParticleID::fPdg, anab::ParticleID::fPIDA, anab::ParticleID::fPlaneID, fUseMedian, anab::Calorimetry::PlaneID(), anab::Calorimetry::ResidualRange(), and anab::Calorimetry::TrkPitchC().
Referenced by pid::Chi2ParticleID::produce().
void pid::Chi2PIDAlg::reconfigure | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 46 of file Chi2PIDAlg.cxx.
References dedx_range_ka, dedx_range_mu, dedx_range_pi, dedx_range_pro, file, fROOTfile, fTemplateFile, fUseMedian, and fhicl::ParameterSet::get().
Referenced by Chi2PIDAlg(), and pid::Chi2ParticleID::reconfigure().
|
private |
kaon template
Definition at line 48 of file Chi2PIDAlg.h.
Referenced by DoParticleID(), and reconfigure().
|
private |
muon template
Definition at line 50 of file Chi2PIDAlg.h.
Referenced by DoParticleID(), and reconfigure().
|
private |
pion template
Definition at line 49 of file Chi2PIDAlg.h.
Referenced by DoParticleID(), and reconfigure().
|
private |
proton template
Definition at line 47 of file Chi2PIDAlg.h.
Referenced by DoParticleID(), and reconfigure().
|
private |
Definition at line 45 of file Chi2PIDAlg.h.
Referenced by reconfigure().
|
private |
Definition at line 42 of file Chi2PIDAlg.h.
Referenced by reconfigure().
|
private |
Definition at line 43 of file Chi2PIDAlg.h.
Referenced by DoParticleID(), and reconfigure().