LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
Chi2PIDAlg.h
Go to the documentation of this file.
1
//
3
// A Chi2 based particleID
4
//
5
// tjyang@fnal.gov
6
//
8
#ifndef CHI2PIDALG_H
9
#define CHI2PIDALG_H
10
11
#include "TMath.h"
12
#include <vector>
13
#include <string>
14
15
#include "
fhiclcpp/ParameterSet.h
"
16
#include "
art/Framework/Principal/Event.h
"
17
18
19
class
TProfile;
20
21
namespace
anab
{
22
class
Calorimetry
;
23
class
ParticleID
;
24
}
25
26
namespace
pid
{
27
28
class
Chi2PIDAlg
{
29
30
public
:
31
32
Chi2PIDAlg
(
fhicl::ParameterSet
const
& pset);
33
virtual
~
Chi2PIDAlg
();
34
35
void
reconfigure(
fhicl::ParameterSet
const
& pset);
36
37
void
DoParticleID(
art::Ptr<anab::Calorimetry>
calo
,
38
anab::ParticleID
&pidOut);
39
40
private
:
41
42
std::string
fTemplateFile
;
43
bool
fUseMedian
;
44
//std::string fCalorimetryModuleLabel;
45
std::string
fROOTfile
;
46
47
TProfile *
dedx_range_pro
;
48
TProfile *
dedx_range_ka
;
49
TProfile *
dedx_range_pi
;
50
TProfile *
dedx_range_mu
;
51
52
};
//
53
}
// namespace
54
#endif // CHI2PIDALG_H
pid::Chi2PIDAlg::dedx_range_mu
TProfile * dedx_range_mu
muon template
Definition:
Chi2PIDAlg.h:50
pid::Chi2PIDAlg::dedx_range_pro
TProfile * dedx_range_pro
proton template
Definition:
Chi2PIDAlg.h:47
pid::Chi2PIDAlg::dedx_range_pi
TProfile * dedx_range_pi
pion template
Definition:
Chi2PIDAlg.h:49
anab::ParticleID
Definition:
ParticleID.h:20
anab::Calorimetry
Definition:
Calorimetry.h:22
ParameterSet.h
Event.h
anab
Definition:
Chi2PIDAlg.h:21
pid::Chi2PIDAlg::fROOTfile
std::string fROOTfile
Definition:
Chi2PIDAlg.h:45
pid::Chi2PIDAlg::fTemplateFile
std::string fTemplateFile
Definition:
Chi2PIDAlg.h:42
pid::Chi2PIDAlg
Definition:
Chi2PIDAlg.h:28
pid::Chi2PIDAlg::dedx_range_ka
TProfile * dedx_range_ka
kaon template
Definition:
Chi2PIDAlg.h:48
art::Ptr
Definition:
fwd.h:25
calo
calorimetry
Definition:
BezierCalorimetry_module.cc:42
pid::Chi2PIDAlg::fUseMedian
bool fUseMedian
Definition:
Chi2PIDAlg.h:43
fhicl::ParameterSet
Definition:
ParameterSet.h:34
pid
Definition:
Chi2ParticleID_module.cc:41
larana
v06_21_01
source
larana
ParticleIdentification
Chi2PIDAlg.h
Generated on Thu Jul 26 2018 13:09:50 for LArSoft by
1.8.11