Warning in <TClassTable::Add>: class timespec already in TClassTable
Loading Uber
OBJ: TStyle	tmpStyle	Temp Style : 0 at: 0x853b1d8

Processing validateCalib.C...

Static Variables to control FileListSpecial:
FLS:fOverride=1
FLS:fOverridePrint=1
FLS:fOverrideDataFile=MeuPlots9062.root
FLS:fOverrideMCFile=MeuPlots13011001_2.root
FLS:fOverridePrintFormat=gif
FLS:fOverridePrintExtraName=Spill
FLS:fOverrideDataName=Cedar Data
FLS:fOverrideMCName=Cedar Daikon
Constructing PlotFunctions...

SRT_PRIVATE_CONTEXT=/afs/fnal.gov/files/data/minos/d85/tjyang/test
SRT_PUBLIC_CONTEXT=/afs/fnal.gov/files/code/e875/general/minossoft/releases/development
Macros to be run are:
  mXY.C
  mPlanes.C
  mStrips.C
  m1DXY.C
  mCosThZ.C
  mMeuDistributions.C
  mResponseDrift.C
  mResultsTable.C
Macros directory to use is: /afs/fnal.gov/files/data/minos/d85/tjyang/test/MeuCal/macros/nearValidate/


*** Running next macro... ***
.x /afs/fnal.gov/files/data/minos/d85/tjyang/test/MeuCal/macros/nearValidate/mXY.C(1)
Constructing PlotFunctions...
Constructing FileListSpecial...

fOverride=1
fOverridePrint=1
fOverrideDataFile=MeuPlots9062.root
fOverrideMCFile=MeuPlots13011001_2.root
fPrintFormat=gif
fPrintExtraName=Spill
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


 *** FileListSpecial::AddMeuDataFiles function has been overriden ***
Not adding MeuPlots9062.root
Instead the data file used is: MeuPlots9062.root

Adding files...
Using fullFileName=MeuPlots9062.root
Found Detector=1, SimFlag=1
This macro has to be run with loon rather than plain root!!!
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSimFlag, Entries= 43395, Total sum= 43395
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSimFlag, Entries= 43395, Total sum= 43395
meu=583.781, mean=597.553, entries=43392
Found hSigMapWinCor: meu=582.797
Using scaleFactor=0.00167349
min=0.748976, max=1.25102
Drawing MC...

 *** FileListSpecial::AddMeuMCFiles function has been overriden ***
Not adding MeuPlots13011001_2.root
Instead the MC file used is: MeuPlots13011001_2.root

Adding files...
Using fullFileName=MeuPlots13011001_2.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSimFlag, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSigMap, Entries= 43392, Total sum= 43290
TH1.Print Name  = hSigMapWinCor, Entries= 43392, Total sum= 43290
TH1.Print Name  = hYvsX200, Entries= 584747, Total sum= 1
TH1.Print Name  = pYvsXU, Entries= 292421, Total sum= 295.012
TH1.Print Name  = pYvsXU, Entries= 292421, Total sum= 295.012
TH1.Print Name  = pYvsXV, Entries= 292326, Total sum= 301.266
TH1.Print Name  = pYvsXV, Entries= 292326, Total sum= 301.266
TH1.Print Name  = pAdcYvsXU, Entries= 292421, Total sum= 310.185
TH1.Print Name  = pStsYvsXU, Entries= 292421, Total sum= 304.01
TH1.Print Name  = pAdcYvsXV, Entries= 292326, Total sum= 309.017
TH1.Print Name  = pStsYvsXV, Entries= 292326, Total sum= 309.926
TH1.Print Name  = pPeYvsXV, Entries= 292326, Total sum= 1631.63
TH1.Print Name  = pAdcYvsXU, Entries= 292421, Total sum= 310.185
TH1.Print Name  = pYvsXU, Entries= 292421, Total sum= 295.012
TH1.Print Name  = pAdcYvsXV, Entries= 292326, Total sum= 309.017
TH1.Print Name  = pYvsXV, Entries= 292326, Total sum= 301.266
TH1.Print Name  = pAdcYvsXPU, Entries= 234199, Total sum= 183380
TH1.Print Name  = pStsYvsXPU, Entries= 234199, Total sum= 176886
TH1.Print Name  = pYvsXPU, Entries= 234199, Total sum= 174115
TH1.Print Name  = pAdcYvsXPV, Entries= 233657, Total sum= 184344
TH1.Print Name  = pStsYvsXPV, Entries= 233657, Total sum= 180481
TH1.Print Name  = pYvsXPV, Entries= 233657, Total sum= 177750
TH1.Print Name  = pAdcYvsXFU, Entries= 58222, Total sum= 173395
TH1.Print Name  = pStsYvsXFU, Entries= 58222, Total sum= 179401
TH1.Print Name  = pYvsXFU, Entries= 58222, Total sum= 167768
TH1.Print Name  = pAdcYvsXFV, Entries= 58669, Total sum= 162889
TH1.Print Name  = pStsYvsXFV, Entries= 58669, Total sum= 176372
TH1.Print Name  = pYvsXFV, Entries= 58669, Total sum= 165721
TH1.Print Name  = pAdcYvsXU2, Entries= 292421, Total sum= 185352
TH1.Print Name  = pAdcYvsXV2, Entries= 292326, Total sum= 184654
TH1.Print Name  = pStsYvsXU2, Entries= 292421, Total sum= 181662
TH1.Print Name  = pStsYvsXV2, Entries= 292326, Total sum= 185197
TH1.Print Name  = pYvsXU2, Entries= 292421, Total sum= 176285
TH1.Print Name  = pYvsXV2, Entries= 292326, Total sum= 180022
TH1.Print Name  = pYvsXU, Entries= 292421, Total sum= 295.012
TH1.Print Name  = pYvsXV, Entries= 292326, Total sum= 301.266
TH1.Print Name  = pMeuVs40TU, Entries= 292421, Total sum= 6838.87
TH1.Print Name  = pMeuVs40TV, Entries= 292326, Total sum= 6492.79
TH1.Print Name  = pYvsX, Entries= 584747, Total sum= 181141
TH1.Print Name  = pMeuVs40Y, Entries= 584747, Total sum= 8270.21
TH1.Print Name  = pAdcYvsX, Entries= 584747, Total sum= 187910
TH1.Print Name  = pAdcYvsX, Entries= 584747, Total sum= 314.466
TH1.Print Name  = pYvsX, Entries= 584747, Total sum= 303.139
TFile: name=MeuPlots13011001_2.root, title=, option=READ
h1 max=0.000867042
h2 max=0.00138692
Using max2...
Using print argument: cDensityNearSpill.gif
Using print argument: cYvsXNearSpill.gif
Using print argument: cYvsXUVCalZoomNearSpill.gif
After running macro: errorCode=0
Deleting TCanvas=cDensity
Deleting TCanvas=cYvsX
Deleting TCanvas=cYvsXUVRawCal
Deleting TCanvas=cYvsXUVCalZoom
Deleting TCanvas=cYvsXPartial
Deleting TCanvas=cYvsXFull
Deleting TCanvas=cYvsX2UV
Deleting TCanvas=cYvsXZoom
Deleting TCanvas=cYvsXRawCal


