Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

NuXMLConfig Class Reference

#include <NuXMLConfig.h>

List of all members.

Public Member Functions

 NuXMLConfig ()
 NuXMLConfig (TString input_xml)
NuXMLConfigGetNominal () const
void Reset ()
void Load (TString input_xml)
virtual std::string PrintAll (std::ostream &os) const
void SetCPT ()
TString Name () const
TString Title () const
Float_t Shift () const
Int_t AnaVersion () const
TString AnaVersionString () const
Int_t RunPeriod () const
Int_t OscillationModel () const
Float_t DM2Nu () const
Float_t SN2Nu () const
Float_t DM2Bar () const
Float_t SN2Bar () const
Float_t TransitionProb () const
Float_t DM2NuLow () const
Float_t DM2NuHigh () const
Float_t DM2NuGranularity () const
Float_t SN2NuLow () const
Float_t SN2NuHigh () const
Float_t SN2NuGranularity () const
Float_t DM2BarLow () const
Float_t DM2BarHigh () const
Float_t DM2BarGranularity () const
Float_t SN2BarLow () const
Float_t SN2BarHigh () const
Float_t SN2BarGranularity () const
Float_t TransitionProbLow () const
Float_t TransitionProbHigh () const
Float_t TransitionProbGranularity () const
Float_t MinEnBin () const
Float_t MaxEnBin () const
Int_t NEnBins () const
Int_t BinningScheme () const
Double_t ScaledFDPoTs () const
Double_t OverriddenFDPoTs () const
TString FullName () const
TString FullTitle () const
Float_t TrackLength () const
Float_t RelativeAngle () const
Float_t Trkpro () const
Float_t MajorityCurvature () const
Float_t Sigqp () const
Float_t RoID () const
Float_t JmID () const
Float_t NtID () const
Float_t DpID () const
Float_t PoKIN () const
Float_t Zbeg () const
Float_t Zend () const
Float_t Xleft () const
Float_t Xright () const
Float_t Ybottom () const
Float_t Ytop () const
TString GetUnknownKey (TString keyname, TString defaultstring="")
 Returns the key value of a node that wasn't known. Returns defaultstr if it doesn't exist.
void SetAnaVersionString (TString anaVersion)
 Sets the analysis version. An unfortunately needed function.

Protected Member Functions

 ClassDef (NuXMLConfig, 12)

Protected Attributes

TString sSystematicName
TString sSystematicTitle
Float_t shift
Int_t anaVersion
TString anaVersionString
Int_t runPeriod
Int_t oscillationModel
Float_t dm2nu
Float_t sn2nu
Float_t dm2bar
Float_t sn2bar
Float_t transitionProb
Float_t dm2nuLow
Float_t dm2nuHigh
Float_t dm2nuGranularity
Float_t sn2nuLow
Float_t sn2nuHigh
Float_t sn2nuGranularity
Float_t dm2barLow
Float_t dm2barHigh
Float_t dm2barGranularity
Float_t sn2barLow
Float_t sn2barHigh
Float_t sn2barGranularity
Float_t transitionProbLow
Float_t transitionProbHigh
Float_t transitionProbGranularity
Float_t tracklength
Float_t relativeangle
Float_t majoritycurvature
Float_t trkpro
Float_t sigqp
Float_t roid
Float_t jmid
Float_t ntid
Float_t dpid
Float_t pokin
Float_t zbeg
Float_t zend
Float_t xleft
Float_t xright
Float_t ybottom
Float_t ytop
Float_t minEnBin
Float_t maxEnBin
Int_t nEnBins
Int_t binningScheme
Double_t scaledFDPoTs
Double_t overriddenFDPoTs
std::map< TString, TString > fUnknownKeys
 Any unknown (valid) nodes get read out her.


Detailed Description

NuXMLConfig Class Contains configuration about the systematics studies performed. This object is initialized from an xml file describing the systematic. This object is then stored in the files as they pass through the extrapolation and is read back in by the fitter.

Contact: Alex Himmel ahimmel@hep.caltech.edu

Definition at line 20 of file NuXMLConfig.h.


Constructor & Destructor Documentation

NuXMLConfig::NuXMLConfig  ) 
 

Default constructor

Definition at line 23 of file NuXMLConfig.cxx.

References Reset().

Referenced by GetNominal().

00024 {
00025   this->Reset();
00026 }

NuXMLConfig::NuXMLConfig TString  input_xml  ) 
 

Create object from input xml file

Definition at line 32 of file NuXMLConfig.cxx.

