NuMMHelperCPTpair Class Reference

#include <NuMMHelperCPTpair.h>

List of all members.

Public Member Functions

 NuMMHelperCPTpair ()
 NuMMHelperCPTpair (NuMMHelperCPT *helper)
 NuMMHelperCPTpair (const TString &helperFilename, const TString &xSecFilename)
virtual ~NuMMHelperCPTpair ()
void ConstructHelper (const char *helperFilename, const char *xSecFilename)
void ConstructCPT ()
virtual std::pair< const TH1D
*, const TH1D * > 
NDPurity (void)
virtual std::pair< const TH2D
*, const TH2D * > 
NDRecoVsTrue (void)
virtual std::pair< const TH1D
*, const TH1D * > 
NDEfficiency (void)
virtual std::pair< const
TGraph *, const TGraph * > 
XSecGraph (void)
virtual std::pair< const TH2D
*, const TH2D * > 
BeamMatrix (void)
virtual std::pair< const
TGraph *, const TGraph * > 
XSecGraphTaus (void)
virtual std::pair< const TH1D
*, const TH1D * > 
FDTauEfficiency (void)
virtual std::pair< const TH1D
*, const TH1D * > 
FDEfficiency (void)
virtual std::pair< const TH2D
*, const TH2D * > 
FDRecoVsTrue (void)
virtual std::pair< const TH1D
*, const TH1D * > 
FDNCContamination (void)
virtual std::pair< const TH2D
*, const TH2D * > 
FDTauRecoVsTrue (void)
virtual std::pair< const TH1D
*, const TH1D * > 
FDWrongSignEfficiency (void)
virtual std::pair< const TH2D
*, const TH2D * > 
FDWrongSignRecoVsTrue (void)
virtual std::pair< const TH1D
*, const TH1D * > 
FDPurity (void)

Private Member Functions

 ClassDef (NuMMHelperCPTpair, 0)

Private Attributes

NuMMHelperCPTfHelper
std::pair< TH1D *, TH1D * > * fPurity_ND
std::pair< TH2D *, TH2D * > * fRecoVsTrueEnergy_ND
std::pair< TH1D *, TH1D * > * fEfficiency_ND
std::pair< TGraph *, TGraph * > * fXSec_CC_Graph
std::pair< TGraph *, TGraph * > * fTau_XSec_CC_Graph
std::pair< TH2D *, TH2D * > * fFDVsNDMatrixRW
std::pair< TH1D *, TH1D * > * fEfficiency_FD
std::pair< TH2D *, TH2D * > * fRecoVsTrueEnergy_FD
std::pair< TH2D *, TH2D * > * fRecoVsTrueCCContamination_FD
std::pair< TH1D *, TH1D * > * fOtherEfficiency_FD
std::pair< TH1D *, TH1D * > * fNCContamination_FD
std::pair< TH1D *, TH1D * > * fPurity_FD
std::pair< TH1D *, TH1D * > * fEfficiencyTau_FD
std::pair< TH2D *, TH2D * > * fRecoVsTrueEnergyTau_FD

Detailed Description

Definition at line 15 of file NuMMHelperCPTpair.h.


Constructor & Destructor Documentation

NuMMHelperCPTpair::NuMMHelperCPTpair (  ) 

Definition at line 33 of file NuMMHelperCPTpair.cxx.

00034     : fHelper(0),
00035       fPurity_ND(0),
00036       fRecoVsTrueEnergy_ND(0),
00037       fEfficiency_ND(0),
00038       fXSec_CC_Graph(0),
00039       fTau_XSec_CC_Graph(0),
00040       fFDVsNDMatrixRW(0),
00041       fEfficiency_FD(0),
00042       fRecoVsTrueEnergy_FD(0),
00043       fRecoVsTrueCCContamination_FD(0),
00044       fOtherEfficiency_FD(0),
00045       fNCContamination_FD(0),
00046       fPurity_FD(0),
00047       fEfficiencyTau_FD(0),
00048       fRecoVsTrueEnergyTau_FD(0)
00049 {
00050   
00051 }

NuMMHelperCPTpair::NuMMHelperCPTpair ( NuMMHelperCPT helper  ) 

Definition at line 13 of file NuMMHelperCPTpair.cxx.

References ConstructCPT().

