Processing anaCheckCalorTowers.C(233133,237795)...
Analysis Code used: CheckCalorTowers.cc
   1) Analysis Code used: CheckCalorTowers.cc
233133
233134
233146
233171
233172
233174
233175
233499
233500
233501
233610
233614
233618
233649
233650
233656
233662
233743
233764
233798
233830
233846
233864
233865
233869
233929
234054
234265
234266
234269
234313
234314
234317
234318
234330
234339
234398
234409
234410
234411
234412
234413
234463
234471
234481
234571
234572
234587
234588
234589
234591
234593
234653
234663
234669
234673
234675
234676
234677
234753
234754
234864
234875
234887
234917
234931
234972
234983
234984
234985
235001
235056
235073
235091
235092
235093
235114
235158
235163
235190
235195
235224
235232
235389
235422
235423
235428
235430
235593
235594
235648
235663
235664
235757
235765
235774
235777
235780
235791
235800
235814
235815
235824
235830
235917
235924
235932
235982
235983
235993
236023
236039
236040
236132
236159
236165
236168
236254
236255
236256
236284
236286
236389
236399
236403
236503
236515
236517
236524
236526
236543
236580
236585
236629
236631
236652
236653
236752
236753
236756
236757
236759
236760
236761
236762
236763
236764
236780
236781
236806
236878
236879
236893
236965
237003
237045
237079
237093
237105
237108
237111
237118
237122
237143
237144
237152
237153
237226
237227
237294
237308
237309
237310
237311
237312
237313
237335
237346
237457
237478
237522
237539
237705
237795
************* Check sizes of various types **************
   sizeof(int) = 4,  sizeof(short int) = 2,  sizeof(long int) = 4
   sizeof(bool) = 1,  sizeof(UCHAR) = 1
   sizeof(float) = 4,  sizeof(double) = 8
********************************************************
 nRuns to check = 184
 Selected files to check: 
 ( minRun, maxRun = 233133, 237795) 
