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

Processing validateCalib.C...

Static Variables to control FileListSpecial:
FLS:fOverride=1
FLS:fOverridePrint=1
FLS:fOverrideDataFile=MeuPlots36548.root
FLS:fOverrideMCFile=MeuPlots601_3.root
FLS:fOverridePrintFormat=gif
FLS:fOverridePrintExtraName=Cosmic
FLS:fOverrideDataName=Cedar Data
FLS:fOverrideMCName=Cedar Beet
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=MeuPlots36548.root
fOverrideMCFile=MeuPlots601_3.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Beet


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

Adding files...
Using fullFileName=MeuPlots36548.root
Found Detector=2, SimFlag=1
This macro has to be run with loon rather than plain root!!!
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSimFlag, Entries= 64809, Total sum= 64809
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSimFlag, Entries= 64809, Total sum= 64809
meu=498.364, mean=510.117, entries=54089
Found hSigMapWinCor: meu=498.217
Using scaleFactor=0.00196033
min=0.70595, max=1.29405
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots601_3.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSimFlag, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSigMap, Entries= 54089, Total sum= 54036
TH1.Print Name  = hSigMapWinCor, Entries= 54089, Total sum= 54036
TH1.Print Name  = hYvsX200, Entries= 285535, Total sum= 1
TH1.Print Name  = pYvsX16U, Entries= 142820, Total sum= 99192.6
TH1.Print Name  = pYvsX16U, Entries= 142820, Total sum= 194.451
TH1.Print Name  = pYvsX16V, Entries= 142715, Total sum= 98072.4
TH1.Print Name  = pYvsX16V, Entries= 142715, Total sum= 192.255
TH1.Print Name  = pAdcYvsXU, Entries= 142820, Total sum= 2562.79
TH1.Print Name  = pStsYvsXU, Entries= 142820, Total sum= 2579.82
TH1.Print Name  = pYvsXU, Entries= 142820, Total sum= 2374.6
TH1.Print Name  = pAdcYvsXV, Entries= 142715, Total sum= 2598.53
TH1.Print Name  = pStsYvsXV, Entries= 142715, Total sum= 2584.84
TH1.Print Name  = pPeYvsXV, Entries= 142715, Total sum= 17277.3
TH1.Print Name  = pYvsXV, Entries= 142715, Total sum= 2376.47
TH1.Print Name  = pAdcYvsXU, Entries= 142820, Total sum= 2562.79
TH1.Print Name  = pYvsXU, Entries= 142820, Total sum= 2374.6
TH1.Print Name  = pAdcYvsXV, Entries= 142715, Total sum= 2598.53
TH1.Print Name  = pYvsXV, Entries= 142715, Total sum= 2376.47
TH1.Print Name  = pAdcYvsXU1, Entries= 142820, Total sum= 685029
TH1.Print Name  = pAdcYvsXU2, Entries= 142820, Total sum= 622291
TH1.Print Name  = pAdcYvsXV1, Entries= 142715, Total sum= 623309
TH1.Print Name  = pAdcYvsXV2, Entries= 142715, Total sum= 702246
TH1.Print Name  = pStsYvsXU1, Entries= 142820, Total sum= 695593
TH1.Print Name  = pStsYvsXU2, Entries= 142820, Total sum= 620418
TH1.Print Name  = pStsYvsXV1, Entries= 142715, Total sum= 621506
TH1.Print Name  = pStsYvsXV2, Entries= 142715, Total sum= 697068
TH1.Print Name  = pYvsXU1, Entries= 142820, Total sum= 608547
TH1.Print Name  = pYvsXU2, Entries= 142820, Total sum= 602778
TH1.Print Name  = pYvsXV1, Entries= 142715, Total sum= 602031
TH1.Print Name  = pYvsXV2, Entries= 142715, Total sum= 610249
TH1.Print Name  = pYvsXU, Entries= 142820, Total sum= 2374.6
TH1.Print Name  = pYvsXV, Entries= 142715, Total sum= 2376.47
TH1.Print Name  = pMeuVs40TU, Entries= 142820, Total sum= 15261.4
TH1.Print Name  = pMeuVs40TV, Entries= 142715, Total sum= 15847.9
TH1.Print Name  = pYvsX, Entries= 285535, Total sum= 1.22903e+06
TH1.Print Name  = pMeuVs40Y, Entries= 285535, Total sum= 15086.4
TH1.Print Name  = pAdcYvsX, Entries= 285535, Total sum= 1.33517e+06
TH1.Print Name  = pAdcYvsX, Entries= 285535, Total sum= 2617.38
TH1.Print Name  = pYvsX, Entries= 285535, Total sum= 2409.31
TFile: name=MeuPlots601_3.root, title=, option=READ
h1 max=0.000192621
h2 max=0.00025892
Using max2...
Using print argument: cDensityFarCosmic.gif
Using print argument: cYvsXFarCosmic.gif
Using print argument: cYvsXUVCalZoomFarCosmic.gif
After running macro: errorCode=0
Deleting TCanvas=cDensity
Deleting TCanvas=cYvsX
Deleting TCanvas=cYvsXUVRawCal
Deleting TCanvas=cYvsXUVCalZoom
Deleting TCanvas=cYvsX1UV
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=MeuPlots36548.root
fOverrideMCFile=MeuPlots601_3.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Beet


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

Adding files...
Using fullFileName=MeuPlots36548.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
meu=498.364, mean=510.117, entries=54089
adc mean=537.054
Found Detector=2, SimFlag=1
Finding object=pMeuVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.938456
new min=0.797688
Finding object=pStsVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=1.00063
new min=0.850532
Finding object=pPeVsPl4
min=4.81969
Finding object=pAdcVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.690015
new min=0.552012
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	5.037648e+02	5.224812e-01
min=5.79348
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: MeuPlots601_3.root

Adding files...
Using fullFileName=MeuPlots601_3.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
TH1.Print Name  = hSigMap, Entries= 54089, Total sum= 54036
TH1.Print Name  = hAdc, Entries= 54089, Total sum= 54036
TH1.Print Name  = hDetector, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSimFlag, Entries= 64809, Total sum= 64809
TH1.Print Name  = pMeuVsPl4, Entries= 285535, Total sum= 119.381
TH1.Print Name  = pStsVsPl4, Entries= 285535, Total sum= 126.987
TH1.Print Name  = pPeVsPl4, Entries= 285535, Total sum= 828.438
TH1.Print Name  = pAdcVsPl4, Entries= 285535, Total sum= 118.348
TH1.Print Name  = pEffVsPl, Entries= 482254, Total sum= 482.128
TH1.Print Name  = pEffTrkVsPl, Entries= 482254, Total sum= 481.307
TH1.Print Name  = pMeuVsPl8, Entries= 285535, Total sum= 30184.9
TH1.Print Name  = pStsVsPl8, Entries= 285535, Total sum= 32109.6
TH1.Print Name  = pPeVsPl8, Entries= 285535, Total sum= 410.987
TH1.Print Name  = pAdcVsPl8, Entries= 285535, Total sum= 31535.8
TH1.Print Name  = pMeuVsPl, Entries= 285535, Total sum= 243554
TH1.Print Name  = pMeuVsPlU, Entries= 142820, Total sum= 121774
TH1.Print Name  = pMeuVsPlV, Entries= 142715, Total sum= 121780
TH1.Print Name  = pStsVsPl, Entries= 285535, Total sum= 259132
TH1.Print Name  = pStsVsPlU, Entries= 142820, Total sum= 129731
TH1.Print Name  = pStsVsPlV, Entries= 142715, Total sum= 129401
TH1.Print Name  = pPeVsPl, Entries= 285535, Total sum= 3313.6
TH1.Print Name  = pPeVsPlU, Entries= 142820, Total sum= 1653.32
TH1.Print Name  = pPeVsPlV, Entries= 142715, Total sum= 1660.28
TH1.Print Name  = pAdcVsPl, Entries= 285535, Total sum= 254249
TH1.Print Name  = pAdcVsPlU, Entries= 142820, Total sum= 126930
TH1.Print Name  = pAdcVsPlV, Entries= 142715, Total sum= 127319
TH1.Print Name  = pAdcVsPl, Entries= 285535, Total sum= 254249
TH1.Print Name  = hAdcVsPlTemp, Entries= 285535, Total sum= 473.415
TH1.Print Name  = pMeuVsPl, Entries= 285535, Total sum= 243554
TH1.Print Name  = hMeuVsPlTemp, Entries= 285535, Total sum= 488.707
TH1.Print Name  = hPlAdc, Entries= 484, Total sum= 484
TH1.Print Name  = hPlMeu, Entries= 484, Total sum= 484
TFile: name=MeuPlots601_3.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: cPlaneFarCosmic.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=MeuPlots36548.root
fOverrideMCFile=MeuPlots601_3.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Beet


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

Adding files...
Using fullFileName=MeuPlots36548.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
Constructing PlotFunctions...
Found Detector=2, SimFlag=1
meu=498.364, mean=510.117, entries=54089
SetTH1Max: h1 max=665.799
SetTH1Max: h2 max=780.164
SetTH1Max: Using max2...
SetTProfileMinWithEntries2: min=289.266
ExpandMin: Before min=289.266
ExpandMin: After min=260.339
ExpandMin: Before min=289.266
ExpandMin: After min=260.339
SetTH1Max: h1 max=686.771
SetTH1Max: h2 max=771.552
SetTH1Max: Using max2...
SetTProfileMinWithEntries2: min=296.825
ExpandMin: Before min=296.825
ExpandMin: After min=267.142
ExpandMin: Before min=296.825
ExpandMin: After min=267.142
SetTH1Max: h1 max=9.29495
SetTH1Max: h2 max=12.0198
SetTH1Max: Using max2...
SetTProfileMinWithEntries2: min=3.41428
ExpandMin: Before min=3.41428
ExpandMin: After min=3.07286
ExpandMin: Before min=3.41428
ExpandMin: After min=3.07286
SetTH1Max: h1 max=740.851
SetTH1Max: h2 max=977.675
SetTH1Max: Using max2...
SetTProfileMinWithEntries2: min=275.026
ExpandMin: Before min=275.026
ExpandMin: After min=247.523
ExpandMin: Before min=275.026
ExpandMin: After min=247.523
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: MeuPlots601_3.root

Adding files...
Using fullFileName=MeuPlots601_3.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSimFlag, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSigMap, Entries= 54089, Total sum= 54036
TH1.Print Name  = hPe, Entries= 54089, Total sum= 54039
TH1.Print Name  = pMeuVsStripU, Entries= 142820, Total sum= 90176.5
TH1.Print Name  = pMeuVsStripV, Entries= 142715, Total sum= 90799.4
TH1.Print Name  = pStsVsStripU, Entries= 142820, Total sum= 94752.1
TH1.Print Name  = pStsVsStripV, Entries= 142715, Total sum= 95388.6
TH1.Print Name  = pPeVsStripU, Entries= 142820, Total sum= 1228.3
TH1.Print Name  = pPeVsStripV, Entries= 142715, Total sum= 1253.44
TH1.Print Name  = pAdcVsStripU, Entries= 142820, Total sum= 94132.9
TH1.Print Name  = pAdcVsStripV, Entries= 142715, Total sum= 96131.9
TH1.Print Name  = pMeuVsStripUClone, Entries= 142820, Total sum= 180.945
TH1.Print Name  = pStsVsStripUClone, Entries= 142820, Total sum= 190.126
TH1.Print Name  = pPeVsStripUClone, Entries= 142820, Total sum= 180.264
TH1.Print Name  = pAdcVsStripUClone, Entries= 142820, Total sum= 188.884
TH1.Print Name  = pMeuVsStripVClone, Entries= 142715, Total sum= 182.195
TH1.Print Name  = pStsVsStripVClone, Entries= 142715, Total sum= 191.403
TH1.Print Name  = pPeVsStripVClone, Entries= 142715, Total sum= 183.953
TH1.Print Name  = pAdcVsStripVClone, Entries= 142715, Total sum= 192.895
TFile: name=MeuPlots601_3.root, title=, option=READ
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.778421
SetTProfileMaxWithEntries2: max=1.33597
ExpandMin: Before min=0.778421
ExpandMin: After min=0.700579
ExpandMax: Before max=1.33597
ExpandMax: After max=1.46957
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.786346
SetTProfileMaxWithEntries2: max=1.37805
ExpandMin: Before min=0.786346
ExpandMin: After min=0.707712
ExpandMax: Before max=1.37805
ExpandMax: After max=1.51586
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.768489
SetTProfileMaxWithEntries2: max=1.37202
ExpandMin: Before min=0.768489
ExpandMin: After min=0.69164
ExpandMax: Before max=1.37202
ExpandMax: After max=1.50922
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.768422
SetTProfileMaxWithEntries2: max=1.48657
ExpandMin: Before min=0.768422
ExpandMin: After min=0.691579
ExpandMax: Before max=1.48657
ExpandMax: After max=1.63522
Overriding min & max...
min=0.9
max=1.1
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.580431
SetTProfileMaxWithEntries2: max=1.36353
ExpandMin: Before min=0.580431
ExpandMin: After min=0.522388
ExpandMax: Before max=1.36353
ExpandMax: After max=1.49989
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.595598
SetTProfileMaxWithEntries2: max=1.37447
ExpandMin: Before min=0.595598
ExpandMin: After min=0.536038
ExpandMax: Before max=1.37447
ExpandMax: After max=1.51192
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.501075
SetTProfileMaxWithEntries2: max=1.35777
ExpandMin: Before min=0.501075
ExpandMin: After min=0.450968
ExpandMax: Before max=1.35777
ExpandMax: After max=1.49354
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.505606
SetTProfileMaxWithEntries2: max=1.40029
ExpandMin: Before min=0.505606
ExpandMin: After min=0.455046
ExpandMax: Before max=1.40029
ExpandMax: After max=1.54032
Overriding min & max...
min=0.9
max=1.1
Using print argument: cStripFarCosmic.gif
Using print argument: cStripUFarCosmic.gif
Using print argument: cStripVFarCosmic.gif
After running macro: errorCode=0
Deleting TCanvas=cStrip
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=MeuPlots36548.root
fOverrideMCFile=MeuPlots601_3.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Beet


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

Adding files...
Using fullFileName=MeuPlots36548.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
Constructing PlotFunctions...
Found Detector=2, SimFlag=1
meu=498.364, mean=510.117, entries=54089
Found hSigMapWinCor: meu=498.217
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.12838
SetTH1MaxSame: h2 max=1.0108
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.12838
SetTH1MaxSame: h2 max=1.09794
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.12838
SetTH1MaxSame: h2 max=1.04134
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.12838
SetTH1MaxSame: h2 max=1.12838
SetTH1MaxSame: h1 max=1.12838
SetTH1MaxSame: h2 max=1.12838
SetTProfileMinWithEntries4: min=0.847739
ExpandMin: Before min=0.847739
ExpandMin: After min=0.762965
ExpandMax: Before max=1.12838
ExpandMax: After max=1.24122
ExpandMin: Before min=0.847739
ExpandMin: After min=0.762965
ExpandMax: Before max=1.12838
ExpandMax: After max=1.24122
ExpandMin: Before min=0.847739
ExpandMin: After min=0.762965
ExpandMax: Before max=1.12838
ExpandMax: After max=1.24122
ExpandMin: Before min=0.847739
ExpandMin: After min=0.762965
ExpandMax: Before max=1.12838
ExpandMax: After max=1.24122
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.32481
SetTH1MaxSame: h2 max=1.32781
SetTH1MaxSame: Using max2...
SetTH1MaxSame: h1 max=1.03046
SetTH1MaxSame: h2 max=1.01849
SetTH1MaxSame Using max1...
SetTProfileMinWithEntries2: min=0.971683
SetTProfileMinWithEntries2: min=0.901283
ExpandMin: Before min=0.971683
ExpandMin: After min=0.874515
ExpandMax: Before max=1.32781
ExpandMax: After max=1.46059
ExpandMin: Before min=0.971683
ExpandMin: After min=0.874515
ExpandMax: Before max=1.32781
ExpandMax: After max=1.46059
ExpandMin: Before min=0.901283
ExpandMin: After min=0.811155
ExpandMax: Before max=1.03046
ExpandMax: After max=1.13351
ExpandMin: Before min=0.901283
ExpandMin: After min=0.811155
ExpandMax: Before max=1.03046
ExpandMax: After max=1.13351
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=8.06896 +/- 0.725621 pe (N=5)
x=-3.25 m, total light yield=7.65578 +/- 0.327631 pe (N=172)
x=-2.75 m, total light yield=8.31306 +/- 0.125568 pe (N=1273)
x=-2.25 m, total light yield=7.88815 +/- 0.071486 pe (N=3633)
x=-1.75 m, total light yield=7.43953 +/- 0.0552264 pe (N=5472)
x=-1.25 m, total light yield=6.92157 +/- 0.0483862 pe (N=6035)
x=-0.75 m, total light yield=6.60397 +/- 0.047696 pe (N=5801)
x=-0.25 m, total light yield=6.46823 +/- 0.0507951 pe (N=5141)
x=0.25 m, total light yield=6.62142 +/- 0.0500104 pe (N=5972)
x=0.75 m, total light yield=6.6945 +/- 0.0394891 pe (N=9868)
x=1.25 m, total light yield=7.00584 +/- 0.0382772 pe (N=11554)
x=1.75 m, total light yield=7.25057 +/- 0.0386422 pe (N=11161)
x=2.25 m, total light yield=7.60372 +/- 0.0428368 pe (N=10551)
x=2.75 m, total light yield=7.97246 +/- 0.0482583 pe (N=7983)
x=3.25 m, total light yield=8.18506 +/- 0.067615 pe (N=4629)
x=3.75 m, total light yield=8.78171 +/- 0.168565 pe (N=731)
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=2.03104 +/- 0.475786 pe (N=5)
x=-3.25 m, east stripend light yield=1.93564 +/- 0.12079 pe (N=172)
x=-2.75 m, east stripend light yield=2.33712 +/- 0.0504865 pe (N=1273)
x=-2.25 m, east stripend light yield=2.46107 +/- 0.0312827 pe (N=3633)
x=-1.75 m, east stripend light yield=2.61175 +/- 0.0254269 pe (N=5472)
x=-1.25 m, east stripend light yield=2.66504 +/- 0.0247279 pe (N=6035)
x=-0.75 m, east stripend light yield=2.81656 +/- 0.0261963 pe (N=5801)
x=-0.25 m, east stripend light yield=2.99918 +/- 0.0296533 pe (N=5141)
x=0.25 m, east stripend light yield=3.37306 +/- 0.0306975 pe (N=5972)
x=0.75 m, east stripend light yield=3.71807 +/- 0.0254267 pe (N=9868)
x=1.25 m, east stripend light yield=4.17461 +/- 0.0261578 pe (N=11554)
x=1.75 m, east stripend light yield=4.60228 +/- 0.0278957 pe (N=11161)
x=2.25 m, east stripend light yield=5.15876 +/- 0.0320077 pe (N=10551)
x=2.75 m, east stripend light yield=5.68099 +/- 0.0377926 pe (N=7983)
x=3.25 m, east stripend light yield=6.08903 +/- 0.0540324 pe (N=4629)
x=3.75 m, east stripend light yield=6.85507 +/- 0.140424 pe (N=731)
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=6.03792 +/- 0.696957 pe (N=5)
x=-3.25 m, west stripend light yield=5.72015 +/- 0.260806 pe (N=172)
x=-2.75 m, west stripend light yield=5.97594 +/- 0.0974289 pe (N=1273)
x=-2.25 m, west stripend light yield=5.42707 +/- 0.0534071 pe (N=3633)
x=-1.75 m, west stripend light yield=4.82778 +/- 0.0401319 pe (N=5472)
x=-1.25 m, west stripend light yield=4.25652 +/- 0.0337327 pe (N=6035)
x=-0.75 m, west stripend light yield=3.78741 +/- 0.0316479 pe (N=5801)
x=-0.25 m, west stripend light yield=3.46904 +/- 0.0321762 pe (N=5141)
x=0.25 m, west stripend light yield=3.24836 +/- 0.0296332 pe (N=5972)
x=0.75 m, west stripend light yield=2.97643 +/- 0.0222005 pe (N=9868)
x=1.25 m, west stripend light yield=2.83123 +/- 0.0195696 pe (N=11554)
x=1.75 m, west stripend light yield=2.64829 +/- 0.0183637 pe (N=11161)
x=2.25 m, west stripend light yield=2.44496 +/- 0.0182617 pe (N=10551)
x=2.75 m, west stripend light yield=2.29147 +/- 0.0193788 pe (N=7983)
x=3.25 m, west stripend light yield=2.09604 +/- 0.024097 pe (N=4629)
x=3.75 m, west stripend light yield=1.92664 +/- 0.0540842 pe (N=731)
x=4.25 m, west stripend light yield=0 +/- 0 pe (N=0)
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	9.892559e-01	1.457217e-03
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	7.556343e-01	9.861690e-09
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots601_3.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSimFlag, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSigMap, Entries= 54089, Total sum= 54036
TH1.Print Name  = hSigMapWinCor, Entries= 54089, Total sum= 54036
TH1.Print Name  = pMeuVs40X, Entries= 285535, Total sum= 32.0006
TH1.Print Name  = pMeuVs40Y, Entries= 285535, Total sum= 29.5743
TH1.Print Name  = pMeuVs40TU, Entries= 142820, Total sum= 29.9174
TH1.Print Name  = pMeuVs40TV, Entries= 142715, Total sum= 31.0672
TH1.Print Name  = pCorVsLU, Entries= 142820, Total sum= 17.678
TH1.Print Name  = pCorVsLV, Entries= 142715, Total sum= 17.4838
TH1.Print Name  = pMeuVsLU, Entries= 142820, Total sum= 15.7463
TH1.Print Name  = pMeuVsLV, Entries= 142715, Total sum= 15.5512
TH1.Print Name  = pPeVsLU8, Entries= 89981, Total sum= 119.475
TH1.Print Name  = pPeVsLU8, Entries= 89981, Total sum= 119.475
TH1.Print Name  = pPeVsLU18, Entries= 89981, Total sum= 59.5093
TH1.Print Name  = pPeVsLU28, Entries= 89981, Total sum= 59.9653
TH1.Print Name  = pMeuVsLUClone, Entries= 142820, Total sum= 15.7463
TH1.Print Name  = pMeuVsLVClone, Entries= 142715, Total sum= 15.5512
TFile: name=MeuPlots601_3.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.01367
SetTH1MaxSame: h2 max=0.984117
SetTH1MaxSame: h3 max=1.00209
SetTH1MaxSame: h4 max=0.992751
SetTH1MaxSame4: max=1.01367
SetTProfileMinWithEntries4: min=0.799483
ExpandMin: Before min=0.799483
ExpandMin: After min=0.719535
ExpandMin: Before min=0.799483
ExpandMin: After min=0.719535
ExpandMin: Before min=0.799483
ExpandMin: After min=0.719535
ExpandMin: Before min=0.799483
ExpandMin: After min=0.719535
SetTH1MinSame: h1 min=0.719535
SetTH1MinSame: h2 min=0.719535
SetTH1MinSame: h3 min=0.95
SetTH1MinSame: h4 min=0.95
SetTH1MinSame4: min=0.719535
SetTH1MinSame: h1 min=0.719535
SetTH1MinSame: h2 min=0.719535
SetTH1MinSame: h3 min=0.95
SetTH1MinSame: h4 min=0.95
SetTH1MinSame4: min=0.719535
SetTH1MaxSame: h1 max=1.01367
SetTH1MaxSame: h2 max=1.01367
SetTH1MaxSame: h3 max=1.05
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.05
SetTH1MaxSame: h1 max=1.01367
SetTH1MaxSame: h2 max=1.01367
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.28126
SetTH1MaxSame: h2 max=1.46059
SetTH1MaxSame: h3 max=1.41542
SetTH1MaxSame: h4 max=1.46059
SetTH1MaxSame4: max=1.46059
SetTProfileMinWithEntries4: min=0.952484
SetTH1MaxSame: h1 max=0.998542
SetTH1MaxSame: h2 max=1.05
SetTH1MaxSame: h3 max=1.04282
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.05
SetTProfileMinWithEntries4: min=0.901283
ExpandMin: Before min=0.952484
ExpandMin: After min=0.857236
ExpandMin: Before min=0.952484
ExpandMin: After min=0.857236
ExpandMin: Before min=0.901283
ExpandMin: After min=0.811155
ExpandMin: Before min=0.901283
ExpandMin: After min=0.811155
Overriding atten min2 & max2...
Using print argument: c1DXYFarCosmic.gif
Using print argument: cStripAttenFarCosmic.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=MeuPlots36548.root
fOverrideMCFile=MeuPlots601_3.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Beet


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

Adding files...
Using fullFileName=MeuPlots36548.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
Found Detector=2, SimFlag=1
meu=498.364, mean=510.117, entries=54089
i=0, cosThZ=-0.95, meu=493.667 +/- 3.5565 (N=638)
i=1, cosThZ=-0.85, meu=496.75 +/- 2.37455 (N=1446)
i=2, cosThZ=-0.75, meu=498.567 +/- 2.1428 (N=2427)
i=3, cosThZ=-0.65, meu=494.848 +/- 1.59514 (N=3565)
i=4, cosThZ=-0.55, meu=498.4 +/- 1.53009 (N=4412)
i=5, cosThZ=-0.45, meu=497.72 +/- 1.50976 (N=5740)
i=6, cosThZ=-0.35, meu=500.804 +/- 1.51475 (N=5901)
i=7, cosThZ=-0.25, meu=514.538 +/- 2.40325 (N=4382)
i=8, cosThZ=-0.15, meu=535.125 +/- 11.1935 (N=715)
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)
i=11, cosThZ=0.15, meu=529.833 +/- 9.43117 (N=663)
i=12, cosThZ=0.25, meu=515.472 +/- 2.36177 (N=4893)
i=13, cosThZ=0.35, meu=502.728 +/- 1.46353 (N=6769)
i=14, cosThZ=0.45, meu=499.837 +/- 1.28181 (N=6845)
i=15, cosThZ=0.55, meu=498.16 +/- 1.32116 (N=5638)
i=16, cosThZ=0.65, meu=495.138 +/- 1.49099 (N=4586)
i=17, cosThZ=0.75, meu=494.775 +/- 1.57791 (N=3327)
i=18, cosThZ=0.85, meu=499 +/- 2.14832 (N=1914)
i=19, cosThZ=0.95, meu=494 +/- 3.09836 (N=828)
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots601_3.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSimFlag, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSigMap, Entries= 54089, Total sum= 54036
TH1.Print Name  = hMeuCosTh0, Entries= 638, Total sum= 638
TH1.Print Name  = hMeuCosTh1, Entries= 1446, Total sum= 1446
TH1.Print Name  = hMeuCosTh2, Entries= 2427, Total sum= 2427
TH1.Print Name  = hMeuCosTh3, Entries= 3565, Total sum= 3565
TH1.Print Name  = hMeuCosTh4, Entries= 4412, Total sum= 4412
TH1.Print Name  = hMeuCosTh5, Entries= 5740, Total sum= 5740
TH1.Print Name  = hMeuCosTh6, Entries= 5901, Total sum= 5901
TH1.Print Name  = hMeuCosTh7, Entries= 4382, Total sum= 4382
TH1.Print Name  = hMeuCosTh8, Entries= 715, Total sum= 715
TH1.Print Name  = hMeuCosTh9, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh10, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh11, Entries= 663, Total sum= 663
TH1.Print Name  = hMeuCosTh12, Entries= 4893, Total sum= 4893
TH1.Print Name  = hMeuCosTh13, Entries= 6769, Total sum= 6769
TH1.Print Name  = hMeuCosTh14, Entries= 6845, Total sum= 6845
TH1.Print Name  = hMeuCosTh15, Entries= 5638, Total sum= 5638
TH1.Print Name  = hMeuCosTh16, Entries= 4586, Total sum= 4586
TH1.Print Name  = hMeuCosTh17, Entries= 3327, Total sum= 3327
TH1.Print Name  = hMeuCosTh18, Entries= 1914, Total sum= 1914
TH1.Print Name  = hMeuCosTh19, Entries= 828, Total sum= 828
TH1.Print Name  = hCosThZ, Entries= 64809, Total sum= 64809
TFile: name=MeuPlots601_3.root, title=, option=READ
meu=482.977, mean=493.576, entries=42341
i=0, cosThZ=-0.95, meu=473.167 +/- 3.26991 (N=565)
i=1, cosThZ=-0.85, meu=480.929 +/- 2.40548 (N=1305)
i=2, cosThZ=-0.75, meu=486.625 +/- 1.92653 (N=2039)
i=3, cosThZ=-0.65, meu=479.526 +/- 1.60627 (N=3004)
i=4, cosThZ=-0.55, meu=481.079 +/- 1.5083 (N=3453)
i=5, cosThZ=-0.45, meu=485.294 +/- 1.41279 (N=4432)
i=6, cosThZ=-0.35, meu=489.52 +/- 1.50649 (N=4460)
i=7, cosThZ=-0.25, meu=496.093 +/- 2.3946 (N=3219)
i=8, cosThZ=-0.15, meu=519.5 +/- 8.60963 (N=501)
i=9, cosThZ=-0.05, meu=512.5 +/- 0 (N=1)
Error in <TH1F::ComputeIntegral>: Integral = zero
i=10, cosThZ=0.05, meu=4999 +/- 0 (N=0)
i=11, cosThZ=0.15, meu=526.25 +/- 8.31071 (N=529)
i=12, cosThZ=0.25, meu=500.265 +/- 2.44826 (N=3543)
i=13, cosThZ=0.35, meu=487.32 +/- 1.56737 (N=4830)
i=14, cosThZ=0.45, meu=483.067 +/- 1.26222 (N=5114)
i=15, cosThZ=0.55, meu=481.538 +/- 1.35398 (N=4184)
i=16, cosThZ=0.65, meu=479.5 +/- 1.46701 (N=3746)
i=17, cosThZ=0.75, meu=480.308 +/- 1.63954 (N=2650)
i=18, cosThZ=0.85, meu=478 +/- 1.96326 (N=1738)
i=19, cosThZ=0.95, meu=472.875 +/- 2.71009 (N=812)
Entries Data =64809
Integral Data=64809
Entries MC   =50135
Integral MC  =50135
ScaleFactor  =1.29269
h1 max=6852
h2 max=6613.4
Using print argument: cCosThZFarCosmic.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=MeuPlots36548.root
fOverrideMCFile=MeuPlots601_3.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Beet


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