*** Running next macro... ***
.x /afs/fnal.gov/files/data/minos/d85/tjyang/test/MeuCal/macros/nearValidate/mPlanes.C(1)
Constructing FileListSpecial...

fOverride=1
fOverridePrint=1
fOverrideDataFile=MeuPlots9062.root
fOverrideMCFile=MeuPlots13011001_2.root
fPrintFormat=gif
fPrintExtraName=Spill
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


 *** FileListSpecial::AddMeuDataFiles function has been overriden ***
Not adding MeuPlots9062.root
Instead the data file used is: MeuPlots9062.root

Adding files...
Using fullFileName=MeuPlots9062.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
meu=583.781, mean=597.553, entries=43392
adc mean=631.101
Found Detector=1, SimFlag=1
Finding object=pMeuVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.894417
new min=0.760254
Finding object=pStsVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.92759
new min=0.788451
Finding object=pPeVsPl4
min=4.0935
Finding object=pAdcVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.787367
new min=0.629894
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	5.885256e+02	4.941118e-01
min=4.70136
Warning in <TH1D::Sumw2>: Sum of squares of weights structure already created
Warning in <TH1D::Sumw2>: Sum of squares of weights structure already created
Drawing MC...

 *** FileListSpecial::AddMeuMCFiles function has been overriden ***
Not adding MeuPlots13011001_2.root
Instead the MC file used is: MeuPlots13011001_2.root

Adding files...
Using fullFileName=MeuPlots13011001_2.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
TH1.Print Name  = hSigMap, Entries= 43392, Total sum= 43290
TH1.Print Name  = hAdc, Entries= 43392, Total sum= 43288
TH1.Print Name  = hDetector, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSimFlag, Entries= 43395, Total sum= 43395
TH1.Print Name  = pMeuVsPl4, Entries= 584747, Total sum= 26.4192
TH1.Print Name  = pStsVsPl4, Entries= 584747, Total sum= 27.4311
TH1.Print Name  = pPeVsPl4, Entries= 584747, Total sum= 145.51
TH1.Print Name  = pAdcVsPl4, Entries= 584747, Total sum= 26.1261
TH1.Print Name  = pEffVsPl, Entries= 587222, Total sum= 103.976
TH1.Print Name  = pEffTrkVsPl, Entries= 587222, Total sum= 103.266
TH1.Print Name  = pMeuVsPl8, Entries= 584747, Total sum= 8267.76
TH1.Print Name  = pStsVsPl8, Entries= 584747, Total sum= 8592.01
TH1.Print Name  = pPeVsPl8, Entries= 584747, Total sum= 75.393
TH1.Print Name  = pAdcVsPl8, Entries= 584747, Total sum= 8579.29
TH1.Print Name  = pMeuVsPl, Entries= 584747, Total sum= 63480.9
TH1.Print Name  = pMeuVsPlU, Entries= 292421, Total sum= 31568.1
TH1.Print Name  = pMeuVsPlV, Entries= 292326, Total sum= 31912.8
TH1.Print Name  = pStsVsPl, Entries= 584747, Total sum= 65885
TH1.Print Name  = pStsVsPlU, Entries= 292421, Total sum= 32847.9
TH1.Print Name  = pStsVsPlV, Entries= 292326, Total sum= 33037.1
TH1.Print Name  = pPeVsPl, Entries= 584747, Total sum= 582.802
TH1.Print Name  = pPeVsPlU, Entries= 292421, Total sum= 294.762
TH1.Print Name  = pPeVsPlV, Entries= 292326, Total sum= 288.04
TH1.Print Name  = pAdcVsPl, Entries= 584747, Total sum= 65967.6
TH1.Print Name  = pAdcVsPlU, Entries= 292421, Total sum= 33291.1
TH1.Print Name  = pAdcVsPlV, Entries= 292326, Total sum= 32676.5
TH1.Print Name  = pAdcVsPl, Entries= 584747, Total sum= 65967.6
TH1.Print Name  = hAdcVsPlTemp, Entries= 584747, Total sum= 104.528
TH1.Print Name  = pMeuVsPl, Entries= 584747, Total sum= 63480.9
TH1.Print Name  = hMeuVsPlTemp, Entries= 584747, Total sum= 108.741
TH1.Print Name  = hPlAdc, Entries= 80, Total sum= 80
TH1.Print Name  = hPlMeu, Entries= 80, Total sum= 80
TFile: name=MeuPlots13011001_2.root, title=, option=READ
Finding object=pAdcVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Finding object=pPeVsPl4
Finding object=pStsVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Finding object=pMeuVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Using print argument: cPlaneNearSpill.gif
After running macro: errorCode=0
Deleting TCanvas=cPlane
Deleting TCanvas=cPlaneEff
Deleting TCanvas=cPlaneCoarse
Deleting TCanvas=cPlaneUV
Deleting TCanvas=cZ


*** Running next macro... ***
.x /afs/fnal.gov/files/data/minos/d85/tjyang/test/MeuCal/macros/nearValidate/mStrips.C(1)
Constructing FileListSpecial...

fOverride=1
fOverridePrint=1
fOverrideDataFile=MeuPlots9062.root
fOverrideMCFile=MeuPlots13011001_2.root
fPrintFormat=gif
fPrintExtraName=Spill
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


 *** FileListSpecial::AddMeuDataFiles function has been overriden ***
Not adding MeuPlots9062.root
Instead the data file used is: MeuPlots9062.root

Adding files...
Using fullFileName=MeuPlots9062.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
Constructing PlotFunctions...
Found Detector=1, SimFlag=1
meu=583.781, mean=597.553, entries=43392
SetTH1Max: h1 max=696.127
SetTH1Max: h2 max=632.791
SetTProfileMinWithEntries2: min=357.668
ExpandMin: Before min=357.668
ExpandMin: After min=321.901
ExpandMin: Before min=357.668
ExpandMin: After min=321.901
SetTH1Max: h1 max=690.638
SetTH1Max: h2 max=711.548
SetTH1Max: Using max2...
SetTProfileMinWithEntries2: min=356.2
ExpandMin: Before min=356.2
ExpandMin: After min=320.58
ExpandMin: Before min=356.2
ExpandMin: After min=320.58
SetTH1Max: h1 max=6.58232
SetTH1Max: h2 max=6.57313
SetTProfileMinWithEntries2: min=4.09994
ExpandMin: Before min=4.09994
ExpandMin: After min=3.68994
ExpandMin: Before min=4.09994
ExpandMin: After min=3.68994
SetTH1Max: h1 max=903.404
SetTH1Max: h2 max=827.586
SetTProfileMinWithEntries2: min=405.922
ExpandMin: Before min=405.922
ExpandMin: After min=365.33
ExpandMin: Before min=405.922
ExpandMin: After min=365.33
min=231.924
min=233.997
min=1.99131
min=137.648
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Drawing MC...

 *** FileListSpecial::AddMeuMCFiles function has been overriden ***
