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

Processing validateCalib.C...

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

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


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

fOverride=1
fOverridePrint=1
fOverrideDataFile=MeuPlots28204.root
fOverrideMCFile=MeuPlots601_2.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


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

Adding files...
Using fullFileName=MeuPlots28204.root
Found Detector=2, SimFlag=1
This macro has to be run with loon rather than plain root!!!
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSimFlag, Entries= 22885, Total sum= 22885
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSimFlag, Entries= 22885, Total sum= 22885
meu=495.214, mean=507.634, entries=19093
Found hSigMapWinCor: meu=495.201
Using scaleFactor=0.00196992
min=0.704511, max=1.29549
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots601_2.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSimFlag, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSigMap, Entries= 19093, Total sum= 19073
TH1.Print Name  = hSigMapWinCor, Entries= 19093, Total sum= 19073
TH1.Print Name  = hYvsX200, Entries= 99731, Total sum= 1
TH1.Print Name  = pYvsX16U, Entries= 49845, Total sum= 96595.5
TH1.Print Name  = pYvsX16U, Entries= 49845, Total sum= 190.286
TH1.Print Name  = pYvsX16V, Entries= 49886, Total sum= 96058.3
TH1.Print Name  = pYvsX16V, Entries= 49886, Total sum= 189.228
TH1.Print Name  = pAdcYvsXU, Entries= 49845, Total sum= 2543.11
TH1.Print Name  = pStsYvsXU, Entries= 49845, Total sum= 2452.27
TH1.Print Name  = pYvsXU, Entries= 49845, Total sum= 2266.78
TH1.Print Name  = pAdcYvsXV, Entries= 49886, Total sum= 2476.8
TH1.Print Name  = pStsYvsXV, Entries= 49886, Total sum= 2448.7
TH1.Print Name  = pPeYvsXV, Entries= 49886, Total sum= 17394.7
TH1.Print Name  = pYvsXV, Entries= 49886, Total sum= 2262.78
TH1.Print Name  = pAdcYvsXU, Entries= 49845, Total sum= 2543.11
TH1.Print Name  = pYvsXU, Entries= 49845, Total sum= 2266.78
TH1.Print Name  = pAdcYvsXV, Entries= 49886, Total sum= 2476.8
TH1.Print Name  = pYvsXV, Entries= 49886, Total sum= 2262.78
TH1.Print Name  = pAdcYvsXU1, Entries= 49845, Total sum= 663685
TH1.Print Name  = pAdcYvsXU2, Entries= 49845, Total sum= 627285
TH1.Print Name  = pAdcYvsXV1, Entries= 49886, Total sum= 568460
TH1.Print Name  = pAdcYvsXV2, Entries= 49886, Total sum= 688845
TH1.Print Name  = pStsYvsXU1, Entries= 49845, Total sum= 659076
TH1.Print Name  = pStsYvsXU2, Entries= 49845, Total sum= 585779
TH1.Print Name  = pStsYvsXV1, Entries= 49886, Total sum= 586675
TH1.Print Name  = pStsYvsXV2, Entries= 49886, Total sum= 656368
TH1.Print Name  = pYvsXU1, Entries= 49845, Total sum= 578414
TH1.Print Name  = pYvsXU2, Entries= 49845, Total sum= 572279
TH1.Print Name  = pYvsXV1, Entries= 49886, Total sum= 571595
TH1.Print Name  = pYvsXV2, Entries= 49886, Total sum= 577069
TH1.Print Name  = pYvsXU, Entries= 49845, Total sum= 2266.78
TH1.Print Name  = pYvsXV, Entries= 49886, Total sum= 2262.78
TH1.Print Name  = pMeuVs40TU, Entries= 49845, Total sum= 15333.7
TH1.Print Name  = pMeuVs40TV, Entries= 49886, Total sum= 15583.3
TH1.Print Name  = pYvsX, Entries= 99731, Total sum= 1.17339e+06
TH1.Print Name  = pMeuVs40Y, Entries= 99731, Total sum= 14535.5
TH1.Print Name  = pAdcYvsX, Entries= 99731, Total sum= 1.30012e+06
TH1.Print Name  = pAdcYvsX, Entries= 99731, Total sum= 2561.13
TH1.Print Name  = pYvsX, Entries= 99731, Total sum= 2311.48
TFile: name=MeuPlots601_2.root, title=, option=READ
h1 max=0.000240647
h2 max=0.000293129
Using max2...
Using print argument: cDensityFarCosmic.gif
Info in <TCanvas::Print>: gif file cDensityFarCosmic.gif has been created
Using print argument: cYvsXFarCosmic.gif
Info in <TCanvas::Print>: gif file cYvsXFarCosmic.gif has been created
Using print argument: cYvsXUVCalZoomFarCosmic.gif
Info in <TCanvas::Print>: gif file cYvsXUVCalZoomFarCosmic.gif has been created
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=MeuPlots28204.root
fOverrideMCFile=MeuPlots601_2.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


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

Adding files...
Using fullFileName=MeuPlots28204.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
meu=495.214, mean=507.634, entries=19093
adc mean=547.115
Found Detector=2, SimFlag=1
Finding object=pMeuVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.928432
new min=0.789168
Finding object=pStsVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=1.00159
new min=0.851351
Finding object=pPeVsPl4
min=5.03843
Finding object=pAdcVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
min=0.735419
new min=0.588336
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	5.020843e+02	8.684299e-01
min=6.21032
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_2.root

Adding files...
Using fullFileName=MeuPlots601_2.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
TH1.Print Name  = hSigMap, Entries= 19093, Total sum= 19073
TH1.Print Name  = hAdc, Entries= 19093, Total sum= 19073
TH1.Print Name  = hDetector, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSimFlag, Entries= 22885, Total sum= 22885
TH1.Print Name  = pMeuVsPl4, Entries= 99731, Total sum= 119.959
TH1.Print Name  = pStsVsPl4, Entries= 99731, Total sum= 127.646
TH1.Print Name  = pPeVsPl4, Entries= 99731, Total sum= 887.841
TH1.Print Name  = pAdcVsPl4, Entries= 99731, Total sum= 118.924
TH1.Print Name  = pEffVsPl, Entries= 169644, Total sum= 482.14
TH1.Print Name  = pEffTrkVsPl, Entries= 169644, Total sum= 481.423
TH1.Print Name  = pMeuVsPl8, Entries= 99731, Total sum= 30157.4
TH1.Print Name  = pStsVsPl8, Entries= 99731, Total sum= 32075.5
TH1.Print Name  = pPeVsPl8, Entries= 99731, Total sum= 440.283
TH1.Print Name  = pAdcVsPl8, Entries= 99731, Total sum= 32254.6
TH1.Print Name  = pMeuVsPl, Entries= 99731, Total sum= 244096
TH1.Print Name  = pMeuVsPlU, Entries= 49845, Total sum= 122154
TH1.Print Name  = pMeuVsPlV, Entries= 49886, Total sum= 121942
TH1.Print Name  = pStsVsPl, Entries= 99731, Total sum= 259711
TH1.Print Name  = pStsVsPlU, Entries= 49845, Total sum= 129804
TH1.Print Name  = pStsVsPlV, Entries= 49886, Total sum= 129907
TH1.Print Name  = pPeVsPl, Entries= 99731, Total sum= 3557.44
TH1.Print Name  = pPeVsPlU, Entries= 49845, Total sum= 1774.08
TH1.Print Name  = pPeVsPlV, Entries= 49886, Total sum= 1783.36
TH1.Print Name  = pAdcVsPl, Entries= 99731, Total sum= 260907
TH1.Print Name  = pAdcVsPlU, Entries= 49845, Total sum= 131435
TH1.Print Name  = pAdcVsPlV, Entries= 49886, Total sum= 129472
TH1.Print Name  = pAdcVsPl, Entries= 99731, Total sum= 260907
TH1.Print Name  = hAdcVsPlTemp, Entries= 99731, Total sum= 476.878
TH1.Print Name  = pMeuVsPl, Entries= 99731, Total sum= 244096
TH1.Print Name  = hMeuVsPlTemp, Entries= 99731, Total sum= 492.911
TH1.Print Name  = hPlAdc, Entries= 484, Total sum= 484
TH1.Print Name  = hPlMeu, Entries= 484, Total sum= 484
TFile: name=MeuPlots601_2.root, title=, option=READ
Finding object=pAdcVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Finding object=pPeVsPl4
Finding object=pStsVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Finding object=pMeuVsPl4
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Using print argument: cPlaneFarCosmic.gif
Info in <TCanvas::Print>: gif file cPlaneFarCosmic.gif has been created
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=MeuPlots28204.root
fOverrideMCFile=MeuPlots601_2.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


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

Adding files...
Using fullFileName=MeuPlots28204.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
Constructing PlotFunctions...
Found Detector=2, SimFlag=1
meu=495.214, mean=507.634, entries=19093
SetTH1Max: h1 max=714.108
SetTH1Max: h2 max=780.843
SetTH1Max: Using max2...
SetTProfileMinWithEntries2: min=248.575
ExpandMin: Before min=248.575
ExpandMin: After min=223.717
ExpandMin: Before min=248.575
ExpandMin: After min=223.717
SetTH1Max: h1 max=726.57
SetTH1Max: h2 max=806.08
SetTH1Max: Using max2...
SetTProfileMinWithEntries2: min=247.783
ExpandMin: Before min=247.783
ExpandMin: After min=223.004
ExpandMin: Before min=247.783
ExpandMin: After min=223.004
SetTH1Max: h1 max=9.76105
SetTH1Max: h2 max=9.96023
SetTH1Max: Using max2...
SetTProfileMinWithEntries2: min=3.64787
ExpandMin: Before min=3.64787
ExpandMin: After min=3.28309
ExpandMin: Before min=3.64787
ExpandMin: After min=3.28309
SetTH1Max: h1 max=767.72
SetTH1Max: h2 max=691.089
SetTProfileMinWithEntries2: min=241.814
ExpandMin: Before min=241.814
ExpandMin: After min=217.633
ExpandMin: Before min=241.814
ExpandMin: After min=217.633
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_2.root

