Public Member Functions | Public Attributes | List of all members
tca::HistStuff Struct Reference

#include <TCHist.h>

Public Member Functions

void CreateHists (art::ServiceHandle< art::TFileService const > &tfs)
 

Public Attributes

TH1F * fTruT [5]
 
TProfile * fEff_T [5]
 
TProfile * fPur_T [5]
 

Detailed Description

Definition at line 24 of file TCHist.h.

Member Function Documentation

void tca::HistStuff::CreateHists ( art::ServiceHandle< art::TFileService const > &  tfs)

Definition at line 11 of file TCHist.cxx.

12  {
13 
14  fTruT[0] = tfs->make<TH1F>("TruT_El","True KE (MeV) - Electrons", 100, 0, 1000);
15  fTruT[1] = tfs->make<TH1F>("TruT_Mu","True KE (MeV) - Muons", 100, 0, 10000);
16  fTruT[2] = tfs->make<TH1F>("TruT_Pi","True KE (MeV) - Pions", 100, 0, 1000);
17  fTruT[3] = tfs->make<TH1F>("TruT_Ka","True KE (MeV) - Kaons", 100, 0, 10000);
18  fTruT[4] = tfs->make<TH1F>("TruT_Pr","True KE (MeV) - Protons", 100, 0, 1000);
19 
20  fEff_T[0] = tfs->make<TProfile>("Eff_T_El","Eff vs T(MeV) - Electrons", 20, 0, 1000);
21  fEff_T[1] = tfs->make<TProfile>("Eff_T_Mu","Eff vs T(MeV) - Muons", 20, 0, 10000);
22  fEff_T[2] = tfs->make<TProfile>("Eff_T_Pi","Eff vs T(MeV) - Pions", 20, 0, 1000);
23  fEff_T[3] = tfs->make<TProfile>("Eff_T_Ka","Eff vs T(MeV) - Kaons", 20, 0, 1000);
24  fEff_T[4] = tfs->make<TProfile>("Eff_T_Pr","Eff vs T(MeV) - Protons", 20, 0, 1000);
25 
26  fPur_T[0] = tfs->make<TProfile>("Pur_T_El","Pur vs T(MeV) - Electrons", 20, 0, 1000);
27  fPur_T[1] = tfs->make<TProfile>("Pur_T_Mu","Pur vs T(MeV) - Muons", 20, 0, 10000);
28  fPur_T[2] = tfs->make<TProfile>("Pur_T_Pi","Pur vs T(MeV) - Pions", 20, 0, 1000);
29  fPur_T[3] = tfs->make<TProfile>("Pur_T_Ka","Pur vs T(MeV) - Kaons", 20, 0, 1000);
30  fPur_T[4] = tfs->make<TProfile>("Pur_T_Pr","Pur vs T(MeV) - Protons", 20, 0, 1000);
31 
32  }
TH1F * fTruT[5]
Definition: TCHist.h:28
TProfile * fPur_T[5]
Definition: TCHist.h:30
TProfile * fEff_T[5]
Definition: TCHist.h:29

Member Data Documentation

TProfile* tca::HistStuff::fEff_T[5]

Definition at line 29 of file TCHist.h.

TProfile* tca::HistStuff::fPur_T[5]

Definition at line 30 of file TCHist.h.

TH1F* tca::HistStuff::fTruT[5]

Definition at line 28 of file TCHist.h.


The documentation for this struct was generated from the following files: