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=MeuPlots7119.root
FLS:fOverrideMCFile=MeuPlots10001_1.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=MeuPlots7119.root
fOverrideMCFile=MeuPlots10001_1.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: MeuPlots7119.root

Adding files...
Using fullFileName=MeuPlots7119.root
Found Detector=1, SimFlag=1
This macro has to be run with loon rather than plain root!!!
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSimFlag, Entries= 67280, Total sum= 67280
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSimFlag, Entries= 67280, Total sum= 67280
meu=590.553, mean=604.061, entries=56127
Found hSigMapWinCor: meu=590.5
Using scaleFactor=0.00165546
min=0.751681, max=1.24832
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots10001_1.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSimFlag, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSigMap, Entries= 56127, Total sum= 56035
TH1.Print Name  = hSigMapWinCor, Entries= 56127, Total sum= 56034
TH1.Print Name  = hYvsX200, Entries= 326260, Total sum= 1
TH1.Print Name  = pYvsXU, Entries= 163162, Total sum= 293.744
TH1.Print Name  = pYvsXU, Entries= 163162, Total sum= 293.744
TH1.Print Name  = pYvsXV, Entries= 163098, Total sum= 293.638
TH1.Print Name  = pYvsXV, Entries= 163098, Total sum= 293.638
TH1.Print Name  = pAdcYvsXU, Entries= 163162, Total sum= 302.713
TH1.Print Name  = pStsYvsXU, Entries= 163162, Total sum= 299.037
TH1.Print Name  = pAdcYvsXV, Entries= 163098, Total sum= 302.293
TH1.Print Name  = pStsYvsXV, Entries= 163098, Total sum= 303.881
TH1.Print Name  = pPeYvsXV, Entries= 163098, Total sum= 1582.22
TH1.Print Name  = pAdcYvsXU, Entries= 163162, Total sum= 302.713
TH1.Print Name  = pYvsXU, Entries= 163162, Total sum= 293.744
TH1.Print Name  = pAdcYvsXV, Entries= 163098, Total sum= 302.293
TH1.Print Name  = pYvsXV, Entries= 163098, Total sum= 293.638
TH1.Print Name  = pAdcYvsXPU, Entries= 130545, Total sum= 180219
TH1.Print Name  = pStsYvsXPU, Entries= 130545, Total sum= 175774
TH1.Print Name  = pYvsXPU, Entries= 130545, Total sum= 173733
TH1.Print Name  = pAdcYvsXPV, Entries= 130319, Total sum= 180846
TH1.Print Name  = pStsYvsXPV, Entries= 130319, Total sum= 178443
TH1.Print Name  = pYvsXPV, Entries= 130319, Total sum= 174945
TH1.Print Name  = pAdcYvsXFU, Entries= 32617, Total sum= 171600
TH1.Print Name  = pStsYvsXFU, Entries= 32617, Total sum= 175996
TH1.Print Name  = pYvsXFU, Entries= 32617, Total sum= 167540
TH1.Print Name  = pAdcYvsXFV, Entries= 32779, Total sum= 162106
TH1.Print Name  = pStsYvsXFV, Entries= 32779, Total sum= 176250
TH1.Print Name  = pYvsXFV, Entries= 32779, Total sum= 164384
TH1.Print Name  = pAdcYvsXU2, Entries= 163162, Total sum= 182857
TH1.Print Name  = pAdcYvsXV2, Entries= 163098, Total sum= 182603
TH1.Print Name  = pStsYvsXU2, Entries= 163162, Total sum= 180637
TH1.Print Name  = pStsYvsXV2, Entries= 163098, Total sum= 183563
TH1.Print Name  = pYvsXU2, Entries= 163162, Total sum= 177439
TH1.Print Name  = pYvsXV2, Entries= 163098, Total sum= 177375
TH1.Print Name  = pYvsXU, Entries= 163162, Total sum= 293.744
TH1.Print Name  = pYvsXV, Entries= 163098, Total sum= 293.638
TH1.Print Name  = pMeuVs40TU, Entries= 163162, Total sum= 6568.22
TH1.Print Name  = pMeuVs40TV, Entries= 163098, Total sum= 5914.77
TH1.Print Name  = pYvsX, Entries= 326260, Total sum= 177898
TH1.Print Name  = pMeuVs40Y, Entries= 326260, Total sum= 7706.54
TH1.Print Name  = pAdcYvsX, Entries= 326260, Total sum= 183065
TH1.Print Name  = pAdcYvsX, Entries= 326260, Total sum= 303.057
TH1.Print Name  = pYvsX, Entries= 326260, Total sum= 294.504
TFile: name=MeuPlots10001_1.root, title=, option=READ
h1 max=0.00137927
h2 max=0.00190954
Using max2...
Using print argument: cDensityNearCosmic.gif
Using print argument: cYvsXNearCosmic.gif
Using print argument: cYvsXUVCalZoomNearCosmic.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=MeuPlots7119.root
fOverrideMCFile=MeuPlots10001_1.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: MeuPlots7119.root

Adding files...
Using fullFileName=MeuPlots7119.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
meu=590.553, mean=604.061, entries=56127
adc mean=614.323
Found Detector=1, SimFlag=1
Finding object=pMeuVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.939609
new min=0.798668
Finding object=pStsVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.929737
new min=0.790276
Finding object=pPeVsPl4
min=4.47162
Finding object=pAdcVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.753047
new min=0.602438
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	5.958649e+02	6.020749e-01
min=4.65582
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: MeuPlots10001_1.root