References Load(), and Reset().

00033 {
00034   // Set things to default values in case they aren't set in the XML
00035   this->Reset();
00036   this->Load(input_xml);
00037 }


Member Function Documentation

Int_t NuXMLConfig::AnaVersion void   )  const [inline]
 

Definition at line 44 of file NuXMLConfig.h.

Referenced by NuDSTAna::FluxComponents(), NuDSTAna::MakeFCTree(), NuDSTAna::MMRereco(), and NuDSTAna::MMTransition().

00044 {return anaVersion;};

TString NuXMLConfig::AnaVersionString  )  const [inline]
 

Definition at line 45 of file NuXMLConfig.h.

Referenced by NuDSTAna::FluxComponents(), and NuDSTAna::MMRereco().

00045 {return anaVersionString;};

Int_t NuXMLConfig::BinningScheme  )  const [inline]
 

Definition at line 80 of file NuXMLConfig.h.

Referenced by NuDSTAna::FluxComponents(), NuDSTAna::MMRereco(), NuDSTAna::MMTransition(), NuFluxHelper::NuFluxHelper(), NuTransition::NuTransition(), NuMatrixFitter::WriteHistosForFitter(), and NuMatrixFitter::WriteMultiRunHistosForFitter().

00080 {return binningScheme;}

NuXMLConfig::ClassDef NuXMLConfig  ,
12 
[protected]
 

Float_t NuXMLConfig::DM2Bar  )  const [inline]
 

Definition at line 51 of file NuXMLConfig.h.

Referenced by NuTransition::NuTransition(), NuDSTAna::Oscillate(), NuTransition::OscillationWeight(), NuMatrixInput::PredictFDSpectrumNuMu(), NuMatrixInput::PredictFDSpectrumNuMuBar(), NuTransition::Reweight(), and NuTransitionFitterMinuit::SetupPars().

00051 {return dm2bar;};

Float_t NuXMLConfig::DM2BarGranularity  )  const [inline]
 

Definition at line 65 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00065 {return dm2barGranularity;};

Float_t NuXMLConfig::DM2BarHigh  )  const [inline]
 

Definition at line 64 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00064 {return dm2barHigh;};

Float_t NuXMLConfig::DM2BarLow  )  const [inline]
 

Definition at line 63 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00063 {return dm2barLow;};

Float_t NuXMLConfig::DM2Nu  )  const [inline]
 

Definition at line 49 of file NuXMLConfig.h.

Referenced by NuTransition::NuTransition(), NuDSTAna::Oscillate(), NuTransition::OscillationWeight(), NuMatrixInput::PredictFDSpectrumNuMu(), NuMatrixInput::PredictFDSpectrumNuMuBar(), NuTransition::Reweight(), NuTransitionFitterMinuit::SetupPars(), and NuMatrixFitter::TransitionFit().

00049 {return dm2nu;};

Float_t NuXMLConfig::DM2NuGranularity  )  const [inline]
 

Definition at line 57 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00057 {return dm2nuGranularity;};

Float_t NuXMLConfig::DM2NuHigh  )  const [inline]
 

Definition at line 56 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00056 {return dm2nuHigh;};

Float_t NuXMLConfig::DM2NuLow  )  const [inline]
 

Definition at line 55 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00055 {return dm2nuLow;};

Float_t NuXMLConfig::DpID  )  const [inline]
 

Definition at line 97 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00097 {return dpid;};

TString NuXMLConfig::FullName  )  const
 

Return a name including the value of the shift

Definition at line 398 of file NuXMLConfig.cxx.

References Name(), and shift.

00399 {
00400   TString temp = Name();
00401   Int_t shiftInt = TMath::Nint(shift*100.);
00402   temp+=shiftInt;
00403   return temp;
00404 }

TString NuXMLConfig::FullTitle  )  const
 

Return a title including the value of the shift

Definition at line 381 of file NuXMLConfig.cxx.

References shift, and Title().

Referenced by NuMatrixFitter::CCFitChargeCut(), NuMatrixFitterMinuit::CPTFit(), NuMatrixFitter::CPTFit(), NuTransition::DoSystematicShifts(), NuDSTAna::DoSystematicShifts(), NuMatrixFitter::NoChargeCutFit(), NuMatrixFitter::PRLCCFit(), and NuMatrixFitter::TransitionFit().