Not adding MeuPlots13011001_2.root
Instead the MC file used is: MeuPlots13011001_2.root

Adding files...
Using fullFileName=MeuPlots13011001_2.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSimFlag, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSigMap, Entries= 43392, Total sum= 43290
TH1.Print Name  = hPe, Entries= 43392, Total sum= 43332
TH1.Print Name  = pMeuVsStripU, Entries= 280796, Total sum= 51871.5
TH1.Print Name  = pMeuVsStripV, Entries= 279945, Total sum= 36173.1
TH1.Print Name  = pStsVsStripU, Entries= 280796, Total sum= 54280.8
TH1.Print Name  = pStsVsStripV, Entries= 279945, Total sum= 37897
TH1.Print Name  = pPeVsStripU, Entries= 280796, Total sum= 486.589
TH1.Print Name  = pPeVsStripV, Entries= 279945, Total sum= 332.375
TH1.Print Name  = pAdcVsStripU, Entries= 280796, Total sum= 55066.1
TH1.Print Name  = pAdcVsStripV, Entries= 279945, Total sum= 37754.1
TH1.Print Name  = pMeuVsStripUF, Entries= 55789, Total sum= 34987.7
TH1.Print Name  = pMeuVsStripVF, Entries= 55681, Total sum= 34543.4
TH1.Print Name  = pStsVsStripUF, Entries= 55789, Total sum= 38035.7
TH1.Print Name  = pStsVsStripVF, Entries= 55681, Total sum= 37277.6
TH1.Print Name  = pPeVsStripUF, Entries= 55789, Total sum= 324.276
TH1.Print Name  = pPeVsStripVF, Entries= 55681, Total sum= 304.242
TH1.Print Name  = pAdcVsStripUF, Entries= 55789, Total sum= 36738.7
TH1.Print Name  = pAdcVsStripVF, Entries= 55681, Total sum= 34816.2
TH1.Print Name  = pMeuVsStripUClone, Entries= 280796, Total sum= 88.8544
TH1.Print Name  = pStsVsStripUClone, Entries= 280796, Total sum= 92.9815
TH1.Print Name  = pPeVsStripUClone, Entries= 280796, Total sum= 89.6753
TH1.Print Name  = pAdcVsStripUClone, Entries= 280796, Total sum= 94.3266
TH1.Print Name  = pMeuVsStripVClone, Entries= 279945, Total sum= 61.9635
TH1.Print Name  = pStsVsStripVClone, Entries= 279945, Total sum= 64.9165
TH1.Print Name  = pPeVsStripVClone, Entries= 279945, Total sum= 61.2546
TH1.Print Name  = pAdcVsStripVClone, Entries= 279945, Total sum= 64.6717
TFile: name=MeuPlots13011001_2.root, title=, option=READ
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.612675
SetTProfileMaxWithEntries2: max=1.6571
ExpandMin: Before min=0.612675
ExpandMin: After min=0.551407
ExpandMax: Before max=1.6571
ExpandMax: After max=1.82281
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.61016
SetTProfileMaxWithEntries2: max=1.77045
ExpandMin: Before min=0.61016
ExpandMin: After min=0.549144
ExpandMax: Before max=1.77045
ExpandMax: After max=1.94749
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.755592
SetTProfileMaxWithEntries2: max=1.71876
ExpandMin: Before min=0.755592
ExpandMin: After min=0.680033
ExpandMax: Before max=1.71876
ExpandMax: After max=1.89064
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.695333
SetTProfileMaxWithEntries2: max=1.56807
ExpandMin: Before min=0.695333
ExpandMin: After min=0.6258
ExpandMax: Before max=1.56807
ExpandMax: After max=1.72487
Overriding min & max...
min=0.9
max=1.1
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.866098
SetTProfileMaxWithEntries2: max=1.11487
ExpandMin: Before min=0.866098
ExpandMin: After min=0.779489
ExpandMax: Before max=1.11487
ExpandMax: After max=1.22636
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.933786
SetTProfileMaxWithEntries2: max=1.24001
ExpandMin: Before min=0.933786
ExpandMin: After min=0.840407
ExpandMax: Before max=1.24001
ExpandMax: After max=1.36401
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.726599
SetTProfileMaxWithEntries2: max=1.21139
ExpandMin: Before min=0.726599
ExpandMin: After min=0.653939
ExpandMax: Before max=1.21139
ExpandMax: After max=1.33253
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.765441
SetTProfileMaxWithEntries2: max=1.41763
ExpandMin: Before min=0.765441
ExpandMin: After min=0.688897
ExpandMax: Before max=1.41763
ExpandMax: After max=1.55939
Overriding min & max...
min=0.9
max=1.1
Using print argument: cStripNearSpill.gif
Using print argument: cStripUNearSpill.gif
Using print argument: cStripVNearSpill.gif
After running macro: errorCode=0
Deleting TCanvas=cStrip
Deleting TCanvas=cStripF
Deleting TCanvas=cStripU
Deleting TCanvas=cStripV


*** Running next macro... ***
.x /afs/fnal.gov/files/data/minos/d85/tjyang/test/MeuCal/macros/nearValidate/m1DXY.C(1)
Constructing FileListSpecial...

fOverride=1
fOverridePrint=1
fOverrideDataFile=MeuPlots9062.root
fOverrideMCFile=MeuPlots13011001_2.root
fPrintFormat=gif
fPrintExtraName=Spill
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


 *** FileListSpecial::AddMeuDataFiles function has been overriden ***
Not adding MeuPlots9062.root
Instead the data file used is: MeuPlots9062.root