Adding files...
Using fullFileName=MeuPlots601_2.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSimFlag, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSigMap, Entries= 19093, Total sum= 19073
TH1.Print Name  = hPe, Entries= 19093, Total sum= 19073
TH1.Print Name  = pMeuVsStripU, Entries= 49845, Total sum= 89781.6
TH1.Print Name  = pMeuVsStripV, Entries= 49886, Total sum= 88721.8
TH1.Print Name  = pStsVsStripU, Entries= 49845, Total sum= 94265.6
TH1.Print Name  = pStsVsStripV, Entries= 49886, Total sum= 93142.1
TH1.Print Name  = pPeVsStripU, Entries= 49845, Total sum= 1306.24
TH1.Print Name  = pPeVsStripV, Entries= 49886, Total sum= 1295.02
TH1.Print Name  = pAdcVsStripU, Entries= 49845, Total sum= 96807.1
TH1.Print Name  = pAdcVsStripV, Entries= 49886, Total sum= 93762.8
TH1.Print Name  = pMeuVsStripUClone, Entries= 49845, Total sum= 181.299
TH1.Print Name  = pStsVsStripUClone, Entries= 49845, Total sum= 190.353
TH1.Print Name  = pPeVsStripUClone, Entries= 49845, Total sum= 179.009
TH1.Print Name  = pAdcVsStripUClone, Entries= 49845, Total sum= 195.486
TH1.Print Name  = pMeuVsStripVClone, Entries= 49886, Total sum= 179.159
TH1.Print Name  = pStsVsStripVClone, Entries= 49886, Total sum= 188.085
TH1.Print Name  = pPeVsStripVClone, Entries= 49886, Total sum= 177.472
TH1.Print Name  = pAdcVsStripVClone, Entries= 49886, Total sum= 189.338
TFile: name=MeuPlots601_2.root, title=, option=READ
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.567796
SetTProfileMaxWithEntries2: max=1.44202
ExpandMin: Before min=0.567796
ExpandMin: After min=0.511017
ExpandMax: Before max=1.44202
ExpandMax: After max=1.58622
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.567327
SetTProfileMaxWithEntries2: max=1.46568
ExpandMin: Before min=0.567327
ExpandMin: After min=0.510595
ExpandMax: Before max=1.46568
ExpandMax: After max=1.61225
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.517973
SetTProfileMaxWithEntries2: max=1.37722
ExpandMin: Before min=0.517973
ExpandMin: After min=0.466176
ExpandMax: Before max=1.37722
ExpandMax: After max=1.51494
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.634728
SetTProfileMaxWithEntries2: max=1.51113
ExpandMin: Before min=0.634728
ExpandMin: After min=0.571255
ExpandMax: Before max=1.51113
ExpandMax: After max=1.66224
Overriding min & max...
min=0.9
max=1.1
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.501955
SetTProfileMaxWithEntries2: max=1.81799
ExpandMin: Before min=0.501955
ExpandMin: After min=0.451759
ExpandMax: Before max=1.81799
ExpandMax: After max=1.99979
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.500355
SetTProfileMaxWithEntries2: max=1.80453
ExpandMin: Before min=0.500355
ExpandMin: After min=0.45032
ExpandMax: Before max=1.80453
ExpandMax: After max=1.98498
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.499912
SetTProfileMaxWithEntries2: max=1.48912
ExpandMin: Before min=0.499912
ExpandMin: After min=0.44992
ExpandMax: Before max=1.48912
ExpandMax: After max=1.63803
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTProfileMinWithEntries2: min=0.488303
SetTProfileMaxWithEntries2: max=1.65198
ExpandMin: Before min=0.488303
ExpandMin: After min=0.439472
ExpandMax: Before max=1.65198
ExpandMax: After max=1.81718
Overriding min & max...
min=0.9
max=1.1
Using print argument: cStripFarCosmic.gif
Info in <TCanvas::Print>: gif file cStripFarCosmic.gif has been created
Using print argument: cStripUFarCosmic.gif
Info in <TCanvas::Print>: gif file cStripUFarCosmic.gif has been created
Using print argument: cStripVFarCosmic.gif
Info in <TCanvas::Print>: gif file cStripVFarCosmic.gif has been created
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=MeuPlots28204.root
fOverrideMCFile=MeuPlots601_2.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


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