00382 {
00383         TString temp = Title();
00384         Int_t percent = TMath::Nint(TMath::Abs( (1.-shift)*100 ));
00385         temp += " ";
00386         if (shift > 1) 
00387                 temp += "+";
00388         else if (shift < 1)
00389                 temp += "-";
00390         temp += percent;
00391         temp += "%";
00392         return temp;
00393 }

NuXMLConfig * NuXMLConfig::GetNominal  )  const
 

Return a NuXMLConfig object that is identical to the current one but with no systematic shift.

Definition at line 108 of file NuXMLConfig.cxx.

References NuXMLConfig(), shift, sSystematicName, and sSystematicTitle.

00109 {
00110   NuXMLConfig *ret = new NuXMLConfig(*this);
00111   TString oldTitle = ret->sSystematicTitle;
00112   ret->sSystematicName="Nominal";
00113   ret->sSystematicTitle="Nominal was ";
00114   ret->sSystematicName += oldTitle;
00115   ret->shift=1;//set the shift to 1
00116   return ret;
00117 }

TString NuXMLConfig::GetUnknownKey TString  keyname,
TString  defaultstring = ""
 

Returns the key value of a node that wasn't known. Returns defaultstr if it doesn't exist.

Definition at line 458 of file NuXMLConfig.cxx.

References fUnknownKeys.

Referenced by NuDSTAna::MMRereco().

00459 {
00460   TString out = fUnknownKeys[keyname];
00461 
00462   if (out.IsNull()) return defaultstr;
00463   
00464   return out;
00465 }

Float_t NuXMLConfig::JmID  )  const [inline]
 

Definition at line 95 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00095 {return jmid;};

void NuXMLConfig::Load TString  input_xml  ) 
 

Load a new xml file, set data members

Definition at line 195 of file NuXMLConfig.cxx.

References anaVersion, anaVersionString, binningScheme, dm2bar, dm2barGranularity, dm2barHigh, dm2barLow, dm2nu, dm2nuGranularity, dm2nuHigh, dm2nuLow, dpid, fUnknownKeys, jmid, majoritycurvature, maxEnBin, minEnBin, nEnBins, ntid, oscillationModel, overriddenFDPoTs, pokin, relativeangle, roid, runPeriod, scaledFDPoTs, shift, sigqp, sn2bar, sn2barGranularity, sn2barHigh, sn2barLow, sn2nu, sn2nuGranularity, sn2nuHigh, sn2nuLow, sSystematicName, sSystematicTitle, tracklength, transitionProb, transitionProbGranularity, transitionProbHigh, transitionProbLow, trkpro, xleft, xright, ybottom, ytop, zbeg, and zend.

Referenced by NuXMLConfig().