00014     : fHelper(helper),
00015       fPurity_ND(0),
00016       fRecoVsTrueEnergy_ND(0),
00017       fEfficiency_ND(0),
00018       fXSec_CC_Graph(0),
00019       fTau_XSec_CC_Graph(0),
00020       fFDVsNDMatrixRW(0),
00021       fEfficiency_FD(0),
00022       fRecoVsTrueEnergy_FD(0),
00023       fRecoVsTrueCCContamination_FD(0),
00024       fOtherEfficiency_FD(0),
00025       fNCContamination_FD(0),
00026       fPurity_FD(0),
00027       fEfficiencyTau_FD(0),
00028       fRecoVsTrueEnergyTau_FD(0)
00029 {
00030   ConstructCPT();
00031 }

NuMMHelperCPTpair::NuMMHelperCPTpair ( const TString &  helperFilename,
const TString &  xSecFilename 
) [explicit]

Definition at line 53 of file NuMMHelperCPTpair.cxx.

References ConstructCPT(), and ConstructHelper().

00055                                  : fHelper(0),
00056                                    fPurity_ND(0),
00057                                    fRecoVsTrueEnergy_ND(0),
00058                                    fEfficiency_ND(0),
00059                                    fXSec_CC_Graph(0),
00060                                    fTau_XSec_CC_Graph(0),
00061                                    fFDVsNDMatrixRW(0),
00062                                    fEfficiency_FD(0),
00063                                    fRecoVsTrueEnergy_FD(0),
00064                                    fRecoVsTrueCCContamination_FD(0),
00065                                    fOtherEfficiency_FD(0),
00066                                    fNCContamination_FD(0),
00067                                    fPurity_FD(0),
00068                                    fEfficiencyTau_FD(0),
00069                                    fRecoVsTrueEnergyTau_FD(0)
00070 {
00071   ConstructHelper(helperFilename, xSecFilename);
00072   ConstructCPT();
00073 }

virtual NuMMHelperCPTpair::~NuMMHelperCPTpair (  )  [inline, virtual]

Definition at line 25 of file NuMMHelperCPTpair.h.

00025 {};


Member Function Documentation

virtual std::pair<const TH2D*,const TH2D*> NuMMHelperCPTpair::BeamMatrix ( void   )  [inline, virtual]

Definition at line 52 of file NuMMHelperCPTpair.h.

References fFDVsNDMatrixRW.

00052 {return *fFDVsNDMatrixRW;}

NuMMHelperCPTpair::ClassDef ( NuMMHelperCPTpair  ,
 
) [private]
void NuMMHelperCPTpair::ConstructCPT (  ) 

Definition at line 81 of file NuMMHelperCPTpair.cxx.

References NuMMHelperCPT::BarBeamMatrix(), NuMMHelperCPT::BarXSecGraph(), NuMMHelperCPT::FDBarEfficiency(), NuMMHelperCPT::FDBarNCContamination(), NuMMHelperCPT::FDBarPurity(), NuMMHelperCPT::FDBarRecoVsTrue(), NuMMHelperCPT::FDNuEfficiency(), NuMMHelperCPT::FDNuNCContamination(), NuMMHelperCPT::FDNuPurity(), NuMMHelperCPT::FDNuRecoVsTrue(), NuMMHelperCPT::FDNuTauEfficiency(), NuMMHelperCPT::FDNuTauRecoVsTrue(), NuMMHelperCPT::FDTauBarEfficiency(), NuMMHelperCPT::FDTauBarRecoVsTrue(), NuMMHelperCPT::FDWrongSignBarEfficiency(), NuMMHelperCPT::FDWrongSignBarRecoVsTrue(), NuMMHelperCPT::FDWrongSignNuEfficiency(), NuMMHelperCPT::FDWrongSignNuRecoVsTrue(), fEfficiency_FD, fEfficiency_ND, fEfficiencyTau_FD, fFDVsNDMatrixRW, fHelper, fNCContamination_FD, fOtherEfficiency_FD, fPurity_FD, fPurity_ND, fRecoVsTrueCCContamination_FD, fRecoVsTrueEnergy_FD, fRecoVsTrueEnergy_ND, fRecoVsTrueEnergyTau_FD, fTau_XSec_CC_Graph, fXSec_CC_Graph, NuMMHelperCPT::NDBarEfficiency(), NuMMHelperCPT::NDBarPurity(), NuMMHelperCPT::NDBarRecoVsTrue(), NuMMHelperCPT::NDNuEfficiency(), NuMMHelperCPT::NDNuPurity(), NuMMHelperCPT::NDNuRecoVsTrue(), NuMMHelperCPT::NuBeamMatrix(), NuMMHelperCPT::NuXSecGraph(), NuMMHelperCPT::XSecGraphNuTaus(), and NuMMHelperCPT::XSecGraphTauBars().

Referenced by NuMMHelperCPTpair().