Adding files...
Using fullFileName=MeuPlots10001_1.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
TH1.Print Name  = hSigMap, Entries= 56127, Total sum= 56035
TH1.Print Name  = hAdc, Entries= 56127, Total sum= 56039
TH1.Print Name  = hDetector, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSimFlag, Entries= 67280, Total sum= 67280
TH1.Print Name  = pMeuVsPl4, Entries= 326260, Total sum= 29.5052
TH1.Print Name  = pStsVsPl4, Entries= 326260, Total sum= 29.844
TH1.Print Name  = pPeVsPl4, Entries= 326260, Total sum= 157.742
TH1.Print Name  = pAdcVsPl4, Entries= 326260, Total sum= 29.4812
TH1.Print Name  = pEffVsPl, Entries= 516812, Total sum= 118.459
TH1.Print Name  = pEffTrkVsPl, Entries= 516812, Total sum= 118.278
TH1.Print Name  = pMeuVsPl8, Entries= 326260, Total sum= 8900.18
TH1.Print Name  = pStsVsPl8, Entries= 326260, Total sum= 9012.62
TH1.Print Name  = pPeVsPl8, Entries= 326260, Total sum= 78.7954
TH1.Print Name  = pAdcVsPl8, Entries= 326260, Total sum= 9033.17
TH1.Print Name  = pMeuVsPl, Entries= 326260, Total sum= 71259.6
TH1.Print Name  = pMeuVsPlU, Entries= 163162, Total sum= 35484.1
TH1.Print Name  = pMeuVsPlV, Entries= 163098, Total sum= 35775.5
TH1.Print Name  = pStsVsPl, Entries= 326260, Total sum= 72089.3
TH1.Print Name  = pStsVsPlU, Entries= 163162, Total sum= 34568.2
TH1.Print Name  = pStsVsPlV, Entries= 163098, Total sum= 37521.1
TH1.Print Name  = pPeVsPl, Entries= 326260, Total sum= 630.125
TH1.Print Name  = pPeVsPlU, Entries= 163162, Total sum= 306.661
TH1.Print Name  = pPeVsPlV, Entries= 163098, Total sum= 323.464
TH1.Print Name  = pAdcVsPl, Entries= 326260, Total sum= 72289
TH1.Print Name  = pAdcVsPlU, Entries= 163162, Total sum= 35139.5
TH1.Print Name  = pAdcVsPlV, Entries= 163098, Total sum= 37149.4
TH1.Print Name  = pAdcVsPl, Entries= 326260, Total sum= 72289
TH1.Print Name  = hAdcVsPlTemp, Entries= 326260, Total sum= 117.673
TH1.Print Name  = pMeuVsPl, Entries= 326260, Total sum= 71259.6
TH1.Print Name  = hMeuVsPlTemp, Entries= 326260, Total sum= 120.666
TH1.Print Name  = hPlAdc, Entries= 80, Total sum= 80
TH1.Print Name  = hPlMeu, Entries= 80, Total sum= 80
TFile: name=MeuPlots10001_1.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: cPlaneNearCosmic.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=MeuPlots7119.root
fOverrideMCFile=MeuPlots10001_1.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: MeuPlots7119.root

Adding files...
Using fullFileName=MeuPlots7119.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
Constructing PlotFunctions...
Found Detector=1, SimFlag=1
meu=590.553, mean=604.061, entries=56127
SetTH1Max: h1 max=767.717
SetTH1Max: h2 max=726.814
SetTProfileMinWithEntries2: min=532.237
ExpandMin: Before min=532.237
ExpandMin: After min=479.013
ExpandMin: Before min=532.237
ExpandMin: After min=479.013
SetTH1Max: h1 max=709.31
SetTH1Max: h2 max=783.61
SetTH1Max: Using max2...
SetTProfileMinWithEntries2: min=527.325
ExpandMin: Before min=527.325
ExpandMin: After min=474.592
ExpandMin: Before min=527.325
ExpandMin: After min=474.592
SetTH1Max: h1 max=7.19053
SetTH1Max: h2 max=6.1971
SetTProfileMinWithEntries2: min=4.20197
ExpandMin: Before min=4.20197
ExpandMin: After min=3.78177
ExpandMin: Before min=4.20197
ExpandMin: After min=3.78177
SetTH1Max: h1 max=925.561
SetTH1Max: h2 max=924.446
SetTProfileMinWithEntries2: min=436.947
ExpandMin: Before min=436.947
ExpandMin: After min=393.252
ExpandMin: Before min=436.947
ExpandMin: After min=393.252
min=119.001
min=118.002
min=0.845154
min=106.876
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: MeuPlots10001_1.root

Adding files...
Using fullFileName=MeuPlots10001_1.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSimFlag, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSigMap, Entries= 56127, Total sum= 56035
TH1.Print Name  = hPe, Entries= 56127, Total sum= 56084
TH1.Print Name  = pMeuVsStripU, Entries= 160262, Total sum= 51618.5
TH1.Print Name  = pMeuVsStripV, Entries= 160253, Total sum= 36443
TH1.Print Name  = pStsVsStripU, Entries= 160262, Total sum= 50892.6
TH1.Print Name  = pStsVsStripV, Entries= 160253, Total sum= 38236.9
TH1.Print Name  = pPeVsStripU, Entries= 160262, Total sum= 450.14
TH1.Print Name  = pPeVsStripV, Entries= 160253, Total sum= 327.035
TH1.Print Name  = pAdcVsStripU, Entries= 160262, Total sum= 51515.2
TH1.Print Name  = pAdcVsStripV, Entries= 160253, Total sum= 37796.1
TH1.Print Name  = pMeuVsStripUF, Entries= 32068, Total sum= 33818.3
TH1.Print Name  = pMeuVsStripVF, Entries= 32119, Total sum= 34121.8
TH1.Print Name  = pStsVsStripUF, Entries= 32068, Total sum= 34366.3
TH1.Print Name  = pStsVsStripVF, Entries= 32119, Total sum= 36959.7
TH1.Print Name  = pPeVsStripUF, Entries= 32068, Total sum= 290.704
TH1.Print Name  = pPeVsStripVF, Entries= 32119, Total sum= 291.409
TH1.Print Name  = pAdcVsStripUF, Entries= 32068, Total sum= 33542.9
TH1.Print Name  = pAdcVsStripVF, Entries= 32119, Total sum= 33824.5
TH1.Print Name  = pMeuVsStripUClone, Entries= 160262, Total sum= 87.4071
TH1.Print Name  = pStsVsStripUClone, Entries= 160262, Total sum= 86.1778
TH1.Print Name  = pPeVsStripUClone, Entries= 160262, Total sum= 85.7397
TH1.Print Name  = pAdcVsStripUClone, Entries= 160262, Total sum= 87.2321
TH1.Print Name  = pMeuVsStripVClone, Entries= 160253, Total sum= 61.71
TH1.Print Name  = pStsVsStripVClone, Entries= 160253, Total sum= 64.7477
TH1.Print Name  = pPeVsStripVClone, Entries= 160253, Total sum= 62.2915
TH1.Print Name  = pAdcVsStripVClone, Entries= 160253, Total sum= 64.0011
TFile: name=MeuPlots10001_1.root, title=, option=READ
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.321082
SetTProfileMaxWithEntries2: max=1.42824
ExpandMin: Before min=0.321082
ExpandMin: After min=0.288974
ExpandMax: Before max=1.42824
ExpandMax: After max=1.57106
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.32415
SetTProfileMaxWithEntries2: max=1.47758
ExpandMin: Before min=0.32415
ExpandMin: After min=0.291735
ExpandMax: Before max=1.47758
ExpandMax: After max=1.62533
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.350027
SetTProfileMaxWithEntries2: max=1.59044
ExpandMin: Before min=0.350027
ExpandMin: After min=0.315025
ExpandMax: Before max=1.59044
ExpandMax: After max=1.74948
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.270224
SetTProfileMaxWithEntries2: max=1.76785
ExpandMin: Before min=0.270224
ExpandMin: After min=0.243202
ExpandMax: Before max=1.76785
ExpandMax: After max=1.94463
Overriding min & max...
min=0.9
max=1.1
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.911917
SetTProfileMaxWithEntries2: max=2.0033
ExpandMin: Before min=0.911917
ExpandMin: After min=0.820726
ExpandMax: Before max=2.0033
ExpandMax: After max=2.20363
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.955034
SetTProfileMaxWithEntries2: max=1.97971
ExpandMin: Before min=0.955034
ExpandMin: After min=0.85953
ExpandMax: Before max=1.97971
ExpandMax: After max=2.17768
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.855181
SetTProfileMaxWithEntries2: max=2.16224
ExpandMin: Before min=0.855181
ExpandMin: After min=0.769662
ExpandMax: Before max=2.16224
ExpandMax: After max=2.37846
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.796542
SetTProfileMaxWithEntries2: max=1.80286
ExpandMin: Before min=0.796542
ExpandMin: After min=0.716888
ExpandMax: Before max=1.80286
ExpandMax: After max=1.98315
Overriding min & max...
min=0.9
max=1.1
Using print argument: cStripNearCosmic.gif
Using print argument: cStripUNearCosmic.gif
Using print argument: cStripVNearCosmic.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=MeuPlots7119.root
fOverrideMCFile=MeuPlots10001_1.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: MeuPlots7119.root