Adding files...
Using fullFileName=MeuPlots9062.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
Constructing PlotFunctions...
Found Detector=1, SimFlag=1
meu=583.781, mean=597.553, entries=43392
Found hSigMapWinCor: meu=582.797
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTH1MaxSame: h1 max=1.03617
SetTH1MaxSame: h2 max=1.02154
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.03617
SetTH1MaxSame: h2 max=1.61891
SetTH1MaxSame: Using max2...
SetTH1MaxSame: h1 max=1.61891
SetTH1MaxSame: h2 max=1.02434
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.61891
SetTH1MaxSame: h2 max=1.03617
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.61891
SetTH1MaxSame: h2 max=1.61891
SetTProfileMinWithEntries4: min=0.9454
ExpandMin: Before min=0.9454
ExpandMin: After min=0.85086
ExpandMax: Before max=1.61891
ExpandMax: After max=1.7808
ExpandMin: Before min=0.9454
ExpandMin: After min=0.85086
ExpandMax: Before max=1.61891
ExpandMax: After max=1.7808
ExpandMin: Before min=0.9454
ExpandMin: After min=0.85086
ExpandMax: Before max=1.61891
ExpandMax: After max=1.7808
ExpandMin: Before min=0.9454
ExpandMin: After min=0.85086
ExpandMax: Before max=1.61891
ExpandMax: After max=1.7808
Overriding min & max...
min=0.95
max=1.05
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTH1MaxSame: h1 max=1.18382
SetTH1MaxSame: h2 max=1.18133
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=0.987848
SetTH1MaxSame: h2 max=0.989841
SetTH1MaxSame: Using max2...
SetTProfileMinWithEntries2: min=0.867447
SetTProfileMinWithEntries2: min=0.966331
ExpandMin: Before min=0.867447
ExpandMin: After min=0.780703
ExpandMax: Before max=1.18382
ExpandMax: After max=1.3022
ExpandMin: Before min=0.867447
ExpandMin: After min=0.780703
ExpandMax: Before max=1.18382
ExpandMax: After max=1.3022
ExpandMin: Before min=0.966331
ExpandMin: After min=0.869697
ExpandMax: Before max=0.989841
ExpandMax: After max=1.08883
ExpandMin: Before min=0.966331
ExpandMin: After min=0.869697
ExpandMax: Before max=0.989841
ExpandMax: After max=1.08883
Overriding atten min2 & max2...


x=-5.25 m, total light yield=0 +/- 0 pe (N=0)
x=-4.75 m, total light yield=0 +/- 0 pe (N=0)
x=-4.25 m, total light yield=0 +/- 0 pe (N=0)
x=-3.75 m, total light yield=0 +/- 0 pe (N=0)
x=-3.25 m, total light yield=0 +/- 0 pe (N=0)
x=-2.75 m, total light yield=0 +/- 0 pe (N=0)
x=-2.25 m, total light yield=6.35902 +/- 0.0355273 pe (N=12839)
x=-1.75 m, total light yield=5.91461 +/- 0.0139161 pe (N=77308)
x=-1.25 m, total light yield=5.51376 +/- 0.0133653 pe (N=74034)
x=-0.75 m, total light yield=5.13113 +/- 0.0165112 pe (N=43820)
x=-0.25 m, total light yield=4.74011 +/- 0.0236444 pe (N=18878)
x=0.25 m, total light yield=4.56065 +/- 0.198072 pe (N=289)
x=0.75 m, total light yield=0 +/- 0 pe (N=0)
x=1.25 m, total light yield=0 +/- 0 pe (N=0)
x=1.75 m, total light yield=0 +/- 0 pe (N=0)
x=2.25 m, total light yield=0 +/- 0 pe (N=0)
x=2.75 m, total light yield=0 +/- 0 pe (N=0)
x=3.25 m, total light yield=0 +/- 0 pe (N=0)
x=3.75 m, total light yield=0 +/- 0 pe (N=0)
x=4.25 m, total light yield=0 +/- 0 pe (N=0)


x=-5.25 m, east stripend light yield=0 +/- 0 pe (N=0)
x=-4.75 m, east stripend light yield=0 +/- 0 pe (N=0)
x=-4.25 m, east stripend light yield=0 +/- 0 pe (N=0)
x=-3.75 m, east stripend light yield=0 +/- 0 pe (N=0)
x=-3.25 m, east stripend light yield=0 +/- 0 pe (N=0)
x=-2.75 m, east stripend light yield=0 +/- 0 pe (N=0)
x=-2.25 m, east stripend light yield=0 +/- 0 pe (N=12839)
x=-1.75 m, east stripend light yield=0 +/- 0 pe (N=77308)
x=-1.25 m, east stripend light yield=0 +/- 0 pe (N=74034)
x=-0.75 m, east stripend light yield=0 +/- 0 pe (N=43820)
x=-0.25 m, east stripend light yield=0 +/- 0 pe (N=18878)
x=0.25 m, east stripend light yield=0 +/- 0 pe (N=289)
x=0.75 m, east stripend light yield=0 +/- 0 pe (N=0)
x=1.25 m, east stripend light yield=0 +/- 0 pe (N=0)
x=1.75 m, east stripend light yield=0 +/- 0 pe (N=0)
x=2.25 m, east stripend light yield=0 +/- 0 pe (N=0)
x=2.75 m, east stripend light yield=0 +/- 0 pe (N=0)
x=3.25 m, east stripend light yield=0 +/- 0 pe (N=0)
x=3.75 m, east stripend light yield=0 +/- 0 pe (N=0)
x=4.25 m, east stripend light yield=0 +/- 0 pe (N=0)


x=-5.25 m, west stripend light yield=0 +/- 0 pe (N=0)
x=-4.75 m, west stripend light yield=0 +/- 0 pe (N=0)
x=-4.25 m, west stripend light yield=0 +/- 0 pe (N=0)
x=-3.75 m, west stripend light yield=0 +/- 0 pe (N=0)
x=-3.25 m, west stripend light yield=0 +/- 0 pe (N=0)
x=-2.75 m, west stripend light yield=0 +/- 0 pe (N=0)
x=-2.25 m, west stripend light yield=6.35902 +/- 0.0355273 pe (N=12839)
x=-1.75 m, west stripend light yield=5.91461 +/- 0.0139161 pe (N=77308)
x=-1.25 m, west stripend light yield=5.51376 +/- 0.0133653 pe (N=74034)
x=-0.75 m, west stripend light yield=5.13113 +/- 0.0165112 pe (N=43820)
x=-0.25 m, west stripend light yield=4.74011 +/- 0.0236444 pe (N=18878)
x=0.25 m, west stripend light yield=4.56065 +/- 0.198072 pe (N=289)
x=0.75 m, west stripend light yield=0 +/- 0 pe (N=0)
x=1.25 m, west stripend light yield=0 +/- 0 pe (N=0)
x=1.75 m, west stripend light yield=0 +/- 0 pe (N=0)
x=2.25 m, west stripend light yield=0 +/- 0 pe (N=0)
x=2.75 m, west stripend light yield=0 +/- 0 pe (N=0)
x=3.25 m, west stripend light yield=0 +/- 0 pe (N=0)
x=3.75 m, west stripend light yield=0 +/- 0 pe (N=0)
x=4.25 m, west stripend light yield=0 +/- 0 pe (N=0)
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	9.827280e-01	1.159600e-03
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	9.872405e-01	1.179059e-03
Drawing MC...

 *** FileListSpecial::AddMeuMCFiles function has been overriden ***
