Classes | |
| class | NC::SystPars |
| Hold the values of the various systematic shifts, and perform simple conversions. More... | |
| class | NC::CoordinateConverter |
| Convert from CoordNDim to SystPars and OscPars. More... | |
| class | NC::IEventAdder |
| Interface from which event adders should derive. More... | |
| class | NC::EventAdderBase |
| Functionality common to all current event adders. More... | |
| class | NC::FakeDataAdder |
| Every MC event is added to both the MC and "data" spectra. More... | |
| class | NC::SplitFakeDataAdder |
| Each MC event is added to either the MC or "data" spectra. More... | |
| class | NC::RealDataAdder |
| Adds MC chains to the MC spectra and data chains to the data spectra. More... | |
| class | NC::MockDataAdder |
| Handles the kind of mock data that comes from special input files. More... | |
| class | NC::GetChiSqrFromDerived |
| Wrap NCExtrapolation::GetChiSqrForMap so that it can be called by the contour finder. More... | |
| class | NC::FitMaster |
| Takes an NCExtrapolation and controls all the fitting & contours etc. More... | |
| class | NC::ISpectrumInterpolator |
| struct | NC::ISpectrumInterpolator::ShiftInfo |
| class | NC::SpectrumInterpolatorFancy |
| Given a set of reference histograms, interpolate between them. More... | |
| class | NC::SpectrumInterpolatorSimple |
| class | NC::SpectrumInterpolatorSimplest |
Functions | |
| const Registry & | EventAdderDefaultConfig () |
| Returns the default configuration registry for event adder options. | |
| IEventAdder * | EventAdderBuilder (const Registry &r) |
| Inspect r and construct the appropriate IEventAdder subclass. | |
|
|
Inspect r and construct the appropriate IEventAdder subclass. Also calls IEventAdder::Config so caller doesn't need to Definition at line 120 of file NCEventAdder.cxx. References NC::IEventAdder::Config(), Registry::Get(), and MSG. Referenced by NCExtrapolationModule::Run(). 00121 {
00122 NC::IEventAdder* adder = 0;
00123
00124 // These should be bools, but the registry is stupid
00125 int useMCAsData, splitMC, useMockData;
00126
00127 bool ok = true;
00128 ok = ok && r.Get("UseMCAsData", useMCAsData);
00129 ok = ok && r.Get("SplitMC", splitMC);
00130 ok = ok && r.Get("UseMockData", useMockData);
00131 assert(ok);
00132
00133 if(useMockData){
00134 MSG("NCEventAdder", Msg::kInfo)
00135 << "Creating NC::MockDataAdder" << endl;
00136 adder = new NC::MockDataAdder;
00137 }
00138 else{
00139 if(useMCAsData){
00140 if(splitMC){
00141 MSG("NCEventAdder", Msg::kInfo)
00142 << "Creating NC::SplitFakeDataAdder" << endl;
00143 adder = new NC::SplitFakeDataAdder;
00144 }
00145 else{
00146 MSG("NCEventAdder", Msg::kInfo)
00147 << "Creating NC::FakeDataAdder" << endl;
00148 adder = new NC::FakeDataAdder;
00149 } // end if splitMC
00150 }
00151 else{
00152 MSG("NCEventAdder", Msg::kInfo) << "Creating NC::RealDataAdder" << endl;
00153 adder = new NC::RealDataAdder;
00154 } // end if useMCAsData
00155 } // end if useMockData
00156
00157 assert(adder);
00158 adder->Config(r);
00159 return adder;
00160 }
|
|
|
Returns the default configuration registry for event adder options.
Definition at line 96 of file NCEventAdder.cxx. References Registry::LockValues(), Registry::Set(), and Registry::UnLockValues(). 00097 {
00098 static Registry r;
00099
00100 r.UnLockValues();
00101
00102 r.Set("RunLimitNearData", INT_MAX);
00103 r.Set("RunLimitFarData", INT_MAX);
00104 r.Set("RunLimitNearMC", INT_MAX);
00105 r.Set("RunLimitFarMC", INT_MAX);
00106
00107 r.Set("UseMCAsData", false);
00108 r.Set("SplitMC", false);
00109 r.Set("SplitMCSeed", -1);
00110 r.Set("UseMockData", false);
00111 r.Set("MockDataSet", "F21910001");
00112 r.Set("MockDataSubRun", -1);
00113
00114 r.LockValues();
00115 return r;
00116 }
|
1.3.9.1