Adding files...
Using fullFileName=MeuPlots7119.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
Constructing PlotFunctions...
Found Detector=1, SimFlag=1
meu=590.553, mean=604.061, entries=56127
Found hSigMapWinCor: meu=590.5
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=0.992213
SetTH1MaxSame: h2 max=1.02111
SetTH1MaxSame: Using max2...
SetTH1MaxSame: h1 max=1.02111
SetTH1MaxSame: h2 max=1.03206
SetTH1MaxSame: Using max2...
SetTH1MaxSame: h1 max=1.03206
SetTH1MaxSame: h2 max=1.00252
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.03206
SetTH1MaxSame: h2 max=1.02111
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.03206
SetTH1MaxSame: h2 max=1.03206
SetTProfileMinWithEntries4: min=0.946
ExpandMin: Before min=0.946
ExpandMin: After min=0.8514
ExpandMax: Before max=1.03206
ExpandMax: After max=1.13527
ExpandMin: Before min=0.946
ExpandMin: After min=0.8514
ExpandMax: Before max=1.03206
ExpandMax: After max=1.13527
ExpandMin: Before min=0.946
ExpandMin: After min=0.8514
ExpandMax: Before max=1.03206
ExpandMax: After max=1.13527
ExpandMin: Before min=0.946
ExpandMin: After min=0.8514
ExpandMax: Before max=1.03206
ExpandMax: After max=1.13527
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.13033
SetTH1MaxSame: h2 max=1.21334
SetTH1MaxSame: Using max2...
SetTH1MaxSame: h1 max=1.00095
SetTH1MaxSame: h2 max=1.00684
SetTH1MaxSame: Using max2...
SetTProfileMinWithEntries2: min=0.851863
SetTProfileMinWithEntries2: min=0.941051
ExpandMin: Before min=0.851863
ExpandMin: After min=0.766677
ExpandMax: Before max=1.21334
ExpandMax: After max=1.33467
ExpandMin: Before min=0.851863
ExpandMin: After min=0.766677
ExpandMax: Before max=1.21334
ExpandMax: After max=1.33467
ExpandMin: Before min=0.941051
ExpandMin: After min=0.846946
ExpandMax: Before max=1.00684
ExpandMax: After max=1.10752
ExpandMin: Before min=0.941051
ExpandMin: After min=0.846946
ExpandMax: Before max=1.00684
ExpandMax: After max=1.10752
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.00461 +/- 0.184579 pe (N=367)
x=-1.75 m, total light yield=5.78024 +/- 0.0426846 pe (N=6471)
x=-1.25 m, total light yield=5.49822 +/- 0.0199807 pe (N=27034)
x=-0.75 m, total light yield=5.07683 +/- 0.0137716 pe (N=50673)
x=-0.25 m, total light yield=4.78195 +/- 0.0156004 pe (N=37596)
x=0.25 m, total light yield=4.54535 +/- 0.0900028 pe (N=1152)
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=367)
x=-1.75 m, east stripend light yield=0 +/- 0 pe (N=6471)
x=-1.25 m, east stripend light yield=0 +/- 0 pe (N=27034)
x=-0.75 m, east stripend light yield=0 +/- 0 pe (N=50673)
x=-0.25 m, east stripend light yield=0 +/- 0 pe (N=37596)
x=0.25 m, east stripend light yield=0 +/- 0 pe (N=1152)
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.00461 +/- 0.184579 pe (N=367)
x=-1.75 m, west stripend light yield=5.78024 +/- 0.0426846 pe (N=6471)
x=-1.25 m, west stripend light yield=5.49822 +/- 0.0199807 pe (N=27034)
x=-0.75 m, west stripend light yield=5.07683 +/- 0.0137716 pe (N=50673)
x=-0.25 m, west stripend light yield=4.78195 +/- 0.0156004 pe (N=37596)
x=0.25 m, west stripend light yield=4.54535 +/- 0.0900028 pe (N=1152)
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.823956e-01	1.417995e-03
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	9.905604e-01	1.400367e-03
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots10001_1.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSimFlag, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSigMap, Entries= 56127, Total sum= 56035
TH1.Print Name  = hSigMapWinCor, Entries= 56127, Total sum= 56034
TH1.Print Name  = pMeuVs40X, Entries= 326260, Total sum= 9.82753
TH1.Print Name  = pMeuVs40Y, Entries= 326260, Total sum= 12.7579
TH1.Print Name  = pMeuVs40TU, Entries= 163162, Total sum= 10.8735
TH1.Print Name  = pMeuVs40TV, Entries= 163098, Total sum= 9.79167
TH1.Print Name  = pCorVsLU, Entries= 163162, Total sum= 5.95356
TH1.Print Name  = pCorVsLV, Entries= 163098, Total sum= 6.11355
TH1.Print Name  = pMeuVsLU, Entries= 163162, Total sum= 5.83352
TH1.Print Name  = pMeuVsLV, Entries= 163098, Total sum= 5.94688
TH1.Print Name  = pPeVsLU8, Entries= 123293, Total sum= 31.6872
TH1.Print Name  = pPeVsLU8, Entries= 123293, Total sum= 31.6872
TH1.Print Name  = pPeVsLU28, Entries= 123293, Total sum= 31.6872
TH1.Print Name  = pPeVsLU18, Entries= 123293, Total sum= 0
TH1.Print Name  = pMeuVsLUClone, Entries= 163162, Total sum= 5.83352
TH1.Print Name  = pMeuVsLVClone, Entries= 163098, Total sum= 5.94688
TFile: name=MeuPlots10001_1.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.03475
SetTH1MaxSame: h2 max=1.07964
SetTH1MaxSame: h3 max=1.00444
SetTH1MaxSame: h4 max=1.23274
SetTH1MaxSame4: max=1.23274
SetTProfileMinWithEntries4: min=0.889532
ExpandMin: Before min=0.889532
ExpandMin: After min=0.800578
ExpandMin: Before min=0.889532
ExpandMin: After min=0.800578
ExpandMin: Before min=0.889532
ExpandMin: After min=0.800578
ExpandMin: Before min=0.889532
ExpandMin: After min=0.800578
SetTH1MinSame: h1 min=0.800578
SetTH1MinSame: h2 min=0.800578
SetTH1MinSame: h3 min=0.95
SetTH1MinSame: h4 min=0.95
SetTH1MinSame4: min=0.800578
SetTH1MinSame: h1 min=0.800578
SetTH1MinSame: h2 min=0.800578
SetTH1MinSame: h3 min=0.95
SetTH1MinSame: h4 min=0.95
SetTH1MinSame4: min=0.800578
SetTH1MaxSame: h1 max=1.23274
SetTH1MaxSame: h2 max=1.23274
SetTH1MaxSame: h3 max=1.05
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.23274
SetTH1MaxSame: h1 max=1.23274
SetTH1MaxSame: h2 max=1.23274
SetTH1MaxSame: h3 max=1.05
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.23274
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.41604
SetTH1MaxSame: h2 max=1.33467
SetTH1MaxSame: h3 max=1.20011
SetTH1MaxSame: h4 max=1.33467
SetTH1MaxSame4: max=1.41604
SetTProfileMinWithEntries4: min=0.810637
SetTH1MaxSame: h1 max=1.18683
SetTH1MaxSame: h2 max=1.05
SetTH1MaxSame: h3 max=1.00109
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.18683
SetTProfileMinWithEntries4: min=0.86031
ExpandMin: Before min=0.810637
ExpandMin: After min=0.729573
ExpandMin: Before min=0.810637
ExpandMin: After min=0.729573
ExpandMin: Before min=0.86031
ExpandMin: After min=0.774279
ExpandMin: Before min=0.86031
ExpandMin: After min=0.774279
Overriding atten min2 & max2...
Using print argument: c1DXYNearCosmic.gif
Using print argument: cStripAttenNearCosmic.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=MeuPlots7119.root
fOverrideMCFile=MeuPlots10001_1.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: MeuPlots7119.root