00196 {
00197   TDOMParser *p = new TDOMParser();
00198   p->SetValidate(false);
00199   int err = p->ParseFile(input_xml);
00200   if (err != 0) {
00201     cerr << "Failed to parse " << input_xml << endl
00202          << "with TDOMParser error code " << err << "." << endl
00203          << "Bailing." << endl;
00204     exit(97);
00205   }
00206   TXMLNode *parent = p->GetXMLDocument()->GetRootNode();
00207   if (!parent->HasChildren()) {
00208     cerr << "Parent has no children" << endl;
00209     exit(98);
00210   }
00211   TString key, val;
00212   for (TXMLNode* node = parent->GetChildren();
00213        node->HasNextNode();
00214        node = node->GetNextNode()) {
00215     key = node->GetNodeName();
00216     val = node->GetText();
00217     if (key==TString("name")) {
00218       sSystematicName = val;
00219     }
00220     else if (key==TString("title")) {
00221       sSystematicTitle = val;
00222     }
00223     else if (key==TString("shift")) {
00224       shift = val.Atof();
00225     }
00226     else if (key==TString("anaVersion")){
00227       anaVersion = val.Atoi();
00228       anaVersionString = val;
00229     }
00230     else if (key==TString("runPeriod")){
00231       runPeriod = val.Atoi();
00232     }
00233     else if (key==TString("oscillationModel")){
00234       oscillationModel = val.Atoi();
00235     }
00236     else if (key==TString("dm2nu")){
00237       dm2nu = val.Atof();
00238     }
00239     else if (key==TString("sn2nu")){
00240       sn2nu = val.Atof();
00241     }
00242     else if (key==TString("dm2bar")){
00243       dm2bar = val.Atof();
00244     }
00245     else if (key==TString("sn2bar")){
00246       sn2bar = val.Atof();
00247     }
00248     else if (key==TString("transitionProb")){
00249       transitionProb = val.Atof();
00250     }
00251     else if (key==TString("dm2nuLow")){
00252       dm2nuLow = val.Atof();
00253     }
00254     else if (key==TString("dm2nuHigh")){
00255       dm2nuHigh = val.Atof();
00256     }
00257     else if (key==TString("dm2nuGranularity")){
00258       dm2nuGranularity = val.Atof();
00259     }
00260     else if (key==TString("sn2nuLow")){
00261       sn2nuLow = val.Atof();
00262     }
00263     else if (key==TString("sn2nuHigh")){
00264       sn2nuHigh = val.Atof();
00265     }
00266     else if (key==TString("sn2nuGranularity")){
00267       sn2nuGranularity = val.Atof();
00268     }
00269     else if (key==TString("dm2barLow")){
00270       dm2barLow = val.Atof();
00271     }
00272     else if (key==TString("dm2barHigh")){
00273       dm2barHigh = val.Atof();
00274     }
00275     else if (key==TString("dm2barGranularity")){
00276       dm2barGranularity = val.Atof();
00277     }
00278     else if (key==TString("sn2barLow")){
00279       sn2barLow = val.Atof();
00280     }
00281     else if (key==TString("sn2barHigh")){
00282       sn2barHigh = val.Atof();
00283     }
00284     else if (key==TString("sn2barGranularity")){
00285       sn2barGranularity = val.Atof();
00286     }
00287     else if (key==TString("transitionProbLow")){
00288       transitionProbLow = val.Atof();
00289     }
00290     else if (key==TString("transitionProbHigh")){
00291       transitionProbHigh = val.Atof();
00292     }
00293     else if (key==TString("transitionProbGranularity")){
00294       transitionProbGranularity = val.Atof();
00295     }
00296     else if (key==TString("minEnBin")){
00297       minEnBin = val.Atof();
00298     }
00299     else if (key==TString("maxEnBin")){
00300       maxEnBin = val.Atof();
00301     }
00302     else if (key==TString("nEnBins")){
00303       nEnBins = val.Atoi();
00304     }
00305     else if (key==TString("binningScheme")){
00306       binningScheme = val.Atoi();
00307     }
00308     else if (key==TString("scaledFDPoTs")){
00309       scaledFDPoTs = val.Atof();
00310     }
00311     else if (key==TString("overriddenFDPoTs")){
00312       overriddenFDPoTs = val.Atof();
00313     }
00314     else if (key==TString("tracklength")){
00315         tracklength = val.Atof();
00316     }
00317     else if (key==TString("relativeangle")){
00318         relativeangle = val.Atof();
00319     }
00320     else if (key==TString("majoritycurvature")){
00321         majoritycurvature = val.Atof();
00322     }
00323     else if (key==TString("trkpro")){
00324         trkpro = val.Atof();
00325     }
00326     else if (key==TString("sigqp")){
00327         sigqp = val.Atof();
00328     }
00329     else if (key==TString("roid")){
00330         roid = val.Atof();
00331     }
00332     else if (key==TString("jmid")){
00333       jmid = val.Atof();
00334     }
00335     else if (key==TString("ntid")){
00336       ntid = val.Atof();
00337     }
00338 
00339     else if (key==TString("dpid")){
00340         dpid = val.Atof();
00341     }
00342     else if (key==TString("pokin")){
00343         pokin = val.Atof();
00344     }
00345       //fid cuts
00346     else if (key==TString("zbeg")){
00347         zbeg = val.Atof();
00348     }
00349     else if (key==TString("zend")){
00350         zend = val.Atof();
00351     }
00352     else if (key==TString("xleft")){
00353         xleft = val.Atof();
00354     }
00355     else if (key==TString("xright")){
00356         xright = val.Atof();
00357     }
00358     else if (key==TString("ybottom")){
00359         ybottom = val.Atof();
00360     }
00361     else if (key==TString("ytop")){
00362         ytop = val.Atof();
00363     }
00364     else {
00365         // If key="text" and val="" then it's extremely likely that
00366         // this is just a newline. Ignore this so that we get useful
00367         // errors
00368         if (!(key == "text" && val == "")) {
00369             cout<<"Ahhhh, XML key not recognised="<<key<<", val="<<val<<". Storing as an unknown." << endl;
00370             // Store this key in the unknown map!
00371             fUnknownKeys[key] = val;
00372         }
00373     }
00374   }
00375 }

Float_t NuXMLConfig::MajorityCurvature  )  const [inline]
 

Definition at line 92 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00092 {return majoritycurvature;};

