NuLibrary Class Reference

#include <NuLibrary.h>

List of all members.

Public Member Functions

 ~NuLibrary ()

Static Public Member Functions

static NuLibraryInstance ()

Public Attributes

const MajorityCurvature majC
NuCounter cnt
const NuCuts cuts
const NuGeneral general
const NuReco reco
const NuExtraction ext
const NuHistos hist
const NuZBeamReweight zBeamReweight

Protected Member Functions

 NuLibrary ()

Private Member Functions

 NuLibrary (const NuLibrary &)
void operator= (const NuLibrary &)

Static Private Attributes

static NuLibraryfgInstance = 0

Friends

struct Cleaner

Classes

struct  Cleaner


Detailed Description

Definition at line 25 of file NuLibrary.h.


Constructor & Destructor Documentation

NuLibrary::~NuLibrary (  ) 

Definition at line 25 of file NuLibrary.cxx.

00026 {
00027   std::cout<<endl<<"NuLibrary shutting down."<<endl;
00028 }

NuLibrary::NuLibrary (  )  [protected]

Definition at line 18 of file NuLibrary.cxx.

Referenced by Instance().

00019 {
00020 
00021 }

NuLibrary::NuLibrary ( const NuLibrary  )  [private]


Member Function Documentation

NuLibrary & NuLibrary::Instance (  )  [inline, static]

Definition at line 74 of file NuLibrary.h.

References fgInstance, NuLibrary(), and NuLibrary::Cleaner::UseMe().

Referenced by NuDemoModule::Ana(), NuDSTAna::BRevAna(), NuReco::CalcExtraTruthVariables(), NuCutImps::CC0720Resolution::CC0720Resolution(), NuCutImps::CC1070Resolution::CC1070Resolution(), NuCutImps::CC2014NoCoilCutResolution::CC2014NoCoilCutResolution(), NuCutImps::CC2014Resolution::CC2014Resolution(), NuAnalysis::ChargeSeparationOneSnarl(), NuAnalysis::ChargeSignCut(), NuDSTAna::ConcatenateDSTs(), NuDSTAna::Contamination(), NuDSTAna::ContaminationNQ(), NuCounter::CountTrkStdhepId(), DataMCPlots::DataMCPlots(), NuAnalysis::DemoInfidSRInterface(), NuAnalysis::DoExtractions(), NuDSTAna::DoIO(), NuDSTAna::DPSystematic(), NuAnalysis::Efficiencies(), NuAnalysis::EnergySpect(), NuAnalysis::EnergySpectMC(), NuExtraction::ExtractBeamInfoDB(), NuExtraction::ExtractCoilCurrent(), NuExtraction::ExtractCoilInfo(), NuExtraction::ExtractDataQuality(), NuExtraction::ExtractLITags(), NuExtraction::ExtractMajorityCurvature(), NuExtraction::ExtractNthTrkInfo(), NuAnalysis::ExtractPIDsAndWeights(), NuExtraction::ExtractSAFitInfo(), NuExtraction::ExtractShwInfo(), NuExtraction::ExtractTimeToNearestSpill(), NuZBeamReweight::ExtractZBeamReweight(), NuPlots::FillContainmentHistos(), NuPlots::FillDetectorEdge(), NuPlots::FillN_1Plots(), NuPlots::FillShwHistos(), NuTime::FillTime(), NuTime::FillTimeHistos(), NuPlots::FillTrueFidEnergySpect(), NuPlots::FillTrueFidEnergySpectSpecial(), NuTime::FillVsTimeHistos(), NuTime::FillVsTimeHistos2(), FitTree::FitTree(), NuUtilities::FixDogwoodQP(), NuDSTAna::FluxComponents(), FoverNHistos::FoverNHistos(), NuPIDInterface::GetFileNameAbID(), NuPIDInterface::GetFileNameJeID(), NuPIDInterface::GetFileNamekNNID(), NuPIDInterface::GetJmIDNthTrk(), NuPIDInterface::GetRoIDNthTrk(), NuPIDInterface::GetRoIDPlus(), NuReco::GetShowerEnergykNN(), NuCutImps::NuCutsSelection::InFidVol(), NuCutImps::Preselection2014::InFidVol(), NuCutImps::NuCutsSelection::InFidVolEvt(), NuCutImps::NuCutsSelection::InFidVolTrueEvt(), NuPIDInterface::InitialiseJmID(), NuPIDInterface::InitialiseRoID(), NuCutImps::NuCutsSelection::IsGoodPreSelectionCuts(), NuCutImps::NuCutsSelection::IsGoodStdCuts(), NuCuts::IsInFidVolLoose(), NuDSTAna::JeffsTestAna(), NuAnalysis::LIRejectionTest(), NuAnalysis::LoopOverTruthInfo(), NuDSTAna::MakeCuts(), NuDSTAna::MakeDstPQ(), NuDSTAna::MakeFCTree(), NuAnalysis::MakeFullDST(), NuDSTAna::MakekNNTrainTestSet(), NuDSTAna::MakeMicroDST(), NuDSTAna::MakeMicroDst2010(), NuDSTAna::MakeMicroDst2014(), NuDSTAna::MakeMicroDstFakeData(), NuDSTAna::MakeMicroDstForCSSSystematics(), NuDSTAna::MakeMicroDstHe(), NuDSTAna::MakeMicroDstJJEPresel(), NuDSTAna::MakeMicroDstNC2012(), NuDSTAna::MakeMicroDstWithStdCCRecoAndCuts(), NuDSTAna::MakeResolutionBins(), NuDSTAna::MakeRoIDTrainingSet(), NuDSTAna::MakeSelMicroDST(), NuDSTAna::MakeShwEnkNNTestingSet(), NuDSTAna::MakeShwEnkNNTrainingSet(), NuDSTAna::MMRereco(), NuDSTAna::MMTransition(), NuDSTAna::MMTransSME(), NuAnalysis::N_1(), NuDSTAna::NDOsc(), NuDSTAna::NDQPRB(), NuDSTAna::NDTestAna(), NuDSTAna::NewFieldAna(), NuCounter::Print(), NuCounter::PrintFullDST(), NuCounter::PrintMicroDST(), NuCounter::PrintNMB(), NuCutImps::NuCutsSelection::PrintSummary(), NuDSTAna::QPStudy(), NuDSTAna::RHCTest(), NuDSTAna::SanityCheckAnaVersionSameAsPrevious(), NuDSTAna::SelectorTable(), NuAnalysis::SetAnaFlags(), NuReco::SetBestTrkMajorityCurvature(), NuReco::SetBestTrkSAFit(), NuDSTAna::StdCCAna(), NuDSTAna::StdNMBAna(), NuAnalysis::StoreOrFinishTree(), TemplateAnalysisClass::TemplateAnalysisClass(), ToFPlotter::ToFPlotter(), NuDSTAna::VsTime(), and NuDSTAna::YStudy().

