LArSoft
v09_90_00
Liquid Argon Software toolkit - https://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 <bitset>
12
#include <string>
13
14
namespace
fhicl
{
15
class
ParameterSet;
16
}
17
#include "
canvas/Persistency/Common/Ptr.h
"
18
19
#include "
larcoreobj/SimpleTypesAndConstants/geo_types.h
"
20
21
class
TProfile;
22
23
namespace
anab
{
24
class
Calorimetry
;
25
class
ParticleID
;
26
}
27
28
namespace
pid
{
29
30
class
Chi2PIDAlg
{
31
32
public
:
33
Chi2PIDAlg
(
fhicl::ParameterSet
const
& pset);
34
38
std::bitset<8> GetBitset(
geo::PlaneID
planeID);
39
40
anab::ParticleID
DoParticleID(
const
std::vector
<
art::Ptr<anab::Calorimetry>
>&
calo
);
41
42
private
:
43
std::string
fTemplateFile
;
44
bool
fUseMedian
;
45
//std::string fCalorimetryModuleLabel;
46
std::string
fROOTfile
;
47
48
TProfile*
dedx_range_pro
;
49
TProfile*
dedx_range_ka
;
50
TProfile*
dedx_range_pi
;
51
TProfile*
dedx_range_mu
;
52
53
};
//
54
}
// namespace
55
#endif // CHI2PIDALG_H
pid::Chi2PIDAlg::dedx_range_mu
TProfile * dedx_range_mu
muon template
Definition:
Chi2PIDAlg.h:51
geo::PlaneID
The data type to uniquely identify a Plane.
Definition:
geo_types.h:463
pid::Chi2PIDAlg::dedx_range_pro
TProfile * dedx_range_pro
proton template
Definition:
Chi2PIDAlg.h:48
pid::Chi2PIDAlg::dedx_range_pi
TProfile * dedx_range_pi
pion template
Definition:
Chi2PIDAlg.h:50
anab::ParticleID
Definition:
ParticleID.h:49
anab::Calorimetry
Definition:
Calorimetry.h:22
lar::dump::vector
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition:
DumpUtils.h:289
anab
Definition:
Chi2PIDAlg.h:23
fhicl
parameter set interface
Definition:
BeamFlashTrackMatchTaggerAlg.h:17
pid::Chi2PIDAlg::fROOTfile
std::string fROOTfile
Definition:
Chi2PIDAlg.h:46
pid::Chi2PIDAlg::fTemplateFile
std::string fTemplateFile
Definition:
Chi2PIDAlg.h:43
Ptr.h
geo_types.h
Definition of data types for geometry description.
pid::Chi2PIDAlg
Definition:
Chi2PIDAlg.h:30
pid::Chi2PIDAlg::dedx_range_ka
TProfile * dedx_range_ka
kaon template
Definition:
Chi2PIDAlg.h:49
art::Ptr
Definition:
fwd.h:26
calo
calorimetry
Definition:
CaloChecker_module.cc:43
pid::Chi2PIDAlg::fUseMedian
bool fUseMedian
Definition:
Chi2PIDAlg.h:44
fhicl::ParameterSet
Definition:
ParameterSet.h:36
pid
Definition:
Chi2ParticleID_module.cc:24
larana
v09_15_05
source
larana
ParticleIdentification
Chi2PIDAlg.h
Generated on Thu May 2 2024 20:59:33 for LArSoft by
1.8.11