Float_t NuXMLConfig::MaxEnBin  )  const [inline]
 

Definition at line 78 of file NuXMLConfig.h.

00078 {return maxEnBin;};

Float_t NuXMLConfig::MinEnBin  )  const [inline]
 

Definition at line 77 of file NuXMLConfig.h.

00077 {return minEnBin;};

TString NuXMLConfig::Name void   )  const [inline]
 

Definition at line 41 of file NuXMLConfig.h.

Referenced by NuDSTAna::DoSystematicShifts(), NuSystematic::FluxSyst(), FullName(), NuFluxHelper::NuFluxHelper(), NuTransition::NuTransition(), and NuSystematic::ReadXML().

00041 {return sSystematicName;};

Int_t NuXMLConfig::NEnBins  )  const [inline]
 

Definition at line 79 of file NuXMLConfig.h.

00079 {return nEnBins;};

Float_t NuXMLConfig::NtID  )  const [inline]
 

Definition at line 96 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00096 {return ntid;};

Int_t NuXMLConfig::OscillationModel  )  const [inline]
 

Definition at line 48 of file NuXMLConfig.h.

Referenced by NuDSTAna::Oscillate().

00048 {return oscillationModel;}

Double_t NuXMLConfig::OverriddenFDPoTs  )  const [inline]
 

Definition at line 83 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::WriteHistosForFitter().

00083 { return overriddenFDPoTs;};

Float_t NuXMLConfig::PoKIN  )  const [inline]
 

Definition at line 98 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00098 {return pokin;};

std::string NuXMLConfig::PrintAll std::ostream &  os  )  const [virtual]
 

Print the values of the data members

Definition at line 409 of file NuXMLConfig.cxx.

References anaVersion, binningScheme, dm2bar, dm2nu, fUnknownKeys, maxEnBin, minEnBin, nEnBins, oscillationModel, runPeriod, shift, sn2bar, sn2nu, sSystematicName, sSystematicTitle, and transitionProb.

00410 {
00411   os<<" *** NuXMLConfig::Print ***"
00412     <<endl
00413     <<"sSystematicName="<<sSystematicName
00414     <<", sSystematicTitle="<<sSystematicTitle
00415     <<", shift="<<shift
00416     <<endl
00417     <<"anaVersion="<<anaVersion 
00418     <<", runPeriod="<<runPeriod 
00419     <<endl
00420     <<"oscillationModel="<<oscillationModel
00421     <<endl
00422     <<"dm2nu="<<dm2nu 
00423     <<", sn2nu="<<sn2nu 
00424     <<endl
00425     <<"dm2bar="<<dm2bar 
00426     <<", sn2bar="<<sn2bar 
00427     <<endl
00428     <<"transitionProb="<<transitionProb
00429     <<endl
00430     <<"minEnBin="<<minEnBin
00431     <<", maxEnBin="<<maxEnBin
00432     <<", nEnBins="<<nEnBins
00433     <<endl
00434     <<"binningScheme = " << binningScheme
00435     << endl;
00436   // Now, print the unknown keys
00437   os << "Unknown Keys:\n";
00438   for (std::map<TString,TString>::const_iterator iter = fUnknownKeys.begin();
00439           iter != fUnknownKeys.end(); ++iter)
00440   {
00441     os << "  " << iter->first << ": " << iter->second << "\n";
00442   }
00443   os << endl;
00444   return "";//dummy
00445 }

Float_t NuXMLConfig::RelativeAngle  )  const [inline]
 

Definition at line 90 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00090 {return relativeangle;};

void NuXMLConfig::Reset  ) 
 

Reset all data members

Definition at line 123 of file NuXMLConfig.cxx.

References anaVersion, anaVersionString, binningScheme, dm2bar, dm2barGranularity, dm2barHigh, dm2barLow, dm2nu, dm2nuGranularity, dm2nuHigh, dm2nuLow, dpid, jmid, majoritycurvature, maxEnBin, minEnBin, nEnBins, ntid, oscillationModel, overriddenFDPoTs, pokin, relativeangle, roid, runPeriod, scaledFDPoTs, shift, sigqp, sn2bar, sn2barGranularity, sn2barHigh, sn2barLow, sn2nu, sn2nuGranularity, sn2nuHigh, sn2nuLow, sSystematicName, sSystematicTitle, tracklength, transitionProb, transitionProbGranularity, transitionProbHigh, transitionProbLow, trkpro, xleft, xright, ybottom, ytop, zbeg, and zend.