Not adding MeuPlots13011001_2.root
Instead the MC file used is: MeuPlots13011001_2.root

Adding files...
Using fullFileName=MeuPlots13011001_2.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSimFlag, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSigMap, Entries= 43392, Total sum= 43290
TH1.Print Name  = hSigMapWinCor, Entries= 43392, Total sum= 43290
TH1.Print Name  = pMeuVs40X, Entries= 584747, Total sum= 9.90493
TH1.Print Name  = pMeuVs40Y, Entries= 584747, Total sum= 13.8401
TH1.Print Name  = pMeuVs40TU, Entries= 292421, Total sum= 11.4448
TH1.Print Name  = pMeuVs40TV, Entries= 292326, Total sum= 10.8656
TH1.Print Name  = pCorVsLU, Entries= 292421, Total sum= 6.02847
TH1.Print Name  = pCorVsLV, Entries= 292326, Total sum= 6.07794
TH1.Print Name  = pMeuVsLU, Entries= 292421, Total sum= 5.87717
TH1.Print Name  = pMeuVsLV, Entries= 292326, Total sum= 5.90989
TH1.Print Name  = pPeVsLU8, Entries= 227168, Total sum= 32.2193
TH1.Print Name  = pPeVsLU8, Entries= 227168, Total sum= 32.2193
TH1.Print Name  = pPeVsLU28, Entries= 227168, Total sum= 32.2193
TH1.Print Name  = pPeVsLU18, Entries= 227168, Total sum= 0
TH1.Print Name  = pMeuVsLUClone, Entries= 292421, Total sum= 5.87717
TH1.Print Name  = pMeuVsLVClone, Entries= 292326, Total sum= 5.90989
TFile: name=MeuPlots13011001_2.root, title=, option=READ
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTH1MaxSame: h1 max=1.00045
SetTH1MaxSame: h2 max=1.00394
SetTH1MaxSame: h3 max=1.01947
SetTH1MaxSame: h4 max=1.00664
SetTH1MaxSame4: max=1.01947
SetTProfileMinWithEntries4: min=0.863131
ExpandMin: Before min=0.863131
ExpandMin: After min=0.776818
ExpandMin: Before min=0.863131
ExpandMin: After min=0.776818
ExpandMin: Before min=0.863131
ExpandMin: After min=0.776818
ExpandMin: Before min=0.863131
ExpandMin: After min=0.776818
SetTH1MinSame: h1 min=0.776818
SetTH1MinSame: h2 min=0.776818
SetTH1MinSame: h3 min=0.95
SetTH1MinSame: h4 min=0.95
SetTH1MinSame4: min=0.776818
SetTH1MinSame: h1 min=0.776818
SetTH1MinSame: h2 min=0.776818
SetTH1MinSame: h3 min=0.95
SetTH1MinSame: h4 min=0.95
SetTH1MinSame4: min=0.776818
SetTH1MaxSame: h1 max=1.01947
SetTH1MaxSame: h2 max=1.01947
SetTH1MaxSame: h3 max=1.05
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.05
SetTH1MaxSame: h1 max=1.01947
SetTH1MaxSame: h2 max=1.01947
SetTH1MaxSame: h3 max=1.05
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.05
Overriding min & max...
min=0.95
max=1.05
Overriding min & max...
min=0.95
max=1.05
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTH1MaxSame: h1 max=1.19492
SetTH1MaxSame: h2 max=1.3022
SetTH1MaxSame: h3 max=1.19174
SetTH1MaxSame: h4 max=1.3022
SetTH1MaxSame4: max=1.3022
SetTProfileMinWithEntries4: min=0.867447
SetTH1MaxSame: h1 max=0.999196
SetTH1MaxSame: h2 max=1.05
SetTH1MaxSame: h3 max=0.994498
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.05
SetTProfileMinWithEntries4: min=0.966331
ExpandMin: Before min=0.867447
ExpandMin: After min=0.780703
ExpandMin: Before min=0.867447
ExpandMin: After min=0.780703
ExpandMin: Before min=0.966331
ExpandMin: After min=0.869697
ExpandMin: Before min=0.966331
ExpandMin: After min=0.869697
Overriding atten min2 & max2...
Using print argument: c1DXYNearSpill.gif
Using print argument: cStripAttenNearSpill.gif
After running macro: errorCode=0
Deleting TCanvas=c1DXY
Deleting TCanvas=cStripAtten
Deleting TCanvas=cStripAttenPe
Deleting TCanvas=cStripAttenFit


*** Running next macro... ***
.x /afs/fnal.gov/files/data/minos/d85/tjyang/test/MeuCal/macros/nearValidate/mCosThZ.C(1)
Constructing FileListSpecial...

fOverride=1
fOverridePrint=1
fOverrideDataFile=MeuPlots9062.root
fOverrideMCFile=MeuPlots13011001_2.root
fPrintFormat=gif
fPrintExtraName=Spill
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


 *** FileListSpecial::AddMeuDataFiles function has been overriden ***
Not adding MeuPlots9062.root
Instead the data file used is: MeuPlots9062.root

Adding files...
Using fullFileName=MeuPlots9062.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
Found Detector=1, SimFlag=1
meu=583.781, mean=597.553, entries=43392
Error in <TH1F::ComputeIntegral>: Integral = zero
i=0, cosThZ=-0.95, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=1, cosThZ=-0.85, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=2, cosThZ=-0.75, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=3, cosThZ=-0.65, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=4, cosThZ=-0.55, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=5, cosThZ=-0.45, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=6, cosThZ=-0.35, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=7, cosThZ=-0.25, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=8, cosThZ=-0.15, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=9, cosThZ=-0.05, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=10, cosThZ=0.05, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=11, cosThZ=0.15, meu=4999 +/- 0 (N=0)
i=12, cosThZ=0.25, meu=26.5 +/- 33.7351 (N=3)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=13, cosThZ=0.35, meu=4999 +/- 0 (N=0)
i=14, cosThZ=0.45, meu=591.5 +/- 67.0877 (N=5)
i=15, cosThZ=0.55, meu=499 +/- 102.874 (N=10)
i=16, cosThZ=0.65, meu=594 +/- 22.9107 (N=130)
i=17, cosThZ=0.75, meu=590.071 +/- 7.16869 (N=969)
i=18, cosThZ=0.85, meu=582.097 +/- 1.87732 (N=7420)
i=19, cosThZ=0.95, meu=583.977 +/- 0.736937 (N=34756)
Drawing MC...

 *** FileListSpecial::AddMeuMCFiles function has been overriden ***
Not adding MeuPlots13011001_2.root
Instead the MC file used is: MeuPlots13011001_2.root