00082 {
00083   // Grab lots of histograms out of NuMMHelperCPT, and store them in the CPT pairs
00084 
00085 
00086   
00087   // virtual const TH1D* FDNuTauEfficiency(){return fEfficiencyTau_FD;}
00088   // virtual const TH1D* FDNuEfficiency(){return fEfficiency_FD;}
00089   // virtual const TH2D* FDNuRecoVsTrue(){return fRecoVsTrueEnergy_FD;}
00090   // virtual const TH1D* FDNuNCContamination(){return fNCContamination_FD;}
00091   // virtual const TH2D* FDNuTauRecoVsTrue(){return fRecoVsTrueEnergyTau_FD;}
00092   // virtual const TH1D* FDWrongSignNuEfficiency(){return fOtherEfficiency_FD;}
00093   // virtual const TH2D* FDWrongSignNuRecoVsTrue(){return fRecoVsTrueCCContaminationPQ_FD;}
00094   // virtual const TH1D* FDNuPurity(){return fPurity_FD;}
00095   // 
00096 
00097   // virtual const TH1D* FDTauBarEfficiency(){return fEfficiencyTauPQ_FD;}
00098   // virtual const TH1D* FDBarEfficiency(){return fEfficiencyPQ_FD;}
00099   // virtual const TH2D* FDBarRecoVsTrue(){return fRecoVsTrueEnergyPQ_FD;}
00100   // virtual const TH1D* FDBarNCContamination(){return fNCContaminationPQ_FD;}
00101   // virtual const TH2D* FDTauBarRecoVsTrue(){return fRecoVsTrueEnergyTauPQ_FD;}
00102   // virtual const TH1D* FDWrongSignBarEfficiency(){return fOtherEfficiencyPQ_FD;}
00103   // virtual const TH2D* FDWrongSignBarRecoVsTrue(){return fRecoVsTrueCCContamination_FD;}
00104   // virtual const TH1D* FDBarPurity(){return fPurityPQ_FD;}
00105   
00106   
00107   
00108   // fPurity_ND = new pair<TH1D*,TH1D*>(const_cast<TH1D*>(fHelper->NDNuPurity()),const_cast<TH1D*>(fHelper->NDBarPurity()));
00109   //  fRecoVsTrueEnergy_ND = new pair<TH2D*,TH2D*>(const_cast<TH2D*>(fHelper->NDNuRecoVsTrue()),const_cast<TH2D*>(fHelper->NDBarRecoVsTrue()));
00110   //  fEfficiency_ND = new pair<TH1D*,TH1D*>(const_cast<TH1D*>(fHelper->NDNuEfficiency()),const_cast<TH1D*>(fHelper->NDBarEfficiency()));
00111   //  fXSec_CC_Graph = new pair<TGraph*,TGraph*>(const_cast<TGraph*>(fHelper->NuXSecGraph()),const_cast<TGraph*>(fHelper->BarXSecGraph()));
00112   //  fFDVsNDMatrixRW = new pair<TH2D*,TH2D*>(const_cast<TH2D*>(fHelper->NuBeamMatrix()),const_cast<TH2D*>(fHelper->BarBeamMatrix()));
00113   //  fTau_XSec_CC_Graph = new pair<TGraph*,TGraph*>(const_cast<TGraph*>(fHelper->XSecGraphNuTaus()),const_cast<TGraph*>(fHelper->XSecGraphTauBars()));
00114   // 
00115  
00116 
00117   fPurity_ND = 
00118       new pair<TH1D*,TH1D*>(const_cast<TH1D*>(fHelper->NDNuPurity()),
00119                             const_cast<TH1D*>(fHelper->NDBarPurity()));
00120   fRecoVsTrueEnergy_ND = 
00121       new pair<TH2D*,TH2D*>(const_cast<TH2D*>(fHelper->NDNuRecoVsTrue()),
00122                             const_cast<TH2D*>(fHelper->NDBarRecoVsTrue()));
00123   fEfficiency_ND = 
00124       new pair<TH1D*,TH1D*>(const_cast<TH1D*>(fHelper->NDNuEfficiency()),
00125                             const_cast<TH1D*>(fHelper->NDBarEfficiency()));
00126   fXSec_CC_Graph = 
00127       new pair<TGraph*,TGraph*>(const_cast<TGraph*>(fHelper->NuXSecGraph()),
00128                                 const_cast<TGraph*>(fHelper->BarXSecGraph()));
00129   fFDVsNDMatrixRW = 
00130       new pair<TH2D*,TH2D*>(const_cast<TH2D*>(fHelper->NuBeamMatrix()),
00131                             const_cast<TH2D*>(fHelper->BarBeamMatrix()));
00132   fTau_XSec_CC_Graph = 
00133       new pair<TGraph*,TGraph*>(const_cast<TGraph*>(fHelper->XSecGraphNuTaus()),
00134                                 const_cast<TGraph*>(fHelper->XSecGraphTauBars()));
00135   fEfficiencyTau_FD = 
00136       new pair<TH1D*,TH1D*>(const_cast<TH1D*>(fHelper->FDNuTauEfficiency()),
00137                             const_cast<TH1D*>(fHelper->FDTauBarEfficiency()));
00138   fEfficiency_FD = 
00139       new pair<TH1D*,TH1D*>(const_cast<TH1D*>(fHelper->FDNuEfficiency()),
00140                             const_cast<TH1D*>(fHelper->FDBarEfficiency()));
00141   fRecoVsTrueEnergy_FD = 
00142       new pair<TH2D*,TH2D*>(const_cast<TH2D*>(fHelper->FDNuRecoVsTrue()),
00143                             const_cast<TH2D*>(fHelper->FDBarRecoVsTrue()));
00144   fNCContamination_FD = 
00145       new pair<TH1D*,TH1D*>(const_cast<TH1D*>(fHelper->FDNuNCContamination()),
00146                             const_cast<TH1D*>(fHelper->FDBarNCContamination()));
00147   fRecoVsTrueEnergyTau_FD = 
00148       new pair<TH2D*,TH2D*>(const_cast<TH2D*>(fHelper->FDNuTauRecoVsTrue()),
00149                             const_cast<TH2D*>(fHelper->FDTauBarRecoVsTrue()));
00150   fOtherEfficiency_FD = 
00151       new pair<TH1D*,TH1D*>(const_cast<TH1D*>(fHelper->FDWrongSignNuEfficiency()),
00152                             const_cast<TH1D*>(fHelper->FDWrongSignBarEfficiency()));
00153   fRecoVsTrueCCContamination_FD = 
00154       new pair<TH2D*,TH2D*>(const_cast<TH2D*>(fHelper->FDWrongSignNuRecoVsTrue()),
00155                             const_cast<TH2D*>(fHelper->FDWrongSignBarRecoVsTrue()));
00156   fPurity_FD = 
00157       new pair<TH1D*,TH1D*>(const_cast<TH1D*>(fHelper->FDNuPurity()),
00158                             const_cast<TH1D*>(fHelper->FDBarPurity()));
00159 
00160 }