Adding files...
Using fullFileName=MeuPlots28204.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
Constructing PlotFunctions...
Found Detector=2, SimFlag=1
meu=495.214, mean=507.634, entries=19093
Found hSigMapWinCor: meu=495.201
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.07198
SetTH1MaxSame: h2 max=1.07105
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.07198
SetTH1MaxSame: h2 max=1.06354
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.07198
SetTH1MaxSame: h2 max=1.06407
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=1.07198
SetTH1MaxSame: h2 max=1.07198
SetTH1MaxSame: h1 max=1.07198
SetTH1MaxSame: h2 max=1.07198
SetTProfileMinWithEntries4: min=0.553904
ExpandMin: Before min=0.553904
ExpandMin: After min=0.498514
ExpandMax: Before max=1.07198
ExpandMax: After max=1.17917
ExpandMin: Before min=0.553904
ExpandMin: After min=0.498514
ExpandMax: Before max=1.07198
ExpandMax: After max=1.17917
ExpandMin: Before min=0.553904
ExpandMin: After min=0.498514
ExpandMax: Before max=1.07198
ExpandMax: After max=1.17917
ExpandMin: Before min=0.553904
ExpandMin: After min=0.498514
ExpandMax: Before max=1.07198
ExpandMax: After max=1.17917
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=3.01392
SetTH1MaxSame: h2 max=1.82682
SetTH1MaxSame Using max1...
SetTH1MaxSame: h1 max=2.11356
SetTH1MaxSame: h2 max=1.30303
SetTH1MaxSame Using max1...
SetTProfileMinWithEntries2: min=0.971258
SetTProfileMinWithEntries2: min=0.892265
ExpandMin: Before min=0.971258
ExpandMin: After min=0.874132
ExpandMax: Before max=3.01392
ExpandMax: After max=3.31532
ExpandMin: Before min=0.971258
ExpandMin: After min=0.874132
ExpandMax: Before max=3.01392
ExpandMax: After max=3.31532
ExpandMin: Before min=0.892265
ExpandMin: After min=0.803039
ExpandMax: Before max=2.11356
ExpandMax: After max=2.32492
ExpandMin: Before min=0.892265
ExpandMin: After min=0.803039
ExpandMax: Before max=2.11356
ExpandMax: After max=2.32492
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=22.2137 +/- 8.71114 pe (N=2)
x=-3.25 m, total light yield=8.225 +/- 0.538944 pe (N=77)
x=-2.75 m, total light yield=8.67634 +/- 0.281792 pe (N=370)
x=-2.25 m, total light yield=8.29591 +/- 0.131928 pe (N=1136)
x=-1.75 m, total light yield=7.86174 +/- 0.0962014 pe (N=1785)
x=-1.25 m, total light yield=7.50171 +/- 0.0971581 pe (N=1972)
x=-0.75 m, total light yield=7.21497 +/- 0.0921656 pe (N=2040)
x=-0.25 m, total light yield=7.03808 +/- 0.090238 pe (N=1853)
x=0.25 m, total light yield=7.14699 +/- 0.0865655 pe (N=2216)
x=0.75 m, total light yield=7.13122 +/- 0.0683348 pe (N=3465)
x=1.25 m, total light yield=7.56196 +/- 0.0697105 pe (N=3977)
x=1.75 m, total light yield=7.92598 +/- 0.0684847 pe (N=4021)
x=2.25 m, total light yield=8.23637 +/- 0.0782771 pe (N=3386)
x=2.75 m, total light yield=8.51085 +/- 0.0899653 pe (N=2620)
x=3.25 m, total light yield=8.72188 +/- 0.113283 pe (N=1637)
x=3.75 m, total light yield=9.80589 +/- 0.443284 pe (N=237)
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=3.50608 +/- 1.9279 pe (N=2)
x=-3.25 m, east stripend light yield=1.98737 +/- 0.175652 pe (N=77)
x=-2.75 m, east stripend light yield=2.29857 +/- 0.105458 pe (N=370)
x=-2.25 m, east stripend light yield=2.65075 +/- 0.0579963 pe (N=1136)
x=-1.75 m, east stripend light yield=2.79899 +/- 0.0452046 pe (N=1785)
x=-1.25 m, east stripend light yield=2.87692 +/- 0.0473212 pe (N=1972)
x=-0.75 m, east stripend light yield=3.0683 +/- 0.0494796 pe (N=2040)
x=-0.25 m, east stripend light yield=3.25726 +/- 0.0502021 pe (N=1853)
x=0.25 m, east stripend light yield=3.61843 +/- 0.0528158 pe (N=2216)
x=0.75 m, east stripend light yield=3.93097 +/- 0.0445038 pe (N=3465)
x=1.25 m, east stripend light yield=4.51308 +/- 0.0479663 pe (N=3977)
x=1.75 m, east stripend light yield=5.01448 +/- 0.0494738 pe (N=4021)
x=2.25 m, east stripend light yield=5.52159 +/- 0.0583391 pe (N=3386)
x=2.75 m, east stripend light yield=6.05646 +/- 0.0684191 pe (N=2620)
x=3.25 m, east stripend light yield=6.46592 +/- 0.0886802 pe (N=1637)
x=3.75 m, east stripend light yield=7.47512 +/- 0.367184 pe (N=237)
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=18.7076 +/- 6.78324 pe (N=2)
x=-3.25 m, west stripend light yield=6.23763 +/- 0.448637 pe (N=77)
x=-2.75 m, west stripend light yield=6.37777 +/- 0.216094 pe (N=370)
x=-2.25 m, west stripend light yield=5.64516 +/- 0.0988076 pe (N=1136)
x=-1.75 m, west stripend light yield=5.06276 +/- 0.0696098 pe (N=1785)
x=-1.25 m, west stripend light yield=4.62479 +/- 0.0670425 pe (N=1972)
x=-0.75 m, west stripend light yield=4.14667 +/- 0.0606128 pe (N=2040)
x=-0.25 m, west stripend light yield=3.78082 +/- 0.0591323 pe (N=1853)
x=0.25 m, west stripend light yield=3.52855 +/- 0.0506465 pe (N=2216)
x=0.75 m, west stripend light yield=3.20025 +/- 0.0375877 pe (N=3465)
x=1.25 m, west stripend light yield=3.04888 +/- 0.0349007 pe (N=3977)
x=1.75 m, west stripend light yield=2.91151 +/- 0.0322449 pe (N=4021)
x=2.25 m, west stripend light yield=2.71478 +/- 0.0330382 pe (N=3386)
x=2.75 m, west stripend light yield=2.45439 +/- 0.0367434 pe (N=2620)
x=3.25 m, west stripend light yield=2.25596 +/- 0.0433474 pe (N=1637)
x=3.75 m, west stripend light yield=2.33076 +/- 0.124893 pe (N=237)
x=4.25 m, west stripend light yield=0 +/- 0 pe (N=0)
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	9.895134e-01	2.418985e-03
Fitting results:
Parameters:
NO.		VALUE		ERROR
0	9.891964e-01	2.430701e-03
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots601_2.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSimFlag, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSigMap, Entries= 19093, Total sum= 19073
TH1.Print Name  = hSigMapWinCor, Entries= 19093, Total sum= 19073
TH1.Print Name  = pMeuVs40X, Entries= 99731, Total sum= 31.6101
TH1.Print Name  = pMeuVs40Y, Entries= 99731, Total sum= 28.6338
TH1.Print Name  = pMeuVs40TU, Entries= 49845, Total sum= 30.2063
TH1.Print Name  = pMeuVs40TV, Entries= 49886, Total sum= 30.6978
TH1.Print Name  = pCorVsLU, Entries= 49845, Total sum= 19.4323
TH1.Print Name  = pCorVsLV, Entries= 49886, Total sum= 18.1967
TH1.Print Name  = pMeuVsLU, Entries= 49845, Total sum= 16.9184
TH1.Print Name  = pMeuVsLV, Entries= 49886, Total sum= 16.0977
TH1.Print Name  = pPeVsLU8, Entries= 30794, Total sum= 142.069
TH1.Print Name  = pPeVsLU8, Entries= 30794, Total sum= 142.069
TH1.Print Name  = pPeVsLU18, Entries= 30794, Total sum= 65.0403
TH1.Print Name  = pPeVsLU28, Entries= 30794, Total sum= 77.0283
TH1.Print Name  = pMeuVsLUClone, Entries= 49845, Total sum= 16.9184
TH1.Print Name  = pMeuVsLVClone, Entries= 49886, Total sum= 16.0977
TFile: name=MeuPlots601_2.root, title=, option=READ
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
Warning in <TProfile::Sumw2>: Sum of squares of weights structure already created
SetTH1MaxSame: h1 max=1.01314
SetTH1MaxSame: h2 max=1.03584
SetTH1MaxSame: h3 max=1.10199
SetTH1MaxSame: h4 max=1.18781
SetTH1MaxSame4: max=1.18781
SetTProfileMinWithEntries4: min=0.784287
ExpandMin: Before min=0.784287
ExpandMin: After min=0.705858
ExpandMin: Before min=0.784287
ExpandMin: After min=0.705858
ExpandMin: Before min=0.784287
ExpandMin: After min=0.705858
ExpandMin: Before min=0.784287
ExpandMin: After min=0.705858
SetTH1MinSame: h1 min=0.705858
SetTH1MinSame: h2 min=0.705858
SetTH1MinSame: h3 min=0.95
SetTH1MinSame: h4 min=0.95
SetTH1MinSame4: min=0.705858
SetTH1MinSame: h1 min=0.705858
SetTH1MinSame: h2 min=0.705858
SetTH1MinSame: h3 min=0.95
SetTH1MinSame: h4 min=0.95
SetTH1MinSame4: min=0.705858
SetTH1MaxSame: h1 max=1.18781
SetTH1MaxSame: h2 max=1.18781
SetTH1MaxSame: h3 max=1.05
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.18781
SetTH1MaxSame: h1 max=1.18781
SetTH1MaxSame: h2 max=1.18781
SetTH1MaxSame: h3 max=1.05
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.18781
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.37623
SetTH1MaxSame: h2 max=3.31532
SetTH1MaxSame: h3 max=1.36161
SetTH1MaxSame: h4 max=3.31532
SetTH1MaxSame4: max=3.31532
SetTProfileMinWithEntries4: min=0.971258
SetTH1MaxSame: h1 max=1.06763
SetTH1MaxSame: h2 max=1.05
SetTH1MaxSame: h3 max=1.03274
SetTH1MaxSame: h4 max=1.05
SetTH1MaxSame4: max=1.06763
SetTProfileMinWithEntries4: min=0.892265
ExpandMin: Before min=0.971258
ExpandMin: After min=0.874132
ExpandMin: Before min=0.971258
ExpandMin: After min=0.874132
ExpandMin: Before min=0.892265
ExpandMin: After min=0.803039
ExpandMin: Before min=0.892265
ExpandMin: After min=0.803039
Overriding atten min2 & max2...
Using print argument: c1DXYFarCosmic.gif
Info in <TCanvas::Print>: gif file c1DXYFarCosmic.gif has been created
Using print argument: cStripAttenFarCosmic.gif
Info in <TCanvas::Print>: gif file cStripAttenFarCosmic.gif has been created
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=MeuPlots28204.root
fOverrideMCFile=MeuPlots601_2.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


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