Adding files...
Using fullFileName=MeuPlots7119.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
Found Detector=1, SimFlag=1
meu=590.553, mean=604.061, entries=56127
i=0, cosThZ=-0.95, meu=578 +/- 3.35127 (N=1002)
i=1, cosThZ=-0.85, meu=590.278 +/- 2.61181 (N=2215)
i=2, cosThZ=-0.75, meu=588.05 +/- 2.18458 (N=3215)
i=3, cosThZ=-0.65, meu=587.423 +/- 1.92163 (N=4039)
i=4, cosThZ=-0.55, meu=588.921 +/- 1.82939 (N=4485)
i=5, cosThZ=-0.45, meu=592.088 +/- 1.65696 (N=5617)
i=6, cosThZ=-0.35, meu=594.672 +/- 1.91902 (N=5913)
i=7, cosThZ=-0.25, meu=602.237 +/- 2.56317 (N=4995)
i=8, cosThZ=-0.15, meu=655 +/- 12.9241 (N=456)
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=637 +/- 10.4388 (N=496)
i=12, cosThZ=0.25, meu=606.026 +/- 2.39212 (N=5145)
i=13, cosThZ=0.35, meu=596.155 +/- 1.69279 (N=6499)
i=14, cosThZ=0.45, meu=591.019 +/- 1.74234 (N=5969)
i=15, cosThZ=0.55, meu=586.192 +/- 1.68935 (N=4871)
i=16, cosThZ=0.65, meu=588.5 +/- 1.71147 (N=4595)
i=17, cosThZ=0.75, meu=592.65 +/- 1.97006 (N=3779)
i=18, cosThZ=0.85, meu=589.062 +/- 2.30077 (N=2659)
i=19, cosThZ=0.95, meu=592.188 +/- 3.27462 (N=1177)
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots10001_1.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSimFlag, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSigMap, Entries= 56127, Total sum= 56035
TH1.Print Name  = hMeuCosTh0, Entries= 1002, Total sum= 1002
TH1.Print Name  = hMeuCosTh1, Entries= 2215, Total sum= 2215
TH1.Print Name  = hMeuCosTh2, Entries= 3215, Total sum= 3215
TH1.Print Name  = hMeuCosTh3, Entries= 4039, Total sum= 4039
TH1.Print Name  = hMeuCosTh4, Entries= 4485, Total sum= 4485
TH1.Print Name  = hMeuCosTh5, Entries= 5617, Total sum= 5617
TH1.Print Name  = hMeuCosTh6, Entries= 5913, Total sum= 5913
TH1.Print Name  = hMeuCosTh7, Entries= 4995, Total sum= 4995
TH1.Print Name  = hMeuCosTh8, Entries= 456, Total sum= 456
TH1.Print Name  = hMeuCosTh9, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh10, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh11, Entries= 496, Total sum= 496
TH1.Print Name  = hMeuCosTh12, Entries= 5145, Total sum= 5145
TH1.Print Name  = hMeuCosTh13, Entries= 6499, Total sum= 6499
TH1.Print Name  = hMeuCosTh14, Entries= 5969, Total sum= 5969
TH1.Print Name  = hMeuCosTh15, Entries= 4871, Total sum= 4871
TH1.Print Name  = hMeuCosTh16, Entries= 4595, Total sum= 4595
TH1.Print Name  = hMeuCosTh17, Entries= 3779, Total sum= 3779
TH1.Print Name  = hMeuCosTh18, Entries= 2659, Total sum= 2659
TH1.Print Name  = hMeuCosTh19, Entries= 1177, Total sum= 1177
TH1.Print Name  = hCosThZ, Entries= 67280, Total sum= 67280
TFile: name=MeuPlots10001_1.root, title=, option=READ
meu=593.564, mean=607, entries=36173
i=0, cosThZ=-0.95, meu=572.6 +/- 4.41804 (N=434)
i=1, cosThZ=-0.85, meu=580.7 +/- 2.94911 (N=1353)
i=2, cosThZ=-0.75, meu=592.125 +/- 2.31788 (N=2029)
i=3, cosThZ=-0.65, meu=590.333 +/- 2.26925 (N=2486)
i=4, cosThZ=-0.55, meu=584.067 +/- 2.00372 (N=3038)
i=5, cosThZ=-0.45, meu=604.867 +/- 2.14223 (N=3692)
i=6, cosThZ=-0.35, meu=602.45 +/- 2.15885 (N=4327)
i=7, cosThZ=-0.25, meu=605.733 +/- 2.6653 (N=3476)
i=8, cosThZ=-0.15, meu=624.2 +/- 10.6861 (N=382)
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=660.5 +/- 9.30188 (N=525)
i=12, cosThZ=0.25, meu=610.1 +/- 3.22732 (N=3970)
i=13, cosThZ=0.35, meu=595.667 +/- 1.85794 (N=4488)
i=14, cosThZ=0.45, meu=594.683 +/- 1.84199 (N=4037)
i=15, cosThZ=0.55, meu=599.55 +/- 1.83441 (N=3269)
i=16, cosThZ=0.65, meu=580.75 +/- 1.89863 (N=2915)
i=17, cosThZ=0.75, meu=589.867 +/- 2.16034 (N=2012)
i=18, cosThZ=0.85, meu=589.5 +/- 2.67443 (N=1513)
i=19, cosThZ=0.95, meu=577.5 +/- 3.8509 (N=535)
Entries Data =67280
Integral Data=67280
Entries MC   =44566
Integral MC  =44566
ScaleFactor  =1.50967
h1 max=6508
h2 max=6790.5
Using max2...
Using print argument: cCosThZNearCosmic.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=MeuPlots7119.root
fOverrideMCFile=MeuPlots10001_1.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: MeuPlots7119.root

