LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
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 }
18 
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 
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
TProfile * dedx_range_mu
muon template
Definition: Chi2PIDAlg.h:51
The data type to uniquely identify a Plane.
Definition: geo_types.h:463
TProfile * dedx_range_pro
proton template
Definition: Chi2PIDAlg.h:48
TProfile * dedx_range_pi
pion template
Definition: Chi2PIDAlg.h:50
auto vector(Vector const &v)
Returns a manipulator which will print the specified array.
Definition: DumpUtils.h:289
parameter set interface
std::string fROOTfile
Definition: Chi2PIDAlg.h:46
std::string fTemplateFile
Definition: Chi2PIDAlg.h:43
Definition of data types for geometry description.
TProfile * dedx_range_ka
kaon template
Definition: Chi2PIDAlg.h:49
Definition: fwd.h:26
calorimetry