Adding files...
Using fullFileName=MeuPlots36548.root
TFile: name=MeuPlots36548.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
Found Detector=2, SimFlag=1
First histo has entries=54089, all=64809
meanPe=16
Setting pe range for cosmics (more light)
 FCN=2667.33 FROM MIGRAD    STATUS=CONVERGED      72 CALLS          73 TOTAL
                     EDM=4.27527e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.21080e+03   6.93616e+00   1.34957e-01   6.80261e-05
   2  Mean         5.28062e+02   5.25711e-01   1.14512e-02   1.81870e-03
   3  Sigma        1.01550e+02   3.76588e-01   2.04950e-05  -3.44422e-01
 FCN=2595.83 FROM MIGRAD    STATUS=CONVERGED      79 CALLS          80 TOTAL
                     EDM=2.82626e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.64555e+03   9.02412e+00   1.81197e-01  -3.82464e-05
   2  Mean         6.88706e+00   6.76620e-03   1.39395e-04  -8.25783e-02
   3  Sigma        1.26319e+00   4.10341e-03   1.79132e-05  -4.07263e-01
 FCN=2679.06 FROM MIGRAD    STATUS=CONVERGED      72 CALLS          73 TOTAL
                     EDM=7.10407e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.20502e+03   6.89662e+00   1.34626e-01   8.58389e-05
   2  Mean         5.31038e+02   5.29107e-01   1.15230e-02   2.28747e-03
   3  Sigma        1.01996e+02   3.77023e-01   2.04526e-05  -5.24958e-01
 FCN=2842.79 FROM MIGRAD    STATUS=CONVERGED      83 CALLS          84 TOTAL
                     EDM=2.70252e-09    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.37902e+03   7.63530e+00   1.58874e-01  -2.39293e-06
   2  Mean         5.35410e+02   4.71311e-01   1.02522e-02  -1.25374e-04
   3  Sigma        8.87156e+01   2.96508e-01   1.88022e-05  -3.04017e-02
 FCN=2603.74 FROM MIGRAD    STATUS=CONVERGED      72 CALLS          73 TOTAL
                     EDM=8.87064e-06    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.47674e+03   8.29363e+00   1.62399e-01  -2.96517e-04
   2  Mean         5.02400e+02   4.29359e-01   9.21094e-03   5.06708e-03
   3  Sigma        8.33137e+01   2.91597e-01   1.90978e-05  -5.45817e+00

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