Adding files...
Using fullFileName=MeuPlots7119.root
TFile: name=MeuPlots7119.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
Found Detector=1, SimFlag=1
First histo has entries=56127, all=67280
meanPe=12
Setting pe range for cosmics (more light)
 FCN=2528.14 FROM MIGRAD    STATUS=CONVERGED      71 CALLS          72 TOTAL
                     EDM=4.02577e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.04743e+03   5.78683e+00   1.11543e-01   6.84923e-05
   2  Mean         6.04985e+02   6.22453e-01   1.30611e-02  -1.42564e-04
   3  Sigma        1.21705e+02   4.21254e-01   1.90404e-05  -4.99860e-01
 FCN=2487.59 FROM MIGRAD    STATUS=CONVERGED      82 CALLS          83 TOTAL
                     EDM=1.35677e-08    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     2.20241e+03   1.18348e+01   2.31985e-01  -5.46246e-06
   2  Mean         5.30525e+00   5.04302e-03   1.04339e-04  -2.88887e-02
   3  Sigma        9.88408e-01   3.16209e-03   1.73241e-05  -5.77673e-02
 FCN=2611.99 FROM MIGRAD    STATUS=CONVERGED      74 CALLS          75 TOTAL
                     EDM=2.87543e-09    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.03028e+03   5.65750e+00   1.11665e-01   1.55972e-05
   2  Mean         6.15669e+02   6.37948e-01   1.34659e-02  -2.70133e-05
   3  Sigma        1.23383e+02   4.18894e-01   1.89224e-05   8.30685e-02
 FCN=2588.21 FROM MIGRAD    STATUS=CONVERGED      72 CALLS          73 TOTAL
                     EDM=4.24065e-06    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.21662e+03   6.54687e+00   1.31003e-01  -5.00813e-04
   2  Mean         6.03817e+02   5.42433e-01   1.13052e-02  -1.93779e-03
   3  Sigma        1.04771e+02   3.34994e-01   1.76562e-05  -5.15489e-01
 FCN=2619.6 FROM MIGRAD    STATUS=CONVERGED      73 CALLS          74 TOTAL
                     EDM=6.65163e-08    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     1.26821e+03   6.83377e+00   1.37417e-01  -2.85515e-05
   2  Mean         5.95944e+02   5.20985e-01   1.09102e-02  -7.27548e-04
   3  Sigma        1.00494e+02   3.22515e-01   1.77611e-05   1.79379e-01

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

Adding files...
Using fullFileName=MeuPlots10001_1.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSimFlag, Entries= 67280, Total sum= 67280
TH1.Print Name  = hAdc, Entries= 56127, Total sum= 56039
TH1.Print Name  = hPeRaw, Entries= 67280, Total sum= 66982
TH1.Print Name  = hAdc, Entries= 56127, Total sum= 56039
TH1.Print Name  = hSigCor, Entries= 56127, Total sum= 56036
TH1.Print Name  = hSigCor, Entries= 56127, Total sum= 56036
TH1.Print Name  = hSigMap, Entries= 56127, Total sum= 56035
TH1.Print Name  = hSigMap, Entries= 56127, Total sum= 56035
TH1.Print Name  = hAdcClone, Entries= 56127, Total sum= 56039
TH1.Print Name  = hPe, Entries= 56127, Total sum= 56084
TH1.Print Name  = hPeClone, Entries= 56127, Total sum= 56084
TH1.Print Name  = hSigLin, Entries= 56127, Total sum= 56036
TH1.Print Name  = hSigLinClone, Entries= 56127, Total sum= 56036
TH1.Print Name  = hSigCorClone, Entries= 56127, Total sum= 56036
TH1.Print Name  = hSigMapClone, Entries= 56127, Total sum= 56035
TH1.Print Name  = hAvNumDigitsAll, Entries= 56127, Total sum= 56127
TH1.Print Name  = hAvNumStripsAll, Entries= 56127, Total sum= 56127
TH1.Print Name  = hAvNumDigits, Entries= 56127, Total sum= 56103
TH1.Print Name  = hAvNumStrips, Entries= 56127, Total sum= 56121
TFile: name=MeuPlots10001_1.root, title=, option=READ
Second histo has entries=36173, all=44566
h1 max=3458
h2 max=3669.6
Using max2...
h1 max=2724
h2 max=2269.04
h1 max=4077
h2 max=4730.91
Using max2...
h1 max=4435
h2 max=4288.7
h1 max=4335
h2 max=4651.78
Using max2...
h1 max=5425
h2 max=5536.21
Using max2...
h1 max=7381
h2 max=7086.28
Using print argument: cTrkWinRespNearCosmic.gif
Using print argument: cTrkWinStripsNearCosmic.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=MeuPlots7119.root
fOverrideMCFile=MeuPlots10001_1.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: MeuPlots7119.root