Adding files...
Using fullFileName=MeuPlots13011001_2.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSimFlag, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSigMap, Entries= 43392, Total sum= 43290
TH1.Print Name  = hMeuCosTh0, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh1, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh2, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh3, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh4, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh5, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh6, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh7, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh8, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh9, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh10, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh11, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh12, Entries= 3, Total sum= 3
TH1.Print Name  = hMeuCosTh13, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh14, Entries= 5, Total sum= 5
TH1.Print Name  = hMeuCosTh15, Entries= 10, Total sum= 10
TH1.Print Name  = hMeuCosTh16, Entries= 130, Total sum= 130
TH1.Print Name  = hMeuCosTh17, Entries= 969, Total sum= 969
TH1.Print Name  = hMeuCosTh18, Entries= 7420, Total sum= 7420
TH1.Print Name  = hMeuCosTh19, Entries= 34756, Total sum= 34756
TH1.Print Name  = hCosThZ, Entries= 43395, Total sum= 43395
TFile: name=MeuPlots13011001_2.root, title=, option=READ
meu=589.141, mean=603.122, entries=29467
Error in <TH1F::ComputeIntegral>: Integral = zero
i=0, cosThZ=-0.95, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=1, cosThZ=-0.85, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=2, cosThZ=-0.75, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=3, cosThZ=-0.65, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=4, cosThZ=-0.55, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=5, cosThZ=-0.45, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=6, cosThZ=-0.35, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=7, cosThZ=-0.25, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=8, cosThZ=-0.15, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=9, cosThZ=-0.05, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=10, cosThZ=0.05, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=11, cosThZ=0.15, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=12, cosThZ=0.25, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=13, cosThZ=0.35, meu=4999 +/- 0 (N=0)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=14, cosThZ=0.45, meu=4999 +/- 0 (N=0)
i=15, cosThZ=0.55, meu=585 +/- 51.7658 (N=14)
i=16, cosThZ=0.65, meu=579 +/- 19.4436 (N=90)
i=17, cosThZ=0.75, meu=591.25 +/- 7.59675 (N=718)
i=18, cosThZ=0.85, meu=589.054 +/- 2.15192 (N=5235)
i=19, cosThZ=0.95, meu=589.138 +/- 0.910593 (N=23323)
Entries Data =43395
Integral Data=43395
Entries MC   =29467
Integral MC  =29467
ScaleFactor  =1.47266
h1 max=34838
h2 max=34453
Using print argument: cCosThZNearSpill.gif
After running macro: errorCode=0
Deleting TCanvas=cCosThZ


*** Running next macro... ***
.x /afs/fnal.gov/files/data/minos/d85/tjyang/test/MeuCal/macros/nearValidate/mMeuDistributions.C(1)
Constructing FileListSpecial...

fOverride=1
fOverridePrint=1
fOverrideDataFile=MeuPlots9062.root
fOverrideMCFile=MeuPlots13011001_2.root
fPrintFormat=gif
fPrintExtraName=Spill
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


 *** FileListSpecial::AddMeuDataFiles function has been overriden ***
Not adding MeuPlots9062.root
Instead the data file used is: MeuPlots9062.root

Adding files...
Using fullFileName=MeuPlots9062.root
TFile: name=MeuPlots9062.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
Found Detector=1, SimFlag=1
First histo has entries=43392, all=43395
meanPe=5
 FCN=1125.59 FROM MIGRAD    STATUS=CONVERGED      71 CALLS          72 TOTAL
                     EDM=6.20874e-09    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     7.95320e+02   4.92666e+00   6.37462e-02  -2.48706e-06
   2  Mean         6.21099e+02   6.76781e-01   1.01770e-02  -4.67239e-05
   3  Sigma        1.26023e+02   4.85047e-01   1.53044e-05  -8.17501e-02
 FCN=1106.08 FROM MIGRAD    STATUS=CONVERGED      72 CALLS          73 TOTAL
                     EDM=1.30492e-08    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.65257e+03   1.02541e+01   1.31031e-01   7.13946e-06
   2  Mean         5.46949e+00   5.50056e-03   8.21797e-05   2.77356e-02
   3  Sigma        1.03424e+00   3.97642e-03   1.48624e-05  -5.75785e-02
 FCN=1107.08 FROM MIGRAD    STATUS=CONVERGED      63 CALLS          64 TOTAL
                     EDM=1.7023e-06    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     7.90224e+02   4.90196e+00   6.28097e-02  -4.27404e-04
   2  Mean         6.22975e+02   6.81309e-01   1.01613e-02   1.27182e-04
   3  Sigma        1.26856e+02   4.90287e-01   1.52349e-05  -1.70588e+00
 FCN=1029.97 FROM MIGRAD    STATUS=CONVERGED      71 CALLS          72 TOTAL
                     EDM=2.34887e-08    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     9.15939e+02   5.70066e+00   7.01082e-02   1.87499e-05
   2  Mean         6.11037e+02   5.81451e-01   8.41770e-03  -7.74144e-05
   3  Sigma        1.09689e+02   4.25172e-01   1.46461e-05  -8.93561e-02
 FCN=994.736 FROM MIGRAD    STATUS=CONVERGED      72 CALLS          73 TOTAL
                     EDM=6.34607e-09    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     9.80422e+02   6.10647e+00   7.36997e-02   6.61471e-06
   2  Mean         5.87796e+02   5.38785e-01   7.73349e-03   1.86351e-04
   3  Sigma        1.02619e+02   3.98944e-01   1.44517e-05  -5.25125e-02

 *** FileListSpecial::AddMeuMCFiles function has been overriden ***
Not adding MeuPlots13011001_2.root
Instead the MC file used is: MeuPlots13011001_2.root

Adding files...
Using fullFileName=MeuPlots13011001_2.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSimFlag, Entries= 43395, Total sum= 43395
TH1.Print Name  = hAdc, Entries= 43392, Total sum= 43288
TH1.Print Name  = hPeRaw, Entries= 43395, Total sum= 43330
TH1.Print Name  = hAdc, Entries= 43392, Total sum= 43288
TH1.Print Name  = hSigCor, Entries= 43392, Total sum= 43288
TH1.Print Name  = hSigCor, Entries= 43392, Total sum= 43288
TH1.Print Name  = hSigMap, Entries= 43392, Total sum= 43290
TH1.Print Name  = hSigMap, Entries= 43392, Total sum= 43290
TH1.Print Name  = hAdcClone, Entries= 43392, Total sum= 43288
TH1.Print Name  = hPe, Entries= 43392, Total sum= 43332
TH1.Print Name  = hPeClone, Entries= 43392, Total sum= 43332
TH1.Print Name  = hSigLin, Entries= 43392, Total sum= 43286
TH1.Print Name  = hSigLinClone, Entries= 43392, Total sum= 43286
TH1.Print Name  = hSigCorClone, Entries= 43392, Total sum= 43288
TH1.Print Name  = hSigMapClone, Entries= 43392, Total sum= 43290
TH1.Print Name  = hAvNumDigitsAll, Entries= 43392, Total sum= 43392
TH1.Print Name  = hAvNumStripsAll, Entries= 43392, Total sum= 43392
TH1.Print Name  = hAvNumDigits, Entries= 43392, Total sum= 43383
TH1.Print Name  = hAvNumStrips, Entries= 43392, Total sum= 43392
TFile: name=MeuPlots13011001_2.root, title=, option=READ
Second histo has entries=29467, all=29467
h1 max=2704
h2 max=2774.31
Using max2...
h1 max=5932
h2 max=5874.46
h1 max=3139
h2 max=3121.83
h1 max=3380
h2 max=3369.22
h1 max=3371
h2 max=3361.86
h1 max=8170
h2 max=9536.31
Using max2...
h1 max=11316
h2 max=12122.1
Using max2...
Using print argument: cTrkWinRespNearSpill.gif
Using print argument: cTrkWinStripsNearSpill.gif
After running macro: errorCode=0
Deleting TCanvas=cTrkWinRespFit
Deleting TCanvas=cTrkWinResp
Deleting TCanvas=cTrkWinStrips


