NumuE.h
Go to the documentation of this file.
1 ////////////////////////////////////////////////////////////////////////
2 // \file NumuE.h
3 // \brief An energy object for numu cc events
4 // \version $Id: NumuE.h,v 1.6 2012-11-14 20:56:10 lein Exp $
5 // \author Susan Lein - lein@physics.umn.edu
6 ////////////////////////////////////////////////////////////////////////
7 #ifndef NumuE_h
8 #define NumuE_h
9 
10 #include "RecoBase/Energy.h"
11 #include "RecoBase/Cluster.h"
12 
13 /// Energy estimators for \f$ \nu_\mu \f$ CC events
14 namespace numue
15 {
16 
17  enum MuonType {
23 
24  class NumuE : public rb::Energy
25  {
26  public:
27 
28  NumuE();
29  NumuE(float bestE, float calcc, float trkqe, float trknonqe, float angleqe, float hadcal);
30 
31  void SetCalCCE(float calcc);
32  void SetTrkQEE(float trkqe);
33  void SetTrkNonQEE(float trknonqe);
34  void SetTrkCCE(float trkcce);
35  void SetAngleQEE(float angleqe);
36  void SetAngleQEError(float angleqeerror);
37  void SetRecoMuonE(float recomuone);
38  void SetRecoTrkCCHadE(float recotrkcchade);
39  void SetHadCalE(float hadcal);
40  void SetHadTrkE(float hadtrk);
41  void SetUCCCE(float uccc);
42  void SetUCMuonESingle(float ucmuonesingle);
43  void SetUCMuonENonSingle(float ucmuonenonsingle);
44  void SetNDTrkLenAct(float ndtrklenact);
45  void SetNDTrkLenCat(float ndtrklencat);
46  void SetNDTrkCalAct(float ndtrkcalact);
47  void SetNDTrkCalTran(float ndtrkcaltran);
48  void SetNDTrkCalCat(float ndtrkcalcat);
49  void SetNDHadCalAct(float ndhadcalact);
50  void SetNDHadCalTran(float ndhadcaltran);
51  void SetNDHadCalCat(float ndhadcalcat);
52  void SetNDHadTrkAct(float ndhadtrkact);
53  void SetNDHadTrkTran(float ndhadtrktran);
54  void SetNDHadTrkCat(float ndhadtrkcat);
55  void SetFScatterE(float fscattere);
56  void SetNDTrkTranX(float ndtrktranx);
57  void SetNDTrkTranY(float ndtrktrany);
58  void SetMCTrueMuonE(float mctruemuone);
59  void SetMCTrueMuonCatcherE(float mctruemuoncatchere);
60  void SetMCGoodTrueMuon(bool mcgoodtruemuon);
61 
62  void SetHadCluster(rb::Cluster hadcluster);
63 
64  rb::Cluster HadCluster() const;
65 
66  float CalCCE() const;
67  float TrkQEE() const;
68  float TrkNonQEE() const;
69  float TrkCCE() const;
70  float AngleQEE() const;
71  float AngleQEError() const;
72  float RecoMuonE() const;
73  float RecoTrkCCHadE() const;
74  float HadCalE() const;
75  float HadTrkE() const;
76  float UCCCE() const;
77  float UCMuonESingle() const;
78  float UCMuonENonSingle() const;
79  float NDTrkLenAct() const;
80  float NDTrkLenCat() const;
81  float NDTrkCalAct() const;
82  float NDTrkCalTran() const;
83  float NDTrkCalCat() const;
84  float NDHadCalAct() const;
85  float NDHadCalTran() const;
86  float NDHadCalCat() const;
87  float NDHadTrkAct() const;
88  float NDHadTrkTran() const;
89  float NDHadTrkCat() const;
90  float FScatterE() const;
91  float NDTrkTranX() const;
92  float NDTrkTranY() const;
93  float MCTrueMuonE() const;
94  float MCTrueMuonCatcherE() const;
95  bool MCGoodTrueMuon() const;
96 
97  protected:
98 
99  float fCalCCE;
100  float fTrkQEE;
101  float fTrkNonQEE;
102  float fTrkCCE;
103  float fAngleQEE;
105  float fRecoMuonE;
107  float fHadCalE;
108  float fHadTrkE;
109  float fUCCCE;
123  float fFScatterE;
124  float fNDTrkTranX;
125  float fNDTrkTranY;
129 
131  };
132 
133 }
134 #endif
rb::Cluster fHadCluster
Definition: NumuE.h:130
float fCalCCE
Definition: NumuE.h:99
float NDTrkLenCat() const
Definition: NumuE.cxx:309
float fNDHadTrkAct
Definition: NumuE.h:120
Energy estimators for CC events.
Definition: FillEnergies.h:7
float NDTrkTranY() const
Definition: NumuE.cxx:369
float fNDHadCalCat
Definition: NumuE.h:119
void SetAngleQEE(float angleqe)
Definition: NumuE.cxx:102
void SetNDTrkCalAct(float ndtrkcalact)
Definition: NumuE.cxx:159
void SetMCGoodTrueMuon(bool mcgoodtruemuon)
Definition: NumuE.cxx:229
void SetMCTrueMuonE(float mctruemuone)
Definition: NumuE.cxx:219
float NDTrkLenAct() const
Definition: NumuE.cxx:304
void SetFScatterE(float fscattere)
Definition: NumuE.cxx:204
float fTrkCCE
Definition: NumuE.h:102
void SetTrkNonQEE(float trknonqe)
Definition: NumuE.cxx:92
A collection of associated CellHits.
Definition: Cluster.h:47
float fRecoTrkCCHadE
Definition: NumuE.h:106
float fRecoMuonE
Definition: NumuE.h:105
float NDHadTrkTran() const
Definition: NumuE.cxx:349
float TrkCCE() const
Definition: NumuE.cxx:254
float fNDTrkCalCat
Definition: NumuE.h:116
float fNDTrkCalAct
Definition: NumuE.h:114
void SetRecoTrkCCHadE(float recotrkcchade)
Definition: NumuE.cxx:117
void SetAngleQEError(float angleqeerror)
Definition: NumuE.cxx:107
float fUCMuonENonSingle
Definition: NumuE.h:111
float NDTrkCalAct() const
Definition: NumuE.cxx:314
rb::Cluster HadCluster() const
Definition: NumuE.cxx:389
float RecoTrkCCHadE() const
Definition: NumuE.cxx:274
float fNDHadCalTran
Definition: NumuE.h:118
float RecoMuonE() const
Definition: NumuE.cxx:269
float fNDHadTrkCat
Definition: NumuE.h:122
float fMCTrueMuonCatcherE
Definition: NumuE.h:127
void SetNDHadCalCat(float ndhadcalcat)
Definition: NumuE.cxx:184
float UCMuonESingle() const
Definition: NumuE.cxx:294
float fAngleQEE
Definition: NumuE.h:103
void SetMCTrueMuonCatcherE(float mctruemuoncatchere)
Definition: NumuE.cxx:224
float fHadTrkE
Definition: NumuE.h:108
float fNDHadCalAct
Definition: NumuE.h:117
float fUCCCE
Definition: NumuE.h:109
void SetNDHadCalAct(float ndhadcalact)
Definition: NumuE.cxx:174
float fTrkQEE
Definition: NumuE.h:100
float fAngleQEError
Definition: NumuE.h:104
void SetNDHadTrkCat(float ndhadtrkcat)
Definition: NumuE.cxx:199
MuonType
Definition: NumuE.h:17
void SetUCCCE(float uccc)
Definition: NumuE.cxx:132
float HadTrkE() const
Definition: NumuE.cxx:284
float FScatterE() const
Definition: NumuE.cxx:359
void SetTrkQEE(float trkqe)
Definition: NumuE.cxx:87
void SetNDHadTrkAct(float ndhadtrkact)
Definition: NumuE.cxx:189
void SetNDTrkTranX(float ndtrktranx)
Definition: NumuE.cxx:209
bool fMCGoodTrueMuon
Definition: NumuE.h:128
float fHadCalE
Definition: NumuE.h:107
void SetTrkCCE(float trkcce)
Definition: NumuE.cxx:97
void SetNDTrkLenCat(float ndtrklencat)
Definition: NumuE.cxx:154
void SetNDTrkCalTran(float ndtrkcaltran)
Definition: NumuE.cxx:164
float fFScatterE
Definition: NumuE.h:123
float UCMuonENonSingle() const
Definition: NumuE.cxx:299
float NDHadCalTran() const
Definition: NumuE.cxx:334
float AngleQEE() const
Definition: NumuE.cxx:259
float HadCalE() const
Definition: NumuE.cxx:279
void SetNDHadTrkTran(float ndhadtrktran)
Definition: NumuE.cxx:194
void SetNDTrkTranY(float ndtrktrany)
Definition: NumuE.cxx:214
void SetNDTrkLenAct(float ndtrklenact)
Definition: NumuE.cxx:149
float AngleQEError() const
Definition: NumuE.cxx:264
void SetUCMuonENonSingle(float ucmuonenonsingle)
Definition: NumuE.cxx:143
A container for energy information.
Definition: Energy.h:20
float fNDTrkTranX
Definition: NumuE.h:124
void SetHadTrkE(float hadtrk)
Definition: NumuE.cxx:127
void SetCalCCE(float calcc)
Definition: NumuE.cxx:82
void SetNDHadCalTran(float ndhadcaltran)
Definition: NumuE.cxx:179
float NDHadCalAct() const
Definition: NumuE.cxx:329
float fNDTrkCalTran
Definition: NumuE.h:115
float CalCCE() const
Definition: NumuE.cxx:239
float fMCTrueMuonE
Definition: NumuE.h:126
float MCTrueMuonE() const
Definition: NumuE.cxx:374
float TrkNonQEE() const
Definition: NumuE.cxx:249
float fNDHadTrkTran
Definition: NumuE.h:121
void SetHadCluster(rb::Cluster hadcluster)
Definition: NumuE.cxx:234
float fNDTrkLenAct
Definition: NumuE.h:112
float fNDTrkLenCat
Definition: NumuE.h:113
void SetUCMuonESingle(float ucmuonesingle)
Definition: NumuE.cxx:137
float fNDTrkTranY
Definition: NumuE.h:125
bool MCGoodTrueMuon() const
Definition: NumuE.cxx:384
float NDTrkCalTran() const
Definition: NumuE.cxx:319
void SetRecoMuonE(float recomuone)
Definition: NumuE.cxx:112
void SetHadCalE(float hadcal)
Definition: NumuE.cxx:122
void SetNDTrkCalCat(float ndtrkcalcat)
Definition: NumuE.cxx:169
float NDHadTrkCat() const
Definition: NumuE.cxx:354
float MCTrueMuonCatcherE() const
Definition: NumuE.cxx:379
float NDHadCalCat() const
Definition: NumuE.cxx:339
float TrkQEE() const
Definition: NumuE.cxx:244
float fTrkNonQEE
Definition: NumuE.h:101
float UCCCE() const
Definition: NumuE.cxx:289
float NDHadTrkAct() const
Definition: NumuE.cxx:344
float NDTrkCalCat() const
Definition: NumuE.cxx:324
float fUCMuonESingle
Definition: NumuE.h:110
float NDTrkTranX() const
Definition: NumuE.cxx:364