Xnue.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file Xnue.h
3 // \brief shower topologies based PID for nue identification,
4 // see docDB 13975 for details.
5 // \version 2016-02-21
6 // \author Xuebing Bu - xbbu@fnal.gov
7 ////////////////////////////////////////////////////////////////////////
8 #ifndef XNUE_H
9 #define XNUE_H
10 
11 #include "RecoBase/PID.h"
12 
13 
14 
15 namespace xnue
16 {
17  class Xnue : public rb::PID
18  {
19  public:
20 #ifndef __GCCXML__
21  Xnue();
22 
23  Xnue(int pdg,
24  float pid,
25  float p1Energy,
26  float p1Fmip,
27  float p2Fmip,
28  float emaxfrac_6p,
29  float efrac_10p,
30  float efrac_p2,
31  float efrac_p3,
32  float efrac_p4,
33  float efrac_2sig);
34 
35  //setters
36  void SetP1Energy (float p1Energy ) { fP1Energy = p1Energy; }
37  void SetP1Fmip (float p1Fmip ) { fP1Fmip = p1Fmip; }
38  void SetP2Fmip (float p2Fmip ) { fP2Fmip = p2Fmip; }
39  void SetEmaxfrac6p (float emaxfrac_6p) { fEmaxfrac6p = emaxfrac_6p; }
40  void SetEfrac10p (float efrac_10p ) { fEfrac10p = efrac_10p; }
41  void SetEfracp2 (float efrac_p2 ) { fEfracp2 = efrac_p2; }
42  void SetEfracp3 (float efrac_p3 ) { fEfracp3 = efrac_p3; }
43  void SetEfracp4 (float efrac_p4 ) { fEfracp4 = efrac_p4; }
44  void SetEfrac2sig (float efrac_2sig ) { fEfrac2sig = efrac_2sig; }
45 
46  //getters
47  float P1Energy() const { return fP1Energy; }
48  float P1Fmip() const { return fP1Fmip; }
49  float P2Fmip() const { return fP2Fmip; }
50  float Emaxfrac6p() const { return fEmaxfrac6p; }
51  float Efrac10p() const { return fEfrac10p; }
52  float Efracp2() const { return fEfracp2; }
53  float Efracp3() const { return fEfracp3; }
54  float Efracp4() const { return fEfracp4; }
55  float Efrac2sig() const { return fEfrac2sig; }
56 #endif // __GCCXML__
57 
58  private:
59  //current Xnue input variables to BDT
60  float fP1Energy;
61  float fP1Fmip;
62  float fP2Fmip;
63  float fEmaxfrac6p;
64  float fEfrac10p;
65  float fEfracp2;
66  float fEfracp3;
67  float fEfracp4;
68  float fEfrac2sig;
69 
70  };
71 }
72 #endif
float fEfracp4
Definition: Xnue.h:67
A pid value and corresponding pdg code.
Definition: PID.h:13
Xnue()
Definition: Xnue.cxx:5
float Efracp2() const
Definition: Xnue.h:52
void SetEfracp4(float efrac_p4)
Definition: Xnue.h:43
float P1Fmip() const
Definition: Xnue.h:48
float fEfracp3
Definition: Xnue.h:66
pdg code and pid value
float Efracp4() const
Definition: Xnue.h:54
float Emaxfrac6p() const
Definition: Xnue.h:50
float fEfrac10p
Definition: Xnue.h:64
void SetEfracp2(float efrac_p2)
Definition: Xnue.h:41
void SetEmaxfrac6p(float emaxfrac_6p)
Definition: Xnue.h:39
float Efrac10p() const
Definition: Xnue.h:51
float fEmaxfrac6p
Definition: Xnue.h:63
void SetP1Fmip(float p1Fmip)
Definition: Xnue.h:37
float P2Fmip() const
Definition: Xnue.h:49
float fEfrac2sig
Definition: Xnue.h:68
float fP1Fmip
Definition: Xnue.h:61
float fP2Fmip
Definition: Xnue.h:62
void SetEfrac10p(float efrac_10p)
Definition: Xnue.h:40
void SetP2Fmip(float p2Fmip)
Definition: Xnue.h:38
float Efracp3() const
Definition: Xnue.h:53
float P1Energy() const
Definition: Xnue.h:47
float Efrac2sig() const
Definition: Xnue.h:55
Definition: FillPIDs.h:16
void SetEfracp3(float efrac_p3)
Definition: Xnue.h:42
float fP1Energy
Definition: Xnue.h:60
float fEfracp2
Definition: Xnue.h:65
void SetEfrac2sig(float efrac_2sig)
Definition: Xnue.h:44
void SetP1Energy(float p1Energy)
Definition: Xnue.h:36