NuLibrary Class Reference

#include <NuLibrary.h>

List of all members.

Classes

struct  Cleaner

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

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 ( void   )  [inline, static]

Instance() returns the singleton handle.

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::CC2014NewCoilCutResolution::CC2014NewCoilCutResolution(), NuCutImps::CC2014Resolution::CC2014Resolution(), NuAnalysis::ChargeSeparationOneSnarl(), NuAnalysis::ChargeSignCut(), NuDSTAna::ConcatenateDSTs(), NuDSTAna::Contamination(), NuDSTAna::ContaminationNQ(), NuCounter::CountTrkStdhepId(), DataMCPlots::DataMCPlots(), DataStabilityAnalysisClass::DataStabilityAnalysisClass(), 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::MakePurityEfficiencyPlotsCCNC(), 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

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

Definition at line 55 of file NuLibrary.h.

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

Definition at line 60 of file NuLibrary.h.

Referenced by NuExtraction::ExtractMajorityCurvature().

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(), TemplateAnalysisClass::PrepareEventForPlotting(), DataMCPlots::PrepareEventForPlotting(), ToFPlotter::PrepareEventForPlotting(), FitTree::PrepareEvents(), FoverNHistos::PrepareNCEventForPlotting(), NuDSTAna::QPStudy(), NuDSTAna::RHCTest(), NuReco::SetBestTrkMajorityCurvature(), NuReco::SetBestTrkSAFit(), NuDSTAna::StdCCAna(), NuDSTAna::StdNMBAna(), and NuDSTAna::YStudy().


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

Generated on 24 Apr 2017 for loon by  doxygen 1.6.1