*** Running next macro... ***
.x /afs/fnal.gov/files/data/minos/d85/tjyang/test/MeuCal/macros/nearValidate/mResponseDrift.C(1)
Constructing FileListSpecial...

fOverride=1
fOverridePrint=1
fOverrideDataFile=MeuPlots9062.root
fOverrideMCFile=MeuPlots13011001_2.root
fPrintFormat=gif
fPrintExtraName=Spill
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


 *** FileListSpecial::AddMeuDataFiles function has been overriden ***
Not adding MeuPlots9062.root
Instead the data file used is: MeuPlots9062.root

Adding files...
Using fullFileName=MeuPlots9062.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
Found Detector=1, SimFlag=1
meu=583.781, mean=597.553, entries=43392

sigMapMedian=583.781
sigCorMedian=606.155
sigLinMedian=616.718
adcMedian=614.845
peMedian=5.42612

x min=3.41958e+08
x max=3.44004e+08
Drawing MC...

 *** FileListSpecial::AddMeuMCFiles function has been overriden ***
Not adding MeuPlots13011001_2.root
Instead the MC file used is: MeuPlots13011001_2.root

Adding files...
Using fullFileName=MeuPlots13011001_2.root
FileList contains:
TFile: name=MeuPlots9062.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSimFlag, Entries= 43395, Total sum= 43395
TH1.Print Name  = hSigMap, Entries= 43392, Total sum= 43290
TH1.Print Name  = hSigCor, Entries= 43392, Total sum= 43288
TH1.Print Name  = hSigLin, Entries= 43392, Total sum= 43286
TH1.Print Name  = hAdc, Entries= 43392, Total sum= 43288
TH1.Print Name  = hPe, Entries= 43392, Total sum= 43332
TH1.Print Name  = hSigCorDriftCosThStd, Entries= 1, Total sum= 1.03885
TH1.Print Name  = hMeuDriftCosThStd, Entries= 1, Total sum= 584.074
TH1.Print Name  = hMeuDriftN, Entries= 1, Total sum= 43290
TH1.Print Name  = hFlat, Entries= 2, Total sum= 1
TH1.Print Name  = hSigLinDriftCosThStd, Entries= 1, Total sum= 1.01804
TH1.Print Name  = hSigLinOnAdc, Entries= 1, Total sum= 1.00061
TH1.Print Name  = hSigCorOnSigLin, Entries= 1, Total sum= 1.00051
TH1.Print Name  = hMeuDriftCosThStdCloneData, Entries= 1, Total sum= 1.0005
TH1.Print Name  = hAdcDriftCosThStd, Entries= 1, Total sum= 0.997569
TH1.Print Name  = hPeDriftCosThStd, Entries= 1, Total sum= 1.00034
TFile: name=MeuPlots13011001_2.root, title=, option=READ
meu=589.141, mean=603.122, entries=29467
Using print argument: cResponseDriftCalCosThNearSpill.gif
Using print argument: cDriftAllCosThDataNearSpill.gif
Using print argument: cDriftAllCosThMCNearSpill.gif
After running macro: errorCode=0
Deleting TCanvas=cResponseDriftCalCosTh
Deleting TCanvas=cNumMuons
Deleting TCanvas=cDriftAllCosThData
Deleting TCanvas=cDriftAllCosThMC
Deleting TCanvas=cDriftDecalTwice


*** Running next macro... ***
.x /afs/fnal.gov/files/data/minos/d85/tjyang/test/MeuCal/macros/nearValidate/mResultsTable.C(1)
Constructing FileListSpecial...

fOverride=1
fOverridePrint=1
fOverrideDataFile=MeuPlots9062.root
fOverrideMCFile=MeuPlots13011001_2.root
fPrintFormat=gif
fPrintExtraName=Spill
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


 *** FileListSpecial::AddMeuDataFiles function has been overriden ***
Not adding MeuPlots9062.root
Instead the data file used is: MeuPlots9062.root

Adding files...
Using fullFileName=MeuPlots9062.root
TFile: name=MeuPlots9062.root, title=, option=READ

Mean Digits:
  Av Num Digits      =3.08536 +/- 0.00427149
  Av Num Digits (All)=3.09347 +/- 0.00507944
Error in <TH1F::ComputeIntegral>: Integral = zero

Forwards and backwards:
  forward  meu=583.781, mean=597.553, entries=43392, resolution=0.242531
  backward meu=2999, mean=0, entries=0, resolution=-1

B-field forwards and reversed:
  B forward  meu=583.781, mean=597.553, entries=43392, resolution=0.242531
  B backward meu=-1, mean=0, entries=0, resolution=-1

Mu Plus and Mu Minus:
  Mu Plus  meu=-1, mean=0, entries=0, resolution=-1
  Mu Minus meu=-1, mean=0, entries=0, resolution=-1

Individual stripends:
  meuU2=577.23, mean=595.304, entries=43395, resolution=0.295622
  meuV2=579.876, mean=597.625, entries=43395, resolution=0.295152

Standard MEU values (for first file):
  meu=583.781 +/- 0.695726, mean=597.553, rms=144.925, entries=43392, resolution=0.242531
  meuAll=584.102 +/- 2.40996, mean=615.624, rms=502.031, entries=43395, resolution=0.815482


 *** FileListSpecial::AddMeuMCFiles function has been overriden ***
Not adding MeuPlots13011001_2.root
Instead the MC file used is: MeuPlots13011001_2.root

Adding files...
Using fullFileName=MeuPlots13011001_2.root

RESOLUTIONS:
  ADCs:    0.257688
  PEs:     0.308373
  SigLins: 0.258404
  SigCors: 0.243528
  SigMaps: 0.242531
RESOLUTIONS (with truncation):
  ADCs:    0.211686
  PEs:     0.203132
  SigLins: 0.212112
  SigCors: 0.188913
  SigMaps: 0.184647