00075 {
00079   
00080   // Cleaner destructor calls DigitNuLibrary dtor
00081   static Cleaner cleaner;
00082   
00083   // NuLibrary mode "1" the default.  This is hardwired for now.
00084   if (!fgInstance) {
00085     cleaner.UseMe();//dummy call to quiet compiler warnings
00086     fgInstance = new NuLibrary();
00087     if(!fgInstance){
00088       std::cout<<"No NuLibrary Instance - fatal."<<std::endl;
00089       assert(fgInstance);//Kill job is there is no instance
00090     }
00091   }
00092   
00093   return *fgInstance;
00094 }

void NuLibrary::operator= ( const NuLibrary  )  [private]


Friends And Related Function Documentation

friend struct Cleaner [friend]

Definition at line 54 of file NuLibrary.h.


Member Data Documentation

NuCounter NuLibrary::cnt

Definition at line 61 of file NuLibrary.h.

Referenced by NuDemoModule::Ana(), NuDSTAna::BRevAna(), NuAnalysis::ChargeSeparationOneSnarl(), NuDSTAna::ConcatenateDSTs(), NuDSTAna::Contamination(), NuDSTAna::ContaminationNQ(), NuDSTAna::DPSystematic(), NuDSTAna::FluxComponents(), NuCutImps::NuCutsSelection::IsGoodPreSelectionCuts(), NuCutImps::NuCutsSelection::IsGoodStdCuts(), NuDSTAna::JeffsTestAna(), NuDSTAna::MakeCuts(), NuDSTAna::MakeDstPQ(), NuDSTAna::MakeFCTree(), NuAnalysis::MakeFullDST(), NuDSTAna::MakekNNTrainTestSet(), NuDSTAna::MakeMicroDST(), NuDSTAna::MakeMicroDst2010(), NuDSTAna::MakeMicroDst2014(), NuDSTAna::MakeMicroDstFakeData(), NuDSTAna::MakeMicroDstForCSSSystematics(), NuDSTAna::MakeMicroDstHe(), NuDSTAna::MakeMicroDstJJEPresel(), NuDSTAna::MakeMicroDstNC2012(), NuDSTAna::MakeMicroDstWithStdCCRecoAndCuts(), NuDSTAna::MakeRoIDTrainingSet(), NuDSTAna::MakeSelMicroDST(), NuDSTAna::MakeShwEnkNNTestingSet(), NuDSTAna::MakeShwEnkNNTrainingSet(), NuDSTAna::MMRereco(), NuDSTAna::MMTransition(), NuDSTAna::MMTransSME(), NuDSTAna::NDOsc(), NuDSTAna::NDQPRB(), NuDSTAna::NewFieldAna(), NuCutImps::NuCutsSelection::PrintSummary(), NuDSTAna::QPStudy(), NuDSTAna::RHCTest(), NuDSTAna::SelectorTable(), NuDSTAna::StdCCAna(), NuDSTAna::StdNMBAna(), NuAnalysis::StoreOrFinishTree(), NuDSTAna::VsTime(), and NuDSTAna::YStudy().