Adding files...
Using fullFileName=MeuPlots7119.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
Found Detector=1, SimFlag=1
meu=590.553, mean=604.061, entries=56127

sigMapMedian=590.553
sigCorMedian=597.913
sigLinMedian=608.966
adcMedian=598.321
peMedian=5.25008

x min=3.23469e+08
x max=3.86369e+08
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots10001_1.root
FileList contains:
TFile: name=MeuPlots7119.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSimFlag, Entries= 67280, Total sum= 67280
TH1.Print Name  = hSigMap, Entries= 56127, Total sum= 56035
TH1.Print Name  = hSigCor, Entries= 56127, Total sum= 56036
TH1.Print Name  = hSigLin, Entries= 56127, Total sum= 56036
TH1.Print Name  = hAdc, Entries= 56127, Total sum= 56039
TH1.Print Name  = hPe, Entries= 56127, Total sum= 56084
TH1.Print Name  = hSigCorDriftCosThStd, Entries= 25, Total sum= 24.3117
TH1.Print Name  = hMeuDriftCosThStd, Entries= 25, Total sum= 14188.3
TH1.Print Name  = hMeuDriftN, Entries= 25, Total sum= 56034
TH1.Print Name  = hFlat, Entries= 50, Total sum= 25
TH1.Print Name  = hSigLinDriftCosThStd, Entries= 25, Total sum= 24.4525
TH1.Print Name  = hSigLinOnAdc, Entries= 25, Total sum= 24.0087
TH1.Print Name  = hSigCorOnSigLin, Entries= 25, Total sum= 24.0124
TH1.Print Name  = hMeuDriftCosThStdCloneData, Entries= 25, Total sum= 24.0254
TH1.Print Name  = hAdcDriftCosThStd, Entries= 25, Total sum= 23.6195
TH1.Print Name  = hPeDriftCosThStd, Entries= 25, Total sum= 23.9652
TFile: name=MeuPlots10001_1.root, title=, option=READ
meu=593.564, mean=607, entries=36173
Using print argument: cResponseDriftCalCosThNearCosmic.gif
Using print argument: cDriftAllCosThDataNearCosmic.gif
Using print argument: cDriftAllCosThMCNearCosmic.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=MeuPlots7119.root
fOverrideMCFile=MeuPlots10001_1.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: MeuPlots7119.root

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

Mean Digits:
  Av Num Digits      =4.10853 +/- 0.00484074
  Av Num Digits (All)=4.13222 +/- 0.0071483

Forwards and backwards:
  forward  meu=590.905, mean=604.102, entries=29583, resolution=0.208199
  backward meu=590.181, mean=604.015, entries=26544, resolution=0.212917

B-field forwards and reversed:
  B forward  meu=590.553, mean=604.061, entries=56127, resolution=0.210442
  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=581.605, mean=606.025, entries=67280, resolution=0.303537
  meuV2=587.719, mean=611.547, entries=67280, resolution=0.294092

Standard MEU values (for first file):
  meu=590.553 +/- 0.536571, mean=604.061, rms=127.12, entries=56127, resolution=0.210442
  meuAll=593.604 +/- 12.6371, mean=652.951, rms=3277.86, entries=67280, resolution=5.02007


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

Adding files...
Using fullFileName=MeuPlots10001_1.root

RESOLUTIONS:
  ADCs:    0.24064
  PEs:     0.273468
  SigLins: 0.240939
  SigCors: 0.216161
  SigMaps: 0.210442
RESOLUTIONS (with truncation):
  ADCs:    0.219709
  PEs:     0.211736
  SigLins: 0.219685
  SigCors: 0.194525
  SigMaps: 0.189807
RESOLUTIONS (from Gaussian fit):
  ADCs:    0.202651
  PEs:     0.186308
  SigLins: 0.202159
  SigCors: 0.177559
  SigMaps: 0.172648

*** MEU Summary (Cedar Data) ***
MEU (WinSigMap)=590.6 +/- 0.5366 (0.09086%)
MEU (WinSigCor)=597.9 +/- 0.5587 (0.09344%)
MEU (WinSigLin)=609 +/- 0.6361 (0.1045%)
MEU (WinSigDrf)=605 +/- 0.6283 (0.1039%)
MEU (WinSigLinOnly)=602.1 +/- 0.6321 (0.105%)
MEU (WinAdc)   =598.3 +/- 0.624 (0.1043%)
MEU (WinPe)    =5.25 +/- 0.006232 (0.1187%)
MEU (WinPeRaw) =10.75 +/- 0.02441 (0.2271%)
MEU (Av digits)=3.944 +/- 0.004841 (0.1227%)
MEU (Av strips)=1.558 +/- 0.002373 (0.1523%)