RESOLUTIONS (from Gaussian fit):
  ADCs:    0.201271
  PEs:     0.189093
  SigLins: 0.201283
  SigCors: 0.177744
  SigMaps: 0.172534

*** MEU Summary (Cedar Data) ***
MEU (WinSigMap)=583.8 +/- 0.6957 (0.1192%)
MEU (WinSigCor)=606.2 +/- 0.7258 (0.1197%)
MEU (WinSigLin)=616.7 +/- 0.7854 (0.1274%)
MEU (WinSigDrf)=613.7 +/- 0.7792 (0.127%)
MEU (WinSigLinOnly)=617.6 +/- 0.7874 (0.1275%)
MEU (WinAdc)   =614.8 +/- 0.7807 (0.127%)
MEU (WinPe)    =5.426 +/- 0.008274 (0.1525%)
MEU (WinPeRaw) =5.807 +/- 0.008901 (0.1533%)
MEU (Av digits)=3.019 +/- 0.004271 (0.1415%)
MEU (Av strips)=1.288 +/- 0.002064 (0.1602%)

*** MEU Summary (Cedar Daikon) ***
MEU (WinSigMap)=589.1 +/- 0.8405 (0.1427%)
MEU (WinSigCor)=610.4 +/- 0.8776 (0.1438%)
MEU (WinSigLin)=618 +/- 0.9588 (0.1551%)
MEU (WinSigDrf)=608.5 +/- 0.9479 (0.1558%)
MEU (WinSigLinOnly)=611.2 +/- 0.955 (0.1562%)
MEU (WinAdc)   =608.5 +/- 0.9479 (0.1558%)
MEU (WinPe)    =5.347 +/- 0.01008 (0.1884%)
MEU (WinPeRaw) =5.722 +/- 0.01101 (0.1924%)
MEU (Av digits)=2.72 +/- 0.004903 (0.1802%)
MEU (Av strips)=1.219 +/- 0.002572 (0.211%)

*** Summary of Differences (data - MC) ***
MEU Difference (WinSigMap)=-5.4, -0.91% +/- 0.19%
MEU Difference (WinSigCor)=-4.3, -0.7% +/- 0.19%
MEU Difference (WinSigLin)=-1.3, -0.21% +/- 0.2%
MEU Difference (WinSigDrf)=5.2, 0.85% +/- 0.2%
MEU Difference (WinSigLinOnly)=6.4, 1% +/- 0.2%
MEU Difference (WinAdc)   =6.3, 1% +/- 0.2%
MEU Difference (WinPe)    =0.079, 1.5% +/- 0.24%
MEU Difference (WinPeRaw) =0.086, 1.5% +/- 0.25%
MEU Difference (Av Digits)=0.3, 10% +/- 0.23%
MEU Difference (Av Strips)=0.069, 5.5% +/- 0.26%

*** Summary of Differences (data - MC) ***
MEAN Difference (WinSigMap)=-5.6, -0.93% +/- 0.19%
MEAN Difference (WinSigCor)=-4.5, -0.72% +/- 0.19%
MEAN Difference (WinSigLin)=-2.5, -0.39% +/- 0.2%
MEAN Difference (WinSigDrf)=4.9, 0.77% +/- 0.2%
MEAN Difference (WinSigLinOnly)=6.1, 0.97% +/- 0.2%
MEAN Difference (WinAdc)   =6.1, 0.96% +/- 0.2%
MEAN Difference (WinPe)    =0.074, 1.3% +/- 0.24%
MEAN Difference (WinPeRaw) =0.07, 1.2% +/- 0.25%
MEAN Difference (Av Digits)=0.28, 9.5% +/- 0.23%
MEAN Difference (Av Strips)=0.055, 4.3% +/- 0.26%

*** Summary of Differences (data - MC) ***
FIT Difference (WinSigMap)=-4.8, -0.81% +/- 0.19%
FIT Difference (WinSigCor)=-3.8, -0.61% +/- 0.19%
FIT Difference (WinSigLin)=-1.5, -0.24% +/- 0.2%
FIT Difference (WinSigDrf)=5.9, 0.96% +/- 0.2%
FIT Difference (WinSigLinOnly)=7.6, 1.2% +/- 0.2%
FIT Difference (WinAdc)   =7.3, 1.2% +/- 0.2%
FIT Difference (WinPe)    =0.079, 1.4% +/- 0.24%
FIT Difference (WinPeRaw) =0.079, 1.4% +/- 0.25%
FIT Difference (Av Digits)=0.28, 9.7% +/- 0.23%
FIT Difference (Av Strips)=0.055, 4.3% +/- 0.26%

*** Differences in Central Values (Median/Mean/Gaussian-Fit) ***
MEU - MEAN Diff. (WinSigMap)=-19, -3.3%
MEU - FIT  Diff. (WinSigMap)=-8.8, -1.5%
MEAN - FIT Diff. (WinSigMap)=4.9, 0.83%


*** Latex table of MEU Numbers ***
SigMaps     & 583.8 $\pm$  0.7 & 589.1 $\pm$  0.8 & -0.9\% & 0.243 & 0.239 \\
SigCors     & 606.2 $\pm$  0.7 & 610.4 $\pm$  0.9 & -0.7\% & 0.244 & 0.241 \\
SigLins     & 616.7 $\pm$  0.8 & 618.0 $\pm$  1.0 & -0.2\% & 0.258 & 0.259 \\
SigDrfs     & 613.7 $\pm$  0.8 & 608.5 $\pm$  0.9 &  0.9\% & 0.258 & 0.260 \\
SigLinOnlys     & 617.6 $\pm$  0.8 & 611.2 $\pm$  1.0 &  1.0\% & 0.259 & 0.261 \\
ADCs        & 614.8 $\pm$  0.8 & 608.5 $\pm$  0.9 &  1.0\% & 0.258 & 0.260 \\
Pes         & 5.426 $\pm$ 0.008 & 5.347 $\pm$ 0.010 &  1.5\% & 0.308 & 0.314 \\
PeRaws      & 5.81 $\pm$ 0.01 & 5.72 $\pm$ 0.01 &  1.5\% & 0.309 & 0.319 \\
Av. Digits  & 3.019 $\pm$ 0.004 & 2.720 $\pm$ 0.005 & 10.4\% & 0.288 & 0.300 \\
Av. Strips  & 1.288 $\pm$ 0.002 & 1.219 $\pm$ 0.003 &  5.5\% & 0.328 & 0.351 \\

*** Latex table of differences between centroids ***
Median            & 583.8 & 589.1 & -0.91\% \\
Mean              & 597.6 & 603.1 & -0.93\% \\
Gaussian Fit Mean & 587.8 & 592.6 & -0.81\% \\
After running macro: errorCode=0