Adding files...
Using fullFileName=MeuPlots28204.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
Found Detector=2, SimFlag=1
meu=495.214, mean=507.634, entries=19093
i=0, cosThZ=-0.95, meu=489.75 +/- 6.32445 (N=116)
i=1, cosThZ=-0.85, meu=496.5 +/- 7.06421 (N=240)
i=2, cosThZ=-0.75, meu=489 +/- 5.42452 (N=414)
i=3, cosThZ=-0.65, meu=491 +/- 3.61282 (N=616)
i=4, cosThZ=-0.55, meu=493.75 +/- 3.40964 (N=789)
i=5, cosThZ=-0.45, meu=495.5 +/- 3.11543 (N=968)
i=6, cosThZ=-0.35, meu=499.8 +/- 3.77899 (N=1030)
i=7, cosThZ=-0.25, meu=516.5 +/- 4.84903 (N=730)
i=8, cosThZ=-0.15, meu=528 +/- 19.9083 (N=128)
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=516.5 +/- 16.7882 (N=137)
i=12, cosThZ=0.25, meu=510.75 +/- 5.52054 (N=788)
i=13, cosThZ=0.35, meu=498.333 +/- 3.37966 (N=1190)
i=14, cosThZ=0.45, meu=500.5 +/- 3.22499 (N=1173)
i=15, cosThZ=0.55, meu=490.5 +/- 3.38673 (N=929)
i=16, cosThZ=0.65, meu=491.4 +/- 3.07864 (N=768)
i=17, cosThZ=0.75, meu=495.833 +/- 3.75207 (N=561)
i=18, cosThZ=0.85, meu=482.5 +/- 4.61532 (N=319)
i=19, cosThZ=0.95, meu=471 +/- 7.72206 (N=122)
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots601_2.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSimFlag, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSigMap, Entries= 19093, Total sum= 19073
TH1.Print Name  = hMeuCosTh0, Entries= 116, Total sum= 116
TH1.Print Name  = hMeuCosTh1, Entries= 240, Total sum= 240
TH1.Print Name  = hMeuCosTh2, Entries= 414, Total sum= 414
TH1.Print Name  = hMeuCosTh3, Entries= 616, Total sum= 616
TH1.Print Name  = hMeuCosTh4, Entries= 789, Total sum= 789
TH1.Print Name  = hMeuCosTh5, Entries= 968, Total sum= 968
TH1.Print Name  = hMeuCosTh6, Entries= 1030, Total sum= 1030
TH1.Print Name  = hMeuCosTh7, Entries= 730, Total sum= 730
TH1.Print Name  = hMeuCosTh8, Entries= 128, Total sum= 128
TH1.Print Name  = hMeuCosTh9, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh10, Entries= 0, Total sum= 0
TH1.Print Name  = hMeuCosTh11, Entries= 137, Total sum= 137
TH1.Print Name  = hMeuCosTh12, Entries= 788, Total sum= 788
TH1.Print Name  = hMeuCosTh13, Entries= 1190, Total sum= 1190
TH1.Print Name  = hMeuCosTh14, Entries= 1173, Total sum= 1173
TH1.Print Name  = hMeuCosTh15, Entries= 929, Total sum= 929
TH1.Print Name  = hMeuCosTh16, Entries= 768, Total sum= 768
TH1.Print Name  = hMeuCosTh17, Entries= 561, Total sum= 561
TH1.Print Name  = hMeuCosTh18, Entries= 319, Total sum= 319
TH1.Print Name  = hMeuCosTh19, Entries= 122, Total sum= 122
TH1.Print Name  = hCosThZ, Entries= 22885, Total sum= 22885
TFile: name=MeuPlots601_2.root, title=, option=READ
meu=499.617, mean=511.037, entries=18489
i=0, cosThZ=-0.95, meu=493.25 +/- 5.13547 (N=265)
i=1, cosThZ=-0.85, meu=487.833 +/- 4.59008 (N=527)
i=2, cosThZ=-0.75, meu=497.3 +/- 2.80605 (N=879)
i=3, cosThZ=-0.65, meu=495.714 +/- 2.60868 (N=1310)
i=4, cosThZ=-0.55, meu=504.5 +/- 2.33626 (N=1514)
i=5, cosThZ=-0.45, meu=501.857 +/- 2.06266 (N=1946)
i=6, cosThZ=-0.35, meu=504.321 +/- 2.32106 (N=1919)
i=7, cosThZ=-0.25, meu=514.9 +/- 3.55687 (N=1412)
i=8, cosThZ=-0.15, meu=534.5 +/- 13.8594 (N=233)
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=525 +/- 13.7406 (N=214)
i=12, cosThZ=0.25, meu=510.056 +/- 3.62821 (N=1585)
i=13, cosThZ=0.35, meu=500.55 +/- 2.38607 (N=2105)
i=14, cosThZ=0.45, meu=501.273 +/- 1.91504 (N=2298)
i=15, cosThZ=0.55, meu=497.812 +/- 2.12481 (N=1841)
i=16, cosThZ=0.65, meu=498.417 +/- 2.17759 (N=1609)
i=17, cosThZ=0.75, meu=498.2 +/- 2.56498 (N=1136)
i=18, cosThZ=0.85, meu=497.25 +/- 3.0032 (N=791)
i=19, cosThZ=0.95, meu=500 +/- 4.18033 (N=344)
Entries Data =22885
Integral Data=22885
Entries MC   =21934
Integral MC  =21934
ScaleFactor  =1.04336
h1 max=2441
h2 max=2397.64
Using print argument: cCosThZFarCosmic.gif
Info in <TCanvas::Print>: gif file cCosThZFarCosmic.gif has been created
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=MeuPlots28204.root
fOverrideMCFile=MeuPlots601_2.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


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