*** MEU Summary (Cedar Beet) ***
MEU (WinSigMap)=593.6 +/- 0.6156 (0.1037%)
MEU (WinSigCor)=601.9 +/- 0.639 (0.1062%)
MEU (WinSigLin)=614.2 +/- 0.7583 (0.1235%)
MEU (WinSigDrf)=610.8 +/- 0.7457 (0.1221%)
MEU (WinSigLinOnly)=614.6 +/- 0.7582 (0.1234%)
MEU (WinAdc)   =610.8 +/- 0.7457 (0.1221%)
MEU (WinPe)    =5.97 +/- 0.007298 (0.1222%)
MEU (WinPeRaw) =12.9 +/- 0.03469 (0.2688%)
MEU (Av digits)=3.911 +/- 0.006096 (0.1559%)
MEU (Av strips)=1.605 +/- 0.003022 (0.1883%)

*** Summary of Differences (data - MC) ***
MEU Difference (WinSigMap)=-3, -0.51% +/- 0.14%
MEU Difference (WinSigCor)=-4, -0.66% +/- 0.14%
MEU Difference (WinSigLin)=-5.3, -0.86% +/- 0.16%
MEU Difference (WinSigDrf)=-5.9, -0.97% +/- 0.16%
MEU Difference (WinSigLinOnly)=-13, -2.1% +/- 0.16%
MEU Difference (WinAdc)   =-13, -2.1% +/- 0.16%
MEU Difference (WinPe)    =-0.72, -13% +/- 0.17%
MEU Difference (WinPeRaw) =-2.2, -18% +/- 0.35%
MEU Difference (Av Digits)=0.033, 0.85% +/- 0.2%
MEU Difference (Av Strips)=-0.047, -3% +/- 0.24%

*** Summary of Differences (data - MC) ***
MEAN Difference (WinSigMap)=-2.9, -0.49% +/- 0.14%
MEAN Difference (WinSigCor)=-2.5, -0.41% +/- 0.14%
MEAN Difference (WinSigLin)=-4.8, -0.77% +/- 0.16%
MEAN Difference (WinSigDrf)=-5.4, -0.86% +/- 0.16%
MEAN Difference (WinSigLinOnly)=-12, -2% +/- 0.16%
MEAN Difference (WinAdc)   =-12, -1.9% +/- 0.16%
MEAN Difference (WinPe)    =-0.72, -12% +/- 0.17%
MEAN Difference (WinPeRaw) =-2.3, -17% +/- 0.35%
MEAN Difference (Av Digits)=0.057, 1.4% +/- 0.2%
MEAN Difference (Av Strips)=-0.047, -2.8% +/- 0.24%

*** Summary of Differences (data - MC) ***
FIT Difference (WinSigMap)=2.1, 0.35% +/- 0.14%
FIT Difference (WinSigCor)=1.4, 0.23% +/- 0.14%
FIT Difference (WinSigLin)=1.5, 0.25% +/- 0.16%
FIT Difference (WinSigDrf)=0.038, 0.0062% +/- 0.16%
FIT Difference (WinSigLinOnly)=-3.7, -0.61% +/- 0.16%
FIT Difference (WinAdc)   =-6.6, -1.1% +/- 0.16%
FIT Difference (WinPe)    =-0.71, -13% +/- 0.17%
FIT Difference (WinPeRaw) =-2.8, -21% +/- 0.35%
FIT Difference (Av Digits)=0.041, 1.1% +/- 0.2%
FIT Difference (Av Strips)=-0.03, -2.1% +/- 0.24%

*** Differences in Central Values (Median/Mean/Gaussian-Fit) ***
MEU - MEAN Diff. (WinSigMap)=-16, -2.8%
MEU - FIT  Diff. (WinSigMap)=-3.1, -0.53%
MEAN - FIT Diff. (WinSigMap)=10, 1.7%


*** Latex table of MEU Numbers ***
SigMaps     & 590.6 $\pm$  0.5 & 593.6 $\pm$  0.6 & -0.5\% & 0.210 & 0.193 \\
SigCors     & 597.9 $\pm$  0.6 & 601.9 $\pm$  0.6 & -0.7\% & 0.216 & 0.198 \\
SigLins     & 609.0 $\pm$  0.6 & 614.2 $\pm$  0.8 & -0.9\% & 0.241 & 0.229 \\
SigDrfs     & 605.0 $\pm$  0.6 & 610.8 $\pm$  0.7 & -1.0\% & 0.240 & 0.226 \\
SigLinOnlys     & 602.1 $\pm$  0.6 & 614.6 $\pm$  0.8 & -2.1\% & 0.242 & 0.229 \\
ADCs        & 598.3 $\pm$  0.6 & 610.8 $\pm$  0.7 & -2.1\% & 0.241 & 0.226 \\
Pes         & 5.250 $\pm$ 0.006 & 5.970 $\pm$ 0.007 & -12.8\% & 0.273 & 0.227 \\
PeRaws      & 10.75 $\pm$ 0.02 & 12.90 $\pm$ 0.03 & -18.2\% & 0.510 & 0.498 \\
Av. Digits  & 3.944 $\pm$ 0.005 & 3.911 $\pm$ 0.006 &  0.8\% & 0.279 & 0.286 \\
Av. Strips  & 1.558 $\pm$ 0.002 & 1.605 $\pm$ 0.003 & -3.0\% & 0.341 & 0.339 \\

*** Latex table of differences between centroids ***
Median            & 590.6 & 593.6 & -0.51\% \\
Mean              & 604.1 & 607.0 & -0.49\% \\
Gaussian Fit Mean & 595.8 & 593.7 & 0.35\% \\
After running macro: errorCode=0