Referenced by NuXMLConfig(), and SetCPT().

00124 {
00125   sSystematicName = ""; // Unique identifier for systematic
00126   sSystematicTitle = "";        // Long name for title (spaces allowed)
00127   shift = 1;            // How far as the systematic been shifted? ex. 1.05
00128   anaVersion = 0;          // NuCuts::kUnknown
00129   anaVersionString = "";
00130   anaVersionString += anaVersion;
00131   
00132   runPeriod = -1;         // Don't do SKZP reweighting
00133   oscillationModel = 0;   // Oscillations
00134   dm2nu = -1.0;
00135   sn2nu = -1.0;
00136   dm2bar = -1.0;
00137   sn2bar = -1.0;
00138   transitionProb = -1.0;
00139 
00140   dm2nuLow = 0.001;
00141   dm2nuHigh = 0.010;
00142   dm2nuGranularity = 0.0005;
00143   
00144   sn2nuLow = 0;
00145   sn2nuHigh = 1;
00146   sn2nuGranularity = 0.05;
00147   
00148   dm2barLow = 0.001;
00149   dm2barHigh = 0.010;
00150   dm2barGranularity = 0.0005;
00151 
00152   sn2barLow = 0;
00153   sn2barHigh = 1;
00154   sn2barGranularity = 0.05;
00155 
00156   transitionProbLow = 0;
00157   transitionProbHigh = 1;
00158   transitionProbGranularity = 0.05;
00159   
00160   minEnBin=0;//use default 0.5 GeV bins
00161   maxEnBin=200;
00162   nEnBins=400;
00163   binningScheme=0;//NuBinningScheme::kUnknown = 0.5 GeV bins up to 200 GeV
00164 
00165   // Values <0 indicate that these variables are unused
00166   scaledFDPoTs=-1;
00167   overriddenFDPoTs=-1;
00168   
00169   //Selector cuts
00170   tracklength = -10e6;
00171   relativeangle = -10e6;
00172   trkpro = -10e6;
00173   majoritycurvature = -10e6;
00174   sigqp = -10e6;
00175   roid = -10e6;
00176   jmid = -10e6;
00177   ntid = -10e6;
00178   dpid = -10e6;
00179   pokin = -10e6;
00180   sigqp = -10e6;
00181   
00182     //fid cuts
00183   zbeg = -1;
00184   zend = 1000;
00185   xleft = -10;
00186   xright = 10;
00187   ybottom = -10;
00188   ytop = 10;
00189 }

Float_t NuXMLConfig::RoID  )  const [inline]
 

Definition at line 94 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00094 {return roid;};

Int_t NuXMLConfig::RunPeriod  )  const [inline]
 

Definition at line 46 of file NuXMLConfig.h.

Referenced by NuDSTAna::FluxComponents(), NuDSTAna::MakeFCTree(), NuDSTAna::MMRereco(), NuDSTAna::MMTransition(), and NuFluxHelper::NuFluxHelper().

00046 {return runPeriod;};

Double_t NuXMLConfig::ScaledFDPoTs  )  const [inline]
 

Definition at line 82 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::WriteHistosForFitter().

00082 { return scaledFDPoTs;};

void NuXMLConfig::SetAnaVersionString TString  anaVersion  )  [inline]
 

Sets the analysis version. An unfortunately needed function.

Definition at line 112 of file NuXMLConfig.h.

References anaVersionString.

00112 { anaVersionString = anaVersion; }

void NuXMLConfig::SetCPT  ) 
 

Definition at line 447 of file NuXMLConfig.cxx.

References dm2bar, dm2nu, Reset(), sn2bar, sn2nu, sSystematicName, and sSystematicTitle.

Referenced by NuDSTAna::MakeMicroDstFakeData().

00448 {
00449   Reset();
00450   sSystematicName = "CPT";
00451   sSystematicTitle = "CPT";
00452   dm2nu = 2.43e-3;
00453   sn2nu = 1.0;
00454   dm2bar = 2.43e-3;
00455   sn2bar = 1.0;
00456 }

Float_t NuXMLConfig::Shift  )  const [inline]
 

Definition at line 43 of file NuXMLConfig.h.

Referenced by NuFluxHelper::NuFluxHelper(), and NuSystematic::ReadXML().

00043 {return shift;};

Float_t NuXMLConfig::Sigqp  )  const [inline]
 

Definition at line 93 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00093 {return sigqp;};

Float_t NuXMLConfig::SN2Bar  )  const [inline]
 

