#include <NCCoordinateConverter.h>
Public Member Functions | |
| SystPars () | |
| bool | operator!= (const SystPars &s) const |
| bool | operator== (const SystPars &s) const |
| double | ShowerScale (Detector::Detector_t det) const |
| Factor by which the shower energy should be scaled. | |
| double | TrackScale () const |
| Factor by which the track energy should be scaled. | |
| double | NormScale () const |
| Factor by which the weight of the event should be scaled due to the normalization systematic. | |
| double | NDCleaningScale (NCType::EEventType, double showerEnergy) const |
| Factor by which the weight of the event should be scaled due to the cleaning systematic. | |
| double | NCBkgScale () const |
| Factor by which the NC background component should be scaled. | |
| double | CCBkgScale () const |
| Factor by which the CC background component should be scaled. | |
| double | PenaltyForShifts () const |
| The fit penalty incurred by all these systematic shifts. | |
Protected Attributes | |
| double | fShifts [NCType::kNumSystematicParameters] |
Friends | |
| class | CoordinateConverter |
Definition at line 24 of file NCCoordinateConverter.h.
|
|
Definition at line 18 of file NCCoordinateConverter.cxx. 00019 {
00020 for(int n = 0; n < kNumSystematicParameters; ++n) fShifts[n] = 0;
00021 }
|
|
|
Factor by which the CC background component should be scaled.
Definition at line 79 of file NCCoordinateConverter.cxx. References fShifts. Referenced by NCExtrapolationFarNear::FillDataMCHistogramsFar(), and NCExtrapolationFarNear::FillDataMCHistogramsNear(). 00080 {
00081 return 1+fShifts[kCCBackground];
00082 }
|
|
|
Factor by which the NC background component should be scaled.
Definition at line 73 of file NCCoordinateConverter.cxx. References fShifts. Referenced by NCExtrapolationFarNear::FillDataMCHistogramsFar(), and NCExtrapolationFarNear::FillDataMCHistogramsNear(). 00074 {
00075 return 1+fShifts[kNCBackground];
00076 }
|
|
||||||||||||
|
Factor by which the weight of the event should be scaled due to the cleaning systematic. Near detector only Definition at line 60 of file NCCoordinateConverter.cxx. References fShifts. Referenced by NCExtrapolationFarNear::FillDataMCHistogramsNear(). 00062 {
00063 if(nccc == NCType::kCC) return 1;
00064
00065 if(showerEnergy <= 0.5) return 1 + 0.152*fShifts[kNCNearClean];
00066 if(showerEnergy <= 1.0) return 1 + 0.029*fShifts[kNCNearClean];
00067 if(showerEnergy <= 1.5) return 1 + 0.004*fShifts[kNCNearClean];
00068
00069 return 1;
00070 }
|
|
|
Factor by which the weight of the event should be scaled due to the normalization systematic.
Definition at line 54 of file NCCoordinateConverter.cxx. References fShifts. Referenced by NCExtrapolationFarNear::FillDataMCHistogramsFar(), NCBeam::FillResultHistograms(), and NCExtrapolationNone::FindSpectraForPars(). 00055 {
00056 return 1+fShifts[kNormalization];
00057 }
|
|
|
Definition at line 24 of file NCCoordinateConverter.cxx. 00025 {
00026 for(int n = 0; n < kNumSystematicParameters; ++n)
00027 if(s.fShifts[n] != fShifts[n]) return true;
00028
00029 return false;
00030 }
|
|
|
Definition at line 33 of file NCCoordinateConverter.cxx. 00034 {
00035 return !(*this != s);
00036 }
|
|
|
The fit penalty incurred by all these systematic shifts.
Definition at line 85 of file NCCoordinateConverter.cxx. References fShifts. Referenced by NCExtrapolation::FindChiSqrForPars(). 00086 {
00087 double pen = 0;
00088
00089 for(int n = 0; n < kNumSystematicParameters; ++n){
00090 const double shift = fShifts[n];
00091 if(shift) pen += shift/NCType::kParams[n].sigma;
00092 }
00093
00094 return pen;
00095 }
|
|
|
Factor by which the shower energy should be scaled.
Definition at line 39 of file NCCoordinateConverter.cxx. Referenced by NCExtrapolationFarNear::FillDataMCHistogramsFar(), NCExtrapolationFarNear::FillDataMCHistogramsNear(), and NCBeam::FillResultHistograms(). 00040 {
00041 if(det == Detector::kNear) return 1+fShifts[kAbsoluteHadronicCalibration];
00042
00043 return (1+fShifts[kRelativeHadronicCalibration])*
00044 (1+fShifts[kAbsoluteHadronicCalibration]);
00045 }
|
|
|
Factor by which the track energy should be scaled.
Definition at line 48 of file NCCoordinateConverter.cxx. References fShifts. Referenced by NCExtrapolationFarNear::FillDataMCHistogramsFar(), NCExtrapolationFarNear::FillDataMCHistogramsNear(), and NCBeam::FillResultHistograms(). 00049 {
00050 return 1+fShifts[kTrackEnergy];
00051 }
|
|
|
Definition at line 26 of file NCCoordinateConverter.h. |
|
|
Definition at line 63 of file NCCoordinateConverter.h. Referenced by CCBkgScale(), NCBkgScale(), NDCleaningScale(), NormScale(), operator!=(), PenaltyForShifts(), ShowerScale(), TrackScale(), and NC::CoordinateConverter::VectorFromSystPars(). |
1.3.9.1