Adding files...
Using fullFileName=MeuPlots28204.root
TFile: name=MeuPlots28204.root, title=, option=READ
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
Found Detector=2, SimFlag=1
First histo has entries=19093, all=22885
meanPe=17
Setting pe range for cosmics (more light)
 FCN=974.502 FROM MIGRAD    STATUS=CONVERGED      71 CALLS          72 TOTAL
                     EDM=4.00931e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     4.34323e+02   4.12871e+00   4.92936e-02  -1.50375e-04
   2  Mean         5.39383e+02   8.68312e-01   1.13993e-02  -1.00912e-03
   3  Sigma        9.96698e+01   5.95984e-01   2.01367e-05   4.57756e-02
 FCN=786.613 FROM MIGRAD    STATUS=CONVERGED      63 CALLS          64 TOTAL
                     EDM=2.47058e-06    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     5.43968e+02   5.08409e+00   5.54289e-02  -4.82966e-04
   2  Mean         7.36109e+00   1.18206e-02   1.38523e-04  -9.63459e-02
   3  Sigma        1.35354e+00   7.72140e-03   1.79322e-05  -2.60266e-01
 FCN=939.267 FROM MIGRAD    STATUS=CONVERGED      72 CALLS          73 TOTAL
                     EDM=4.09015e-08    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     4.37281e+02   4.20513e+00   4.86829e-02   3.60048e-05
   2  Mean         5.33373e+02   8.55533e-01   1.11617e-02   3.10050e-04
   3  Sigma        9.92589e+01   6.14476e-01   2.05237e-05  -8.13092e-02
 FCN=1034.35 FROM MIGRAD    STATUS=CONVERGED      72 CALLS          73 TOTAL
                     EDM=5.86493e-07    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     4.96905e+02   4.74729e+00   5.81799e-02   2.29107e-04
   2  Mean         5.32488e+02   7.74498e-01   1.02062e-02   4.27628e-04
   3  Sigma        8.68085e+01   5.21898e-01   2.01781e-05  -6.18513e-02
 FCN=985.281 FROM MIGRAD    STATUS=CONVERGED      81 CALLS          82 TOTAL
                     EDM=5.82808e-09    STRATEGY= 1      ERROR MATRIX ACCURATE 
  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME      VALUE            ERROR          SIZE      DERIVATIVE 
   1  Constant     5.32374e+02   5.10002e+00   6.07452e-02   9.16280e-06
   2  Mean         5.00411e+02   7.15836e-01   9.32772e-03  -5.49042e-05
   3  Sigma        8.12963e+01   4.94424e-01   2.01102e-05  -2.44806e-02

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

Adding files...
Using fullFileName=MeuPlots601_2.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSimFlag, Entries= 22885, Total sum= 22885
TH1.Print Name  = hAdc, Entries= 19093, Total sum= 19073
TH1.Print Name  = hPeRaw, Entries= 22885, Total sum= 22508
TH1.Print Name  = hAdc, Entries= 19093, Total sum= 19073
TH1.Print Name  = hSigCor, Entries= 19093, Total sum= 19072
TH1.Print Name  = hSigCor, Entries= 19093, Total sum= 19072
TH1.Print Name  = hSigMap, Entries= 19093, Total sum= 19073
TH1.Print Name  = hSigMap, Entries= 19093, Total sum= 19073
TH1.Print Name  = hAdcClone, Entries= 19093, Total sum= 19073
TH1.Print Name  = hPe, Entries= 19093, Total sum= 19073
TH1.Print Name  = hPeClone, Entries= 19093, Total sum= 19073
TH1.Print Name  = hSigLin, Entries= 19093, Total sum= 19073
TH1.Print Name  = hSigLinClone, Entries= 19093, Total sum= 19073
TH1.Print Name  = hSigCorClone, Entries= 19093, Total sum= 19072
TH1.Print Name  = hSigMapClone, Entries= 19093, Total sum= 19073
TH1.Print Name  = hAvNumDigitsAll, Entries= 19093, Total sum= 19093
TH1.Print Name  = hAvNumStripsAll, Entries= 19093, Total sum= 19093
TH1.Print Name  = hAvNumDigits, Entries= 19093, Total sum= 19087
TH1.Print Name  = hAvNumStrips, Entries= 19093, Total sum= 19093
TFile: name=MeuPlots601_2.root, title=, option=READ
Second histo has entries=18489, all=21934
h1 max=1495
h2 max=1531.45
Using max2...
h1 max=633
h2 max=651.055
Using max2...
h1 max=1697
h2 max=1759.67
Using max2...
h1 max=1090
h2 max=1235.07
Using max2...
h1 max=1866
h2 max=1961.04
Using max2...
h1 max=3033
h2 max=3031.91
h1 max=1915
h2 max=1986.85
Using max2...
Using print argument: cTrkWinRespFarCosmic.gif
Info in <TCanvas::Print>: gif file cTrkWinRespFarCosmic.gif has been created
Using print argument: cTrkWinStripsFarCosmic.gif
Info in <TCanvas::Print>: gif file cTrkWinStripsFarCosmic.gif has been created
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=MeuPlots28204.root
fOverrideMCFile=MeuPlots601_2.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


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