./data/calibhist_gb.038ead.n47.calb.root
./data/calibhist_gb.038eae.n71.calb.root
./data/calibhist_gb.038eba.n3.calb.root
./data/calibhist_gb.038ed3.n37.calb.root
./data/calibhist_gb.038ed4.n1.calb.root
./data/calibhist_gb.038ed6.n1.calb.root
./data/calibhist_gb.038ed7.n12.calb.root
./data/calibhist_gb.03901b.n14.calb.root
./data/calibhist_gb.03901c.n48.calb.root
./data/calibhist_gb.03901d.n1.calb.root
./data/calibhist_gb.03908a.n39.calb.root
./data/calibhist_gb.03908e.n1.calb.root
./data/calibhist_gb.039092.n1.calb.root
./data/calibhist_gb.0390b1.n2.calb.root
./data/calibhist_gb.0390b2.n111.calb.root
./data/calibhist_gb.0390b8.n28.calb.root
./data/calibhist_gb.0390be.n3.calb.root
./data/calibhist_gb.03910f.n45.calb.root
./data/calibhist_gb.039124.n99.calb.root
./data/calibhist_gb.039146.n67.calb.root
./data/calibhist_gb.039166.n89.calb.root
./data/calibhist_gb.039176.n1.calb.root
./data/calibhist_gb.039188.n73.calb.root
./data/calibhist_gb.039189.n1.calb.root
./data/calibhist_gb.03918d.n7.calb.root
./data/calibhist_gb.0391c9.n140.calb.root
./data/calibhist_gb.039246.n17.calb.root
./data/calibhist_gb.039319.n95.calb.root
./data/calibhist_gb.03931a.n1.calb.root
./data/calibhist_gb.03931d.n30.calb.root
./data/calibhist_gb.039349.n8.calb.root
./data/calibhist_gb.03934a.n12.calb.root
./data/calibhist_gb.03934d.n64.calb.root
./data/calibhist_gb.03934e.n6.calb.root
./data/calibhist_gb.03935a.n1.calb.root
./data/calibhist_gb.039363.n1.calb.root
./data/calibhist_gb.03939e.n63.calb.root
./data/calibhist_gb.0393a9.n3.calb.root
./data/calibhist_gb.0393aa.n1.calb.root
./data/calibhist_gb.0393ab.n9.calb.root
./data/calibhist_gb.0393ac.n1.calb.root
./data/calibhist_gb.0393ad.n5.calb.root
./data/calibhist_gb.0393df.n14.calb.root
./data/calibhist_gb.0393e7.n15.calb.root
./data/calibhist_gb.0393f1.n107.calb.root
./data/calibhist_gb.03944b.n135.calb.root
./data/calibhist_gb.03944c.n45.calb.root
./data/calibhist_gb.03945b.n4.calb.root
./data/calibhist_gb.03945c.n20.calb.root
./data/calibhist_gb.03945d.n3.calb.root
./data/calibhist_gb.03945f.n2.calb.root
./data/calibhist_gb.039461.n1.calb.root
./data/calibhist_gb.03949d.n22.calb.root
./data/calibhist_gb.0394a7.n64.calb.root
./data/calibhist_gb.0394ad.n12.calb.root
./data/calibhist_gb.0394b1.n4.calb.root
./data/calibhist_gb.0394b3.n1.calb.root
./data/calibhist_gb.0394b4.n1.calb.root
./data/calibhist_gb.0394b5.n1.calb.root
./data/calibhist_gb.039501.n48.calb.root
./data/calibhist_gb.039502.n69.calb.root
./data/calibhist_gb.039570.n114.calb.root
./data/calibhist_gb.03957b.n11.calb.root
./data/calibhist_gb.039587.n2.calb.root
./data/calibhist_gb.0395a5.n3.calb.root
./data/calibhist_gb.0395b3.n10.calb.root
./data/calibhist_gb.0395dc.n116.calb.root
./data/calibhist_gb.0395e7.n3.calb.root
./data/calibhist_gb.0395e8.n1.calb.root
./data/calibhist_gb.0395e9.n17.calb.root
./data/calibhist_gb.0395f9.n2.calb.root
./data/calibhist_gb.039630.n207.calb.root
./data/calibhist_gb.039641.n2.calb.root
./data/calibhist_gb.039653.n53.calb.root
./data/calibhist_gb.039654.n52.calb.root
./data/calibhist_gb.039655.n67.calb.root
./data/calibhist_gb.03966a.n9.calb.root
./data/calibhist_gb.039696.n97.calb.root
./data/calibhist_gb.03969b.n3.calb.root
./data/calibhist_gb.0396b6.n5.calb.root
./data/calibhist_gb.0396bb.n19.calb.root
./data/calibhist_gb.0396d8.n9.calb.root
./data/calibhist_gb.0396e0.n15.calb.root
./data/calibhist_gb.03977d.n46.calb.root
./data/calibhist_gb.03979e.n3.calb.root
./data/calibhist_gb.03979f.n2.calb.root
./data/calibhist_gb.0397a4.n1.calb.root
./data/calibhist_gb.0397a6.n20.calb.root
./data/calibhist_gb.039849.n18.calb.root
./data/calibhist_gb.03984a.n46.calb.root
./data/calibhist_gb.039880.n111.calb.root
./data/calibhist_gb.03988f.n114.calb.root
./data/calibhist_gb.039890.n28.calb.root
./data/calibhist_gb.0398ed.n4.calb.root
./data/calibhist_gb.0398f5.n1.calb.root
./data/calibhist_gb.0398fe.n6.calb.root
./data/calibhist_gb.039901.n3.calb.root
./data/calibhist_gb.039904.n118.calb.root
./data/calibhist_gb.03990f.n4.calb.root
./data/calibhist_gb.039918.n1.calb.root
./data/calibhist_gb.039926.n1.calb.root
./data/calibhist_gb.039927.n3.calb.root
./data/calibhist_gb.039930.n2.calb.root
./data/calibhist_gb.039936.n7.calb.root
./data/calibhist_gb.03998d.n14.calb.root
./data/calibhist_gb.039994.n130.calb.root
./data/calibhist_gb.03999c.n26.calb.root
./data/calibhist_gb.0399ce.n2.calb.root
./data/calibhist_gb.0399cf.n1.calb.root
./data/calibhist_gb.0399d9.n7.calb.root
./data/calibhist_gb.0399f7.n13.calb.root
./data/calibhist_gb.039a07.n11.calb.root
./data/calibhist_gb.039a08.n178.calb.root
./data/calibhist_gb.039a64.n11.calb.root
./data/calibhist_gb.039a7f.n18.calb.root
./data/calibhist_gb.039a85.n3.calb.root
./data/calibhist_gb.039a88.n154.calb.root
./data/calibhist_gb.039ade.n53.calb.root
./data/calibhist_gb.039adf.n75.calb.root
./data/calibhist_gb.039ae0.n9.calb.root
./data/calibhist_gb.039afc.n28.calb.root
./data/calibhist_gb.039afe.n30.calb.root
./data/calibhist_gb.039b65.n65.calb.root
./data/calibhist_gb.039b6f.n9.calb.root
./data/calibhist_gb.039b73.n1.calb.root
./data/calibhist_gb.039bd7.n55.calb.root
./data/calibhist_gb.039be3.n1.calb.root
./data/calibhist_gb.039be5.n10.calb.root
./data/calibhist_gb.039bec.n2.calb.root
./data/calibhist_gb.039bee.n2.calb.root
./data/calibhist_gb.039bff.n8.calb.root
./data/calibhist_gb.039c24.n83.calb.root
./data/calibhist_gb.039c29.n52.calb.root
./data/calibhist_gb.039c55.n1.calb.root
./data/calibhist_gb.039c57.n16.calb.root
./data/calibhist_gb.039c6c.n4.calb.root
./data/calibhist_gb.039c6d.n142.calb.root
./data/calibhist_gb.039cd0.n3.calb.root
./data/calibhist_gb.039cd1.n41.calb.root
./data/calibhist_gb.039cd4.n17.calb.root
./data/calibhist_gb.039cd5.n1.calb.root
./data/calibhist_gb.039cd7.n11.calb.root
./data/calibhist_gb.039cd8.n2.calb.root
./data/calibhist_gb.039cd9.n2.calb.root
./data/calibhist_gb.039cda.n4.calb.root
./data/calibhist_gb.039cdb.n5.calb.root
./data/calibhist_gb.039cdc.n21.calb.root
./data/calibhist_gb.039cec.n76.calb.root
./data/calibhist_gb.039ced.n14.calb.root
./data/calibhist_gb.039d06.n50.calb.root
./data/calibhist_gb.039d4e.n3.calb.root
./data/calibhist_gb.039d4f.n6.calb.root
./data/calibhist_gb.039d5d.n45.calb.root
./data/calibhist_gb.039da5.n24.calb.root
./data/calibhist_gb.039dcb.n40.calb.root
./data/calibhist_gb.039df5.n32.calb.root
./data/calibhist_gb.039e17.n6.calb.root
./data/calibhist_gb.039e25.n12.calb.root
./data/calibhist_gb.039e31.n7.calb.root
./data/calibhist_gb.039e34.n1.calb.root
./data/calibhist_gb.039e37.n9.calb.root
./data/calibhist_gb.039e3e.n3.calb.root
./data/calibhist_gb.039e42.n27.calb.root
./data/calibhist_gb.039e57.n37.calb.root
./data/calibhist_gb.039e58.n22.calb.root
./data/calibhist_gb.039e60.n1.calb.root
./data/calibhist_gb.039e61.n5.calb.root
./data/calibhist_gb.039eaa.n94.calb.root
./data/calibhist_gb.039eab.n93.calb.root
./data/calibhist_gb.039eee.n11.calb.root
./data/calibhist_gb.039efc.n6.calb.root
./data/calibhist_gb.039efd.n14.calb.root
./data/calibhist_gb.039efe.n73.calb.root
./data/calibhist_gb.039eff.n27.calb.root
./data/calibhist_gb.039f00.n2.calb.root
./data/calibhist_gb.039f01.n14.calb.root
./data/calibhist_gb.039f17.n139.calb.root
./data/calibhist_gb.039f22.n156.calb.root
./data/calibhist_gb.039f91.n9.calb.root
./data/calibhist_gb.039fa6.n117.calb.root
./data/calibhist_gb.039fd2.n16.calb.root
./data/calibhist_gb.039fe3.n3.calb.root
./data/calibhist_gb.03a089.n145.calb.root
./data/calibhist_gb.03a0e3.n115.calb.root
 runNo = 233133
 runNo = 233134
 runNo = 233146
 runNo = 233171
 runNo = 233172
 runNo = 233174
 runNo = 233175
 runNo = 233499
 runNo = 233500
 runNo = 233501
 runNo = 233610
 runNo = 233614
 runNo = 233618
 runNo = 233649
 runNo = 233650
 runNo = 233656
 runNo = 233662
 runNo = 233743
 runNo = 233764
 runNo = 233798
 runNo = 233830
 runNo = 233846
 runNo = 233864
 runNo = 233865
 runNo = 233869
 runNo = 233929
 runNo = 234054
 runNo = 234265
 runNo = 234266
 runNo = 234269
 runNo = 234313
 runNo = 234314
 runNo = 234317
 runNo = 234318
 runNo = 234330
 runNo = 234339
 runNo = 234398
 runNo = 234409
 runNo = 234410
 runNo = 234411
 runNo = 234412
 runNo = 234413
 runNo = 234463
 runNo = 234471
 runNo = 234481
 runNo = 234571
 runNo = 234572
 runNo = 234587
 runNo = 234588
 runNo = 234589
 runNo = 234591
 runNo = 234593
 runNo = 234653
 runNo = 234663
 runNo = 234669
 runNo = 234673
 runNo = 234675
 runNo = 234676
 runNo = 234677
 runNo = 234753
 runNo = 234754
 runNo = 234864
 runNo = 234875
 runNo = 234887
 runNo = 234917
 runNo = 234931
 runNo = 234972
 runNo = 234983
 runNo = 234984
 runNo = 234985
 runNo = 235001
 runNo = 235056
 runNo = 235073
 runNo = 235091
 runNo = 235092
 runNo = 235093
 runNo = 235114
 runNo = 235158
 runNo = 235163
 runNo = 235190
 runNo = 235195
 runNo = 235224
 runNo = 235232
 runNo = 235389
 runNo = 235422
 runNo = 235423
 runNo = 235428
 runNo = 235430
 runNo = 235593
 runNo = 235594
 runNo = 235648
 runNo = 235663
 runNo = 235664
 runNo = 235757
 runNo = 235765
 runNo = 235774
 runNo = 235777
 runNo = 235780
 runNo = 235791
 runNo = 235800
 runNo = 235814
 runNo = 235815
 runNo = 235824
 runNo = 235830
 runNo = 235917
 runNo = 235924
 runNo = 235932
 runNo = 235982
 runNo = 235983
 runNo = 235993
 runNo = 236023
 runNo = 236039
 runNo = 236040
 runNo = 236132
 runNo = 236159
 runNo = 236165
 runNo = 236168
 runNo = 236254
 runNo = 236255
 runNo = 236256
 runNo = 236284
 runNo = 236286
 runNo = 236389
 runNo = 236399
 runNo = 236403
 runNo = 236503
 runNo = 236515
 runNo = 236517
 runNo = 236524
 runNo = 236526
 runNo = 236543
 runNo = 236580
 runNo = 236585
 runNo = 236629
 runNo = 236631
 runNo = 236652
 runNo = 236653
 runNo = 236752
 runNo = 236753
 runNo = 236756
 runNo = 236757
 runNo = 236759
 runNo = 236760
 runNo = 236761
 runNo = 236762
 runNo = 236763
 runNo = 236764
 runNo = 236780
 runNo = 236781
 runNo = 236806
 runNo = 236878
 runNo = 236879
 runNo = 236893
 runNo = 236965
 runNo = 237003
 runNo = 237045
 runNo = 237079
 runNo = 237093
 runNo = 237105
 runNo = 237108
 runNo = 237111
 runNo = 237118
 runNo = 237122
 runNo = 237143
 runNo = 237144
 runNo = 237152
 runNo = 237153
 runNo = 237226
 runNo = 237227
 runNo = 237294
 runNo = 237308
 runNo = 237309
 runNo = 237310
 runNo = 237311
 runNo = 237312
 runNo = 237313
 runNo = 237335
 runNo = 237346
 runNo = 237457
 runNo = 237478
 runNo = 237522
 runNo = 237539
 runNo = 237705
 runNo = 237795