Definition at line 52 of file NuXMLConfig.h.

Referenced by NuTransition::NuTransition(), NuDSTAna::Oscillate(), NuTransition::OscillationWeight(), NuMatrixInput::PredictFDSpectrumNuMu(), NuMatrixInput::PredictFDSpectrumNuMuBar(), NuTransition::Reweight(), and NuTransitionFitterMinuit::SetupPars().

00052 {return sn2bar;};

Float_t NuXMLConfig::SN2BarGranularity  )  const [inline]
 

Definition at line 69 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00069 {return sn2barGranularity;};

Float_t NuXMLConfig::SN2BarHigh  )  const [inline]
 

Definition at line 68 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00068 {return sn2barHigh;};

Float_t NuXMLConfig::SN2BarLow  )  const [inline]
 

Definition at line 67 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00067 {return sn2barLow;};

Float_t NuXMLConfig::SN2Nu  )  const [inline]
 

Definition at line 50 of file NuXMLConfig.h.

Referenced by NuTransition::NuTransition(), NuDSTAna::Oscillate(), NuTransition::OscillationWeight(), NuMatrixInput::PredictFDSpectrumNuMu(), NuMatrixInput::PredictFDSpectrumNuMuBar(), NuTransition::Reweight(), NuTransitionFitterMinuit::SetupPars(), and NuMatrixFitter::TransitionFit().

00050 {return sn2nu;};

Float_t NuXMLConfig::SN2NuGranularity  )  const [inline]
 

Definition at line 61 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00061 {return sn2nuGranularity;};

Float_t NuXMLConfig::SN2NuHigh  )  const [inline]
 

Definition at line 60 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00060 {return sn2nuHigh;};

Float_t NuXMLConfig::SN2NuLow  )  const [inline]
 

Definition at line 59 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00059 {return sn2nuLow;};

TString NuXMLConfig::Title  )  const [inline]
 

Definition at line 42 of file NuXMLConfig.h.

Referenced by FullTitle().

00042 {return sSystematicTitle;};

Float_t NuXMLConfig::TrackLength  )  const [inline]
 

Definition at line 89 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00089 {return tracklength;};

Float_t NuXMLConfig::TransitionProb  )  const [inline]
 

Definition at line 53 of file NuXMLConfig.h.

Referenced by NuDSTAna::MMTransition(), NuTransition::NuTransition(), NuMatrixInput::PredictFDSpectrumNuMu(), NuMatrixInput::PredictFDSpectrumNuMuBar(), and NuTransition::Reweight().

00053 {return transitionProb;};

Float_t NuXMLConfig::TransitionProbGranularity  )  const [inline]
 

Definition at line 74 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00074 {return transitionProbGranularity;};

Float_t NuXMLConfig::TransitionProbHigh  )  const [inline]
 

Definition at line 73 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00073 {return transitionProbHigh;};

Float_t NuXMLConfig::TransitionProbLow  )  const [inline]
 

Definition at line 72 of file NuXMLConfig.h.

Referenced by NuMatrixFitter::FillGridSearchParams().

00072 {return transitionProbLow;};

Float_t NuXMLConfig::Trkpro  )  const [inline]
 

Definition at line 91 of file NuXMLConfig.h.

Referenced by NuCuts::FreeCuts().

00091 {return trkpro;};

Float_t NuXMLConfig::Xleft  )  const [inline]
 

Definition at line 103 of file NuXMLConfig.h.

00103 {return xleft;};

Float_t NuXMLConfig::Xright  )  const [inline]
 

Definition at line 104 of file NuXMLConfig.h.

00104 {return xright;};

Float_t NuXMLConfig::Ybottom  )  const [inline]
 

Definition at line 105 of file NuXMLConfig.h.

00105 {return ybottom;};

Float_t NuXMLConfig::Ytop  )  const [inline]
 

Definition at line 106 of file NuXMLConfig.h.

00106 {return ytop;};

Float_t NuXMLConfig::Zbeg  )  const [inline]
 

Definition at line 101 of file NuXMLConfig.h.

00101 {return zbeg;};

Float_t NuXMLConfig::Zend  )  const [inline]
 

Definition at line 102 of file NuXMLConfig.h.

00102 {return zend;};


Member Data Documentation

Int_t NuXMLConfig::anaVersion [protected]
 

Definition at line 119 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), and Reset().

TString NuXMLConfig::anaVersionString [protected]
 

Definition at line 120 of file NuXMLConfig.h.