Adding files...
Using fullFileName=MeuPlots601_3.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSimFlag, Entries= 64809, Total sum= 64809
TH1.Print Name  = hAdc, Entries= 54089, Total sum= 54036
TH1.Print Name  = hPeRaw, Entries= 64809, Total sum= 64054
TH1.Print Name  = hAdc, Entries= 54089, Total sum= 54036
TH1.Print Name  = hSigCor, Entries= 54089, Total sum= 54035
TH1.Print Name  = hSigCor, Entries= 54089, Total sum= 54035
TH1.Print Name  = hSigMap, Entries= 54089, Total sum= 54036
TH1.Print Name  = hSigMap, Entries= 54089, Total sum= 54036
TH1.Print Name  = hAdcClone, Entries= 54089, Total sum= 54036
TH1.Print Name  = hPe, Entries= 54089, Total sum= 54039
TH1.Print Name  = hPeClone, Entries= 54089, Total sum= 54039
TH1.Print Name  = hSigLin, Entries= 54089, Total sum= 54036
TH1.Print Name  = hSigLinClone, Entries= 54089, Total sum= 54036
TH1.Print Name  = hSigCorClone, Entries= 54089, Total sum= 54035
TH1.Print Name  = hSigMapClone, Entries= 54089, Total sum= 54036
TH1.Print Name  = hAvNumDigitsAll, Entries= 54089, Total sum= 54089
TH1.Print Name  = hAvNumStripsAll, Entries= 54089, Total sum= 54089
TH1.Print Name  = hAvNumDigits, Entries= 54089, Total sum= 54079
TH1.Print Name  = hAvNumStrips, Entries= 54089, Total sum= 54089
TFile: name=MeuPlots601_3.root, title=, option=READ
Second histo has entries=42341, all=50135
h1 max=4133
h2 max=4550.32
Using max2...
h1 max=1842
h2 max=1880.86
Using max2...
h1 max=4635
h2 max=5131.56
Using max2...
h1 max=3267
h2 max=3334.17
Using max2...
h1 max=4927
h2 max=5500.75
Using max2...
h1 max=8491
h2 max=8576.88
Using max2...
h1 max=5591
h2 max=5670.65
Using max2...
Using print argument: cTrkWinRespFarCosmic.gif
Using print argument: cTrkWinStripsFarCosmic.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=MeuPlots36548.root
fOverrideMCFile=MeuPlots601_3.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Beet


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

Adding files...
Using fullFileName=MeuPlots36548.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
Found Detector=2, SimFlag=1
meu=498.364, mean=510.117, entries=54089

sigMapMedian=498.364
sigCorMedian=530.279
sigLinMedian=525.6
adcMedian=522.672
peMedian=6.81392

x min=3.68535e+08
x max=3.86439e+08
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots601_3.root
FileList contains:
TFile: name=MeuPlots36548.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSimFlag, Entries= 64809, Total sum= 64809
TH1.Print Name  = hSigMap, Entries= 54089, Total sum= 54036
TH1.Print Name  = hSigCor, Entries= 54089, Total sum= 54035
TH1.Print Name  = hSigLin, Entries= 54089, Total sum= 54036
TH1.Print Name  = hAdc, Entries= 54089, Total sum= 54036
TH1.Print Name  = hPe, Entries= 54089, Total sum= 54039
TH1.Print Name  = hSigCorDriftCosThStd, Entries= 7, Total sum= 7.45004
TH1.Print Name  = hMeuDriftCosThStd, Entries= 7, Total sum= 3489.76
TH1.Print Name  = hMeuDriftN, Entries= 7, Total sum= 54035
TH1.Print Name  = hFlat, Entries= 14, Total sum= 7
TH1.Print Name  = hSigLinDriftCosThStd, Entries= 7, Total sum= 6.93808
TH1.Print Name  = hSigLinOnAdc, Entries= 7, Total sum= 6.99984
TH1.Print Name  = hSigCorOnSigLin, Entries= 7, Total sum= 7.00166
TH1.Print Name  = hMeuDriftCosThStdCloneData, Entries= 7, Total sum= 7.00242
TH1.Print Name  = hAdcDriftCosThStd, Entries= 7, Total sum= 6.96134
TH1.Print Name  = hPeDriftCosThStd, Entries= 7, Total sum= 7.00371
TFile: name=MeuPlots601_3.root, title=, option=READ
meu=482.977, mean=493.576, entries=42341
Using print argument: cResponseDriftCalCosThFarCosmic.gif
Using print argument: cDriftAllCosThDataFarCosmic.gif
Using print argument: cDriftAllCosThMCFarCosmic.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=MeuPlots36548.root
fOverrideMCFile=MeuPlots601_3.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Beet


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

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

Mean Digits:
  Av Num Digits      =2.98824 +/- 0.0034295
  Av Num Digits (All)=2.99409 +/- 0.00389914

Forwards and backwards:
  forward  meu=498.642, mean=510.109, entries=29935, resolution=0.205827
  backward meu=498.076, mean=510.127, entries=24154, resolution=0.210203

B-field forwards and reversed:
  B forward  meu=498.364, mean=510.117, entries=54089, resolution=0.207792
  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=244.757, mean=256.875, entries=64809, resolution=0.399332
  meuV2=249.439, mean=261.525, entries=64809, resolution=0.393447

Standard MEU values (for first file):
  meu=498.364 +/- 0.455769, mean=510.117, rms=105.998, entries=54089, resolution=0.207792
  meuAll=501.15 +/- 4.97594, mean=551.229, rms=1266.75, entries=64809, resolution=2.29805


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

Adding files...
Using fullFileName=MeuPlots601_3.root

RESOLUTIONS:
  ADCs:    0.233702
  PEs:     0.232527
  SigLins: 0.233826
  SigCors: 0.210403
  SigMaps: 0.207792
RESOLUTIONS (with truncation):
  ADCs:    0.215225
  PEs:     0.204164
  SigLins: 0.215129
  SigCors: 0.191916
  SigMaps: 0.190102
RESOLUTIONS (from Gaussian fit):
  ADCs:    0.190703
  PEs:     0.183416
  SigLins: 0.19089
  SigCors: 0.167188
  SigMaps: 0.166459

*** MEU Summary (Cedar Data) ***
MEU (WinSigMap)=498.4 +/- 0.4558 (0.09145%)
MEU (WinSigCor)=530.3 +/- 0.4919 (0.09276%)
MEU (WinSigLin)=525.6 +/- 0.543 (0.1033%)
MEU (WinSigDrf)=525.6 +/- 0.5427 (0.1033%)
MEU (WinSigLinOnly)=522.7 +/- 0.54 (0.1033%)
MEU (WinAdc)   =522.7 +/- 0.5397 (0.1033%)
MEU (WinPe)    =6.814 +/- 0.006995 (0.1027%)
MEU (WinPeRaw) =14.39 +/- 0.03162 (0.2197%)
MEU (Av digits)=2.863 +/- 0.003429 (0.1198%)
MEU (Av strips)=1.797 +/- 0.002676 (0.1489%)