*******************************************************
 using Sigma_cut = 6, Prob_cut = 9.86588e-10
*******************************************************
****** Check Tower Status methods and structures ******

 1)  info as entered in structure testStatus: 
 towerStatusRunByRun = 4 usePoissonRunByRun = 1
 towerStatusRunAve = 3 usePoissonRunAve = 1
 towerStatusFinal = 0 usePoissonFinal = 1
 badPMT = 3
 statusID word = 32024

 2)  reconstructed info from the statusID word: 
 towerStatusRunByRun = 4 usePoissonRunByRun = 1
 towerStatusRunAve = 3 usePoissonRunAve = 1
 towerStatusFinal = 0 usePoissonFinal = 1
 badPMT = 3
 statusID word = 32024
*******************************************************
 results go in: /cdf/scratch/cdfopr/danielw/Calibration/Processes/badchannels/results/
=======================================================
...Checking the calorimeter Towers in:   4 <=  eta  <= 47

******  Good runs have NO Cold and NO Hot bins   ******
(Tag towers >6rms from mean or PoissonProb < 9.86588e-10)

 Results in directory: /cdf/scratch/cdfopr/danielw/Calibration/Processes/badchannels/results/
=======================================================

 Before defining Arrays
 Before defining runNo Arrays, ( 90 kbytes so far) 
 Before defining 2nd bunch of arrays (27000 kbytes so far)
 Before defining last bunch of Arrays ( 38137 kbytes so far)
 Before init. Arrays ( 38683 kbytes needed so far)
 After init. Arrays