const NuCuts NuLibrary::cuts

Definition at line 62 of file NuLibrary.h.

Referenced by NuDemoModule::Ana(), NuDSTAna::BRevAna(), NuAnalysis::ChargeSeparationOneSnarl(), NuPlots::FillN_1Plots(), NuPlots::FillTrueFidEnergySpectSpecial(), NuCutImps::NuCutsSelection::InFidVol(), NuCutImps::NuCutsSelection::InFidVolEvt(), NuCutImps::NuCutsSelection::InFidVolTrueEvt(), NuCutImps::NuCutsSelection::IsGoodPreSelectionCuts(), NuCutImps::NuCutsSelection::IsGoodStdCuts(), NuCuts::IsInFidVolLoose(), NuDSTAna::JeffsTestAna(), NuAnalysis::LoopOverTruthInfo(), NuAnalysis::MakeFullDST(), NuDSTAna::MakeMicroDst2010(), NuDSTAna::MakeMicroDst2014(), NuDSTAna::MakeMicroDstFakeData(), NuDSTAna::MakeMicroDstForCSSSystematics(), NuDSTAna::MakeMicroDstHe(), NuDSTAna::MakeMicroDstJJEPresel(), NuDSTAna::MakeMicroDstNC2012(), NuDSTAna::MakeMicroDstWithStdCCRecoAndCuts(), NuDSTAna::MakeSelMicroDST(), NuDSTAna::MMRereco(), NuDSTAna::MMTransition(), NuDSTAna::MMTransSME(), NuCounter::Print(), NuCounter::PrintFullDST(), NuCounter::PrintMicroDST(), NuCounter::PrintNMB(), NuDSTAna::SanityCheckAnaVersionSameAsPrevious(), NuAnalysis::SetAnaFlags(), NuDSTAna::StdCCAna(), NuDSTAna::StdNMBAna(), and NuDSTAna::VsTime().

const NuExtraction NuLibrary::ext

Definition at line 66 of file NuLibrary.h.

Referenced by NuDemoModule::Ana(), NuAnalysis::ChargeSeparationOneSnarl(), NuAnalysis::DoExtractions(), NuAnalysis::EnergySpect(), NuAnalysis::EnergySpectMC(), NuAnalysis::ExtractPIDsAndWeights(), NuZBeamReweight::ExtractZBeamReweight(), NuPlots::FillTrueFidEnergySpect(), NuAnalysis::LIRejectionTest(), NuAnalysis::LoopOverTruthInfo(), NuAnalysis::MakeFullDST(), and NuAnalysis::N_1().

NuLibrary * NuLibrary::fgInstance = 0 [static, private]

Definition at line 55 of file NuLibrary.h.

Referenced by Instance(), and NuLibrary::Cleaner::~Cleaner().

const NuGeneral NuLibrary::general

Definition at line 63 of file NuLibrary.h.

Referenced by NuCutImps::CC0720Resolution::CC0720Resolution(), NuCutImps::CC1070Resolution::CC1070Resolution(), NuCutImps::CC2014NoCoilCutResolution::CC2014NoCoilCutResolution(), NuCutImps::CC2014Resolution::CC2014Resolution(), NuTime::FillTime(), NuTime::FillTimeHistos(), NuTime::FillVsTimeHistos(), NuTime::FillVsTimeHistos2(), NuPIDInterface::GetFileNameAbID(), NuPIDInterface::GetFileNameJeID(), NuPIDInterface::GetFileNamekNNID(), NuPIDInterface::GetRoIDPlus(), NuReco::GetShowerEnergykNN(), NuPIDInterface::InitialiseJmID(), and NuPIDInterface::InitialiseRoID().

const NuHistos NuLibrary::hist

Definition at line 68 of file NuLibrary.h.