Adding files...
Using fullFileName=MeuPlots28204.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
Found Detector=2, SimFlag=1
meu=495.214, mean=507.634, entries=19093

sigMapMedian=495.214
sigCorMedian=526.895
sigLinMedian=527.454
adcMedian=533.288
peMedian=7.29704

x min=3.12962e+08
x max=3.44451e+08
Drawing MC...

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

Adding files...
Using fullFileName=MeuPlots601_2.root
FileList contains:
TFile: name=MeuPlots28204.root, title=, option=READ
TH1.Print Name  = hDetector, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSimFlag, Entries= 22885, Total sum= 22885
TH1.Print Name  = hSigMap, Entries= 19093, Total sum= 19073
TH1.Print Name  = hSigCor, Entries= 19093, Total sum= 19072
TH1.Print Name  = hSigLin, Entries= 19093, Total sum= 19073
TH1.Print Name  = hAdc, Entries= 19093, Total sum= 19073
TH1.Print Name  = hPe, Entries= 19093, Total sum= 19073
TH1.Print Name  = hSigCorDriftCosThStd, Entries= 13, Total sum= 4.23636
TH1.Print Name  = hMeuDriftCosThStd, Entries= 13, Total sum= 1975.21
TH1.Print Name  = hMeuDriftN, Entries= 13, Total sum= 19071
TH1.Print Name  = hFlat, Entries= 26, Total sum= 13
TH1.Print Name  = hSigLinDriftCosThStd, Entries= 13, Total sum= 3.99997
TH1.Print Name  = hSigLinOnAdc, Entries= 13, Total sum= 3.99573
TH1.Print Name  = hSigCorOnSigLin, Entries= 13, Total sum= 3.98163
TH1.Print Name  = hMeuDriftCosThStdCloneData, Entries= 13, Total sum= 3.98861
TH1.Print Name  = hAdcDriftCosThStd, Entries= 13, Total sum= 4.03739
TH1.Print Name  = hPeDriftCosThStd, Entries= 13, Total sum= 3.98735
TFile: name=MeuPlots601_2.root, title=, option=READ
meu=499.617, mean=511.037, entries=18489
Using print argument: cResponseDriftCalCosThFarCosmic.gif
Info in <TCanvas::Print>: gif file cResponseDriftCalCosThFarCosmic.gif has been created
Using print argument: cDriftAllCosThDataFarCosmic.gif
Info in <TCanvas::Print>: gif file cDriftAllCosThDataFarCosmic.gif has been created
Using print argument: cDriftAllCosThMCFarCosmic.gif
Info in <TCanvas::Print>: gif file cDriftAllCosThMCFarCosmic.gif has been created
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=MeuPlots28204.root
fOverrideMCFile=MeuPlots601_2.root
fPrintFormat=gif
fPrintExtraName=Cosmic
fOverrideDataName=Cedar Data
fOverrideMCName=Cedar Daikon


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

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

Mean Digits:
  Av Num Digits      =3.0195 +/- 0.00581675
  Av Num Digits (All)=3.02946 +/- 0.00712665

Forwards and backwards:
  forward  meu=494.72, mean=507.446, entries=10085, resolution=0.201331
  backward meu=495.604, mean=507.843, entries=9008, resolution=0.198206

B-field forwards and reversed:
  B forward  meu=494.806, mean=507.335, entries=9246, resolution=0.203834
  B backward meu=495.577, mean=507.914, entries=9847, resolution=0.196067

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.333, mean=255.54, entries=22885, resolution=0.401072
  meuV2=248.719, mean=260.233, entries=22885, resolution=0.358506

Standard MEU values (for first file):
  meu=495.214 +/- 0.734249, mean=507.634, rms=101.457, entries=19093, resolution=0.199862
  meuAll=498.569 +/- 10.0099, mean=558.747, rms=1514.28, entries=22885, resolution=2.71014


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

Adding files...
Using fullFileName=MeuPlots601_2.root

RESOLUTIONS:
  ADCs:    0.222268
  PEs:     0.221262
  SigLins: 0.222077
  SigCors: 0.201021
  SigMaps: 0.199862
RESOLUTIONS (with truncation):
  ADCs:    0.207882
  PEs:     0.197083
  SigLins: 0.207547
  SigCors: 0.187
  SigMaps: 0.185317
RESOLUTIONS (from Gaussian fit):
  ADCs:    0.184606
  PEs:     0.183877
  SigLins: 0.185731
  SigCors: 0.163077
  SigMaps: 0.164309

*** MEU Summary (Cedar Data) ***
MEU (WinSigMap)=495.2 +/- 0.7342 (0.1483%)
MEU (WinSigCor)=526.9 +/- 0.7866 (0.1493%)
MEU (WinSigLin)=527.5 +/- 0.8694 (0.1648%)
MEU (WinSigDrf)=527.5 +/- 0.8691 (0.1648%)
MEU (WinSigLinOnly)=533.3 +/- 0.8804 (0.1651%)
MEU (WinAdc)   =533.3 +/- 0.8801 (0.165%)
MEU (WinPe)    =7.297 +/- 0.01195 (0.1638%)
MEU (WinPeRaw) =15.43 +/- 0.05508 (0.357%)
MEU (Av digits)=2.892 +/- 0.005817 (0.2011%)
MEU (Av strips)=1.818 +/- 0.004851 (0.2669%)