Number of files read: 
0	1	2	3	4	5	6	7	8	9	10	11	12	13	14	15	16	17	18	19	20	21	22	23	24	25	26	27	28	29	30	31	32	33	34	35	36	37	38	39	40	41	42	43	44	45	46	47	48	49	50	51	52	53	54	55	56	57	58	59	60	61	62	63	64	65	66	67	68	69	70	71	72	73	74	75	76	77	78	79	80	81	82	83	84	85	86	87	88	89	90	91	92	93	94	95	96	97	98	99	100	101	102	103	104	105	106	107	108	109	110	111	112	113	114	115	116	Warning in <TFile::Init>: file ./data/calibhist_gb.039a88.n154.calb.root probably not closed, trying to recover
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:HepRootManager at address 452
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:FitBeamModule at address 579
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:BeamWidthModule at address 434838
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:TrackingMon at address 2376261
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:TrackMonitor at address 2421216
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:VxprimValidationModule at address 2421339
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:ZVertexValidationModule at address 2537637
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:TowerValidationModule at address 2547345
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:TofCalibMenuModule-TimeWalk at address 3110704
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:TofCalibMenuModule-LightSpeed at address 3110857
Info in <TFile::Recover>: ./data/calibhist_gb.039a88.n154.calb.root, recovered key TDirectory:FitBeamModule-Willis at address 3111014
Warning in <TFile::Init>: successfully recovered 11 keys
Error in <TDirectory::cd>: Unknown directory occurrence
Error in <TDirectory::cd>: Unknown directory occurrence
Error in <TDirectory::cd>: Unknown directory occurrence
Error in <TDirectory::cd>: Unknown directory occurrence
Error in <TDirectory::cd>: Unknown directory occurrence
Error in <TDirectory::cd>: Unknown directory occurrence
117	118	119	120	121	122	123	124	125	126	127	128	129	130	131	132	133	134	135	136	137	138	139	140	141	142	143	144	145	146	147	148	149	150	151	152	153	154	155	156	157	158	159	160	161	162	163	164	165	166	167	168	169	170	171	172	173	174	175	176	177	178	179	180	181	182	183	
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
With towers checked Run-by-Run (each Run is independent), here is the result: 
 Total number of Runs        Good      Bad    Not Checked
 --------------------       ------    -----  ------------
       184                    64        119        1

++++ Done with 1st pass over all runs to tag towers. 
   ( Tagged towers, run-by-run, reported in checkCalorTowersDetails_v* )

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 Re-classification of towers finished. Saving histograms... 
FLAG runs as GOOD/BAD using the Re-Evaluatee towers...

 ........................................

FINAL tower status using their Run-Average behaviour (if possible)

 #Runs  CCAL_OK  PCAL_OK  CAL_OK   CCAL_BAD  PCAL_BAD   CCAL_BEAM?  PCAL_BEAM?  No Check
------------------------------------------------------------------------------------------
  184      182      183     182         1         0          0           0           1
------------------------------------------------------------------------------------------
 ALL is Done! 
TROOT*		Rint	The ROOT of EVERYTHING
(int)0