Referenced by NuAnalysis::ChargeSeparationOneSnarl(), NuDSTAna::DoIO(), NuDSTAna::JeffsTestAna(), NuDSTAna::MMRereco(), NuDSTAna::MMTransition(), NuDSTAna::MMTransSME(), NuDSTAna::NewFieldAna(), NuDSTAna::StdCCAna(), NuDSTAna::StdNMBAna(), and NuAnalysis::StoreOrFinishTree().

const MajorityCurvature NuLibrary::majC

Definition at line 60 of file NuLibrary.h.

Referenced by NuExtraction::ExtractMajorityCurvature().

const NuReco NuLibrary::reco

Definition at line 65 of file NuLibrary.h.

Referenced by NuDemoModule::Ana(), NuDSTAna::BRevAna(), NuReco::CalcExtraTruthVariables(), NuAnalysis::ChargeSeparationOneSnarl(), NuDSTAna::Contamination(), NuDSTAna::ContaminationNQ(), NuCounter::CountTrkStdhepId(), NuAnalysis::DemoInfidSRInterface(), NuAnalysis::DoExtractions(), NuDSTAna::DPSystematic(), NuAnalysis::EnergySpect(), NuAnalysis::EnergySpectMC(), NuExtraction::ExtractBeamInfoDB(), NuExtraction::ExtractCoilCurrent(), NuExtraction::ExtractCoilInfo(), NuExtraction::ExtractDataQuality(), NuExtraction::ExtractLITags(), NuExtraction::ExtractMajorityCurvature(), NuExtraction::ExtractNthTrkInfo(), NuAnalysis::ExtractPIDsAndWeights(), NuExtraction::ExtractSAFitInfo(), NuExtraction::ExtractShwInfo(), NuExtraction::ExtractTimeToNearestSpill(), NuZBeamReweight::ExtractZBeamReweight(), NuPlots::FillContainmentHistos(), NuPlots::FillDetectorEdge(), NuPlots::FillShwHistos(), NuUtilities::FixDogwoodQP(), NuDSTAna::FluxComponents(), NuPIDInterface::GetJmIDNthTrk(), NuPIDInterface::GetRoIDNthTrk(), NuCutImps::Preselection2014::InFidVol(), NuDSTAna::JeffsTestAna(), NuAnalysis::LoopOverTruthInfo(), NuDSTAna::MakeCuts(), FoverNHistos::MakeDataPlots(), NuDSTAna::MakeFCTree(), NuAnalysis::MakeFullDST(), NuDSTAna::MakekNNTrainTestSet(), NuDSTAna::MakeMicroDST(), NuDSTAna::MakeMicroDst2010(), NuDSTAna::MakeMicroDst2014(), NuDSTAna::MakeMicroDstFakeData(), NuDSTAna::MakeMicroDstForCSSSystematics(), NuDSTAna::MakeMicroDstHe(), NuDSTAna::MakeMicroDstJJEPresel(), NuDSTAna::MakeMicroDstNC2012(), NuDSTAna::MakeMicroDstWithStdCCRecoAndCuts(), NuDSTAna::MakeResolutionBins(), NuDSTAna::MakeSelMicroDST(), NuDSTAna::MMRereco(), NuDSTAna::MMTransition(), NuDSTAna::MMTransSME(), NuAnalysis::N_1(), NuDSTAna::NDOsc(), NuDSTAna::NDQPRB(), NuDSTAna::NDTestAna(), NuDSTAna::NewFieldAna(), FoverNHistos::PrepareCCEventForPlotting(), ToFPlotter::PrepareEventForPlotting(), TemplateAnalysisClass::PrepareEventForPlotting(), DataMCPlots::PrepareEventForPlotting(), FitTree::PrepareEvents(), FoverNHistos::PrepareNCEventForPlotting(), NuDSTAna::QPStudy(), NuDSTAna::RHCTest(), NuReco::SetBestTrkMajorityCurvature(), NuReco::SetBestTrkSAFit(), NuDSTAna::StdCCAna(), NuDSTAna::StdNMBAna(), and NuDSTAna::YStudy().

const NuZBeamReweight NuLibrary::zBeamReweight

Definition at line 69 of file NuLibrary.h.

Referenced by NuAnalysis::ExtractPIDsAndWeights(), NuAnalysis::LoopOverTruthInfo(), NuDSTAna::MakeMicroDst2010(), NuDSTAna::MakeMicroDst2014(), NuDSTAna::MakeMicroDstHe(), NuDSTAna::MakeMicroDstNC2012(), NuDSTAna::NDQPRB(), NuDSTAna::QPStudy(), and NuDSTAna::RHCTest().


The documentation for this class was generated from the following files:
Generated on Wed Sep 10 22:51:43 2014 for loon by  doxygen 1.4.7