void NuMMHelperCPTpair::ConstructHelper ( const char *  helperFilename,
const char *  xSecFilename 
)

Definition at line 75 of file NuMMHelperCPTpair.cxx.

References fHelper.

Referenced by NuMMHelperCPTpair().

00077 {
00078   fHelper = new NuMMHelperCPT(hf, xSec);
00079 }

virtual std::pair<const TH1D*,const TH1D*> NuMMHelperCPTpair::FDEfficiency ( void   )  [inline, virtual]

Definition at line 55 of file NuMMHelperCPTpair.h.

References fEfficiency_FD.

00055 {return *fEfficiency_FD;}

virtual std::pair<const TH1D*,const TH1D*> NuMMHelperCPTpair::FDNCContamination ( void   )  [inline, virtual]

Definition at line 57 of file NuMMHelperCPTpair.h.

References fNCContamination_FD.

00057 {return *fNCContamination_FD;}

virtual std::pair<const TH1D*,const TH1D*> NuMMHelperCPTpair::FDPurity ( void   )  [inline, virtual]

Definition at line 61 of file NuMMHelperCPTpair.h.

References fPurity_FD.

00061 {return *fPurity_FD;}

virtual std::pair<const TH2D*,const TH2D*> NuMMHelperCPTpair::FDRecoVsTrue ( void   )  [inline, virtual]

Definition at line 56 of file NuMMHelperCPTpair.h.

References fRecoVsTrueEnergy_FD.

00056 {return *fRecoVsTrueEnergy_FD;}

virtual std::pair<const TH1D*,const TH1D*> NuMMHelperCPTpair::FDTauEfficiency ( void   )  [inline, virtual]

Definition at line 54 of file NuMMHelperCPTpair.h.

References fEfficiencyTau_FD.

00054 {return *fEfficiencyTau_FD;}

virtual std::pair<const TH2D*,const TH2D*> NuMMHelperCPTpair::FDTauRecoVsTrue ( void   )  [inline, virtual]

Definition at line 58 of file NuMMHelperCPTpair.h.

References fRecoVsTrueEnergyTau_FD.

00058 {return *fRecoVsTrueEnergyTau_FD;}

