NuConfig Class Reference

#include <NuConfig.h>

List of all members.

Public Member Functions

 NuConfig ()
virtual void PrintConfig () const
 ClassDef (NuConfig, 10)

Public Attributes

Int_t run
Int_t subRun
Int_t snarl
Int_t detector
Int_t simFlag
Int_t trigSrc
Int_t timeSec
Int_t timeNanoSec
Int_t runPeriod
Bool_t hornIsReverse
Int_t intensity
Int_t beamType
Int_t beamTypeSntp
std::string sBeamType
Float_t hornCurrent
std::string sHornCurrent
Float_t targetPos
std::string sTargetPos
Int_t releaseType
Int_t mcVersion
Int_t recoVersion
Int_t anaVersion
Bool_t useGeneratorReweight
std::string sGeneratorConfigName
Int_t generatorConfigNo
Int_t reweightVersion
Bool_t useDBForDataQuality
Bool_t useDBForSpillTiming
Bool_t useDBForBeamInfo
Bool_t cutOnDataQuality
Bool_t cutOnSpillTiming
Bool_t cutOnBeamInfo
Bool_t calcMajCurv
Bool_t calcRoID
Bool_t calcJmID
Bool_t overrideBeamDataConfigExtraction

Detailed Description

Definition at line 13 of file NuConfig.h.


Constructor & Destructor Documentation

NuConfig::NuConfig (  ) 

Definition at line 15 of file NuConfig.cxx.

References anaVersion, beamType, beamTypeSntp, calcJmID, calcMajCurv, calcRoID, cutOnBeamInfo, cutOnDataQuality, cutOnSpillTiming, detector, generatorConfigNo, hornCurrent, hornIsReverse, intensity, mcVersion, overrideBeamDataConfigExtraction, recoVersion, releaseType, reweightVersion, run, runPeriod, sBeamType, sGeneratorConfigName, sHornCurrent, simFlag, snarl, sTargetPos, subRun, targetPos, timeNanoSec, timeSec, trigSrc, useDBForBeamInfo, useDBForDataQuality, useDBForSpillTiming, and useGeneratorReweight.

00016 {
00017   run=-1;
00018   subRun=-1;
00019   snarl=-1;
00020   detector=-1;
00021   simFlag=-1;
00022   trigSrc=-1;
00023   timeSec=-1;
00024   timeNanoSec=-1;
00025   
00026   runPeriod=-1;
00027   intensity=-1;
00028   hornIsReverse=false;
00029   beamType=-1;
00030   beamTypeSntp=-1;
00031   sBeamType="UnknownBeamType";
00032   
00033   hornCurrent=999;//normally negative, so make positive here
00034   sHornCurrent="UnknownHornCurrent";
00035   
00036   targetPos=-1;
00037   sTargetPos="UnknownTargetPos";
00038 
00039   releaseType=-1;//the value of Conventions/ReleaseType::kUnknown
00040   mcVersion=-1;//the value of Conventions/ReleaseType::kUnknown
00041   recoVersion=-1;//the value of Conventions/ReleaseType::kUnknown
00042   anaVersion=0;//kUnknown: defined in NuCuts
00043   useGeneratorReweight=true;
00044   sGeneratorConfigName="Unknown";
00045   generatorConfigNo=-1;
00046   reweightVersion=0;//no reweighting
00047 
00048   useDBForDataQuality=true;
00049   useDBForSpillTiming=true;
00050   useDBForBeamInfo=true;
00051 
00052   cutOnDataQuality=true;
00053   cutOnSpillTiming=true;
00054   cutOnBeamInfo=true;
00055   
00056   calcMajCurv=true;
00057   calcRoID=true;
00058   calcJmID=true;
00059   overrideBeamDataConfigExtraction=false;
00060 }


Member Function Documentation

NuConfig::ClassDef ( NuConfig  ,
10   
)
void NuConfig::PrintConfig (  )  const [virtual]

Definition at line 64 of file NuConfig.cxx.

References anaVersion, beamType, detector, hornCurrent, hornIsReverse, intensity, mcVersion, releaseType, reweightVersion, runPeriod, sBeamType, sHornCurrent, simFlag, sTargetPos, and targetPos.

00065 {
00066   cout << endl << endl
00067        << "************************************************************************"
00068        << endl
00069        << "Contents of NuConfig:" << endl << endl
00070        << "detector: " << detector << endl
00071        << "simFlag: " << simFlag << endl
00072        << "runPeriod: " << runPeriod << endl
00073        << "hornIsReverse: " << hornIsReverse << endl
00074        << "intensity: " << intensity << endl
00075        << "beamType: " << beamType << endl
00076        << "sBeamType: " << sBeamType << endl
00077        << "hornCurrent: " << hornCurrent << endl
00078        << "sHornCurrent: " << sHornCurrent << endl
00079        << "targetPos: " << targetPos << endl
00080        << "sTargetPos: " << sTargetPos << endl
00081        << "relseaseType: " << releaseType << endl
00082        << "mcVersion: " << mcVersion << endl
00083        << "anaVersion: " << anaVersion << endl
00084        << "reweightVersion: " << reweightVersion << endl
00085        << "************************************************************************"
00086        << endl << endl;
00087 }


Member Data Documentation

Definition at line 72 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), and NuConfig().

Definition at line 70 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), and NuConfig().

Definition at line 71 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), and NuConfig().

Definition at line 68 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), NuDSTAna::GetNuConfig(), and NuConfig().

Definition at line 66 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), NuDSTAna::GetNuConfig(), and NuConfig().

Definition at line 67 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), NuDSTAna::GetNuConfig(), and NuConfig().

Definition at line 57 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), and NuConfig().

Definition at line 73 of file NuConfig.h.

Referenced by NuAnalysis::ExtractConfig(), NuAnalysis::MakeFullDST(), and NuConfig().

std::string NuConfig::sBeamType

Definition at line 56 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), and NuConfig().

Definition at line 31 of file NuConfig.h.

Referenced by NuAnalysis::ExtractConfig(), and NuConfig().

std::string NuConfig::sTargetPos

Definition at line 36 of file NuConfig.h.

Referenced by NuAnalysis::ExtractConfig(), and NuConfig().

Definition at line 35 of file NuConfig.h.

Referenced by NuAnalysis::ExtractConfig(), and NuConfig().

Definition at line 34 of file NuConfig.h.

Referenced by NuAnalysis::ExtractConfig(), and NuConfig().

Definition at line 64 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), NuDSTAna::GetNuConfig(), and NuConfig().

Definition at line 62 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), NuDSTAna::GetNuConfig(), and NuConfig().

Definition at line 63 of file NuConfig.h.

Referenced by NuAnalysis::CopyConfig(), NuDSTAna::GetNuConfig(), and NuConfig().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1