Referenced by Load(), Reset(), and SetAnaVersionString().

Int_t NuXMLConfig::binningScheme [protected]
 

Definition at line 173 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), and Reset().

Float_t NuXMLConfig::dm2bar [protected]
 

Definition at line 125 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), Reset(), and SetCPT().

Float_t NuXMLConfig::dm2barGranularity [protected]
 

Definition at line 139 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::dm2barHigh [protected]
 

Definition at line 138 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::dm2barLow [protected]
 

Definition at line 137 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::dm2nu [protected]
 

Definition at line 123 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), Reset(), and SetCPT().

Float_t NuXMLConfig::dm2nuGranularity [protected]
 

Definition at line 131 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::dm2nuHigh [protected]
 

Definition at line 130 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::dm2nuLow [protected]
 

Definition at line 129 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::dpid [protected]
 

Definition at line 158 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

std::map<TString, TString> NuXMLConfig::fUnknownKeys [protected]
 

Any unknown (valid) nodes get read out her.

Definition at line 178 of file NuXMLConfig.h.

Referenced by GetUnknownKey(), Load(), and PrintAll().

Float_t NuXMLConfig::jmid [protected]
 

Definition at line 156 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::majoritycurvature [protected]
 

Definition at line 152 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::maxEnBin [protected]
 

Definition at line 171 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), and Reset().

Float_t NuXMLConfig::minEnBin [protected]
 

Definition at line 170 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), and Reset().

Int_t NuXMLConfig::nEnBins [protected]
 

Definition at line 172 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), and Reset().

Float_t NuXMLConfig::ntid [protected]
 

Definition at line 157 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Int_t NuXMLConfig::oscillationModel [protected]
 

Definition at line 122 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), and Reset().

Double_t NuXMLConfig::overriddenFDPoTs [protected]
 

Definition at line 176 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::pokin [protected]
 

Definition at line 159 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::relativeangle [protected]
 

Definition at line 151 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::roid [protected]
 

Definition at line 155 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Int_t NuXMLConfig::runPeriod [protected]
 

Definition at line 121 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), and Reset().

Double_t NuXMLConfig::scaledFDPoTs [protected]
 

Definition at line 175 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::shift [protected]
 

Definition at line 118 of file NuXMLConfig.h.

Referenced by FullName(), FullTitle(), GetNominal(), Load(), PrintAll(), and Reset().

Float_t NuXMLConfig::sigqp [protected]
 

Definition at line 154 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::sn2bar [protected]
 

Definition at line 126 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), Reset(), and SetCPT().

Float_t NuXMLConfig::sn2barGranularity [protected]
 

Definition at line 143 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::sn2barHigh [protected]
 

Definition at line 142 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::sn2barLow [protected]
 

Definition at line 141 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::sn2nu [protected]
 

Definition at line 124 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), Reset(), and SetCPT().

Float_t NuXMLConfig::sn2nuGranularity [protected]
 

Definition at line 135 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::sn2nuHigh [protected]
 

Definition at line 134 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::sn2nuLow [protected]
 

Definition at line 133 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

TString NuXMLConfig::sSystematicName [protected]
 

Definition at line 116 of file NuXMLConfig.h.

Referenced by GetNominal(), Load(), PrintAll(), Reset(), and SetCPT().

TString NuXMLConfig::sSystematicTitle [protected]
 

Definition at line 117 of file NuXMLConfig.h.

Referenced by GetNominal(), Load(), PrintAll(), Reset(), and SetCPT().

Float_t NuXMLConfig::tracklength [protected]
 

Definition at line 150 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::transitionProb [protected]
 

Definition at line 127 of file NuXMLConfig.h.

Referenced by Load(), PrintAll(), and Reset().

Float_t NuXMLConfig::transitionProbGranularity [protected]
 

Definition at line 147 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::transitionProbHigh [protected]
 

Definition at line 146 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::transitionProbLow [protected]
 

Definition at line 145 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::trkpro [protected]
 

Definition at line 153 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::xleft [protected]
 

Definition at line 164 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::xright [protected]
 

Definition at line 165 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::ybottom [protected]
 

Definition at line 166 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::ytop [protected]
 

Definition at line 167 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::zbeg [protected]
 

Definition at line 162 of file NuXMLConfig.h.

Referenced by Load(), and Reset().

Float_t NuXMLConfig::zend [protected]
 

Definition at line 163 of file NuXMLConfig.h.

Referenced by Load(), and Reset().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:58 2010 for loon by  doxygen 1.3.9.1