LArSoft  v10_04_05
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 <optional>
13 #include <string>
14 
15 namespace fhicl {
16  class ParameterSet;
17 }
19 
21 
22 class TProfile;
23 
24 namespace anab {
25  class Calorimetry;
26  class ParticleID;
27 }
28 
29 namespace pid {
30 
31  class Chi2PIDAlg {
32 
33  public:
34  Chi2PIDAlg(fhicl::ParameterSet const& pset);
35 
39  std::bitset<8> GetBitset(geo::PlaneID planeID);
40 
42 
43  private:
44  std::string fTemplateFile;
45  bool fUseMedian;
46  std::optional<double> fMaximumPIDA;
47  //std::string fCalorimetryModuleLabel;
48  std::string fROOTfile;
49 
50  TProfile* dedx_range_pro;
51  TProfile* dedx_range_ka;
52  TProfile* dedx_range_pi;
53  TProfile* dedx_range_mu;
54 
55  }; //
56 } // namespace
57 #endif // CHI2PIDALG_H
TProfile * dedx_range_mu
muon template
Definition: Chi2PIDAlg.h:53
The data type to uniquely identify a Plane.
Definition: geo_types.h:364
TProfile * dedx_range_pro
proton template
Definition: Chi2PIDAlg.h:50
TProfile * dedx_range_pi
pion template
Definition: Chi2PIDAlg.h:52
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:48
std::string fTemplateFile
Definition: Chi2PIDAlg.h:44
std::optional< double > fMaximumPIDA
Definition: Chi2PIDAlg.h:46
Definition of data types for geometry description.
TProfile * dedx_range_ka
kaon template
Definition: Chi2PIDAlg.h:51
Definition: fwd.h:26
calorimetry