LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "Chi2PIDAlg.h"
Public Member Functions | |
Chi2PIDAlg (fhicl::ParameterSet const &pset) | |
std::bitset< 8 > | GetBitset (geo::PlaneID planeID) |
anab::ParticleID | DoParticleID (const std::vector< art::Ptr< anab::Calorimetry >> &calo) |
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 30 of file Chi2PIDAlg.h.
pid::Chi2PIDAlg::Chi2PIDAlg | ( | fhicl::ParameterSet const & | pset | ) |
Definition at line 28 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().
anab::ParticleID pid::Chi2PIDAlg::DoParticleID | ( | const std::vector< art::Ptr< anab::Calorimetry >> & | calo | ) |
Definition at line 62 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::sParticleIDAlgScores::fAlgName, anab::sParticleIDAlgScores::fAssumedPdg, anab::sParticleIDAlgScores::fNdf, anab::sParticleIDAlgScores::fPlaneMask, anab::sParticleIDAlgScores::fTrackDir, fUseMedian, anab::sParticleIDAlgScores::fValue, anab::sParticleIDAlgScores::fVariableType, GetBitset(), anab::kForward, anab::kGOF, anab::kPIDA, anab::Calorimetry::PlaneID(), and anab::Calorimetry::ResidualRange().
Referenced by pid::Chi2ParticleID::produce().
std::bitset< 8 > pid::Chi2PIDAlg::GetBitset | ( | geo::PlaneID | planeID | ) |
Helper function to go from geo::PlaneID to a bitset
Definition at line 51 of file Chi2PIDAlg.cxx.
References geo::PlaneID::Plane.
Referenced by DoParticleID().
|
private |
kaon template
Definition at line 49 of file Chi2PIDAlg.h.
Referenced by Chi2PIDAlg(), and DoParticleID().
|
private |
muon template
Definition at line 51 of file Chi2PIDAlg.h.
Referenced by Chi2PIDAlg(), and DoParticleID().
|
private |
pion template
Definition at line 50 of file Chi2PIDAlg.h.
Referenced by Chi2PIDAlg(), and DoParticleID().
|
private |
proton template
Definition at line 48 of file Chi2PIDAlg.h.
Referenced by Chi2PIDAlg(), and DoParticleID().
|
private |
Definition at line 46 of file Chi2PIDAlg.h.
Referenced by Chi2PIDAlg().
|
private |
Definition at line 43 of file Chi2PIDAlg.h.
Referenced by Chi2PIDAlg().
|
private |
Definition at line 44 of file Chi2PIDAlg.h.
Referenced by Chi2PIDAlg(), and DoParticleID().