LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
TCHist.h
Go to the documentation of this file.
1 //
3 //
4 // TCAlg debug struct
5 //
6 // Bruce Baller
7 //
9 #ifndef TRAJCLUSTERALGHISTSTRUCT_H
10 #define TRAJCLUSTERALGHISTSTRUCT_H
11 
14 
15 #include "TH1F.h"
16 #include "TH2F.h"
17 #include "TProfile.h"
18 #include "TTree.h"
19 
20 namespace tca {
21 
22  struct HistStuff {
23  void CreateHists(art::TFileService& tfs);
24 
25  // study electrons
26  TH1F *fChgRMS[5];
27  TH1F *fMomAsym[5];
28  TH1F *fElectronLike[5];
30 
31  TH1F *fChgToMeV[3];
32  TProfile *fChgToMeV_Etru;
33  TH2F *AlongTrans1;
34  TH2F *AlongTrans5;
35  TH2F *AlongTrans9;
36 
38 
39  // True kinetic energy (MeV)
40  TH1F *fTruT[5];
41 
46 
48 
49  // Reco-MC vertex position difference
50  TH1F* fNuVtx_dx;
51  TH1F* fNuVtx_dy;
52  TH1F* fNuVtx_dz;
53 
54  // Vertex score for 2D vertices that are near the neutrino interaction vertex
55  TH1F* fNuVx3Score;
56  TH1F* fNuVx2Score;
58  TH1F* fVxTopoMat;
59  TH1F* fVxTopoNoMat;
60  // Vertex score for 2D and 3D vertices
61  TH1F* fVx2Score;
62  TH1F* fVx3Score;
63 
64  // Reco-MC stopping wire difference for different MC Particles
65  TH1F* fdWire[5];
66  // EP vs KE for different MC Particles
67  TProfile* fEP_T[5];
68 
69  // fraction of TPs that have the kEnvNearTj bit set
70  TProfile* fNearTj[5];
71 
72  // PFParticle PDGCode vs true PDG code
74  TH1F* fPFPStartEnd;
75  TH1F* fPFPStartdX[5];
76  TH1F* fPFPStartdY[5];
77  TH1F* fPFPStartdZ[5];
78  TH1F* fPFPStartAngDiff[5];
79 
80  TH1F* fEff;
81  TH1F* fPur;
82 
85 
87 
88  };
89 } // namespace tca
90 
91 #endif // ifndef TRAJCLUSTERALGHISTSTRUCT_H
float fShEnergy
Definition: TCHist.h:86
TH1F * fTruT[5]
Definition: TCHist.h:40
TH2F * fMCSMom_TruMom_p
Definition: TCHist.h:45
float fPfpLen
Definition: TCHist.h:86
TProfile * fNearTj[5]
Definition: TCHist.h:70
TH2F * fMCSMom_TruMom_mu
Definition: TCHist.h:43
TH2F * fMCSMomEP_TruMom_e
Definition: TCHist.h:47
float fTrans
Definition: TCHist.h:86
TH2F * fMCSMom_TruMom_pi
Definition: TCHist.h:44
TH1F * fPur
Definition: TCHist.h:81
float fChgFrac
Definition: TCHist.h:86
TH1F * fElectronLike[5]
Definition: TCHist.h:28
TH1F * fPFPStartEnd
Definition: TCHist.h:74
TTree * fShowerParentBkg
Definition: TCHist.h:84
TProfile * fEP_T[5]
Definition: TCHist.h:67
TH2F * PDGCode_reco_true
Definition: TCHist.h:73
void CreateHists(art::TFileService &tfs)
Definition: TCHist.cxx:5
TH1F * fNuVtx_dy
Definition: TCHist.h:51
TH1F * fMomAsym[5]
Definition: TCHist.h:27
TH1F * fPFPStartdZ[5]
Definition: TCHist.h:77
TH1F * fNuVx3ScoreDiff
Definition: TCHist.h:57
TH2F * fElectronLike_Len[5]
Definition: TCHist.h:29
TH1F * fPFPStartAngDiff[5]
Definition: TCHist.h:78
TH2F * AlongTrans5
Definition: TCHist.h:34
float fAlong
Definition: TCHist.h:86
TH1F * fChgToMeV[3]
Definition: TCHist.h:31
TH1F * fVx2Score
Definition: TCHist.h:61
float fSep
Definition: TCHist.h:86
TH2F * fMCSMom_TruMom_e
Definition: TCHist.h:42
TH1F * fEff
Definition: TCHist.h:80
TH1F * fVxTopoMat
Definition: TCHist.h:58
float fPfpEnergy
Definition: TCHist.h:86
TTree * fShowerParentSig
Definition: TCHist.h:83
float fInShwrProb
Definition: TCHist.h:86
TH1F * fUnMatchedHitFrac
Definition: TCHist.h:37
TH1F * fNuVtx_dx
Definition: TCHist.h:50
TH2F * AlongTrans9
Definition: TCHist.h:35
float fDang2
Definition: TCHist.h:86
TH1F * fChgRMS[5]
Definition: TCHist.h:26
TH2F * AlongTrans1
Definition: TCHist.h:33
TH1F * fVxTopoNoMat
Definition: TCHist.h:59
TProfile * fChgToMeV_Etru
Definition: TCHist.h:32
TH1F * fPFPStartdY[5]
Definition: TCHist.h:76
TH1F * fVx3Score
Definition: TCHist.h:62
TH1F * fPFPStartdX[5]
Definition: TCHist.h:75
TH1F * fNuVx3Score
Definition: TCHist.h:55
float fDang1
Definition: TCHist.h:86
float fMCSMom
Definition: TCHist.h:86
TH1F * fdWire[5]
Definition: TCHist.h:65
TH1F * fNuVx2Score
Definition: TCHist.h:56
TH1F * fNuVtx_dz
Definition: TCHist.h:52