virtual std::pair<const TH1D*,const TH1D*> NuMMHelperCPTpair::FDWrongSignEfficiency ( void   )  [inline, virtual]

Definition at line 59 of file NuMMHelperCPTpair.h.

References fOtherEfficiency_FD.

00059 {return *fOtherEfficiency_FD;}

virtual std::pair<const TH2D*,const TH2D*> NuMMHelperCPTpair::FDWrongSignRecoVsTrue ( void   )  [inline, virtual]

Definition at line 60 of file NuMMHelperCPTpair.h.

References fRecoVsTrueCCContamination_FD.

virtual std::pair<const TH1D*,const TH1D*> NuMMHelperCPTpair::NDEfficiency ( void   )  [inline, virtual]

Definition at line 50 of file NuMMHelperCPTpair.h.

References fEfficiency_ND.

00050 {return *fEfficiency_ND;}

virtual std::pair<const TH1D*,const TH1D*> NuMMHelperCPTpair::NDPurity ( void   )  [inline, virtual]

Definition at line 48 of file NuMMHelperCPTpair.h.

References fPurity_ND.

00048 {return *fPurity_ND;}

virtual std::pair<const TH2D*,const TH2D*> NuMMHelperCPTpair::NDRecoVsTrue ( void   )  [inline, virtual]

Definition at line 49 of file NuMMHelperCPTpair.h.

References fRecoVsTrueEnergy_ND.

00049 {return *fRecoVsTrueEnergy_ND;}

virtual std::pair<const TGraph*,const TGraph*> NuMMHelperCPTpair::XSecGraph ( void   )  [inline, virtual]

Definition at line 51 of file NuMMHelperCPTpair.h.

References fXSec_CC_Graph.

00051 {return *fXSec_CC_Graph;}

virtual std::pair<const TGraph*,const TGraph*> NuMMHelperCPTpair::XSecGraphTaus ( void   )  [inline, virtual]

Definition at line 53 of file NuMMHelperCPTpair.h.

References fTau_XSec_CC_Graph.

00053 {return *fTau_XSec_CC_Graph;}


Member Data Documentation

std::pair<TH1D*,TH1D*>* NuMMHelperCPTpair::fEfficiency_FD [private]

Definition at line 70 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and FDEfficiency().

std::pair<TH1D*,TH1D*>* NuMMHelperCPTpair::fEfficiency_ND [private]

Definition at line 66 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and NDEfficiency().

std::pair<TH1D*,TH1D*>* NuMMHelperCPTpair::fEfficiencyTau_FD [private]

Definition at line 77 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and FDTauEfficiency().

std::pair<TH2D*,TH2D*>* NuMMHelperCPTpair::fFDVsNDMatrixRW [private]

Definition at line 69 of file NuMMHelperCPTpair.h.

Referenced by BeamMatrix(), and ConstructCPT().

Definition at line 17 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and ConstructHelper().

std::pair<TH1D*,TH1D*>* NuMMHelperCPTpair::fNCContamination_FD [private]

Definition at line 74 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and FDNCContamination().

std::pair<TH1D*,TH1D*>* NuMMHelperCPTpair::fOtherEfficiency_FD [private]

Definition at line 73 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and FDWrongSignEfficiency().

std::pair<TH1D*,TH1D*>* NuMMHelperCPTpair::fPurity_FD [private]

Definition at line 75 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and FDPurity().

std::pair<TH1D*,TH1D*>* NuMMHelperCPTpair::fPurity_ND [private]

Definition at line 64 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and NDPurity().

std::pair<TH2D*,TH2D*>* NuMMHelperCPTpair::fRecoVsTrueCCContamination_FD [private]

Definition at line 72 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and FDWrongSignRecoVsTrue().

std::pair<TH2D*,TH2D*>* NuMMHelperCPTpair::fRecoVsTrueEnergy_FD [private]

Definition at line 71 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and FDRecoVsTrue().

std::pair<TH2D*,TH2D*>* NuMMHelperCPTpair::fRecoVsTrueEnergy_ND [private]

Definition at line 65 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and NDRecoVsTrue().

std::pair<TH2D*,TH2D*>* NuMMHelperCPTpair::fRecoVsTrueEnergyTau_FD [private]

Definition at line 78 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and FDTauRecoVsTrue().

std::pair<TGraph*,TGraph*>* NuMMHelperCPTpair::fTau_XSec_CC_Graph [private]

Definition at line 68 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and XSecGraphTaus().

std::pair<TGraph*,TGraph*>* NuMMHelperCPTpair::fXSec_CC_Graph [private]

Definition at line 67 of file NuMMHelperCPTpair.h.

Referenced by ConstructCPT(), and XSecGraph().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1