CMS 3D CMS Logo

LaserAlignmentInitHistograms.cc

Go to the documentation of this file.
00001 
00009 #include "Alignment/LaserAlignment/plugins/LaserAlignment.h"
00010 #include "TFile.h" 
00011 
00012 void LaserAlignment::initHistograms()
00013 {
00014   // vector to store the Histogram names
00015   theHistogramNames.reserve(434);
00016 
00017   singleModulesDir = theFile->mkdir( "single modules" );
00018 
00019   // --- LaserBeams ---
00020   TDirectory * BeamDir = theFile->mkdir("LaserBeams");
00021 
00022   TDirectory * TECPosDir = BeamDir->mkdir("TEC+");
00023   TDirectory * TECNegDir = BeamDir->mkdir("TEC-");
00024   TDirectory * TOBDir = BeamDir->mkdir("TOB");
00025   TDirectory * TIBDir = BeamDir->mkdir("TIB");
00026 
00027   TDirectory * Ring4PosDir = TECPosDir->mkdir("Ring 4");
00028   TDirectory * Ring6PosDir = TECPosDir->mkdir("Ring 6");
00029 
00030   TDirectory * Ring4NegDir = TECNegDir->mkdir("Ring 4");
00031   TDirectory * Ring6NegDir = TECNegDir->mkdir("Ring 6");
00032 
00033   TDirectory * Ring4Beam0PosDir = Ring4PosDir->mkdir("Beam 0");
00034   TDirectory * Ring4Beam1PosDir = Ring4PosDir->mkdir("Beam 1");
00035   TDirectory * Ring4Beam2PosDir = Ring4PosDir->mkdir("Beam 2");
00036   TDirectory * Ring4Beam3PosDir = Ring4PosDir->mkdir("Beam 3");
00037   TDirectory * Ring4Beam4PosDir = Ring4PosDir->mkdir("Beam 4");
00038   TDirectory * Ring4Beam5PosDir = Ring4PosDir->mkdir("Beam 5");
00039   TDirectory * Ring4Beam6PosDir = Ring4PosDir->mkdir("Beam 6");
00040   TDirectory * Ring4Beam7PosDir = Ring4PosDir->mkdir("Beam 7");
00041   TDirectory * Ring6Beam0PosDir = Ring6PosDir->mkdir("Beam 0");
00042   TDirectory * Ring6Beam1PosDir = Ring6PosDir->mkdir("Beam 1");
00043   TDirectory * Ring6Beam2PosDir = Ring6PosDir->mkdir("Beam 2");
00044   TDirectory * Ring6Beam3PosDir = Ring6PosDir->mkdir("Beam 3");
00045   TDirectory * Ring6Beam4PosDir = Ring6PosDir->mkdir("Beam 4");
00046   TDirectory * Ring6Beam5PosDir = Ring6PosDir->mkdir("Beam 5");
00047   TDirectory * Ring6Beam6PosDir = Ring6PosDir->mkdir("Beam 6");
00048   TDirectory * Ring6Beam7PosDir = Ring6PosDir->mkdir("Beam 7");
00049 
00050   TDirectory * Ring4Beam0NegDir = Ring4NegDir->mkdir("Beam 0");
00051   TDirectory * Ring4Beam1NegDir = Ring4NegDir->mkdir("Beam 1");
00052   TDirectory * Ring4Beam2NegDir = Ring4NegDir->mkdir("Beam 2");
00053   TDirectory * Ring4Beam3NegDir = Ring4NegDir->mkdir("Beam 3");
00054   TDirectory * Ring4Beam4NegDir = Ring4NegDir->mkdir("Beam 4");
00055   TDirectory * Ring4Beam5NegDir = Ring4NegDir->mkdir("Beam 5");
00056   TDirectory * Ring4Beam6NegDir = Ring4NegDir->mkdir("Beam 6");
00057   TDirectory * Ring4Beam7NegDir = Ring4NegDir->mkdir("Beam 7");
00058   TDirectory * Ring6Beam0NegDir = Ring6NegDir->mkdir("Beam 0");
00059   TDirectory * Ring6Beam1NegDir = Ring6NegDir->mkdir("Beam 1");
00060   TDirectory * Ring6Beam2NegDir = Ring6NegDir->mkdir("Beam 2");
00061   TDirectory * Ring6Beam3NegDir = Ring6NegDir->mkdir("Beam 3");
00062   TDirectory * Ring6Beam4NegDir = Ring6NegDir->mkdir("Beam 4");
00063   TDirectory * Ring6Beam5NegDir = Ring6NegDir->mkdir("Beam 5");
00064   TDirectory * Ring6Beam6NegDir = Ring6NegDir->mkdir("Beam 6");
00065   TDirectory * Ring6Beam7NegDir = Ring6NegDir->mkdir("Beam 7");
00066 
00067   TDirectory * Beam0TOBDir = TOBDir->mkdir("Beam 0");
00068   TDirectory * Beam1TOBDir = TOBDir->mkdir("Beam 1");
00069   TDirectory * Beam2TOBDir = TOBDir->mkdir("Beam 2");
00070   TDirectory * Beam3TOBDir = TOBDir->mkdir("Beam 3");
00071   TDirectory * Beam4TOBDir = TOBDir->mkdir("Beam 4");
00072   TDirectory * Beam5TOBDir = TOBDir->mkdir("Beam 5");
00073   TDirectory * Beam6TOBDir = TOBDir->mkdir("Beam 6");
00074   TDirectory * Beam7TOBDir = TOBDir->mkdir("Beam 7");
00075 
00076   TDirectory * Beam0TIBDir = TIBDir->mkdir("Beam 0");
00077   TDirectory * Beam1TIBDir = TIBDir->mkdir("Beam 1");
00078   TDirectory * Beam2TIBDir = TIBDir->mkdir("Beam 2");
00079   TDirectory * Beam3TIBDir = TIBDir->mkdir("Beam 3");
00080   TDirectory * Beam4TIBDir = TIBDir->mkdir("Beam 4");
00081   TDirectory * Beam5TIBDir = TIBDir->mkdir("Beam 5");
00082   TDirectory * Beam6TIBDir = TIBDir->mkdir("Beam 6");
00083   TDirectory * Beam7TIBDir = TIBDir->mkdir("Beam 7"); 
00084 
00085   /* LaserBeams in the TEC+ */
00086   // {{{ ----- Adc counts for Beam 0 in Ring 4
00087   theBeam0Ring4Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 0 in Ring 4", 512, 0, 511);
00088   theBeam0Ring4Disc1PosAdcCounts->SetDirectory(Ring4Beam0PosDir);
00089   theHistogramNames.push_back("Beam0Ring4Disc1PosTEC");
00090   theBeam0Ring4Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 0 in Ring 4", 512, 0, 511);
00091   theBeam0Ring4Disc2PosAdcCounts->SetDirectory(Ring4Beam0PosDir);
00092   theHistogramNames.push_back("Beam0Ring4Disc2PosTEC");
00093   theBeam0Ring4Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 0 in Ring 4", 512, 0, 511);
00094   theBeam0Ring4Disc3PosAdcCounts->SetDirectory(Ring4Beam0PosDir);
00095   theHistogramNames.push_back("Beam0Ring4Disc3PosTEC");
00096   theBeam0Ring4Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 0 in Ring 4", 512, 0, 511);
00097   theBeam0Ring4Disc4PosAdcCounts->SetDirectory(Ring4Beam0PosDir);
00098   theHistogramNames.push_back("Beam0Ring4Disc4PosTEC");
00099   theBeam0Ring4Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 0 in Ring 4", 512, 0, 511);
00100   theBeam0Ring4Disc5PosAdcCounts->SetDirectory(Ring4Beam0PosDir);
00101   theHistogramNames.push_back("Beam0Ring4Disc5PosTEC");
00102   theBeam0Ring4Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 0 in Ring 4", 512, 0, 511);
00103   theBeam0Ring4Disc6PosAdcCounts->SetDirectory(Ring4Beam0PosDir);
00104   theHistogramNames.push_back("Beam0Ring4Disc6PosTEC");
00105   theBeam0Ring4Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 0 in Ring 4", 512, 0, 511);
00106   theBeam0Ring4Disc7PosAdcCounts->SetDirectory(Ring4Beam0PosDir);
00107   theHistogramNames.push_back("Beam0Ring4Disc7PosTEC");
00108   theBeam0Ring4Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 0 in Ring 4", 512, 0, 511);
00109   theBeam0Ring4Disc8PosAdcCounts->SetDirectory(Ring4Beam0PosDir);
00110   theHistogramNames.push_back("Beam0Ring4Disc8PosTEC");
00111   theBeam0Ring4Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 0 in Ring 4", 512, 0, 511);
00112   theBeam0Ring4Disc9PosAdcCounts->SetDirectory(Ring4Beam0PosDir);
00113   theHistogramNames.push_back("Beam0Ring4Disc9PosTEC");
00114   // }}}
00115 
00116   // {{{ ----- Adc counts for Beam 1 in Ring 4
00117   theBeam1Ring4Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 1 in Ring 4", 512, 0, 511);
00118   theBeam1Ring4Disc1PosAdcCounts->SetDirectory(Ring4Beam1PosDir);
00119   theHistogramNames.push_back("Beam1Ring4Disc1PosTEC");
00120   theBeam1Ring4Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 1 in Ring 4", 512, 0, 511);
00121   theBeam1Ring4Disc2PosAdcCounts->SetDirectory(Ring4Beam1PosDir);
00122   theHistogramNames.push_back("Beam1Ring4Disc2PosTEC");
00123   theBeam1Ring4Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 1 in Ring 4", 512, 0, 511);
00124   theBeam1Ring4Disc3PosAdcCounts->SetDirectory(Ring4Beam1PosDir);
00125   theHistogramNames.push_back("Beam1Ring4Disc3PosTEC");
00126   theBeam1Ring4Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 1 in Ring 4", 512, 0, 511);
00127   theBeam1Ring4Disc4PosAdcCounts->SetDirectory(Ring4Beam1PosDir);
00128   theHistogramNames.push_back("Beam1Ring4Disc4PosTEC");
00129   theBeam1Ring4Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 1 in Ring 4", 512, 0, 511);
00130   theBeam1Ring4Disc5PosAdcCounts->SetDirectory(Ring4Beam1PosDir);
00131   theHistogramNames.push_back("Beam1Ring4Disc5PosTEC");
00132   theBeam1Ring4Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 1 in Ring 4", 512, 0, 511);
00133   theBeam1Ring4Disc6PosAdcCounts->SetDirectory(Ring4Beam1PosDir);
00134   theHistogramNames.push_back("Beam1Ring4Disc6PosTEC");
00135   theBeam1Ring4Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 1 in Ring 4", 512, 0, 511);
00136   theBeam1Ring4Disc7PosAdcCounts->SetDirectory(Ring4Beam1PosDir);
00137   theHistogramNames.push_back("Beam1Ring4Disc7PosTEC");
00138   theBeam1Ring4Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 1 in Ring 4", 512, 0, 511);
00139   theBeam1Ring4Disc8PosAdcCounts->SetDirectory(Ring4Beam1PosDir);
00140   theHistogramNames.push_back("Beam1Ring4Disc8PosTEC");
00141   theBeam1Ring4Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 1 in Ring 4", 512, 0, 511);
00142   theBeam1Ring4Disc9PosAdcCounts->SetDirectory(Ring4Beam1PosDir);
00143   theHistogramNames.push_back("Beam1Ring4Disc9PosTEC");
00144   // }}}
00145 
00146   // plots for TEC2TEC beam 1
00147   theBeam1Ring4Disc1PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 1 in Ring 4", 512, 0, 511);
00148   theBeam1Ring4Disc1PosTEC2TECAdcCounts->SetDirectory(Ring4Beam1PosDir);
00149   theHistogramNames.push_back("Beam1Ring4Disc1PosTEC2TEC");
00150   theBeam1Ring4Disc2PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 1 in Ring 4", 512, 0, 511);
00151   theBeam1Ring4Disc2PosTEC2TECAdcCounts->SetDirectory(Ring4Beam1PosDir);
00152   theHistogramNames.push_back("Beam1Ring4Disc2PosTEC2TEC");
00153   theBeam1Ring4Disc3PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 1 in Ring 4", 512, 0, 511);
00154   theBeam1Ring4Disc3PosTEC2TECAdcCounts->SetDirectory(Ring4Beam1PosDir);
00155   theHistogramNames.push_back("Beam1Ring4Disc3PosTEC2TEC");
00156   theBeam1Ring4Disc4PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 1 in Ring 4", 512, 0, 511);
00157   theBeam1Ring4Disc4PosTEC2TECAdcCounts->SetDirectory(Ring4Beam1PosDir);
00158   theHistogramNames.push_back("Beam1Ring4Disc4PosTEC2TEC");
00159   theBeam1Ring4Disc5PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 1 in Ring 4", 512, 0, 511);
00160   theBeam1Ring4Disc5PosTEC2TECAdcCounts->SetDirectory(Ring4Beam1PosDir);
00161   theHistogramNames.push_back("Beam1Ring4Disc5PosTEC2TEC");
00162   // }}}
00163 
00164   // {{{ ----- Adc counts for Beam 2 in Ring 4
00165   theBeam2Ring4Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 2 in Ring 4", 512, 0, 511);
00166   theBeam2Ring4Disc1PosAdcCounts->SetDirectory(Ring4Beam2PosDir);
00167   theHistogramNames.push_back("Beam2Ring4Disc1PosTEC");
00168   theBeam2Ring4Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 2 in Ring 4", 512, 0, 511);
00169   theBeam2Ring4Disc2PosAdcCounts->SetDirectory(Ring4Beam2PosDir);
00170   theHistogramNames.push_back("Beam2Ring4Disc2PosTEC");
00171   theBeam2Ring4Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 2 in Ring 4", 512, 0, 511);
00172   theBeam2Ring4Disc3PosAdcCounts->SetDirectory(Ring4Beam2PosDir);
00173   theHistogramNames.push_back("Beam2Ring4Disc3PosTEC");
00174   theBeam2Ring4Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 2 in Ring 4", 512, 0, 511);
00175   theBeam2Ring4Disc4PosAdcCounts->SetDirectory(Ring4Beam2PosDir);
00176   theHistogramNames.push_back("Beam2Ring4Disc4PosTEC");
00177   theBeam2Ring4Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 2 in Ring 4", 512, 0, 511);
00178   theBeam2Ring4Disc5PosAdcCounts->SetDirectory(Ring4Beam2PosDir);
00179   theHistogramNames.push_back("Beam2Ring4Disc5PosTEC");
00180   theBeam2Ring4Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 2 in Ring 4", 512, 0, 511);
00181   theBeam2Ring4Disc6PosAdcCounts->SetDirectory(Ring4Beam2PosDir);
00182   theHistogramNames.push_back("Beam2Ring4Disc6PosTEC");
00183   theBeam2Ring4Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 2 in Ring 4", 512, 0, 511);
00184   theBeam2Ring4Disc7PosAdcCounts->SetDirectory(Ring4Beam2PosDir);
00185   theHistogramNames.push_back("Beam2Ring4Disc7PosTEC");
00186   theBeam2Ring4Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 2 in Ring 4", 512, 0, 511);
00187   theBeam2Ring4Disc8PosAdcCounts->SetDirectory(Ring4Beam2PosDir);
00188   theHistogramNames.push_back("Beam2Ring4Disc8PosTEC");
00189   theBeam2Ring4Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 2 in Ring 4", 512, 0, 511);
00190   theBeam2Ring4Disc9PosAdcCounts->SetDirectory(Ring4Beam2PosDir);
00191   theHistogramNames.push_back("Beam2Ring4Disc9PosTEC");
00192   // }}}
00193 
00194   // plots for TEC2TEC beam 2
00195   theBeam2Ring4Disc1PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 2 in Ring 4", 512, 0, 511);
00196   theBeam2Ring4Disc1PosTEC2TECAdcCounts->SetDirectory(Ring4Beam2PosDir);
00197   theHistogramNames.push_back("Beam2Ring4Disc1PosTEC2TEC");
00198   theBeam2Ring4Disc2PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 2 in Ring 4", 512, 0, 511);
00199   theBeam2Ring4Disc2PosTEC2TECAdcCounts->SetDirectory(Ring4Beam2PosDir);
00200   theHistogramNames.push_back("Beam2Ring4Disc2PosTEC2TEC");
00201   theBeam2Ring4Disc3PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 2 in Ring 4", 512, 0, 511);
00202   theBeam2Ring4Disc3PosTEC2TECAdcCounts->SetDirectory(Ring4Beam2PosDir);
00203   theHistogramNames.push_back("Beam2Ring4Disc3PosTEC2TEC");
00204   theBeam2Ring4Disc4PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 2 in Ring 4", 512, 0, 511);
00205   theBeam2Ring4Disc4PosTEC2TECAdcCounts->SetDirectory(Ring4Beam2PosDir);
00206   theHistogramNames.push_back("Beam2Ring4Disc4PosTEC2TEC");
00207   theBeam2Ring4Disc5PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 2 in Ring 4", 512, 0, 511);
00208   theBeam2Ring4Disc5PosTEC2TECAdcCounts->SetDirectory(Ring4Beam2PosDir);
00209   theHistogramNames.push_back("Beam2Ring4Disc5PosTEC2TEC");
00210   // }}}
00211 
00212   // {{{ ----- Adc counts for Beam 3 in Ring 4
00213   theBeam3Ring4Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 3 in Ring 4", 512, 0, 511);
00214   theBeam3Ring4Disc1PosAdcCounts->SetDirectory(Ring4Beam3PosDir);
00215   theHistogramNames.push_back("Beam3Ring4Disc1PosTEC");
00216   theBeam3Ring4Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 3 in Ring 4", 512, 0, 511);
00217   theBeam3Ring4Disc2PosAdcCounts->SetDirectory(Ring4Beam3PosDir);
00218   theHistogramNames.push_back("Beam3Ring4Disc2PosTEC");
00219   theBeam3Ring4Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 3 in Ring 4", 512, 0, 511);
00220   theBeam3Ring4Disc3PosAdcCounts->SetDirectory(Ring4Beam3PosDir);
00221   theHistogramNames.push_back("Beam3Ring4Disc3PosTEC");
00222   theBeam3Ring4Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 3 in Ring 4", 512, 0, 511);
00223   theBeam3Ring4Disc4PosAdcCounts->SetDirectory(Ring4Beam3PosDir);
00224   theHistogramNames.push_back("Beam3Ring4Disc4PosTEC");
00225   theBeam3Ring4Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 3 in Ring 4", 512, 0, 511);
00226   theBeam3Ring4Disc5PosAdcCounts->SetDirectory(Ring4Beam3PosDir);
00227   theHistogramNames.push_back("Beam3Ring4Disc5PosTEC");
00228   theBeam3Ring4Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 3 in Ring 4", 512, 0, 511);
00229   theBeam3Ring4Disc6PosAdcCounts->SetDirectory(Ring4Beam3PosDir);
00230   theHistogramNames.push_back("Beam3Ring4Disc6PosTEC");
00231   theBeam3Ring4Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 3 in Ring 4", 512, 0, 511);
00232   theBeam3Ring4Disc7PosAdcCounts->SetDirectory(Ring4Beam3PosDir);
00233   theHistogramNames.push_back("Beam3Ring4Disc7PosTEC");
00234   theBeam3Ring4Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 3 in Ring 4", 512, 0, 511);
00235   theBeam3Ring4Disc8PosAdcCounts->SetDirectory(Ring4Beam3PosDir);
00236   theHistogramNames.push_back("Beam3Ring4Disc8PosTEC");
00237   theBeam3Ring4Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 3 in Ring 4", 512, 0, 511);
00238   theBeam3Ring4Disc9PosAdcCounts->SetDirectory(Ring4Beam3PosDir);
00239   theHistogramNames.push_back("Beam3Ring4Disc9PosTEC");
00240   // }}}
00241 
00242   // {{{ ----- Adc counts for Beam 4 in Ring 4
00243   theBeam4Ring4Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 4 in Ring 4", 512, 0, 511);
00244   theBeam4Ring4Disc1PosAdcCounts->SetDirectory(Ring4Beam4PosDir);
00245   theHistogramNames.push_back("Beam4Ring4Disc1PosTEC");
00246   theBeam4Ring4Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 4 in Ring 4", 512, 0, 511);
00247   theBeam4Ring4Disc2PosAdcCounts->SetDirectory(Ring4Beam4PosDir);
00248   theHistogramNames.push_back("Beam4Ring4Disc2PosTEC");
00249   theBeam4Ring4Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 4 in Ring 4", 512, 0, 511);
00250   theBeam4Ring4Disc3PosAdcCounts->SetDirectory(Ring4Beam4PosDir);
00251   theHistogramNames.push_back("Beam4Ring4Disc3PosTEC");
00252   theBeam4Ring4Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 4 in Ring 4", 512, 0, 511);
00253   theBeam4Ring4Disc4PosAdcCounts->SetDirectory(Ring4Beam4PosDir);
00254   theHistogramNames.push_back("Beam4Ring4Disc4PosTEC");
00255   theBeam4Ring4Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 4 in Ring 4", 512, 0, 511);
00256   theBeam4Ring4Disc5PosAdcCounts->SetDirectory(Ring4Beam4PosDir);
00257   theHistogramNames.push_back("Beam4Ring4Disc5PosTEC");
00258   theBeam4Ring4Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 4 in Ring 4", 512, 0, 511);
00259   theBeam4Ring4Disc6PosAdcCounts->SetDirectory(Ring4Beam4PosDir);
00260   theHistogramNames.push_back("Beam4Ring4Disc6PosTEC");
00261   theBeam4Ring4Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 4 in Ring 4", 512, 0, 511);
00262   theBeam4Ring4Disc7PosAdcCounts->SetDirectory(Ring4Beam4PosDir);
00263   theHistogramNames.push_back("Beam4Ring4Disc7PosTEC");
00264   theBeam4Ring4Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 4 in Ring 4", 512, 0, 511);
00265   theBeam4Ring4Disc8PosAdcCounts->SetDirectory(Ring4Beam4PosDir);
00266   theHistogramNames.push_back("Beam4Ring4Disc8PosTEC");
00267   theBeam4Ring4Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 4 in Ring 4", 512, 0, 511);
00268   theBeam4Ring4Disc9PosAdcCounts->SetDirectory(Ring4Beam4PosDir);
00269   theHistogramNames.push_back("Beam4Ring4Disc9PosTEC");
00270   // }}}
00271 
00272   // plots for TEC2TEC beam 4
00273   theBeam4Ring4Disc1PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 4 in Ring 4", 512, 0, 511);
00274   theBeam4Ring4Disc1PosTEC2TECAdcCounts->SetDirectory(Ring4Beam4PosDir);
00275   theHistogramNames.push_back("Beam4Ring4Disc1PosTEC2TEC");
00276   theBeam4Ring4Disc2PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 4 in Ring 4", 512, 0, 511);
00277   theBeam4Ring4Disc2PosTEC2TECAdcCounts->SetDirectory(Ring4Beam4PosDir);
00278   theHistogramNames.push_back("Beam4Ring4Disc2PosTEC2TEC");
00279   theBeam4Ring4Disc3PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 4 in Ring 4", 512, 0, 511);
00280   theBeam4Ring4Disc3PosTEC2TECAdcCounts->SetDirectory(Ring4Beam4PosDir);
00281   theHistogramNames.push_back("Beam4Ring4Disc3PosTEC2TEC");
00282   theBeam4Ring4Disc4PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 4 in Ring 4", 512, 0, 511);
00283   theBeam4Ring4Disc4PosTEC2TECAdcCounts->SetDirectory(Ring4Beam4PosDir);
00284   theHistogramNames.push_back("Beam4Ring4Disc4PosTEC2TEC");
00285   theBeam4Ring4Disc5PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 4 in Ring 4", 512, 0, 511);
00286   theBeam4Ring4Disc5PosTEC2TECAdcCounts->SetDirectory(Ring4Beam4PosDir);
00287   theHistogramNames.push_back("Beam4Ring4Disc5PosTEC2TEC");
00288   // }}}
00289 
00290   // {{{ ----- Adc counts for Beam 5 in Ring 4
00291   theBeam5Ring4Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 5 in Ring 4", 512, 0, 511);
00292   theBeam5Ring4Disc1PosAdcCounts->SetDirectory(Ring4Beam5PosDir);
00293   theHistogramNames.push_back("Beam5Ring4Disc1PosTEC");
00294   theBeam5Ring4Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 5 in Ring 4", 512, 0, 511);
00295   theBeam5Ring4Disc2PosAdcCounts->SetDirectory(Ring4Beam5PosDir);
00296   theHistogramNames.push_back("Beam5Ring4Disc2PosTEC");
00297   theBeam5Ring4Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 5 in Ring 4", 512, 0, 511);
00298   theBeam5Ring4Disc3PosAdcCounts->SetDirectory(Ring4Beam5PosDir);
00299   theHistogramNames.push_back("Beam5Ring4Disc3PosTEC");
00300   theBeam5Ring4Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 5 in Ring 4", 512, 0, 511);
00301   theBeam5Ring4Disc4PosAdcCounts->SetDirectory(Ring4Beam5PosDir);
00302   theHistogramNames.push_back("Beam5Ring4Disc4PosTEC");
00303   theBeam5Ring4Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 5 in Ring 4", 512, 0, 511);
00304   theBeam5Ring4Disc5PosAdcCounts->SetDirectory(Ring4Beam5PosDir);
00305   theHistogramNames.push_back("Beam5Ring4Disc5PosTEC");
00306   theBeam5Ring4Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 5 in Ring 4", 512, 0, 511);
00307   theBeam5Ring4Disc6PosAdcCounts->SetDirectory(Ring4Beam5PosDir);
00308   theHistogramNames.push_back("Beam5Ring4Disc6PosTEC");
00309   theBeam5Ring4Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 5 in Ring 4", 512, 0, 511);
00310   theBeam5Ring4Disc7PosAdcCounts->SetDirectory(Ring4Beam5PosDir);
00311   theHistogramNames.push_back("Beam5Ring4Disc7PosTEC");
00312   theBeam5Ring4Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 5 in Ring 4", 512, 0, 511);
00313   theBeam5Ring4Disc8PosAdcCounts->SetDirectory(Ring4Beam5PosDir);
00314   theHistogramNames.push_back("Beam5Ring4Disc8PosTEC");
00315   theBeam5Ring4Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 5 in Ring 4", 512, 0, 511);
00316   theBeam5Ring4Disc9PosAdcCounts->SetDirectory(Ring4Beam5PosDir);
00317   theHistogramNames.push_back("Beam5Ring4Disc9PosTEC");
00318   // }}}
00319 
00320   // {{{ ----- Adc counts for Beam 6 in Ring 4
00321   theBeam6Ring4Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 6 in Ring 4", 512, 0, 511);
00322   theBeam6Ring4Disc1PosAdcCounts->SetDirectory(Ring4Beam6PosDir);
00323   theHistogramNames.push_back("Beam6Ring4Disc1PosTEC");
00324   theBeam6Ring4Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 6 in Ring 4", 512, 0, 511);
00325   theBeam6Ring4Disc2PosAdcCounts->SetDirectory(Ring4Beam6PosDir);
00326   theHistogramNames.push_back("Beam6Ring4Disc2PosTEC");
00327   theBeam6Ring4Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 6 in Ring 4", 512, 0, 511);
00328   theBeam6Ring4Disc3PosAdcCounts->SetDirectory(Ring4Beam6PosDir);
00329   theHistogramNames.push_back("Beam6Ring4Disc3PosTEC");
00330   theBeam6Ring4Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 6 in Ring 4", 512, 0, 511);
00331   theBeam6Ring4Disc4PosAdcCounts->SetDirectory(Ring4Beam6PosDir);
00332   theHistogramNames.push_back("Beam6Ring4Disc4PosTEC");
00333   theBeam6Ring4Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 6 in Ring 4", 512, 0, 511);
00334   theBeam6Ring4Disc5PosAdcCounts->SetDirectory(Ring4Beam6PosDir);
00335   theHistogramNames.push_back("Beam6Ring4Disc5PosTEC");
00336   theBeam6Ring4Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 6 in Ring 4", 512, 0, 511);
00337   theBeam6Ring4Disc6PosAdcCounts->SetDirectory(Ring4Beam6PosDir);
00338   theHistogramNames.push_back("Beam6Ring4Disc6PosTEC");
00339   theBeam6Ring4Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 6 in Ring 4", 512, 0, 511);
00340   theBeam6Ring4Disc7PosAdcCounts->SetDirectory(Ring4Beam6PosDir);
00341   theHistogramNames.push_back("Beam6Ring4Disc7PosTEC");
00342   theBeam6Ring4Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 6 in Ring 4", 512, 0, 511);
00343   theBeam6Ring4Disc8PosAdcCounts->SetDirectory(Ring4Beam6PosDir);
00344   theHistogramNames.push_back("Beam6Ring4Disc8PosTEC");
00345   theBeam6Ring4Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 6 in Ring 4", 512, 0, 511);
00346   theBeam6Ring4Disc9PosAdcCounts->SetDirectory(Ring4Beam6PosDir);
00347   theHistogramNames.push_back("Beam6Ring4Disc9PosTEC");
00348   // }}}
00349 
00350   // plots for TEC2TEC beam 6
00351   theBeam6Ring4Disc1PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 6 in Ring 4", 512, 0, 511);
00352   theBeam6Ring4Disc1PosTEC2TECAdcCounts->SetDirectory(Ring4Beam6PosDir);
00353   theHistogramNames.push_back("Beam6Ring4Disc1PosTEC2TEC");
00354   theBeam6Ring4Disc2PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 6 in Ring 4", 512, 0, 511);
00355   theBeam6Ring4Disc2PosTEC2TECAdcCounts->SetDirectory(Ring4Beam6PosDir);
00356   theHistogramNames.push_back("Beam6Ring4Disc2PosTEC2TEC");
00357   theBeam6Ring4Disc3PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 6 in Ring 4", 512, 0, 511);
00358   theBeam6Ring4Disc3PosTEC2TECAdcCounts->SetDirectory(Ring4Beam6PosDir);
00359   theHistogramNames.push_back("Beam6Ring4Disc3PosTEC2TEC");
00360   theBeam6Ring4Disc4PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 6 in Ring 4", 512, 0, 511);
00361   theBeam6Ring4Disc4PosTEC2TECAdcCounts->SetDirectory(Ring4Beam6PosDir);
00362   theHistogramNames.push_back("Beam6Ring4Disc4PosTEC2TEC");
00363   theBeam6Ring4Disc5PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 6 in Ring 4", 512, 0, 511);
00364   theBeam6Ring4Disc5PosTEC2TECAdcCounts->SetDirectory(Ring4Beam6PosDir);
00365   theHistogramNames.push_back("Beam6Ring4Disc5PosTEC2TEC");
00366   // }}}
00367 
00368   // {{{ ----- Adc counts for Beam 7 in Ring 4
00369   theBeam7Ring4Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 7 in Ring 4", 512, 0, 511);
00370   theBeam7Ring4Disc1PosAdcCounts->SetDirectory(Ring4Beam7PosDir);
00371   theHistogramNames.push_back("Beam7Ring4Disc1PosTEC");
00372   theBeam7Ring4Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 7 in Ring 4", 512, 0, 511);
00373   theBeam7Ring4Disc2PosAdcCounts->SetDirectory(Ring4Beam7PosDir);
00374   theHistogramNames.push_back("Beam7Ring4Disc2PosTEC");
00375   theBeam7Ring4Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 7 in Ring 4", 512, 0, 511);
00376   theBeam7Ring4Disc3PosAdcCounts->SetDirectory(Ring4Beam7PosDir);
00377   theHistogramNames.push_back("Beam7Ring4Disc3PosTEC");
00378   theBeam7Ring4Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 7 in Ring 4", 512, 0, 511);
00379   theBeam7Ring4Disc4PosAdcCounts->SetDirectory(Ring4Beam7PosDir);
00380   theHistogramNames.push_back("Beam7Ring4Disc4PosTEC");
00381   theBeam7Ring4Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 7 in Ring 4", 512, 0, 511);
00382   theBeam7Ring4Disc5PosAdcCounts->SetDirectory(Ring4Beam7PosDir);
00383   theHistogramNames.push_back("Beam7Ring4Disc5PosTEC");
00384   theBeam7Ring4Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 7 in Ring 4", 512, 0, 511);
00385   theBeam7Ring4Disc6PosAdcCounts->SetDirectory(Ring4Beam7PosDir);
00386   theHistogramNames.push_back("Beam7Ring4Disc6PosTEC");
00387   theBeam7Ring4Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 7 in Ring 4", 512, 0, 511);
00388   theBeam7Ring4Disc7PosAdcCounts->SetDirectory(Ring4Beam7PosDir);
00389   theHistogramNames.push_back("Beam7Ring4Disc7PosTEC");
00390   theBeam7Ring4Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 7 in Ring 4", 512, 0, 511);
00391   theBeam7Ring4Disc8PosAdcCounts->SetDirectory(Ring4Beam7PosDir);
00392   theHistogramNames.push_back("Beam7Ring4Disc8PosTEC");
00393   theBeam7Ring4Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 7 in Ring 4", 512, 0, 511);
00394   theBeam7Ring4Disc9PosAdcCounts->SetDirectory(Ring4Beam7PosDir);
00395   theHistogramNames.push_back("Beam7Ring4Disc9PosTEC");
00396   // }}}
00397 
00398   // plots for TEC2TEC beam 7
00399   theBeam7Ring4Disc1PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 7 in Ring 4", 512, 0, 511);
00400   theBeam7Ring4Disc1PosTEC2TECAdcCounts->SetDirectory(Ring4Beam7PosDir);
00401   theHistogramNames.push_back("Beam7Ring4Disc1PosTEC2TEC");
00402   theBeam7Ring4Disc2PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 7 in Ring 4", 512, 0, 511);
00403   theBeam7Ring4Disc2PosTEC2TECAdcCounts->SetDirectory(Ring4Beam7PosDir);
00404   theHistogramNames.push_back("Beam7Ring4Disc2PosTEC2TEC");
00405   theBeam7Ring4Disc3PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 7 in Ring 4", 512, 0, 511);
00406   theBeam7Ring4Disc3PosTEC2TECAdcCounts->SetDirectory(Ring4Beam7PosDir);
00407   theHistogramNames.push_back("Beam7Ring4Disc3PosTEC2TEC");
00408   theBeam7Ring4Disc4PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 7 in Ring 4", 512, 0, 511);
00409   theBeam7Ring4Disc4PosTEC2TECAdcCounts->SetDirectory(Ring4Beam7PosDir);
00410   theHistogramNames.push_back("Beam7Ring4Disc4PosTEC2TEC");
00411   theBeam7Ring4Disc5PosTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 7 in Ring 4", 512, 0, 511);
00412   theBeam7Ring4Disc5PosTEC2TECAdcCounts->SetDirectory(Ring4Beam7PosDir);
00413   theHistogramNames.push_back("Beam7Ring4Disc5PosTEC2TEC");
00414   // }}}
00415 
00416   // {{{ ----- Adc counts for Beam 0 in Ring 6
00417   theBeam0Ring6Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 0 in Ring 6", 512, 0, 511);
00418   theBeam0Ring6Disc1PosAdcCounts->SetDirectory(Ring6Beam0PosDir);
00419   theHistogramNames.push_back("Beam0Ring6Disc1PosTEC");
00420   theBeam0Ring6Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 0 in Ring 6", 512, 0, 511);
00421   theBeam0Ring6Disc2PosAdcCounts->SetDirectory(Ring6Beam0PosDir);
00422   theHistogramNames.push_back("Beam0Ring6Disc2PosTEC");
00423   theBeam0Ring6Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 0 in Ring 6", 512, 0, 511);
00424   theBeam0Ring6Disc3PosAdcCounts->SetDirectory(Ring6Beam0PosDir);
00425   theHistogramNames.push_back("Beam0Ring6Disc3PosTEC");
00426   theBeam0Ring6Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 0 in Ring 6", 512, 0, 511);
00427   theBeam0Ring6Disc4PosAdcCounts->SetDirectory(Ring6Beam0PosDir);
00428   theHistogramNames.push_back("Beam0Ring6Disc4PosTEC");
00429   theBeam0Ring6Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 0 in Ring 6", 512, 0, 511);
00430   theBeam0Ring6Disc5PosAdcCounts->SetDirectory(Ring6Beam0PosDir);
00431   theHistogramNames.push_back("Beam0Ring6Disc5PosTEC");
00432   theBeam0Ring6Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 0 in Ring 6", 512, 0, 511);
00433   theBeam0Ring6Disc6PosAdcCounts->SetDirectory(Ring6Beam0PosDir);
00434   theHistogramNames.push_back("Beam0Ring6Disc6PosTEC");
00435   theBeam0Ring6Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 0 in Ring 6", 512, 0, 511);
00436   theBeam0Ring6Disc7PosAdcCounts->SetDirectory(Ring6Beam0PosDir);
00437   theHistogramNames.push_back("Beam0Ring6Disc7PosTEC");
00438   theBeam0Ring6Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 0 in Ring 6", 512, 0, 511);
00439   theBeam0Ring6Disc8PosAdcCounts->SetDirectory(Ring6Beam0PosDir);
00440   theHistogramNames.push_back("Beam0Ring6Disc8PosTEC");
00441   theBeam0Ring6Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 0 in Ring 6", 512, 0, 511);
00442   theBeam0Ring6Disc9PosAdcCounts->SetDirectory(Ring6Beam0PosDir);
00443   theHistogramNames.push_back("Beam0Ring6Disc9PosTEC");
00444   // }}}
00445 
00446   // {{{ ----- Adc counts for Beam 1 in Ring 6
00447   theBeam1Ring6Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 1 in Ring 6", 512, 0, 511);
00448   theBeam1Ring6Disc1PosAdcCounts->SetDirectory(Ring6Beam1PosDir);
00449   theHistogramNames.push_back("Beam1Ring6Disc1PosTEC");
00450   theBeam1Ring6Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 1 in Ring 6", 512, 0, 511);
00451   theBeam1Ring6Disc2PosAdcCounts->SetDirectory(Ring6Beam1PosDir);
00452   theHistogramNames.push_back("Beam1Ring6Disc2PosTEC");
00453   theBeam1Ring6Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 1 in Ring 6", 512, 0, 511);
00454   theBeam1Ring6Disc3PosAdcCounts->SetDirectory(Ring6Beam1PosDir);
00455   theHistogramNames.push_back("Beam1Ring6Disc3PosTEC");
00456   theBeam1Ring6Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 1 in Ring 6", 512, 0, 511);
00457   theBeam1Ring6Disc4PosAdcCounts->SetDirectory(Ring6Beam1PosDir);
00458   theHistogramNames.push_back("Beam1Ring6Disc4PosTEC");
00459   theBeam1Ring6Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 1 in Ring 6", 512, 0, 511);
00460   theBeam1Ring6Disc5PosAdcCounts->SetDirectory(Ring6Beam1PosDir);
00461   theHistogramNames.push_back("Beam1Ring6Disc5PosTEC");
00462   theBeam1Ring6Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 1 in Ring 6", 512, 0, 511);
00463   theBeam1Ring6Disc6PosAdcCounts->SetDirectory(Ring6Beam1PosDir);
00464   theHistogramNames.push_back("Beam1Ring6Disc6PosTEC");
00465   theBeam1Ring6Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 1 in Ring 6", 512, 0, 511);
00466   theBeam1Ring6Disc7PosAdcCounts->SetDirectory(Ring6Beam1PosDir);
00467   theHistogramNames.push_back("Beam1Ring6Disc7PosTEC");
00468   theBeam1Ring6Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 1 in Ring 6", 512, 0, 511);
00469   theBeam1Ring6Disc8PosAdcCounts->SetDirectory(Ring6Beam1PosDir);
00470   theHistogramNames.push_back("Beam1Ring6Disc8PosTEC");
00471   theBeam1Ring6Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 1 in Ring 6", 512, 0, 511);
00472   theBeam1Ring6Disc9PosAdcCounts->SetDirectory(Ring6Beam1PosDir);
00473   theHistogramNames.push_back("Beam1Ring6Disc9PosTEC");
00474   // }}}
00475 
00476   // {{{ ----- Adc counts for Beam 2 in Ring 6
00477   theBeam2Ring6Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 2 in Ring 6", 512, 0, 511);
00478   theBeam2Ring6Disc1PosAdcCounts->SetDirectory(Ring6Beam2PosDir);
00479   theHistogramNames.push_back("Beam2Ring6Disc1PosTEC");
00480   theBeam2Ring6Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 2 in Ring 6", 512, 0, 511);
00481   theBeam2Ring6Disc2PosAdcCounts->SetDirectory(Ring6Beam2PosDir);
00482   theHistogramNames.push_back("Beam2Ring6Disc2PosTEC");
00483   theBeam2Ring6Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 2 in Ring 6", 512, 0, 511);
00484   theBeam2Ring6Disc3PosAdcCounts->SetDirectory(Ring6Beam2PosDir);
00485   theHistogramNames.push_back("Beam2Ring6Disc3PosTEC");
00486   theBeam2Ring6Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 2 in Ring 6", 512, 0, 511);
00487   theBeam2Ring6Disc4PosAdcCounts->SetDirectory(Ring6Beam2PosDir);
00488   theHistogramNames.push_back("Beam2Ring6Disc4PosTEC");
00489   theBeam2Ring6Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 2 in Ring 6", 512, 0, 511);
00490   theBeam2Ring6Disc5PosAdcCounts->SetDirectory(Ring6Beam2PosDir);
00491   theHistogramNames.push_back("Beam2Ring6Disc5PosTEC");
00492   theBeam2Ring6Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 2 in Ring 6", 512, 0, 511);
00493   theBeam2Ring6Disc6PosAdcCounts->SetDirectory(Ring6Beam2PosDir);
00494   theHistogramNames.push_back("Beam2Ring6Disc6PosTEC");
00495   theBeam2Ring6Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 2 in Ring 6", 512, 0, 511);
00496   theBeam2Ring6Disc7PosAdcCounts->SetDirectory(Ring6Beam2PosDir);
00497   theHistogramNames.push_back("Beam2Ring6Disc7PosTEC");
00498   theBeam2Ring6Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 2 in Ring 6", 512, 0, 511);
00499   theBeam2Ring6Disc8PosAdcCounts->SetDirectory(Ring6Beam2PosDir);
00500   theHistogramNames.push_back("Beam2Ring6Disc8PosTEC");
00501   theBeam2Ring6Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 2 in Ring 6", 512, 0, 511);
00502   theBeam2Ring6Disc9PosAdcCounts->SetDirectory(Ring6Beam2PosDir);
00503   theHistogramNames.push_back("Beam2Ring6Disc9PosTEC");
00504   // }}}
00505 
00506   // {{{ ----- Adc counts for Beam 3 in Ring 6
00507   theBeam3Ring6Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 3 in Ring 6", 512, 0, 511);
00508   theBeam3Ring6Disc1PosAdcCounts->SetDirectory(Ring6Beam3PosDir);
00509   theHistogramNames.push_back("Beam3Ring6Disc1PosTEC");
00510   theBeam3Ring6Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 3 in Ring 6", 512, 0, 511);
00511   theBeam3Ring6Disc2PosAdcCounts->SetDirectory(Ring6Beam3PosDir);
00512   theHistogramNames.push_back("Beam3Ring6Disc2PosTEC");
00513   theBeam3Ring6Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 3 in Ring 6", 512, 0, 511);
00514   theBeam3Ring6Disc3PosAdcCounts->SetDirectory(Ring6Beam3PosDir);
00515   theHistogramNames.push_back("Beam3Ring6Disc3PosTEC");
00516   theBeam3Ring6Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 3 in Ring 6", 512, 0, 511);
00517   theBeam3Ring6Disc4PosAdcCounts->SetDirectory(Ring6Beam3PosDir);
00518   theHistogramNames.push_back("Beam3Ring6Disc4PosTEC");
00519   theBeam3Ring6Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 3 in Ring 6", 512, 0, 511);
00520   theBeam3Ring6Disc5PosAdcCounts->SetDirectory(Ring6Beam3PosDir);
00521   theHistogramNames.push_back("Beam3Ring6Disc5PosTEC");
00522   theBeam3Ring6Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 3 in Ring 6", 512, 0, 511);
00523   theBeam3Ring6Disc6PosAdcCounts->SetDirectory(Ring6Beam3PosDir);
00524   theHistogramNames.push_back("Beam3Ring6Disc6PosTEC");
00525   theBeam3Ring6Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 3 in Ring 6", 512, 0, 511);
00526   theBeam3Ring6Disc7PosAdcCounts->SetDirectory(Ring6Beam3PosDir);
00527   theHistogramNames.push_back("Beam3Ring6Disc7PosTEC");
00528   theBeam3Ring6Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 3 in Ring 6", 512, 0, 511);
00529   theBeam3Ring6Disc8PosAdcCounts->SetDirectory(Ring6Beam3PosDir);
00530   theHistogramNames.push_back("Beam3Ring6Disc8PosTEC");
00531   theBeam3Ring6Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 3 in Ring 6", 512, 0, 511);
00532   theBeam3Ring6Disc9PosAdcCounts->SetDirectory(Ring6Beam3PosDir);
00533   theHistogramNames.push_back("Beam3Ring6Disc9PosTEC");
00534   // }}}
00535 
00536   // {{{ ----- Adc counts for Beam 4 in Ring 6
00537   theBeam4Ring6Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 4 in Ring 6", 512, 0, 511);
00538   theBeam4Ring6Disc1PosAdcCounts->SetDirectory(Ring6Beam4PosDir);
00539   theHistogramNames.push_back("Beam4Ring6Disc1PosTEC");
00540   theBeam4Ring6Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 4 in Ring 6", 512, 0, 511);
00541   theBeam4Ring6Disc2PosAdcCounts->SetDirectory(Ring6Beam4PosDir);
00542   theHistogramNames.push_back("Beam4Ring6Disc2PosTEC");
00543   theBeam4Ring6Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 4 in Ring 6", 512, 0, 511);
00544   theBeam4Ring6Disc3PosAdcCounts->SetDirectory(Ring6Beam4PosDir);
00545   theHistogramNames.push_back("Beam4Ring6Disc3PosTEC");
00546   theBeam4Ring6Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 4 in Ring 6", 512, 0, 511);
00547   theBeam4Ring6Disc4PosAdcCounts->SetDirectory(Ring6Beam4PosDir);
00548   theHistogramNames.push_back("Beam4Ring6Disc4PosTEC");
00549   theBeam4Ring6Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 4 in Ring 6", 512, 0, 511);
00550   theBeam4Ring6Disc5PosAdcCounts->SetDirectory(Ring6Beam4PosDir);
00551   theHistogramNames.push_back("Beam4Ring6Disc5PosTEC");
00552   theBeam4Ring6Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 4 in Ring 6", 512, 0, 511);
00553   theBeam4Ring6Disc6PosAdcCounts->SetDirectory(Ring6Beam4PosDir);
00554   theHistogramNames.push_back("Beam4Ring6Disc6PosTEC");
00555   theBeam4Ring6Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 4 in Ring 6", 512, 0, 511);
00556   theBeam4Ring6Disc7PosAdcCounts->SetDirectory(Ring6Beam4PosDir);
00557   theHistogramNames.push_back("Beam4Ring6Disc7PosTEC");
00558   theBeam4Ring6Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 4 in Ring 6", 512, 0, 511);
00559   theBeam4Ring6Disc8PosAdcCounts->SetDirectory(Ring6Beam4PosDir);
00560   theHistogramNames.push_back("Beam4Ring6Disc8PosTEC");
00561   theBeam4Ring6Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 4 in Ring 6", 512, 0, 511);
00562   theBeam4Ring6Disc9PosAdcCounts->SetDirectory(Ring6Beam4PosDir);
00563   theHistogramNames.push_back("Beam4Ring6Disc9PosTEC");
00564   // }}}
00565 
00566   // {{{ ----- Adc counts for Beam 5 in Ring 6
00567   theBeam5Ring6Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 5 in Ring 6", 512, 0, 511);
00568   theBeam5Ring6Disc1PosAdcCounts->SetDirectory(Ring6Beam5PosDir);
00569   theHistogramNames.push_back("Beam5Ring6Disc1PosTEC");
00570   theBeam5Ring6Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 5 in Ring 6", 512, 0, 511);
00571   theBeam5Ring6Disc2PosAdcCounts->SetDirectory(Ring6Beam5PosDir);
00572   theHistogramNames.push_back("Beam5Ring6Disc2PosTEC");
00573   theBeam5Ring6Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 5 in Ring 6", 512, 0, 511);
00574   theBeam5Ring6Disc3PosAdcCounts->SetDirectory(Ring6Beam5PosDir);
00575   theHistogramNames.push_back("Beam5Ring6Disc3PosTEC");
00576   theBeam5Ring6Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 5 in Ring 6", 512, 0, 511);
00577   theBeam5Ring6Disc4PosAdcCounts->SetDirectory(Ring6Beam5PosDir);
00578   theHistogramNames.push_back("Beam5Ring6Disc4PosTEC");
00579   theBeam5Ring6Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 5 in Ring 6", 512, 0, 511);
00580   theBeam5Ring6Disc5PosAdcCounts->SetDirectory(Ring6Beam5PosDir);
00581   theHistogramNames.push_back("Beam5Ring6Disc5PosTEC");
00582   theBeam5Ring6Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 5 in Ring 6", 512, 0, 511);
00583   theBeam5Ring6Disc6PosAdcCounts->SetDirectory(Ring6Beam5PosDir);
00584   theHistogramNames.push_back("Beam5Ring6Disc6PosTEC");
00585   theBeam5Ring6Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 5 in Ring 6", 512, 0, 511);
00586   theBeam5Ring6Disc7PosAdcCounts->SetDirectory(Ring6Beam5PosDir);
00587   theHistogramNames.push_back("Beam5Ring6Disc7PosTEC");
00588   theBeam5Ring6Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 5 in Ring 6", 512, 0, 511);
00589   theBeam5Ring6Disc8PosAdcCounts->SetDirectory(Ring6Beam5PosDir);
00590   theHistogramNames.push_back("Beam5Ring6Disc8PosTEC");
00591   theBeam5Ring6Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 5 in Ring 6", 512, 0, 511);
00592   theBeam5Ring6Disc9PosAdcCounts->SetDirectory(Ring6Beam5PosDir);
00593   theHistogramNames.push_back("Beam5Ring6Disc9PosTEC");
00594   // }}}
00595 
00596   // {{{ ----- Adc counts for Beam 6 in Ring 6
00597   theBeam6Ring6Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 6 in Ring 6", 512, 0, 511);
00598   theBeam6Ring6Disc1PosAdcCounts->SetDirectory(Ring6Beam6PosDir);
00599   theHistogramNames.push_back("Beam6Ring6Disc1PosTEC");
00600   theBeam6Ring6Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 6 in Ring 6", 512, 0, 511);
00601   theBeam6Ring6Disc2PosAdcCounts->SetDirectory(Ring6Beam6PosDir);
00602   theHistogramNames.push_back("Beam6Ring6Disc2PosTEC");
00603   theBeam6Ring6Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 6 in Ring 6", 512, 0, 511);
00604   theBeam6Ring6Disc3PosAdcCounts->SetDirectory(Ring6Beam6PosDir);
00605   theHistogramNames.push_back("Beam6Ring6Disc3PosTEC");
00606   theBeam6Ring6Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 6 in Ring 6", 512, 0, 511);
00607   theBeam6Ring6Disc4PosAdcCounts->SetDirectory(Ring6Beam6PosDir);
00608   theHistogramNames.push_back("Beam6Ring6Disc4PosTEC");
00609   theBeam6Ring6Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 6 in Ring 6", 512, 0, 511);
00610   theBeam6Ring6Disc5PosAdcCounts->SetDirectory(Ring6Beam6PosDir);
00611   theHistogramNames.push_back("Beam6Ring6Disc5PosTEC");
00612   theBeam6Ring6Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 6 in Ring 6", 512, 0, 511);
00613   theBeam6Ring6Disc6PosAdcCounts->SetDirectory(Ring6Beam6PosDir);
00614   theHistogramNames.push_back("Beam6Ring6Disc6PosTEC");
00615   theBeam6Ring6Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 6 in Ring 6", 512, 0, 511);
00616   theBeam6Ring6Disc7PosAdcCounts->SetDirectory(Ring6Beam6PosDir);
00617   theHistogramNames.push_back("Beam6Ring6Disc7PosTEC");
00618   theBeam6Ring6Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 6 in Ring 6", 512, 0, 511);
00619   theBeam6Ring6Disc8PosAdcCounts->SetDirectory(Ring6Beam6PosDir);
00620   theHistogramNames.push_back("Beam6Ring6Disc8PosTEC");
00621   theBeam6Ring6Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 6 in Ring 6", 512, 0, 511);
00622   theBeam6Ring6Disc9PosAdcCounts->SetDirectory(Ring6Beam6PosDir);
00623   theHistogramNames.push_back("Beam6Ring6Disc9PosTEC");
00624   // }}}
00625 
00626   // {{{ ----- Adc counts for Beam 7 in Ring 6
00627   theBeam7Ring6Disc1PosAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 7 in Ring 6", 512, 0, 511);
00628   theBeam7Ring6Disc1PosAdcCounts->SetDirectory(Ring6Beam7PosDir);
00629   theHistogramNames.push_back("Beam7Ring6Disc1PosTEC");
00630   theBeam7Ring6Disc2PosAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 7 in Ring 6", 512, 0, 511);
00631   theBeam7Ring6Disc2PosAdcCounts->SetDirectory(Ring6Beam7PosDir);
00632   theHistogramNames.push_back("Beam7Ring6Disc2PosTEC");
00633   theBeam7Ring6Disc3PosAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 7 in Ring 6", 512, 0, 511);
00634   theBeam7Ring6Disc3PosAdcCounts->SetDirectory(Ring6Beam7PosDir);
00635   theHistogramNames.push_back("Beam7Ring6Disc3PosTEC");
00636   theBeam7Ring6Disc4PosAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 7 in Ring 6", 512, 0, 511);
00637   theBeam7Ring6Disc4PosAdcCounts->SetDirectory(Ring6Beam7PosDir);
00638   theHistogramNames.push_back("Beam7Ring6Disc4PosTEC");
00639   theBeam7Ring6Disc5PosAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 7 in Ring 6", 512, 0, 511);
00640   theBeam7Ring6Disc5PosAdcCounts->SetDirectory(Ring6Beam7PosDir);
00641   theHistogramNames.push_back("Beam7Ring6Disc5PosTEC");
00642   theBeam7Ring6Disc6PosAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 7 in Ring 6", 512, 0, 511);
00643   theBeam7Ring6Disc6PosAdcCounts->SetDirectory(Ring6Beam7PosDir);
00644   theHistogramNames.push_back("Beam7Ring6Disc6PosTEC");
00645   theBeam7Ring6Disc7PosAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 7 in Ring 6", 512, 0, 511);
00646   theBeam7Ring6Disc7PosAdcCounts->SetDirectory(Ring6Beam7PosDir);
00647   theHistogramNames.push_back("Beam7Ring6Disc7PosTEC");
00648   theBeam7Ring6Disc8PosAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 7 in Ring 6", 512, 0, 511);
00649   theBeam7Ring6Disc8PosAdcCounts->SetDirectory(Ring6Beam7PosDir);
00650   theHistogramNames.push_back("Beam7Ring6Disc8PosTEC");
00651   theBeam7Ring6Disc9PosAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 7 in Ring 6", 512, 0, 511);
00652   theBeam7Ring6Disc9PosAdcCounts->SetDirectory(Ring6Beam7PosDir);
00653   theHistogramNames.push_back("Beam7Ring6Disc9PosTEC");
00654   // }}}
00655 
00656   /* LaserBeams in the TEC- */
00657   // {{{ ----- Adc counts for Beam 0 in Ring 4
00658   theBeam0Ring4Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 0 in Ring 4", 512, 0, 511);
00659   theBeam0Ring4Disc1NegAdcCounts->SetDirectory(Ring4Beam0NegDir);
00660   theHistogramNames.push_back("Beam0Ring4Disc1NegTEC");
00661   theBeam0Ring4Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 0 in Ring 4", 512, 0, 511);
00662   theBeam0Ring4Disc2NegAdcCounts->SetDirectory(Ring4Beam0NegDir);
00663   theHistogramNames.push_back("Beam0Ring4Disc2NegTEC");
00664   theBeam0Ring4Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 0 in Ring 4", 512, 0, 511);
00665   theBeam0Ring4Disc3NegAdcCounts->SetDirectory(Ring4Beam0NegDir);
00666   theHistogramNames.push_back("Beam0Ring4Disc3NegTEC");
00667   theBeam0Ring4Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 0 in Ring 4", 512, 0, 511);
00668   theBeam0Ring4Disc4NegAdcCounts->SetDirectory(Ring4Beam0NegDir);
00669   theHistogramNames.push_back("Beam0Ring4Disc4NegTEC");
00670   theBeam0Ring4Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 0 in Ring 4", 512, 0, 511);
00671   theBeam0Ring4Disc5NegAdcCounts->SetDirectory(Ring4Beam0NegDir);
00672   theHistogramNames.push_back("Beam0Ring4Disc5NegTEC");
00673   theBeam0Ring4Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 0 in Ring 4", 512, 0, 511);
00674   theBeam0Ring4Disc6NegAdcCounts->SetDirectory(Ring4Beam0NegDir);
00675   theHistogramNames.push_back("Beam0Ring4Disc6NegTEC");
00676   theBeam0Ring4Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 0 in Ring 4", 512, 0, 511);
00677   theBeam0Ring4Disc7NegAdcCounts->SetDirectory(Ring4Beam0NegDir);
00678   theHistogramNames.push_back("Beam0Ring4Disc7NegTEC");
00679   theBeam0Ring4Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 0 in Ring 4", 512, 0, 511);
00680   theBeam0Ring4Disc8NegAdcCounts->SetDirectory(Ring4Beam0NegDir);
00681   theHistogramNames.push_back("Beam0Ring4Disc8NegTEC");
00682   theBeam0Ring4Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 0 in Ring 4", 512, 0, 511);
00683   theBeam0Ring4Disc9NegAdcCounts->SetDirectory(Ring4Beam0NegDir);
00684   theHistogramNames.push_back("Beam0Ring4Disc9NegTEC");
00685   // }}}
00686 
00687   // {{{ ----- Adc counts for Beam 1 in Ring 4
00688   theBeam1Ring4Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 1 in Ring 4", 512, 0, 511);
00689   theBeam1Ring4Disc1NegAdcCounts->SetDirectory(Ring4Beam1NegDir);
00690   theHistogramNames.push_back("Beam1Ring4Disc1NegTEC");
00691   theBeam1Ring4Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 1 in Ring 4", 512, 0, 511);
00692   theBeam1Ring4Disc2NegAdcCounts->SetDirectory(Ring4Beam1NegDir);
00693   theHistogramNames.push_back("Beam1Ring4Disc2NegTEC");
00694   theBeam1Ring4Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 1 in Ring 4", 512, 0, 511);
00695   theBeam1Ring4Disc3NegAdcCounts->SetDirectory(Ring4Beam1NegDir);
00696   theHistogramNames.push_back("Beam1Ring4Disc3NegTEC");
00697   theBeam1Ring4Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 1 in Ring 4", 512, 0, 511);
00698   theBeam1Ring4Disc4NegAdcCounts->SetDirectory(Ring4Beam1NegDir);
00699   theHistogramNames.push_back("Beam1Ring4Disc4NegTEC");
00700   theBeam1Ring4Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 1 in Ring 4", 512, 0, 511);
00701   theBeam1Ring4Disc5NegAdcCounts->SetDirectory(Ring4Beam1NegDir);
00702   theHistogramNames.push_back("Beam1Ring4Disc5NegTEC");
00703   theBeam1Ring4Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 1 in Ring 4", 512, 0, 511);
00704   theBeam1Ring4Disc6NegAdcCounts->SetDirectory(Ring4Beam1NegDir);
00705   theHistogramNames.push_back("Beam1Ring4Disc6NegTEC");
00706   theBeam1Ring4Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 1 in Ring 4", 512, 0, 511);
00707   theBeam1Ring4Disc7NegAdcCounts->SetDirectory(Ring4Beam1NegDir);
00708   theHistogramNames.push_back("Beam1Ring4Disc7NegTEC");
00709   theBeam1Ring4Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 1 in Ring 4", 512, 0, 511);
00710   theBeam1Ring4Disc8NegAdcCounts->SetDirectory(Ring4Beam1NegDir);
00711   theHistogramNames.push_back("Beam1Ring4Disc8NegTEC");
00712   theBeam1Ring4Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 1 in Ring 4", 512, 0, 511);
00713   theBeam1Ring4Disc9NegAdcCounts->SetDirectory(Ring4Beam1NegDir);
00714   theHistogramNames.push_back("Beam1Ring4Disc9NegTEC");
00715   // }}}
00716 
00717   // plots for TEC2TEC beam 1
00718   theBeam1Ring4Disc1NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 1 in Ring 4", 512, 0, 511);
00719   theBeam1Ring4Disc1NegTEC2TECAdcCounts->SetDirectory(Ring4Beam1NegDir);
00720   theHistogramNames.push_back("Beam1Ring4Disc1NegTEC2TEC");
00721   theBeam1Ring4Disc2NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 1 in Ring 4", 512, 0, 511);
00722   theBeam1Ring4Disc2NegTEC2TECAdcCounts->SetDirectory(Ring4Beam1NegDir);
00723   theHistogramNames.push_back("Beam1Ring4Disc2NegTEC2TEC");
00724   theBeam1Ring4Disc3NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 1 in Ring 4", 512, 0, 511);
00725   theBeam1Ring4Disc3NegTEC2TECAdcCounts->SetDirectory(Ring4Beam1NegDir);
00726   theHistogramNames.push_back("Beam1Ring4Disc3NegTEC2TEC");
00727   theBeam1Ring4Disc4NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 1 in Ring 4", 512, 0, 511);
00728   theBeam1Ring4Disc4NegTEC2TECAdcCounts->SetDirectory(Ring4Beam1NegDir);
00729   theHistogramNames.push_back("Beam1Ring4Disc4NegTEC2TEC");
00730   theBeam1Ring4Disc5NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 1 in Ring 4", 512, 0, 511);
00731   theBeam1Ring4Disc5NegTEC2TECAdcCounts->SetDirectory(Ring4Beam1NegDir);
00732   theHistogramNames.push_back("Beam1Ring4Disc5NegTEC2TEC");
00733   // }}}
00734 
00735   // {{{ ----- Adc counts for Beam 2 in Ring 4
00736   theBeam2Ring4Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 2 in Ring 4", 512, 0, 511);
00737   theBeam2Ring4Disc1NegAdcCounts->SetDirectory(Ring4Beam2NegDir);
00738   theHistogramNames.push_back("Beam2Ring4Disc1NegTEC");
00739   theBeam2Ring4Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 2 in Ring 4", 512, 0, 511);
00740   theBeam2Ring4Disc2NegAdcCounts->SetDirectory(Ring4Beam2NegDir);
00741   theHistogramNames.push_back("Beam2Ring4Disc2NegTEC");
00742   theBeam2Ring4Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 2 in Ring 4", 512, 0, 511);
00743   theBeam2Ring4Disc3NegAdcCounts->SetDirectory(Ring4Beam2NegDir);
00744   theHistogramNames.push_back("Beam2Ring4Disc3NegTEC");
00745   theBeam2Ring4Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 2 in Ring 4", 512, 0, 511);
00746   theBeam2Ring4Disc4NegAdcCounts->SetDirectory(Ring4Beam2NegDir);
00747   theHistogramNames.push_back("Beam2Ring4Disc4NegTEC");
00748   theBeam2Ring4Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 2 in Ring 4", 512, 0, 511);
00749   theBeam2Ring4Disc5NegAdcCounts->SetDirectory(Ring4Beam2NegDir);
00750   theHistogramNames.push_back("Beam2Ring4Disc5NegTEC");
00751   theBeam2Ring4Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 2 in Ring 4", 512, 0, 511);
00752   theBeam2Ring4Disc6NegAdcCounts->SetDirectory(Ring4Beam2NegDir);
00753   theHistogramNames.push_back("Beam2Ring4Disc6NegTEC");
00754   theBeam2Ring4Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 2 in Ring 4", 512, 0, 511);
00755   theBeam2Ring4Disc7NegAdcCounts->SetDirectory(Ring4Beam2NegDir);
00756   theHistogramNames.push_back("Beam2Ring4Disc7NegTEC");
00757   theBeam2Ring4Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 2 in Ring 4", 512, 0, 511);
00758   theBeam2Ring4Disc8NegAdcCounts->SetDirectory(Ring4Beam2NegDir);
00759   theHistogramNames.push_back("Beam2Ring4Disc8NegTEC");
00760   theBeam2Ring4Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 2 in Ring 4", 512, 0, 511);
00761   theBeam2Ring4Disc9NegAdcCounts->SetDirectory(Ring4Beam2NegDir);
00762   theHistogramNames.push_back("Beam2Ring4Disc9NegTEC");
00763   // }}}
00764 
00765   // plots for TEC2TEC beam 2
00766   theBeam2Ring4Disc1NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 2 in Ring 4", 512, 0, 511);
00767   theBeam2Ring4Disc1NegTEC2TECAdcCounts->SetDirectory(Ring4Beam2NegDir);
00768   theHistogramNames.push_back("Beam2Ring4Disc1NegTEC2TEC");
00769   theBeam2Ring4Disc2NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 2 in Ring 4", 512, 0, 511);
00770   theBeam2Ring4Disc2NegTEC2TECAdcCounts->SetDirectory(Ring4Beam2NegDir);
00771   theHistogramNames.push_back("Beam2Ring4Disc2NegTEC2TEC");
00772   theBeam2Ring4Disc3NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 2 in Ring 4", 512, 0, 511);
00773   theBeam2Ring4Disc3NegTEC2TECAdcCounts->SetDirectory(Ring4Beam2NegDir);
00774   theHistogramNames.push_back("Beam2Ring4Disc3NegTEC2TEC");
00775   theBeam2Ring4Disc4NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 2 in Ring 4", 512, 0, 511);
00776   theBeam2Ring4Disc4NegTEC2TECAdcCounts->SetDirectory(Ring4Beam2NegDir);
00777   theHistogramNames.push_back("Beam2Ring4Disc4NegTEC2TEC");
00778   theBeam2Ring4Disc5NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 2 in Ring 4", 512, 0, 511);
00779   theBeam2Ring4Disc5NegTEC2TECAdcCounts->SetDirectory(Ring4Beam2NegDir);
00780   theHistogramNames.push_back("Beam2Ring4Disc5NegTEC2TEC");
00781   // }}}
00782 
00783   // {{{ ----- Adc counts for Beam 3 in Ring 4
00784   theBeam3Ring4Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 3 in Ring 4", 512, 0, 511);
00785   theBeam3Ring4Disc1NegAdcCounts->SetDirectory(Ring4Beam3NegDir);
00786   theHistogramNames.push_back("Beam3Ring4Disc1NegTEC");
00787   theBeam3Ring4Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 3 in Ring 4", 512, 0, 511);
00788   theBeam3Ring4Disc2NegAdcCounts->SetDirectory(Ring4Beam3NegDir);
00789   theHistogramNames.push_back("Beam3Ring4Disc2NegTEC");
00790   theBeam3Ring4Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 3 in Ring 4", 512, 0, 511);
00791   theBeam3Ring4Disc3NegAdcCounts->SetDirectory(Ring4Beam3NegDir);
00792   theHistogramNames.push_back("Beam3Ring4Disc3NegTEC");
00793   theBeam3Ring4Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 3 in Ring 4", 512, 0, 511);
00794   theBeam3Ring4Disc4NegAdcCounts->SetDirectory(Ring4Beam3NegDir);
00795   theHistogramNames.push_back("Beam3Ring4Disc4NegTEC");
00796   theBeam3Ring4Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 3 in Ring 4", 512, 0, 511);
00797   theBeam3Ring4Disc5NegAdcCounts->SetDirectory(Ring4Beam3NegDir);
00798   theHistogramNames.push_back("Beam3Ring4Disc5NegTEC");
00799   theBeam3Ring4Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 3 in Ring 4", 512, 0, 511);
00800   theBeam3Ring4Disc6NegAdcCounts->SetDirectory(Ring4Beam3NegDir);
00801   theHistogramNames.push_back("Beam3Ring4Disc6NegTEC");
00802   theBeam3Ring4Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 3 in Ring 4", 512, 0, 511);
00803   theBeam3Ring4Disc7NegAdcCounts->SetDirectory(Ring4Beam3NegDir);
00804   theHistogramNames.push_back("Beam3Ring4Disc7NegTEC");
00805   theBeam3Ring4Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 3 in Ring 4", 512, 0, 511);
00806   theBeam3Ring4Disc8NegAdcCounts->SetDirectory(Ring4Beam3NegDir);
00807   theHistogramNames.push_back("Beam3Ring4Disc8NegTEC");
00808   theBeam3Ring4Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 3 in Ring 4", 512, 0, 511);
00809   theBeam3Ring4Disc9NegAdcCounts->SetDirectory(Ring4Beam3NegDir);
00810   theHistogramNames.push_back("Beam3Ring4Disc9NegTEC");
00811   // }}}
00812 
00813   // {{{ ----- Adc counts for Beam 4 in Ring 4
00814   theBeam4Ring4Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 4 in Ring 4", 512, 0, 511);
00815   theBeam4Ring4Disc1NegAdcCounts->SetDirectory(Ring4Beam4NegDir);
00816   theHistogramNames.push_back("Beam4Ring4Disc1NegTEC");
00817   theBeam4Ring4Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 4 in Ring 4", 512, 0, 511);
00818   theBeam4Ring4Disc2NegAdcCounts->SetDirectory(Ring4Beam4NegDir);
00819   theHistogramNames.push_back("Beam4Ring4Disc2NegTEC");
00820   theBeam4Ring4Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 4 in Ring 4", 512, 0, 511);
00821   theBeam4Ring4Disc3NegAdcCounts->SetDirectory(Ring4Beam4NegDir);
00822   theHistogramNames.push_back("Beam4Ring4Disc3NegTEC");
00823   theBeam4Ring4Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 4 in Ring 4", 512, 0, 511);
00824   theBeam4Ring4Disc4NegAdcCounts->SetDirectory(Ring4Beam4NegDir);
00825   theHistogramNames.push_back("Beam4Ring4Disc4NegTEC");
00826   theBeam4Ring4Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 4 in Ring 4", 512, 0, 511);
00827   theBeam4Ring4Disc5NegAdcCounts->SetDirectory(Ring4Beam4NegDir);
00828   theHistogramNames.push_back("Beam4Ring4Disc5NegTEC");
00829   theBeam4Ring4Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 4 in Ring 4", 512, 0, 511);
00830   theBeam4Ring4Disc6NegAdcCounts->SetDirectory(Ring4Beam4NegDir);
00831   theHistogramNames.push_back("Beam4Ring4Disc6NegTEC");
00832   theBeam4Ring4Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 4 in Ring 4", 512, 0, 511);
00833   theBeam4Ring4Disc7NegAdcCounts->SetDirectory(Ring4Beam4NegDir);
00834   theHistogramNames.push_back("Beam4Ring4Disc7NegTEC");
00835   theBeam4Ring4Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 4 in Ring 4", 512, 0, 511);
00836   theBeam4Ring4Disc8NegAdcCounts->SetDirectory(Ring4Beam4NegDir);
00837   theHistogramNames.push_back("Beam4Ring4Disc8NegTEC");
00838   theBeam4Ring4Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 4 in Ring 4", 512, 0, 511);
00839   theBeam4Ring4Disc9NegAdcCounts->SetDirectory(Ring4Beam4NegDir);
00840   theHistogramNames.push_back("Beam4Ring4Disc9NegTEC");
00841   // }}}
00842 
00843   // plots for TEC2TEC beam 4
00844   theBeam4Ring4Disc1NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 4 in Ring 4", 512, 0, 511);
00845   theBeam4Ring4Disc1NegTEC2TECAdcCounts->SetDirectory(Ring4Beam4NegDir);
00846   theHistogramNames.push_back("Beam4Ring4Disc1NegTEC2TEC");
00847   theBeam4Ring4Disc2NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 4 in Ring 4", 512, 0, 511);
00848   theBeam4Ring4Disc2NegTEC2TECAdcCounts->SetDirectory(Ring4Beam4NegDir);
00849   theHistogramNames.push_back("Beam4Ring4Disc2NegTEC2TEC");
00850   theBeam4Ring4Disc3NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 4 in Ring 4", 512, 0, 511);
00851   theBeam4Ring4Disc3NegTEC2TECAdcCounts->SetDirectory(Ring4Beam4NegDir);
00852   theHistogramNames.push_back("Beam4Ring4Disc3NegTEC2TEC");
00853   theBeam4Ring4Disc4NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 4 in Ring 4", 512, 0, 511);
00854   theBeam4Ring4Disc4NegTEC2TECAdcCounts->SetDirectory(Ring4Beam4NegDir);
00855   theHistogramNames.push_back("Beam4Ring4Disc4NegTEC2TEC");
00856   theBeam4Ring4Disc5NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 4 in Ring 4", 512, 0, 511);
00857   theBeam4Ring4Disc5NegTEC2TECAdcCounts->SetDirectory(Ring4Beam4NegDir);
00858   theHistogramNames.push_back("Beam4Ring4Disc5NegTEC2TEC");
00859   // }}}
00860 
00861   // {{{ ----- Adc counts for Beam 5 in Ring 4
00862   theBeam5Ring4Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 5 in Ring 4", 512, 0, 511);
00863   theBeam5Ring4Disc1NegAdcCounts->SetDirectory(Ring4Beam5NegDir);
00864   theHistogramNames.push_back("Beam5Ring4Disc1NegTEC");
00865   theBeam5Ring4Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 5 in Ring 4", 512, 0, 511);
00866   theBeam5Ring4Disc2NegAdcCounts->SetDirectory(Ring4Beam5NegDir);
00867   theHistogramNames.push_back("Beam5Ring4Disc2NegTEC");
00868   theBeam5Ring4Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 5 in Ring 4", 512, 0, 511);
00869   theBeam5Ring4Disc3NegAdcCounts->SetDirectory(Ring4Beam5NegDir);
00870   theHistogramNames.push_back("Beam5Ring4Disc3NegTEC");
00871   theBeam5Ring4Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 5 in Ring 4", 512, 0, 511);
00872   theBeam5Ring4Disc4NegAdcCounts->SetDirectory(Ring4Beam5NegDir);
00873   theHistogramNames.push_back("Beam5Ring4Disc4NegTEC");
00874   theBeam5Ring4Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 5 in Ring 4", 512, 0, 511);
00875   theBeam5Ring4Disc5NegAdcCounts->SetDirectory(Ring4Beam5NegDir);
00876   theHistogramNames.push_back("Beam5Ring4Disc5NegTEC");
00877   theBeam5Ring4Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 5 in Ring 4", 512, 0, 511);
00878   theBeam5Ring4Disc6NegAdcCounts->SetDirectory(Ring4Beam5NegDir);
00879   theHistogramNames.push_back("Beam5Ring4Disc6NegTEC");
00880   theBeam5Ring4Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 5 in Ring 4", 512, 0, 511);
00881   theBeam5Ring4Disc7NegAdcCounts->SetDirectory(Ring4Beam5NegDir);
00882   theHistogramNames.push_back("Beam5Ring4Disc7NegTEC");
00883   theBeam5Ring4Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 5 in Ring 4", 512, 0, 511);
00884   theBeam5Ring4Disc8NegAdcCounts->SetDirectory(Ring4Beam5NegDir);
00885   theHistogramNames.push_back("Beam5Ring4Disc8NegTEC");
00886   theBeam5Ring4Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 5 in Ring 4", 512, 0, 511);
00887   theBeam5Ring4Disc9NegAdcCounts->SetDirectory(Ring4Beam5NegDir);
00888   theHistogramNames.push_back("Beam5Ring4Disc9NegTEC");
00889   // }}}
00890 
00891   // {{{ ----- Adc counts for Beam 6 in Ring 4
00892   theBeam6Ring4Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 6 in Ring 4", 512, 0, 511);
00893   theBeam6Ring4Disc1NegAdcCounts->SetDirectory(Ring4Beam6NegDir);
00894   theHistogramNames.push_back("Beam6Ring4Disc1NegTEC");
00895   theBeam6Ring4Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 6 in Ring 4", 512, 0, 511);
00896   theBeam6Ring4Disc2NegAdcCounts->SetDirectory(Ring4Beam6NegDir);
00897   theHistogramNames.push_back("Beam6Ring4Disc2NegTEC");
00898   theBeam6Ring4Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 6 in Ring 4", 512, 0, 511);
00899   theBeam6Ring4Disc3NegAdcCounts->SetDirectory(Ring4Beam6NegDir);
00900   theHistogramNames.push_back("Beam6Ring4Disc3NegTEC");
00901   theBeam6Ring4Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 6 in Ring 4", 512, 0, 511);
00902   theBeam6Ring4Disc4NegAdcCounts->SetDirectory(Ring4Beam6NegDir);
00903   theHistogramNames.push_back("Beam6Ring4Disc4NegTEC");
00904   theBeam6Ring4Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 6 in Ring 4", 512, 0, 511);
00905   theBeam6Ring4Disc5NegAdcCounts->SetDirectory(Ring4Beam6NegDir);
00906   theHistogramNames.push_back("Beam6Ring4Disc5NegTEC");
00907   theBeam6Ring4Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 6 in Ring 4", 512, 0, 511);
00908   theBeam6Ring4Disc6NegAdcCounts->SetDirectory(Ring4Beam6NegDir);
00909   theHistogramNames.push_back("Beam6Ring4Disc6NegTEC");
00910   theBeam6Ring4Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 6 in Ring 4", 512, 0, 511);
00911   theBeam6Ring4Disc7NegAdcCounts->SetDirectory(Ring4Beam6NegDir);
00912   theHistogramNames.push_back("Beam6Ring4Disc7NegTEC");
00913   theBeam6Ring4Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 6 in Ring 4", 512, 0, 511);
00914   theBeam6Ring4Disc8NegAdcCounts->SetDirectory(Ring4Beam6NegDir);
00915   theHistogramNames.push_back("Beam6Ring4Disc8NegTEC");
00916   theBeam6Ring4Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 6 in Ring 4", 512, 0, 511);
00917   theBeam6Ring4Disc9NegAdcCounts->SetDirectory(Ring4Beam6NegDir);
00918   theHistogramNames.push_back("Beam6Ring4Disc9NegTEC");
00919   // }}}
00920 
00921   // plots for TEC2TEC beam 6
00922   theBeam6Ring4Disc1NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 6 in Ring 4", 512, 0, 511);
00923   theBeam6Ring4Disc1NegTEC2TECAdcCounts->SetDirectory(Ring4Beam6NegDir);
00924   theHistogramNames.push_back("Beam6Ring4Disc1NegTEC2TEC");
00925   theBeam6Ring4Disc2NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 6 in Ring 4", 512, 0, 511);
00926   theBeam6Ring4Disc2NegTEC2TECAdcCounts->SetDirectory(Ring4Beam6NegDir);
00927   theHistogramNames.push_back("Beam6Ring4Disc2NegTEC2TEC");
00928   theBeam6Ring4Disc3NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 6 in Ring 4", 512, 0, 511);
00929   theBeam6Ring4Disc3NegTEC2TECAdcCounts->SetDirectory(Ring4Beam6NegDir);
00930   theHistogramNames.push_back("Beam6Ring4Disc3NegTEC2TEC");
00931   theBeam6Ring4Disc4NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 6 in Ring 4", 512, 0, 511);
00932   theBeam6Ring4Disc4NegTEC2TECAdcCounts->SetDirectory(Ring4Beam6NegDir);
00933   theHistogramNames.push_back("Beam6Ring4Disc4NegTEC2TEC");
00934   theBeam6Ring4Disc5NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 6 in Ring 4", 512, 0, 511);
00935   theBeam6Ring4Disc5NegTEC2TECAdcCounts->SetDirectory(Ring4Beam6NegDir);
00936   theHistogramNames.push_back("Beam6Ring4Disc5NegTEC2TEC");
00937   // }}}
00938 
00939   // {{{ ----- Adc counts for Beam 7 in Ring 4
00940   theBeam7Ring4Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 7 in Ring 4", 512, 0, 511);
00941   theBeam7Ring4Disc1NegAdcCounts->SetDirectory(Ring4Beam7NegDir);
00942   theHistogramNames.push_back("Beam7Ring4Disc1NegTEC");
00943   theBeam7Ring4Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 7 in Ring 4", 512, 0, 511);
00944   theBeam7Ring4Disc2NegAdcCounts->SetDirectory(Ring4Beam7NegDir);
00945   theHistogramNames.push_back("Beam7Ring4Disc2NegTEC");
00946   theBeam7Ring4Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 7 in Ring 4", 512, 0, 511);
00947   theBeam7Ring4Disc3NegAdcCounts->SetDirectory(Ring4Beam7NegDir);
00948   theHistogramNames.push_back("Beam7Ring4Disc3NegTEC");
00949   theBeam7Ring4Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 7 in Ring 4", 512, 0, 511);
00950   theBeam7Ring4Disc4NegAdcCounts->SetDirectory(Ring4Beam7NegDir);
00951   theHistogramNames.push_back("Beam7Ring4Disc4NegTEC");
00952   theBeam7Ring4Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 7 in Ring 4", 512, 0, 511);
00953   theBeam7Ring4Disc5NegAdcCounts->SetDirectory(Ring4Beam7NegDir);
00954   theHistogramNames.push_back("Beam7Ring4Disc5NegTEC");
00955   theBeam7Ring4Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 7 in Ring 4", 512, 0, 511);
00956   theBeam7Ring4Disc6NegAdcCounts->SetDirectory(Ring4Beam7NegDir);
00957   theHistogramNames.push_back("Beam7Ring4Disc6NegTEC");
00958   theBeam7Ring4Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 7 in Ring 4", 512, 0, 511);
00959   theBeam7Ring4Disc7NegAdcCounts->SetDirectory(Ring4Beam7NegDir);
00960   theHistogramNames.push_back("Beam7Ring4Disc7NegTEC");
00961   theBeam7Ring4Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 7 in Ring 4", 512, 0, 511);
00962   theBeam7Ring4Disc8NegAdcCounts->SetDirectory(Ring4Beam7NegDir);
00963   theHistogramNames.push_back("Beam7Ring4Disc8NegTEC");
00964   theBeam7Ring4Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 7 in Ring 4", 512, 0, 511);
00965   theBeam7Ring4Disc9NegAdcCounts->SetDirectory(Ring4Beam7NegDir);
00966   theHistogramNames.push_back("Beam7Ring4Disc9NegTEC");
00967   // }}}
00968 
00969   // plots for TEC2TEC beam 7
00970   theBeam7Ring4Disc1NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc1TEC2TEC","Adc counts on Disc 1 for Beam 7 in Ring 4", 512, 0, 511);
00971   theBeam7Ring4Disc1NegTEC2TECAdcCounts->SetDirectory(Ring4Beam7NegDir);
00972   theHistogramNames.push_back("Beam7Ring4Disc1NegTEC2TEC");
00973   theBeam7Ring4Disc2NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc2TEC2TEC","Adc counts on Disc 2 for Beam 7 in Ring 4", 512, 0, 511);
00974   theBeam7Ring4Disc2NegTEC2TECAdcCounts->SetDirectory(Ring4Beam7NegDir);
00975   theHistogramNames.push_back("Beam7Ring4Disc2NegTEC2TEC");
00976   theBeam7Ring4Disc3NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc3TEC2TEC","Adc counts on Disc 3 for Beam 7 in Ring 4", 512, 0, 511);
00977   theBeam7Ring4Disc3NegTEC2TECAdcCounts->SetDirectory(Ring4Beam7NegDir);
00978   theHistogramNames.push_back("Beam7Ring4Disc3NegTEC2TEC");
00979   theBeam7Ring4Disc4NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc4TEC2TEC","Adc counts on Disc 4 for Beam 7 in Ring 4", 512, 0, 511);
00980   theBeam7Ring4Disc4NegTEC2TECAdcCounts->SetDirectory(Ring4Beam7NegDir);
00981   theHistogramNames.push_back("Beam7Ring4Disc4NegTEC2TEC");
00982   theBeam7Ring4Disc5NegTEC2TECAdcCounts = new TH1D("AdcCountsDisc5TEC2TEC","Adc counts on Disc 5 for Beam 7 in Ring 4", 512, 0, 511);
00983   theBeam7Ring4Disc5NegTEC2TECAdcCounts->SetDirectory(Ring4Beam7NegDir);
00984   theHistogramNames.push_back("Beam7Ring4Disc5NegTEC2TEC");
00985   // }}}
00986 
00987   // {{{ ----- Adc counts for Beam 0 in Ring 6
00988   theBeam0Ring6Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 0 in Ring 6", 512, 0, 511);
00989   theBeam0Ring6Disc1NegAdcCounts->SetDirectory(Ring6Beam0NegDir);
00990   theHistogramNames.push_back("Beam0Ring6Disc1NegTEC");
00991   theBeam0Ring6Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 0 in Ring 6", 512, 0, 511);
00992   theBeam0Ring6Disc2NegAdcCounts->SetDirectory(Ring6Beam0NegDir);
00993   theHistogramNames.push_back("Beam0Ring6Disc2NegTEC");
00994   theBeam0Ring6Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 0 in Ring 6", 512, 0, 511);
00995   theBeam0Ring6Disc3NegAdcCounts->SetDirectory(Ring6Beam0NegDir);
00996   theHistogramNames.push_back("Beam0Ring6Disc3NegTEC");
00997   theBeam0Ring6Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 0 in Ring 6", 512, 0, 511);
00998   theBeam0Ring6Disc4NegAdcCounts->SetDirectory(Ring6Beam0NegDir);
00999   theHistogramNames.push_back("Beam0Ring6Disc4NegTEC");
01000   theBeam0Ring6Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 0 in Ring 6", 512, 0, 511);
01001   theBeam0Ring6Disc5NegAdcCounts->SetDirectory(Ring6Beam0NegDir);
01002   theHistogramNames.push_back("Beam0Ring6Disc5NegTEC");
01003   theBeam0Ring6Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 0 in Ring 6", 512, 0, 511);
01004   theBeam0Ring6Disc6NegAdcCounts->SetDirectory(Ring6Beam0NegDir);
01005   theHistogramNames.push_back("Beam0Ring6Disc6NegTEC");
01006   theBeam0Ring6Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 0 in Ring 6", 512, 0, 511);
01007   theBeam0Ring6Disc7NegAdcCounts->SetDirectory(Ring6Beam0NegDir);
01008   theHistogramNames.push_back("Beam0Ring6Disc7NegTEC");
01009   theBeam0Ring6Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 0 in Ring 6", 512, 0, 511);
01010   theBeam0Ring6Disc8NegAdcCounts->SetDirectory(Ring6Beam0NegDir);
01011   theHistogramNames.push_back("Beam0Ring6Disc8NegTEC");
01012   theBeam0Ring6Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 0 in Ring 6", 512, 0, 511);
01013   theBeam0Ring6Disc9NegAdcCounts->SetDirectory(Ring6Beam0NegDir);
01014   theHistogramNames.push_back("Beam0Ring6Disc9NegTEC");
01015   // }}}
01016 
01017   // {{{ ----- Adc counts for Beam 1 in Ring 6
01018   theBeam1Ring6Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 1 in Ring 6", 512, 0, 511);
01019   theBeam1Ring6Disc1NegAdcCounts->SetDirectory(Ring6Beam1NegDir);
01020   theHistogramNames.push_back("Beam1Ring6Disc1NegTEC");
01021   theBeam1Ring6Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 1 in Ring 6", 512, 0, 511);
01022   theBeam1Ring6Disc2NegAdcCounts->SetDirectory(Ring6Beam1NegDir);
01023   theHistogramNames.push_back("Beam1Ring6Disc2NegTEC");
01024   theBeam1Ring6Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 1 in Ring 6", 512, 0, 511);
01025   theBeam1Ring6Disc3NegAdcCounts->SetDirectory(Ring6Beam1NegDir);
01026   theHistogramNames.push_back("Beam1Ring6Disc3NegTEC");
01027   theBeam1Ring6Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 1 in Ring 6", 512, 0, 511);
01028   theBeam1Ring6Disc4NegAdcCounts->SetDirectory(Ring6Beam1NegDir);
01029   theHistogramNames.push_back("Beam1Ring6Disc4NegTEC");
01030   theBeam1Ring6Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 1 in Ring 6", 512, 0, 511);
01031   theBeam1Ring6Disc5NegAdcCounts->SetDirectory(Ring6Beam1NegDir);
01032   theHistogramNames.push_back("Beam1Ring6Disc5NegTEC");
01033   theBeam1Ring6Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 1 in Ring 6", 512, 0, 511);
01034   theBeam1Ring6Disc6NegAdcCounts->SetDirectory(Ring6Beam1NegDir);
01035   theHistogramNames.push_back("Beam1Ring6Disc6NegTEC");
01036   theBeam1Ring6Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 1 in Ring 6", 512, 0, 511);
01037   theBeam1Ring6Disc7NegAdcCounts->SetDirectory(Ring6Beam1NegDir);
01038   theHistogramNames.push_back("Beam1Ring6Disc7NegTEC");
01039   theBeam1Ring6Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 1 in Ring 6", 512, 0, 511);
01040   theBeam1Ring6Disc8NegAdcCounts->SetDirectory(Ring6Beam1NegDir);
01041   theHistogramNames.push_back("Beam1Ring6Disc8NegTEC");
01042   theBeam1Ring6Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 1 in Ring 6", 512, 0, 511);
01043   theBeam1Ring6Disc9NegAdcCounts->SetDirectory(Ring6Beam1NegDir);
01044   theHistogramNames.push_back("Beam1Ring6Disc9NegTEC");
01045   // }}}
01046 
01047   // {{{ ----- Adc counts for Beam 2 in Ring 6
01048   theBeam2Ring6Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 2 in Ring 6", 512, 0, 511);
01049   theBeam2Ring6Disc1NegAdcCounts->SetDirectory(Ring6Beam2NegDir);
01050   theHistogramNames.push_back("Beam2Ring6Disc1NegTEC");
01051   theBeam2Ring6Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 2 in Ring 6", 512, 0, 511);
01052   theBeam2Ring6Disc2NegAdcCounts->SetDirectory(Ring6Beam2NegDir);
01053   theHistogramNames.push_back("Beam2Ring6Disc2NegTEC");
01054   theBeam2Ring6Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 2 in Ring 6", 512, 0, 511);
01055   theBeam2Ring6Disc3NegAdcCounts->SetDirectory(Ring6Beam2NegDir);
01056   theHistogramNames.push_back("Beam2Ring6Disc3NegTEC");
01057   theBeam2Ring6Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 2 in Ring 6", 512, 0, 511);
01058   theBeam2Ring6Disc4NegAdcCounts->SetDirectory(Ring6Beam2NegDir);
01059   theHistogramNames.push_back("Beam2Ring6Disc4NegTEC");
01060   theBeam2Ring6Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 2 in Ring 6", 512, 0, 511);
01061   theBeam2Ring6Disc5NegAdcCounts->SetDirectory(Ring6Beam2NegDir);
01062   theHistogramNames.push_back("Beam2Ring6Disc5NegTEC");
01063   theBeam2Ring6Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 2 in Ring 6", 512, 0, 511);
01064   theBeam2Ring6Disc6NegAdcCounts->SetDirectory(Ring6Beam2NegDir);
01065   theHistogramNames.push_back("Beam2Ring6Disc6NegTEC");
01066   theBeam2Ring6Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 2 in Ring 6", 512, 0, 511);
01067   theBeam2Ring6Disc7NegAdcCounts->SetDirectory(Ring6Beam2NegDir);
01068   theHistogramNames.push_back("Beam2Ring6Disc7NegTEC");
01069   theBeam2Ring6Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 2 in Ring 6", 512, 0, 511);
01070   theBeam2Ring6Disc8NegAdcCounts->SetDirectory(Ring6Beam2NegDir);
01071   theHistogramNames.push_back("Beam2Ring6Disc8NegTEC");
01072   theBeam2Ring6Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 2 in Ring 6", 512, 0, 511);
01073   theBeam2Ring6Disc9NegAdcCounts->SetDirectory(Ring6Beam2NegDir);
01074   theHistogramNames.push_back("Beam2Ring6Disc9NegTEC");
01075   // }}}
01076 
01077   // {{{ ----- Adc counts for Beam 3 in Ring 6
01078   theBeam3Ring6Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 3 in Ring 6", 512, 0, 511);
01079   theBeam3Ring6Disc1NegAdcCounts->SetDirectory(Ring6Beam3NegDir);
01080   theHistogramNames.push_back("Beam3Ring6Disc1NegTEC");
01081   theBeam3Ring6Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 3 in Ring 6", 512, 0, 511);
01082   theBeam3Ring6Disc2NegAdcCounts->SetDirectory(Ring6Beam3NegDir);
01083   theHistogramNames.push_back("Beam3Ring6Disc2NegTEC");
01084   theBeam3Ring6Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 3 in Ring 6", 512, 0, 511);
01085   theBeam3Ring6Disc3NegAdcCounts->SetDirectory(Ring6Beam3NegDir);
01086   theHistogramNames.push_back("Beam3Ring6Disc3NegTEC");
01087   theBeam3Ring6Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 3 in Ring 6", 512, 0, 511);
01088   theBeam3Ring6Disc4NegAdcCounts->SetDirectory(Ring6Beam3NegDir);
01089   theHistogramNames.push_back("Beam3Ring6Disc4NegTEC");
01090   theBeam3Ring6Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 3 in Ring 6", 512, 0, 511);
01091   theBeam3Ring6Disc5NegAdcCounts->SetDirectory(Ring6Beam3NegDir);
01092   theHistogramNames.push_back("Beam3Ring6Disc5NegTEC");
01093   theBeam3Ring6Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 3 in Ring 6", 512, 0, 511);
01094   theBeam3Ring6Disc6NegAdcCounts->SetDirectory(Ring6Beam3NegDir);
01095   theHistogramNames.push_back("Beam3Ring6Disc6NegTEC");
01096   theBeam3Ring6Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 3 in Ring 6", 512, 0, 511);
01097   theBeam3Ring6Disc7NegAdcCounts->SetDirectory(Ring6Beam3NegDir);
01098   theHistogramNames.push_back("Beam3Ring6Disc7NegTEC");
01099   theBeam3Ring6Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 3 in Ring 6", 512, 0, 511);
01100   theBeam3Ring6Disc8NegAdcCounts->SetDirectory(Ring6Beam3NegDir);
01101   theHistogramNames.push_back("Beam3Ring6Disc8NegTEC");
01102   theBeam3Ring6Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 3 in Ring 6", 512, 0, 511);
01103   theBeam3Ring6Disc9NegAdcCounts->SetDirectory(Ring6Beam3NegDir);
01104   theHistogramNames.push_back("Beam3Ring6Disc9NegTEC");
01105   // }}}
01106 
01107   // {{{ ----- Adc counts for Beam 4 in Ring 6
01108   theBeam4Ring6Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 4 in Ring 6", 512, 0, 511);
01109   theBeam4Ring6Disc1NegAdcCounts->SetDirectory(Ring6Beam4NegDir);
01110   theHistogramNames.push_back("Beam4Ring6Disc1NegTEC");
01111   theBeam4Ring6Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 4 in Ring 6", 512, 0, 511);
01112   theBeam4Ring6Disc2NegAdcCounts->SetDirectory(Ring6Beam4NegDir);
01113   theHistogramNames.push_back("Beam4Ring6Disc2NegTEC");
01114   theBeam4Ring6Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 4 in Ring 6", 512, 0, 511);
01115   theBeam4Ring6Disc3NegAdcCounts->SetDirectory(Ring6Beam4NegDir);
01116   theHistogramNames.push_back("Beam4Ring6Disc3NegTEC");
01117   theBeam4Ring6Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 4 in Ring 6", 512, 0, 511);
01118   theBeam4Ring6Disc4NegAdcCounts->SetDirectory(Ring6Beam4NegDir);
01119   theHistogramNames.push_back("Beam4Ring6Disc4NegTEC");
01120   theBeam4Ring6Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 4 in Ring 6", 512, 0, 511);
01121   theBeam4Ring6Disc5NegAdcCounts->SetDirectory(Ring6Beam4NegDir);
01122   theHistogramNames.push_back("Beam4Ring6Disc5NegTEC");
01123   theBeam4Ring6Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 4 in Ring 6", 512, 0, 511);
01124   theBeam4Ring6Disc6NegAdcCounts->SetDirectory(Ring6Beam4NegDir);
01125   theHistogramNames.push_back("Beam4Ring6Disc6NegTEC");
01126   theBeam4Ring6Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 4 in Ring 6", 512, 0, 511);
01127   theBeam4Ring6Disc7NegAdcCounts->SetDirectory(Ring6Beam4NegDir);
01128   theHistogramNames.push_back("Beam4Ring6Disc7NegTEC");
01129   theBeam4Ring6Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 4 in Ring 6", 512, 0, 511);
01130   theBeam4Ring6Disc8NegAdcCounts->SetDirectory(Ring6Beam4NegDir);
01131   theHistogramNames.push_back("Beam4Ring6Disc8NegTEC");
01132   theBeam4Ring6Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 4 in Ring 6", 512, 0, 511);
01133   theBeam4Ring6Disc9NegAdcCounts->SetDirectory(Ring6Beam4NegDir);
01134   theHistogramNames.push_back("Beam4Ring6Disc9NegTEC");
01135   // }}}
01136 
01137   // {{{ ----- Adc counts for Beam 5 in Ring 6
01138   theBeam5Ring6Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 5 in Ring 6", 512, 0, 511);
01139   theBeam5Ring6Disc1NegAdcCounts->SetDirectory(Ring6Beam5NegDir);
01140   theHistogramNames.push_back("Beam5Ring6Disc1NegTEC");
01141   theBeam5Ring6Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 5 in Ring 6", 512, 0, 511);
01142   theBeam5Ring6Disc2NegAdcCounts->SetDirectory(Ring6Beam5NegDir);
01143   theHistogramNames.push_back("Beam5Ring6Disc2NegTEC");
01144   theBeam5Ring6Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 5 in Ring 6", 512, 0, 511);
01145   theBeam5Ring6Disc3NegAdcCounts->SetDirectory(Ring6Beam5NegDir);
01146   theHistogramNames.push_back("Beam5Ring6Disc3NegTEC");
01147   theBeam5Ring6Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 5 in Ring 6", 512, 0, 511);
01148   theBeam5Ring6Disc4NegAdcCounts->SetDirectory(Ring6Beam5NegDir);
01149   theHistogramNames.push_back("Beam5Ring6Disc4NegTEC");
01150   theBeam5Ring6Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 5 in Ring 6", 512, 0, 511);
01151   theBeam5Ring6Disc5NegAdcCounts->SetDirectory(Ring6Beam5NegDir);
01152   theHistogramNames.push_back("Beam5Ring6Disc5NegTEC");
01153   theBeam5Ring6Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 5 in Ring 6", 512, 0, 511);
01154   theBeam5Ring6Disc6NegAdcCounts->SetDirectory(Ring6Beam5NegDir);
01155   theHistogramNames.push_back("Beam5Ring6Disc6NegTEC");
01156   theBeam5Ring6Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 5 in Ring 6", 512, 0, 511);
01157   theBeam5Ring6Disc7NegAdcCounts->SetDirectory(Ring6Beam5NegDir);
01158   theHistogramNames.push_back("Beam5Ring6Disc7NegTEC");
01159   theBeam5Ring6Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 5 in Ring 6", 512, 0, 511);
01160   theBeam5Ring6Disc8NegAdcCounts->SetDirectory(Ring6Beam5NegDir);
01161   theHistogramNames.push_back("Beam5Ring6Disc8NegTEC");
01162   theBeam5Ring6Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 5 in Ring 6", 512, 0, 511);
01163   theBeam5Ring6Disc9NegAdcCounts->SetDirectory(Ring6Beam5NegDir);
01164   theHistogramNames.push_back("Beam5Ring6Disc9NegTEC");
01165   // }}}
01166 
01167   // {{{ ----- Adc counts for Beam 6 in Ring 6
01168   theBeam6Ring6Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 6 in Ring 6", 512, 0, 511);
01169   theBeam6Ring6Disc1NegAdcCounts->SetDirectory(Ring6Beam6NegDir);
01170   theHistogramNames.push_back("Beam6Ring6Disc1NegTEC");
01171   theBeam6Ring6Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 6 in Ring 6", 512, 0, 511);
01172   theBeam6Ring6Disc2NegAdcCounts->SetDirectory(Ring6Beam6NegDir);
01173   theHistogramNames.push_back("Beam6Ring6Disc2NegTEC");
01174   theBeam6Ring6Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 6 in Ring 6", 512, 0, 511);
01175   theBeam6Ring6Disc3NegAdcCounts->SetDirectory(Ring6Beam6NegDir);
01176   theHistogramNames.push_back("Beam6Ring6Disc3NegTEC");
01177   theBeam6Ring6Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 6 in Ring 6", 512, 0, 511);
01178   theBeam6Ring6Disc4NegAdcCounts->SetDirectory(Ring6Beam6NegDir);
01179   theHistogramNames.push_back("Beam6Ring6Disc4NegTEC");
01180   theBeam6Ring6Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 6 in Ring 6", 512, 0, 511);
01181   theBeam6Ring6Disc5NegAdcCounts->SetDirectory(Ring6Beam6NegDir);
01182   theHistogramNames.push_back("Beam6Ring6Disc5NegTEC");
01183   theBeam6Ring6Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 6 in Ring 6", 512, 0, 511);
01184   theBeam6Ring6Disc6NegAdcCounts->SetDirectory(Ring6Beam6NegDir);
01185   theHistogramNames.push_back("Beam6Ring6Disc6NegTEC");
01186   theBeam6Ring6Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 6 in Ring 6", 512, 0, 511);
01187   theBeam6Ring6Disc7NegAdcCounts->SetDirectory(Ring6Beam6NegDir);
01188   theHistogramNames.push_back("Beam6Ring6Disc7NegTEC");
01189   theBeam6Ring6Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 6 in Ring 6", 512, 0, 511);
01190   theBeam6Ring6Disc8NegAdcCounts->SetDirectory(Ring6Beam6NegDir);
01191   theHistogramNames.push_back("Beam6Ring6Disc8NegTEC");
01192   theBeam6Ring6Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 6 in Ring 6", 512, 0, 511);
01193   theBeam6Ring6Disc9NegAdcCounts->SetDirectory(Ring6Beam6NegDir);
01194   theHistogramNames.push_back("Beam6Ring6Disc9NegTEC");
01195   // }}}
01196 
01197   // {{{ ----- Adc counts for Beam 7 in Ring 6
01198   theBeam7Ring6Disc1NegAdcCounts = new TH1D("AdcCountsDisc1","Adc counts on Disc 1 for Beam 7 in Ring 6", 512, 0, 511);
01199   theBeam7Ring6Disc1NegAdcCounts->SetDirectory(Ring6Beam7NegDir);
01200   theHistogramNames.push_back("Beam7Ring6Disc1NegTEC");
01201   theBeam7Ring6Disc2NegAdcCounts = new TH1D("AdcCountsDisc2","Adc counts on Disc 2 for Beam 7 in Ring 6", 512, 0, 511);
01202   theBeam7Ring6Disc2NegAdcCounts->SetDirectory(Ring6Beam7NegDir);
01203   theHistogramNames.push_back("Beam7Ring6Disc2NegTEC");
01204   theBeam7Ring6Disc3NegAdcCounts = new TH1D("AdcCountsDisc3","Adc counts on Disc 3 for Beam 7 in Ring 6", 512, 0, 511);
01205   theBeam7Ring6Disc3NegAdcCounts->SetDirectory(Ring6Beam7NegDir);
01206   theHistogramNames.push_back("Beam7Ring6Disc3NegTEC");
01207   theBeam7Ring6Disc4NegAdcCounts = new TH1D("AdcCountsDisc4","Adc counts on Disc 4 for Beam 7 in Ring 6", 512, 0, 511);
01208   theBeam7Ring6Disc4NegAdcCounts->SetDirectory(Ring6Beam7NegDir);
01209   theHistogramNames.push_back("Beam7Ring6Disc4NegTEC");
01210   theBeam7Ring6Disc5NegAdcCounts = new TH1D("AdcCountsDisc5","Adc counts on Disc 5 for Beam 7 in Ring 6", 512, 0, 511);
01211   theBeam7Ring6Disc5NegAdcCounts->SetDirectory(Ring6Beam7NegDir);
01212   theHistogramNames.push_back("Beam7Ring6Disc5NegTEC");
01213   theBeam7Ring6Disc6NegAdcCounts = new TH1D("AdcCountsDisc6","Adc counts on Disc 6 for Beam 7 in Ring 6", 512, 0, 511);
01214   theBeam7Ring6Disc6NegAdcCounts->SetDirectory(Ring6Beam7NegDir);
01215   theHistogramNames.push_back("Beam7Ring6Disc6NegTEC");
01216   theBeam7Ring6Disc7NegAdcCounts = new TH1D("AdcCountsDisc7","Adc counts on Disc 7 for Beam 7 in Ring 6", 512, 0, 511);
01217   theBeam7Ring6Disc7NegAdcCounts->SetDirectory(Ring6Beam7NegDir);
01218   theHistogramNames.push_back("Beam7Ring6Disc7NegTEC");
01219   theBeam7Ring6Disc8NegAdcCounts = new TH1D("AdcCountsDisc8","Adc counts on Disc 8 for Beam 7 in Ring 6", 512, 0, 511);
01220   theBeam7Ring6Disc8NegAdcCounts->SetDirectory(Ring6Beam7NegDir);
01221   theHistogramNames.push_back("Beam7Ring6Disc8NegTEC");
01222   theBeam7Ring6Disc9NegAdcCounts = new TH1D("AdcCountsDisc9","Adc counts on Disc 9 for Beam 7 in Ring 6", 512, 0, 511);
01223   theBeam7Ring6Disc9NegAdcCounts->SetDirectory(Ring6Beam7NegDir);
01224   theHistogramNames.push_back("Beam7Ring6Disc9NegTEC");
01225   // }}}
01226 
01227   /* LaserBeams in the TOB */
01228   /**************************************** 
01229    * the different z positions of the beams
01230    * are numbered in the following way
01231    *
01232    * Position1 = +1040 mm
01233    * Position2 = +580 mm
01234    * Position3 = +220 mm
01235    * Position4 = -140 mm
01236    * Position5 = -500 mm
01237    * Position6 = -860 mm
01238    *****************************************/
01239   // {{{ ----- Adc Counts in Beam 0
01240   theBeam0TOBPosition1AdcCounts = new TH1D("AdcCountsZ=1040mm","Adc counts for Beam 0 at z = 1040 mm", 512, 0, 511);
01241   theBeam0TOBPosition1AdcCounts->SetDirectory(Beam0TOBDir);
01242   theHistogramNames.push_back("Beam0TOBPosition1");
01243   theBeam0TOBPosition2AdcCounts = new TH1D("AdcCountsZ=580mm","Adc counts for Beam 0 at z = 580 mm", 512, 0, 511);
01244   theBeam0TOBPosition2AdcCounts->SetDirectory(Beam0TOBDir);
01245   theHistogramNames.push_back("Beam0TOBPosition2");
01246   theBeam0TOBPosition3AdcCounts = new TH1D("AdcCountsZ=220mm","Adc counts for Beam 0 at z = 220 mm", 512, 0, 511);
01247   theBeam0TOBPosition3AdcCounts->SetDirectory(Beam0TOBDir);
01248   theHistogramNames.push_back("Beam0TOBPosition3");
01249   theBeam0TOBPosition4AdcCounts = new TH1D("AdcCountsZ=-140mm","Adc counts for Beam 0 at z = -140 mm", 512, 0, 511);
01250   theBeam0TOBPosition4AdcCounts->SetDirectory(Beam0TOBDir);
01251   theHistogramNames.push_back("Beam0TOBPosition4");
01252   theBeam0TOBPosition5AdcCounts = new TH1D("AdcCountsZ=-500mm","Adc counts for Beam 0 at z = -500 mm", 512, 0, 511);
01253   theBeam0TOBPosition5AdcCounts->SetDirectory(Beam0TOBDir);
01254   theHistogramNames.push_back("Beam0TOBPosition5");
01255   theBeam0TOBPosition6AdcCounts = new TH1D("AdcCountsZ=-860mm","Adc counts for Beam 0 at z = -860 mm", 512, 0, 511);
01256   theBeam0TOBPosition6AdcCounts->SetDirectory(Beam0TOBDir);
01257   theHistogramNames.push_back("Beam0TOBPosition6");
01258   // }}}
01259 
01260   // {{{ ----- Adc Counts in Beam 1
01261   theBeam1TOBPosition1AdcCounts = new TH1D("AdcCountsZ=1040mm","Adc counts for Beam 1 at z = 1040 mm", 512, 0, 511);
01262   theBeam1TOBPosition1AdcCounts->SetDirectory(Beam1TOBDir);
01263   theHistogramNames.push_back("Beam1TOBPosition1");
01264   theBeam1TOBPosition2AdcCounts = new TH1D("AdcCountsZ=580mm","Adc counts for Beam 1 at z = 580 mm", 512, 0, 511);
01265   theBeam1TOBPosition2AdcCounts->SetDirectory(Beam1TOBDir);
01266   theHistogramNames.push_back("Beam1TOBPosition2");
01267   theBeam1TOBPosition3AdcCounts = new TH1D("AdcCountsZ=220mm","Adc counts for Beam 1 at z = 220 mm", 512, 0, 511);
01268   theBeam1TOBPosition3AdcCounts->SetDirectory(Beam1TOBDir);
01269   theHistogramNames.push_back("Beam1TOBPosition3");
01270   theBeam1TOBPosition4AdcCounts = new TH1D("AdcCountsZ=-140mm","Adc counts for Beam 1 at z = -140 mm", 512, 0, 511);
01271   theBeam1TOBPosition4AdcCounts->SetDirectory(Beam1TOBDir);
01272   theHistogramNames.push_back("Beam1TOBPosition4");
01273   theBeam1TOBPosition5AdcCounts = new TH1D("AdcCountsZ=-500mm","Adc counts for Beam 1 at z = -500 mm", 512, 0, 511);
01274   theBeam1TOBPosition5AdcCounts->SetDirectory(Beam1TOBDir);
01275   theHistogramNames.push_back("Beam1TOBPosition5");
01276   theBeam1TOBPosition6AdcCounts = new TH1D("AdcCountsZ=-860mm","Adc counts for Beam 1 at z = -860 mm", 512, 0, 511);
01277   theBeam1TOBPosition6AdcCounts->SetDirectory(Beam1TOBDir);
01278   theHistogramNames.push_back("Beam1TOBPosition6");
01279   // }}}
01280   
01281   // {{{ ----- Adc Counts in Beam 2
01282   theBeam2TOBPosition1AdcCounts = new TH1D("AdcCountsZ=1040mm","Adc counts for Beam 2 at z = 1040 mm", 512, 0, 511);
01283   theBeam2TOBPosition1AdcCounts->SetDirectory(Beam2TOBDir);
01284   theHistogramNames.push_back("Beam2TOBPosition1");
01285   theBeam2TOBPosition2AdcCounts = new TH1D("AdcCountsZ=580mm","Adc counts for Beam 2 at z = 580 mm", 512, 0, 511);
01286   theBeam2TOBPosition2AdcCounts->SetDirectory(Beam2TOBDir);
01287   theHistogramNames.push_back("Beam2TOBPosition2");
01288   theBeam2TOBPosition3AdcCounts = new TH1D("AdcCountsZ=220mm","Adc counts for Beam 2 at z = 220 mm", 512, 0, 511);
01289   theBeam2TOBPosition3AdcCounts->SetDirectory(Beam2TOBDir);
01290   theHistogramNames.push_back("Beam2TOBPosition3");
01291   theBeam2TOBPosition4AdcCounts = new TH1D("AdcCountsZ=-140mm","Adc counts for Beam 2 at z = -140 mm", 512, 0, 511);
01292   theBeam2TOBPosition4AdcCounts->SetDirectory(Beam2TOBDir);
01293   theHistogramNames.push_back("Beam2TOBPosition4");
01294   theBeam2TOBPosition5AdcCounts = new TH1D("AdcCountsZ=-500mm","Adc counts for Beam 2 at z = -500 mm", 512, 0, 511);
01295   theBeam2TOBPosition5AdcCounts->SetDirectory(Beam2TOBDir);
01296   theHistogramNames.push_back("Beam2TOBPosition5");
01297   theBeam2TOBPosition6AdcCounts = new TH1D("AdcCountsZ=-860mm","Adc counts for Beam 2 at z = -860 mm", 512, 0, 511);
01298   theBeam2TOBPosition6AdcCounts->SetDirectory(Beam2TOBDir);
01299   theHistogramNames.push_back("Beam2TOBPosition6");
01300   // }}}
01301 
01302   // {{{ ----- Adc Counts in Beam 3
01303   theBeam3TOBPosition1AdcCounts = new TH1D("AdcCountsZ=1040mm","Adc counts for Beam 3 at z = 1040 mm", 512, 0, 511);
01304   theBeam3TOBPosition1AdcCounts->SetDirectory(Beam3TOBDir);
01305   theHistogramNames.push_back("Beam3TOBPosition1");
01306   theBeam3TOBPosition2AdcCounts = new TH1D("AdcCountsZ=580mm","Adc counts for Beam 3 at z = 580 mm", 512, 0, 511);
01307   theBeam3TOBPosition2AdcCounts->SetDirectory(Beam3TOBDir);
01308   theHistogramNames.push_back("Beam3TOBPosition2");
01309   theBeam3TOBPosition3AdcCounts = new TH1D("AdcCountsZ=220mm","Adc counts for Beam 3 at z = 220 mm", 512, 0, 511);
01310   theBeam3TOBPosition3AdcCounts->SetDirectory(Beam3TOBDir);
01311   theHistogramNames.push_back("Beam3TOBPosition3");
01312   theBeam3TOBPosition4AdcCounts = new TH1D("AdcCountsZ=-140mm","Adc counts for Beam 3 at z = -140 mm", 512, 0, 511);
01313   theBeam3TOBPosition4AdcCounts->SetDirectory(Beam3TOBDir);
01314   theHistogramNames.push_back("Beam3TOBPosition4");
01315   theBeam3TOBPosition5AdcCounts = new TH1D("AdcCountsZ=-500mm","Adc counts for Beam 3 at z = -500 mm", 512, 0, 511);
01316   theBeam3TOBPosition5AdcCounts->SetDirectory(Beam3TOBDir);
01317   theHistogramNames.push_back("Beam3TOBPosition5");
01318   theBeam3TOBPosition6AdcCounts = new TH1D("AdcCountsZ=-860mm","Adc counts for Beam 3 at z = -860 mm", 512, 0, 511);
01319   theBeam3TOBPosition6AdcCounts->SetDirectory(Beam3TOBDir);
01320   theHistogramNames.push_back("Beam3TOBPosition6");
01321   // }}}
01322 
01323   // {{{ ----- Adc Counts in Beam 4
01324   theBeam4TOBPosition1AdcCounts = new TH1D("AdcCountsZ=1040mm","Adc counts for Beam 4 at z = 1040 mm", 512, 0, 511);
01325   theBeam4TOBPosition1AdcCounts->SetDirectory(Beam4TOBDir);
01326   theHistogramNames.push_back("Beam4TOBPosition1");
01327   theBeam4TOBPosition2AdcCounts = new TH1D("AdcCountsZ=580mm","Adc counts for Beam 4 at z = 580 mm", 512, 0, 511);
01328   theBeam4TOBPosition2AdcCounts->SetDirectory(Beam4TOBDir);
01329   theHistogramNames.push_back("Beam4TOBPosition2");
01330   theBeam4TOBPosition3AdcCounts = new TH1D("AdcCountsZ=220mm","Adc counts for Beam 4 at z = 220 mm", 512, 0, 511);
01331   theBeam4TOBPosition3AdcCounts->SetDirectory(Beam4TOBDir);
01332   theHistogramNames.push_back("Beam4TOBPosition3");
01333   theBeam4TOBPosition4AdcCounts = new TH1D("AdcCountsZ=-140mm","Adc counts for Beam 4 at z = -140 mm", 512, 0, 511);
01334   theBeam4TOBPosition4AdcCounts->SetDirectory(Beam4TOBDir);
01335   theHistogramNames.push_back("Beam4TOBPosition4");
01336   theBeam4TOBPosition5AdcCounts = new TH1D("AdcCountsZ=-500mm","Adc counts for Beam 4 at z = -500 mm", 512, 0, 511);
01337   theBeam4TOBPosition5AdcCounts->SetDirectory(Beam4TOBDir);
01338   theHistogramNames.push_back("Beam4TOBPosition5");
01339   theBeam4TOBPosition6AdcCounts = new TH1D("AdcCountsZ=-860mm","Adc counts for Beam 4 at z = -860 mm", 512, 0, 511);
01340   theBeam4TOBPosition6AdcCounts->SetDirectory(Beam4TOBDir);
01341   theHistogramNames.push_back("Beam4TOBPosition6");
01342   // }}}
01343 
01344   // {{{ ----- Adc Counts in Beam 5
01345   theBeam5TOBPosition1AdcCounts = new TH1D("AdcCountsZ=1040mm","Adc counts for Beam 5 at z = 1040 mm", 512, 0, 511);
01346   theBeam5TOBPosition1AdcCounts->SetDirectory(Beam5TOBDir);
01347   theHistogramNames.push_back("Beam5TOBPosition1");
01348   theBeam5TOBPosition2AdcCounts = new TH1D("AdcCountsZ=580mm","Adc counts for Beam 5 at z = 580 mm", 512, 0, 511);
01349   theBeam5TOBPosition2AdcCounts->SetDirectory(Beam5TOBDir);
01350   theHistogramNames.push_back("Beam5TOBPosition2");
01351   theBeam5TOBPosition3AdcCounts = new TH1D("AdcCountsZ=220mm","Adc counts for Beam 5 at z = 220 mm", 512, 0, 511);
01352   theBeam5TOBPosition3AdcCounts->SetDirectory(Beam5TOBDir);
01353   theHistogramNames.push_back("Beam5TOBPosition3");
01354   theBeam5TOBPosition4AdcCounts = new TH1D("AdcCountsZ=-140mm","Adc counts for Beam 5 at z = -140 mm", 512, 0, 511);
01355   theBeam5TOBPosition4AdcCounts->SetDirectory(Beam5TOBDir);
01356   theHistogramNames.push_back("Beam5TOBPosition4");
01357   theBeam5TOBPosition5AdcCounts = new TH1D("AdcCountsZ=-500mm","Adc counts for Beam 5 at z = -500 mm", 512, 0, 511);
01358   theBeam5TOBPosition5AdcCounts->SetDirectory(Beam5TOBDir);
01359   theHistogramNames.push_back("Beam5TOBPosition5");
01360   theBeam5TOBPosition6AdcCounts = new TH1D("AdcCountsZ=-860mm","Adc counts for Beam 5 at z = -860 mm", 512, 0, 511);
01361   theBeam5TOBPosition6AdcCounts->SetDirectory(Beam5TOBDir);
01362   theHistogramNames.push_back("Beam5TOBPosition6");
01363   // }}}
01364 
01365   // {{{ ----- Adc Counts in Beam 6
01366   theBeam6TOBPosition1AdcCounts = new TH1D("AdcCountsZ=1040mm","Adc counts for Beam 6 at z = 1040 mm", 512, 0, 511);
01367   theBeam6TOBPosition1AdcCounts->SetDirectory(Beam6TOBDir);
01368   theHistogramNames.push_back("Beam6TOBPosition1");
01369   theBeam6TOBPosition2AdcCounts = new TH1D("AdcCountsZ=580mm","Adc counts for Beam 6 at z = 580 mm", 512, 0, 511);
01370   theBeam6TOBPosition2AdcCounts->SetDirectory(Beam6TOBDir);
01371   theHistogramNames.push_back("Beam6TOBPosition2");
01372   theBeam6TOBPosition3AdcCounts = new TH1D("AdcCountsZ=220mm","Adc counts for Beam 6 at z = 220 mm", 512, 0, 511);
01373   theBeam6TOBPosition3AdcCounts->SetDirectory(Beam6TOBDir);
01374   theHistogramNames.push_back("Beam6TOBPosition3");
01375   theBeam6TOBPosition4AdcCounts = new TH1D("AdcCountsZ=-140mm","Adc counts for Beam 6 at z = -140 mm", 512, 0, 511);
01376   theBeam6TOBPosition4AdcCounts->SetDirectory(Beam6TOBDir);
01377   theHistogramNames.push_back("Beam6TOBPosition4");
01378   theBeam6TOBPosition5AdcCounts = new TH1D("AdcCountsZ=-500mm","Adc counts for Beam 6 at z = -500 mm", 512, 0, 511);
01379   theBeam6TOBPosition5AdcCounts->SetDirectory(Beam6TOBDir);
01380   theHistogramNames.push_back("Beam6TOBPosition5");
01381   theBeam6TOBPosition6AdcCounts = new TH1D("AdcCountsZ=-860mm","Adc counts for Beam 6 at z = -860 mm", 512, 0, 511);
01382   theBeam6TOBPosition6AdcCounts->SetDirectory(Beam6TOBDir);
01383   theHistogramNames.push_back("Beam6TOBPosition6");
01384   // }}}
01385 
01386   // {{{ ----- Adc Counts in Beam 7
01387   theBeam7TOBPosition1AdcCounts = new TH1D("AdcCountsZ=1040mm","Adc counts for Beam 7 at z = 1040 mm", 512, 0, 511);
01388   theBeam7TOBPosition1AdcCounts->SetDirectory(Beam7TOBDir);
01389   theHistogramNames.push_back("Beam7TOBPosition1");
01390   theBeam7TOBPosition2AdcCounts = new TH1D("AdcCountsZ=580mm","Adc counts for Beam 7 at z = 580 mm", 512, 0, 511);
01391   theBeam7TOBPosition2AdcCounts->SetDirectory(Beam7TOBDir);
01392   theHistogramNames.push_back("Beam7TOBPosition2");
01393   theBeam7TOBPosition3AdcCounts = new TH1D("AdcCountsZ=220mm","Adc counts for Beam 7 at z = 220 mm", 512, 0, 511);
01394   theBeam7TOBPosition3AdcCounts->SetDirectory(Beam7TOBDir);
01395   theHistogramNames.push_back("Beam7TOBPosition3");
01396   theBeam7TOBPosition4AdcCounts = new TH1D("AdcCountsZ=-140mm","Adc counts for Beam 7 at z = -140 mm", 512, 0, 511);
01397   theBeam7TOBPosition4AdcCounts->SetDirectory(Beam7TOBDir);
01398   theHistogramNames.push_back("Beam7TOBPosition4");
01399   theBeam7TOBPosition5AdcCounts = new TH1D("AdcCountsZ=-500mm","Adc counts for Beam 7 at z = -500 mm", 512, 0, 511);
01400   theBeam7TOBPosition5AdcCounts->SetDirectory(Beam7TOBDir);
01401   theHistogramNames.push_back("Beam7TOBPosition5");
01402   theBeam7TOBPosition6AdcCounts = new TH1D("AdcCountsZ=-860mm","Adc counts for Beam 7 at z = -860 mm", 512, 0, 511);
01403   theBeam7TOBPosition6AdcCounts->SetDirectory(Beam7TOBDir);
01404   theHistogramNames.push_back("Beam7TOBPosition6");
01405   // }}}
01406 
01407   /* LaserBeams in the TIB */
01408   /**************************************** 
01409    * the different z positions of the beams
01410    * are numbered in the following way
01411    *
01412    * Position1 = +620 mm
01413    * Position2 = +380 mm
01414    * Position3 = +180 mm
01415    * Position4 = -100 mm
01416    * Position5 = -340 mm
01417    * Position6 = -540 mm
01418    *****************************************/
01419   // {{{ ----- Adc Counts in Beam 0
01420   theBeam0TIBPosition1AdcCounts = new TH1D("AdcCountsZ=620mm","Adc counts for Beam 0 at z = 620 mm", 512, 0, 511);
01421   theBeam0TIBPosition1AdcCounts->SetDirectory(Beam0TIBDir);
01422   theHistogramNames.push_back("Beam0TIBPosition1");
01423   theBeam0TIBPosition2AdcCounts = new TH1D("AdcCountsZ=380mm","Adc counts for Beam 0 at z = 380 mm", 512, 0, 511);
01424   theBeam0TIBPosition2AdcCounts->SetDirectory(Beam0TIBDir);
01425   theHistogramNames.push_back("Beam0TIBPosition2");
01426   theBeam0TIBPosition3AdcCounts = new TH1D("AdcCountsZ=180mm","Adc counts for Beam 0 at z = 180 mm", 512, 0, 511);
01427   theBeam0TIBPosition3AdcCounts->SetDirectory(Beam0TIBDir);
01428   theHistogramNames.push_back("Beam0TIBPosition3");
01429   theBeam0TIBPosition4AdcCounts = new TH1D("AdcCountsZ=-100mm","Adc counts for Beam 0 at z = -100 mm", 512, 0, 511);
01430   theBeam0TIBPosition4AdcCounts->SetDirectory(Beam0TIBDir);
01431   theHistogramNames.push_back("Beam0TIBPosition4");
01432   theBeam0TIBPosition5AdcCounts = new TH1D("AdcCountsZ=-340mm","Adc counts for Beam 0 at z = -340 mm", 512, 0, 511);
01433   theBeam0TIBPosition5AdcCounts->SetDirectory(Beam0TIBDir);
01434   theHistogramNames.push_back("Beam0TIBPosition5");
01435   theBeam0TIBPosition6AdcCounts = new TH1D("AdcCountsZ=-540mm","Adc counts for Beam 0 at z = -540 mm", 512, 0, 511);
01436   theBeam0TIBPosition6AdcCounts->SetDirectory(Beam0TIBDir);
01437   theHistogramNames.push_back("Beam0TIBPosition6");
01438   // }}}
01439 
01440   // {{{ ----- Adc Counts in Beam 1
01441   theBeam1TIBPosition1AdcCounts = new TH1D("AdcCountsZ=620mm","Adc counts for Beam 1 at z = 620 mm", 512, 0, 511);
01442   theBeam1TIBPosition1AdcCounts->SetDirectory(Beam1TIBDir);
01443   theHistogramNames.push_back("Beam1TIBPosition1");
01444   theBeam1TIBPosition2AdcCounts = new TH1D("AdcCountsZ=380mm","Adc counts for Beam 1 at z = 380 mm", 512, 0, 511);
01445   theBeam1TIBPosition2AdcCounts->SetDirectory(Beam1TIBDir);
01446   theHistogramNames.push_back("Beam1TIBPosition2");
01447   theBeam1TIBPosition3AdcCounts = new TH1D("AdcCountsZ=180mm","Adc counts for Beam 1 at z = 180 mm", 512, 0, 511);
01448   theBeam1TIBPosition3AdcCounts->SetDirectory(Beam1TIBDir);
01449   theHistogramNames.push_back("Beam1TIBPosition3");
01450   theBeam1TIBPosition4AdcCounts = new TH1D("AdcCountsZ=-100mm","Adc counts for Beam 1 at z = -100 mm", 512, 0, 511);
01451   theBeam1TIBPosition4AdcCounts->SetDirectory(Beam1TIBDir);
01452   theHistogramNames.push_back("Beam1TIBPosition4");
01453   theBeam1TIBPosition5AdcCounts = new TH1D("AdcCountsZ=-340mm","Adc counts for Beam 1 at z = -340 mm", 512, 0, 511);
01454   theBeam1TIBPosition5AdcCounts->SetDirectory(Beam1TIBDir);
01455   theHistogramNames.push_back("Beam1TIBPosition5");
01456   theBeam1TIBPosition6AdcCounts = new TH1D("AdcCountsZ=-540mm","Adc counts for Beam 1 at z = -540 mm", 512, 0, 511);
01457   theBeam1TIBPosition6AdcCounts->SetDirectory(Beam1TIBDir);
01458   theHistogramNames.push_back("Beam1TIBPosition6");
01459   // }}}
01460 
01461   // {{{ ----- Adc Counts in Beam 2
01462   theBeam2TIBPosition1AdcCounts = new TH1D("AdcCountsZ=620mm","Adc counts for Beam 2 at z = 620 mm", 512, 0, 511);
01463   theBeam2TIBPosition1AdcCounts->SetDirectory(Beam2TIBDir);
01464   theHistogramNames.push_back("Beam2TIBPosition1");
01465   theBeam2TIBPosition2AdcCounts = new TH1D("AdcCountsZ=380mm","Adc counts for Beam 2 at z = 380 mm", 512, 0, 511);
01466   theBeam2TIBPosition2AdcCounts->SetDirectory(Beam2TIBDir);
01467   theHistogramNames.push_back("Beam2TIBPosition2");
01468   theBeam2TIBPosition3AdcCounts = new TH1D("AdcCountsZ=180mm","Adc counts for Beam 2 at z = 180 mm", 512, 0, 511);
01469   theBeam2TIBPosition3AdcCounts->SetDirectory(Beam2TIBDir);
01470   theHistogramNames.push_back("Beam2TIBPosition3");
01471   theBeam2TIBPosition4AdcCounts = new TH1D("AdcCountsZ=-100mm","Adc counts for Beam 2 at z = -100 mm", 512, 0, 511);
01472   theBeam2TIBPosition4AdcCounts->SetDirectory(Beam2TIBDir);
01473   theHistogramNames.push_back("Beam2TIBPosition4");
01474   theBeam2TIBPosition5AdcCounts = new TH1D("AdcCountsZ=-340mm","Adc counts for Beam 2 at z = -340 mm", 512, 0, 511);
01475   theBeam2TIBPosition5AdcCounts->SetDirectory(Beam2TIBDir);
01476   theHistogramNames.push_back("Beam2TIBPosition5");
01477   theBeam2TIBPosition6AdcCounts = new TH1D("AdcCountsZ=-540mm","Adc counts for Beam 2 at z = -540 mm", 512, 0, 511);
01478   theBeam2TIBPosition6AdcCounts->SetDirectory(Beam2TIBDir);
01479   theHistogramNames.push_back("Beam2TIBPosition6");
01480   // }}}
01481 
01482   // {{{ ----- Adc Counts in Beam 3
01483   theBeam3TIBPosition1AdcCounts = new TH1D("AdcCountsZ=620mm","Adc counts for Beam 3 at z = 620 mm", 512, 0, 511);
01484   theBeam3TIBPosition1AdcCounts->SetDirectory(Beam3TIBDir);
01485   theHistogramNames.push_back("Beam3TIBPosition1");
01486   theBeam3TIBPosition2AdcCounts = new TH1D("AdcCountsZ=380mm","Adc counts for Beam 3 at z = 380 mm", 512, 0, 511);
01487   theBeam3TIBPosition2AdcCounts->SetDirectory(Beam3TIBDir);
01488   theHistogramNames.push_back("Beam3TIBPosition2");
01489   theBeam3TIBPosition3AdcCounts = new TH1D("AdcCountsZ=180mm","Adc counts for Beam 3 at z = 180 mm", 512, 0, 511);
01490   theBeam3TIBPosition3AdcCounts->SetDirectory(Beam3TIBDir);
01491   theHistogramNames.push_back("Beam3TIBPosition3");
01492   theBeam3TIBPosition4AdcCounts = new TH1D("AdcCountsZ=-100mm","Adc counts for Beam 3 at z = -100 mm", 512, 0, 511);
01493   theBeam3TIBPosition4AdcCounts->SetDirectory(Beam3TIBDir);
01494   theHistogramNames.push_back("Beam3TIBPosition4");
01495   theBeam3TIBPosition5AdcCounts = new TH1D("AdcCountsZ=-340mm","Adc counts for Beam 3 at z = -340 mm", 512, 0, 511);
01496   theBeam3TIBPosition5AdcCounts->SetDirectory(Beam3TIBDir);
01497   theHistogramNames.push_back("Beam3TIBPosition5");
01498   theBeam3TIBPosition6AdcCounts = new TH1D("AdcCountsZ=-540mm","Adc counts for Beam 3 at z = -540 mm", 512, 0, 511);
01499   theBeam3TIBPosition6AdcCounts->SetDirectory(Beam3TIBDir);
01500   theHistogramNames.push_back("Beam3TIBPosition6");
01501   // }}}
01502 
01503   // {{{ ----- Adc Counts in Beam 4
01504   theBeam4TIBPosition1AdcCounts = new TH1D("AdcCountsZ=620mm","Adc counts for Beam 4 at z = 620 mm", 512, 0, 511);
01505   theBeam4TIBPosition1AdcCounts->SetDirectory(Beam4TIBDir);
01506   theHistogramNames.push_back("Beam4TIBPosition1");
01507   theBeam4TIBPosition2AdcCounts = new TH1D("AdcCountsZ=380mm","Adc counts for Beam 4 at z = 380 mm", 512, 0, 511);
01508   theBeam4TIBPosition2AdcCounts->SetDirectory(Beam4TIBDir);
01509   theHistogramNames.push_back("Beam4TIBPosition2");
01510   theBeam4TIBPosition3AdcCounts = new TH1D("AdcCountsZ=180mm","Adc counts for Beam 4 at z = 180 mm", 512, 0, 511);
01511   theBeam4TIBPosition3AdcCounts->SetDirectory(Beam4TIBDir);
01512   theHistogramNames.push_back("Beam4TIBPosition3");
01513   theBeam4TIBPosition4AdcCounts = new TH1D("AdcCountsZ=-100mm","Adc counts for Beam 4 at z = -100 mm", 512, 0, 511);
01514   theBeam4TIBPosition4AdcCounts->SetDirectory(Beam4TIBDir);
01515   theHistogramNames.push_back("Beam4TIBPosition4");
01516   theBeam4TIBPosition5AdcCounts = new TH1D("AdcCountsZ=-340mm","Adc counts for Beam 4 at z = -340 mm", 512, 0, 511);
01517   theBeam4TIBPosition5AdcCounts->SetDirectory(Beam4TIBDir);
01518   theHistogramNames.push_back("Beam4TIBPosition5");
01519   theBeam4TIBPosition6AdcCounts = new TH1D("AdcCountsZ=-540mm","Adc counts for Beam 4 at z = -540 mm", 512, 0, 511);
01520   theBeam4TIBPosition6AdcCounts->SetDirectory(Beam4TIBDir);
01521   theHistogramNames.push_back("Beam4TIBPosition6");
01522   // }}}
01523 
01524   // {{{ ----- Adc Counts in Beam 5
01525   theBeam5TIBPosition1AdcCounts = new TH1D("AdcCountsZ=620mm","Adc counts for Beam 5 at z = 620 mm", 512, 0, 511);
01526   theBeam5TIBPosition1AdcCounts->SetDirectory(Beam5TIBDir);
01527   theHistogramNames.push_back("Beam5TIBPosition1");
01528   theBeam5TIBPosition2AdcCounts = new TH1D("AdcCountsZ=380mm","Adc counts for Beam 5 at z = 380 mm", 512, 0, 511);
01529   theBeam5TIBPosition2AdcCounts->SetDirectory(Beam5TIBDir);
01530   theHistogramNames.push_back("Beam5TIBPosition2");
01531   theBeam5TIBPosition3AdcCounts = new TH1D("AdcCountsZ=180mm","Adc counts for Beam 5 at z = 180 mm", 512, 0, 511);
01532   theBeam5TIBPosition3AdcCounts->SetDirectory(Beam5TIBDir);
01533   theHistogramNames.push_back("Beam5TIBPosition3");
01534   theBeam5TIBPosition4AdcCounts = new TH1D("AdcCountsZ=-100mm","Adc counts for Beam 5 at z = -100 mm", 512, 0, 511);
01535   theBeam5TIBPosition4AdcCounts->SetDirectory(Beam5TIBDir);
01536   theHistogramNames.push_back("Beam5TIBPosition4");
01537   theBeam5TIBPosition5AdcCounts = new TH1D("AdcCountsZ=-340mm","Adc counts for Beam 5 at z = -340 mm", 512, 0, 511);
01538   theBeam5TIBPosition5AdcCounts->SetDirectory(Beam5TIBDir);
01539   theHistogramNames.push_back("Beam5TIBPosition5");
01540   theBeam5TIBPosition6AdcCounts = new TH1D("AdcCountsZ=-540mm","Adc counts for Beam 5 at z = -540 mm", 512, 0, 511);
01541   theBeam5TIBPosition6AdcCounts->SetDirectory(Beam5TIBDir);
01542   theHistogramNames.push_back("Beam5TIBPosition6");
01543   // }}}
01544 
01545   // {{{ ----- Adc Counts in Beam 6
01546   theBeam6TIBPosition1AdcCounts = new TH1D("AdcCountsZ=620mm","Adc counts for Beam 6 at z = 620 mm", 512, 0, 511);
01547   theBeam6TIBPosition1AdcCounts->SetDirectory(Beam6TIBDir);
01548   theHistogramNames.push_back("Beam6TIBPosition1");
01549   theBeam6TIBPosition2AdcCounts = new TH1D("AdcCountsZ=380mm","Adc counts for Beam 6 at z = 380 mm", 512, 0, 511);
01550   theBeam6TIBPosition2AdcCounts->SetDirectory(Beam6TIBDir);
01551   theHistogramNames.push_back("Beam6TIBPosition2");
01552   theBeam6TIBPosition3AdcCounts = new TH1D("AdcCountsZ=180mm","Adc counts for Beam 6 at z = 180 mm", 512, 0, 511);
01553   theBeam6TIBPosition3AdcCounts->SetDirectory(Beam6TIBDir);
01554   theHistogramNames.push_back("Beam6TIBPosition3");
01555   theBeam6TIBPosition4AdcCounts = new TH1D("AdcCountsZ=-100mm","Adc counts for Beam 6 at z = -100 mm", 512, 0, 511);
01556   theBeam6TIBPosition4AdcCounts->SetDirectory(Beam6TIBDir);
01557   theHistogramNames.push_back("Beam6TIBPosition4");
01558   theBeam6TIBPosition5AdcCounts = new TH1D("AdcCountsZ=-340mm","Adc counts for Beam 6 at z = -340 mm", 512, 0, 511);
01559   theBeam6TIBPosition5AdcCounts->SetDirectory(Beam6TIBDir);
01560   theHistogramNames.push_back("Beam6TIBPosition5");
01561   theBeam6TIBPosition6AdcCounts = new TH1D("AdcCountsZ=-540mm","Adc counts for Beam 6 at z = -540 mm", 512, 0, 511);
01562   theBeam6TIBPosition6AdcCounts->SetDirectory(Beam6TIBDir);
01563   theHistogramNames.push_back("Beam6TIBPosition6");
01564   // }}}
01565 
01566   // {{{ ----- Adc Counts in Beam 7
01567   theBeam7TIBPosition1AdcCounts = new TH1D("AdcCountsZ=620mm","Adc counts for Beam 7 at z = 620 mm", 512, 0, 511);
01568   theBeam7TIBPosition1AdcCounts->SetDirectory(Beam7TIBDir);
01569   theHistogramNames.push_back("Beam7TIBPosition1");
01570   theBeam7TIBPosition2AdcCounts = new TH1D("AdcCountsZ=380mm","Adc counts for Beam 7 at z = 380 mm", 512, 0, 511);
01571   theBeam7TIBPosition2AdcCounts->SetDirectory(Beam7TIBDir);
01572   theHistogramNames.push_back("Beam7TIBPosition2");
01573   theBeam7TIBPosition3AdcCounts = new TH1D("AdcCountsZ=180mm","Adc counts for Beam 7 at z = 180 mm", 512, 0, 511);
01574   theBeam7TIBPosition3AdcCounts->SetDirectory(Beam7TIBDir);
01575   theHistogramNames.push_back("Beam7TIBPosition3");
01576   theBeam7TIBPosition4AdcCounts = new TH1D("AdcCountsZ=-100mm","Adc counts for Beam 7 at z = -100 mm", 512, 0, 511);
01577   theBeam7TIBPosition4AdcCounts->SetDirectory(Beam7TIBDir);
01578   theHistogramNames.push_back("Beam7TIBPosition4");
01579   theBeam7TIBPosition5AdcCounts = new TH1D("AdcCountsZ=-340mm","Adc counts for Beam 7 at z = -340 mm", 512, 0, 511);
01580   theBeam7TIBPosition5AdcCounts->SetDirectory(Beam7TIBDir);
01581   theHistogramNames.push_back("Beam7TIBPosition5");
01582   theBeam7TIBPosition6AdcCounts = new TH1D("AdcCountsZ=-540mm","Adc counts for Beam 7 at z = -540 mm", 512, 0, 511);
01583   theBeam7TIBPosition6AdcCounts->SetDirectory(Beam7TIBDir);
01584   theHistogramNames.push_back("Beam7TIBPosition6");
01585   // }}}
01586 
01587 }

Generated on Tue Jun 9 17:24:04 2009 for CMSSW by  doxygen 1.5.4