*** MEU Summary (Cedar Beet) ***
MEU (WinSigMap)=483 +/- 0.4492 (0.093%)
MEU (WinSigCor)=510.3 +/- 0.4909 (0.09618%)
MEU (WinSigLin)=511.3 +/- 0.5388 (0.1054%)
MEU (WinSigDrf)=521.9 +/- 0.5492 (0.1052%)
MEU (WinSigLinOnly)=521.9 +/- 0.5498 (0.1053%)
MEU (WinAdc)   =521.9 +/- 0.5492 (0.1052%)
MEU (WinPe)    =7.203 +/- 0.007612 (0.1057%)
MEU (WinPeRaw) =14.8 +/- 0.03671 (0.248%)
MEU (Av digits)=2.885 +/- 0.003233 (0.1121%)
MEU (Av strips)=1.796 +/- 0.002397 (0.1335%)

*** Summary of Differences (data - MC) ***
MEU Difference (WinSigMap)=15, 3.1% +/- 0.13%
MEU Difference (WinSigCor)=20, 3.8% +/- 0.13%
MEU Difference (WinSigLin)=14, 2.8% +/- 0.15%
MEU Difference (WinSigDrf)=3.7, 0.71% +/- 0.15%
MEU Difference (WinSigLinOnly)=0.77, 0.15% +/- 0.15%
MEU Difference (WinAdc)   =0.77, 0.15% +/- 0.15%
MEU Difference (WinPe)    =-0.39, -5.5% +/- 0.15%
MEU Difference (WinPeRaw) =-0.41, -2.8% +/- 0.33%
MEU Difference (Av Digits)=-0.022, -0.78% +/- 0.16%
MEU Difference (Av Strips)=0.001, 0.056% +/- 0.2%

*** Summary of Differences (data - MC) ***
MEAN Difference (WinSigMap)=17, 3.3% +/- 0.13%
MEAN Difference (WinSigCor)=21, 4% +/- 0.13%
MEAN Difference (WinSigLin)=16, 3% +/- 0.15%
MEAN Difference (WinSigDrf)=5.1, 0.95% +/- 0.15%
MEAN Difference (WinSigLinOnly)=2, 0.38% +/- 0.15%
MEAN Difference (WinAdc)   =2.1, 0.38% +/- 0.15%
MEAN Difference (WinPe)    =-0.39, -5.4% +/- 0.15%
MEAN Difference (WinPeRaw) =-0.51, -3% +/- 0.33%
MEAN Difference (Av Digits)=-0.021, -0.69% +/- 0.16%
MEAN Difference (Av Strips)=0.014, 0.72% +/- 0.2%

*** Summary of Differences (data - MC) ***
FIT Difference (WinSigMap)=16, 3.1% +/- 0.13%
FIT Difference (WinSigCor)=21, 3.9% +/- 0.13%
FIT Difference (WinSigLin)=15, 2.9% +/- 0.15%
FIT Difference (WinSigDrf)=4.3, 0.82% +/- 0.15%
FIT Difference (WinSigLinOnly)=1.3, 0.25% +/- 0.15%
FIT Difference (WinAdc)   =1.3, 0.26% +/- 0.15%
FIT Difference (WinPe)    =-0.39, -5.5% +/- 0.15%
FIT Difference (WinPeRaw) =-0.54, -3.5% +/- 0.33%
FIT Difference (Av Digits)=-0.049, -1.7% +/- 0.16%
FIT Difference (Av Strips)=0.045, 2.3% +/- 0.2%

*** Differences in Central Values (Median/Mean/Gaussian-Fit) ***
MEU - MEAN Diff. (WinSigMap)=4.8, 0.95%
MEU - FIT  Diff. (WinSigMap)=12, 2.3%
MEAN - FIT Diff. (WinSigMap)=23, 4.6%


*** Latex table of MEU Numbers ***
SigMaps     & 498.4 $\pm$  0.5 & 483.0 $\pm$  0.4 &  3.1\% & 0.208 & 0.187 \\
SigCors     & 530.3 $\pm$  0.5 & 510.3 $\pm$  0.5 &  3.8\% & 0.210 & 0.193 \\
SigLins     & 525.6 $\pm$  0.5 & 511.3 $\pm$  0.5 &  2.8\% & 0.234 & 0.212 \\
SigDrfs     & 525.6 $\pm$  0.5 & 521.9 $\pm$  0.5 &  0.7\% & 0.234 & 0.211 \\
SigLinOnlys     & 522.7 $\pm$  0.5 & 521.9 $\pm$  0.5 &  0.1\% & 0.234 & 0.211 \\
ADCs        & 522.7 $\pm$  0.5 & 521.9 $\pm$  0.5 &  0.1\% & 0.234 & 0.211 \\
Pes         & 6.814 $\pm$ 0.007 & 7.203 $\pm$ 0.008 & -5.5\% & 0.233 & 0.212 \\
PeRaws      & 14.39 $\pm$ 0.03 & 14.80 $\pm$ 0.04 & -2.8\% & 0.489 & 0.484 \\
Av. Digits  & 2.863 $\pm$ 0.003 & 2.885 $\pm$ 0.003 & -0.8\% & 0.267 & 0.221 \\
Av. Strips  & 1.797 $\pm$ 0.003 & 1.796 $\pm$ 0.002 &  0.1\% & 0.329 & 0.262 \\

*** Latex table of differences between centroids ***
Median            & 498.4 & 483.0 & 3.14\% \\
Mean              & 510.1 & 493.6 & 3.30\% \\
Gaussian Fit Mean & 502.3 & 486.7 & 3.15\% \\
After running macro: errorCode=0