*** MEU Summary (Cedar Daikon) ***
MEU (WinSigMap)=499.6 +/- 0.6903 (0.1382%)
MEU (WinSigCor)=528.1 +/- 0.7529 (0.1426%)
MEU (WinSigLin)=530.3 +/- 0.8314 (0.1568%)
MEU (WinSigDrf)=530.3 +/- 0.8314 (0.1568%)
MEU (WinSigLinOnly)=530.3 +/- 0.8314 (0.1568%)
MEU (WinAdc)   =530.3 +/- 0.8314 (0.1568%)
MEU (WinPe)    =7.308 +/- 0.01141 (0.1561%)
MEU (WinPeRaw) =15.13 +/- 0.05598 (0.3699%)
MEU (Av digits)=2.883 +/- 0.004942 (0.1714%)
MEU (Av strips)=1.796 +/- 0.003648 (0.2032%)

*** Summary of Differences (data - MC) ***
MEU Difference (WinSigMap)=-4.4, -0.89% +/- 0.2%
MEU Difference (WinSigCor)=-1.2, -0.22% +/- 0.21%
MEU Difference (WinSigLin)=-2.8, -0.53% +/- 0.23%
MEU Difference (WinSigDrf)=-2.8, -0.53% +/- 0.23%
MEU Difference (WinSigLinOnly)=3, 0.57% +/- 0.23%
MEU Difference (WinAdc)   =3, 0.57% +/- 0.23%
MEU Difference (WinPe)    =-0.011, -0.15% +/- 0.23%
MEU Difference (WinPeRaw) =0.3, 1.9% +/- 0.51%
MEU Difference (Av Digits)=0.0092, 0.32% +/- 0.26%
MEU Difference (Av Strips)=0.022, 1.2% +/- 0.34%

*** Summary of Differences (data - MC) ***
MEAN Difference (WinSigMap)=-3.4, -0.67% +/- 0.2%
MEAN Difference (WinSigCor)=-0.36, -0.067% +/- 0.21%
MEAN Difference (WinSigLin)=-1.8, -0.33% +/- 0.23%
MEAN Difference (WinSigDrf)=-1.8, -0.34% +/- 0.23%
MEAN Difference (WinSigLinOnly)=4.4, 0.8% +/- 0.23%
MEAN Difference (WinAdc)   =4.4, 0.8% +/- 0.23%
MEAN Difference (WinPe)    =-0.018, -0.25% +/- 0.23%
MEAN Difference (WinPeRaw) =0.27, 1.6% +/- 0.51%
MEAN Difference (Av Digits)=0.013, 0.42% +/- 0.26%
MEAN Difference (Av Strips)=0.04, 2.1% +/- 0.34%

*** Summary of Differences (data - MC) ***
FIT Difference (WinSigMap)=-4.5, -0.89% +/- 0.2%
FIT Difference (WinSigCor)=-0.6, -0.11% +/- 0.21%
FIT Difference (WinSigLin)=-1.3, -0.25% +/- 0.23%
FIT Difference (WinSigDrf)=-1.4, -0.25% +/- 0.23%
FIT Difference (WinSigLinOnly)=4.8, 0.89% +/- 0.23%
FIT Difference (WinAdc)   =4.8, 0.89% +/- 0.23%
FIT Difference (WinPe)    =-0.024, -0.32% +/- 0.23%
FIT Difference (WinPeRaw) =0.32, 2% +/- 0.51%
FIT Difference (Av Digits)=0.0041, 0.14% +/- 0.26%
FIT Difference (Av Strips)=0.041, 2.1% +/- 0.34%

*** Differences in Central Values (Median/Mean/Gaussian-Fit) ***
MEU - MEAN Diff. (WinSigMap)=-16, -3.2%
MEU - FIT  Diff. (WinSigMap)=-8.9, -1.8%
MEAN - FIT Diff. (WinSigMap)=3.6, 0.71%


*** Latex table of MEU Numbers ***
SigMaps     & 495.2 $\pm$  0.7 & 499.6 $\pm$  0.7 & -0.9\% & 0.200 & 0.184 \\
SigCors     & 526.9 $\pm$  0.8 & 528.1 $\pm$  0.8 & -0.2\% & 0.201 & 0.189 \\
SigLins     & 527.5 $\pm$  0.9 & 530.3 $\pm$  0.8 & -0.5\% & 0.222 & 0.208 \\
SigDrfs     & 527.5 $\pm$  0.9 & 530.3 $\pm$  0.8 & -0.5\% & 0.222 & 0.208 \\
SigLinOnlys     & 533.3 $\pm$  0.9 & 530.3 $\pm$  0.8 &  0.6\% & 0.222 & 0.208 \\
ADCs        & 533.3 $\pm$  0.9 & 530.3 $\pm$  0.8 &  0.6\% & 0.222 & 0.208 \\
Pes         & 7.297 $\pm$ 0.012 & 7.308 $\pm$ 0.011 & -0.1\% & 0.221 & 0.207 \\
PeRaws      & 15.43 $\pm$ 0.06 & 15.13 $\pm$ 0.06 &  1.9\% & 0.476 & 0.481 \\
Av. Digits  & 2.892 $\pm$ 0.006 & 2.883 $\pm$ 0.005 &  0.3\% & 0.266 & 0.223 \\
Av. Strips  & 1.818 $\pm$ 0.005 & 1.796 $\pm$ 0.004 &  1.2\% & 0.349 & 0.264 \\

*** Latex table of differences between centroids ***
Median            & 495.2 & 499.6 & -0.89\% \\
Mean              & 507.6 & 511.0 & -0.67\% \\
Gaussian Fit Mean & 499.6 & 504.1 & -0.89\% \\
After running macro: errorCode=0