Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:28

0001 /** \file LaserDQMInitMonitors.cc
0002  *  Initialisation of the DQM Monitors
0003  *
0004  *  $Date: 2007/12/04 23:54:44 $
0005  *  $Revision: 1.3 $
0006  *  \author Maarten Thomas
0007  */
0008 
0009 #include "Alignment/LaserDQM/plugins/LaserDQM.h"
0010 
0011 void LaserDQM::initMonitors() {
0012   /* LaserBeams in the TEC+ */
0013   //  ----- Adc counts for Beam 0 in Ring 4
0014   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring4/Beam0");
0015   theMEBeam0Ring4Disc1PosAdcCounts =
0016       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 0 in Ring 4", 512, 0, 511);
0017   theMEBeam0Ring4Disc2PosAdcCounts =
0018       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 0 in Ring 4", 512, 0, 511);
0019   theMEBeam0Ring4Disc3PosAdcCounts =
0020       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 0 in Ring 4", 512, 0, 511);
0021   theMEBeam0Ring4Disc4PosAdcCounts =
0022       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 0 in Ring 4", 512, 0, 511);
0023   theMEBeam0Ring4Disc5PosAdcCounts =
0024       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 0 in Ring 4", 512, 0, 511);
0025   theMEBeam0Ring4Disc6PosAdcCounts =
0026       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 0 in Ring 4", 512, 0, 511);
0027   theMEBeam0Ring4Disc7PosAdcCounts =
0028       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 0 in Ring 4", 512, 0, 511);
0029   theMEBeam0Ring4Disc8PosAdcCounts =
0030       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 0 in Ring 4", 512, 0, 511);
0031   theMEBeam0Ring4Disc9PosAdcCounts =
0032       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 0 in Ring 4", 512, 0, 511);
0033 
0034   // ----- Adc counts for Beam 1 in Ring 4
0035   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring4/Beam1");
0036   theMEBeam1Ring4Disc1PosAdcCounts =
0037       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 1 in Ring 4", 512, 0, 511);
0038   theMEBeam1Ring4Disc2PosAdcCounts =
0039       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 1 in Ring 4", 512, 0, 511);
0040   theMEBeam1Ring4Disc3PosAdcCounts =
0041       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 1 in Ring 4", 512, 0, 511);
0042   theMEBeam1Ring4Disc4PosAdcCounts =
0043       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 1 in Ring 4", 512, 0, 511);
0044   theMEBeam1Ring4Disc5PosAdcCounts =
0045       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 1 in Ring 4", 512, 0, 511);
0046   theMEBeam1Ring4Disc6PosAdcCounts =
0047       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 1 in Ring 4", 512, 0, 511);
0048   theMEBeam1Ring4Disc7PosAdcCounts =
0049       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 1 in Ring 4", 512, 0, 511);
0050   theMEBeam1Ring4Disc8PosAdcCounts =
0051       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 1 in Ring 4", 512, 0, 511);
0052   theMEBeam1Ring4Disc9PosAdcCounts =
0053       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 1 in Ring 4", 512, 0, 511);
0054 
0055   // plots for TEC2TEC beam 1
0056   theMEBeam1Ring4Disc1PosTEC2TECAdcCounts =
0057       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 1 in Ring 4", 512, 0, 511);
0058   theMEBeam1Ring4Disc2PosTEC2TECAdcCounts =
0059       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 1 in Ring 4", 512, 0, 511);
0060   theMEBeam1Ring4Disc3PosTEC2TECAdcCounts =
0061       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 1 in Ring 4", 512, 0, 511);
0062   theMEBeam1Ring4Disc4PosTEC2TECAdcCounts =
0063       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 1 in Ring 4", 512, 0, 511);
0064   theMEBeam1Ring4Disc5PosTEC2TECAdcCounts =
0065       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 1 in Ring 4", 512, 0, 511);
0066 
0067   // ----- Adc counts for Beam 2 in Ring 4
0068   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring4/Beam2");
0069   theMEBeam2Ring4Disc1PosAdcCounts =
0070       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 2 in Ring 4", 512, 0, 511);
0071   theMEBeam2Ring4Disc2PosAdcCounts =
0072       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 2 in Ring 4", 512, 0, 511);
0073   theMEBeam2Ring4Disc3PosAdcCounts =
0074       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 2 in Ring 4", 512, 0, 511);
0075   theMEBeam2Ring4Disc4PosAdcCounts =
0076       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 2 in Ring 4", 512, 0, 511);
0077   theMEBeam2Ring4Disc5PosAdcCounts =
0078       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 2 in Ring 4", 512, 0, 511);
0079   theMEBeam2Ring4Disc6PosAdcCounts =
0080       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 2 in Ring 4", 512, 0, 511);
0081   theMEBeam2Ring4Disc7PosAdcCounts =
0082       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 2 in Ring 4", 512, 0, 511);
0083   theMEBeam2Ring4Disc8PosAdcCounts =
0084       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 2 in Ring 4", 512, 0, 511);
0085   theMEBeam2Ring4Disc9PosAdcCounts =
0086       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 2 in Ring 4", 512, 0, 511);
0087 
0088   // plots for TEC2TEC beam 2
0089   theMEBeam2Ring4Disc1PosTEC2TECAdcCounts =
0090       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 2 in Ring 4", 512, 0, 511);
0091   theMEBeam2Ring4Disc2PosTEC2TECAdcCounts =
0092       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 2 in Ring 4", 512, 0, 511);
0093   theMEBeam2Ring4Disc3PosTEC2TECAdcCounts =
0094       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 2 in Ring 4", 512, 0, 511);
0095   theMEBeam2Ring4Disc4PosTEC2TECAdcCounts =
0096       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 2 in Ring 4", 512, 0, 511);
0097   theMEBeam2Ring4Disc5PosTEC2TECAdcCounts =
0098       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 2 in Ring 4", 512, 0, 511);
0099 
0100   // ----- Adc counts for Beam 3 in Ring 4
0101   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring4/Beam3");
0102   theMEBeam3Ring4Disc1PosAdcCounts =
0103       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 3 in Ring 4", 512, 0, 511);
0104   theMEBeam3Ring4Disc2PosAdcCounts =
0105       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 3 in Ring 4", 512, 0, 511);
0106   theMEBeam3Ring4Disc3PosAdcCounts =
0107       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 3 in Ring 4", 512, 0, 511);
0108   theMEBeam3Ring4Disc4PosAdcCounts =
0109       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 3 in Ring 4", 512, 0, 511);
0110   theMEBeam3Ring4Disc5PosAdcCounts =
0111       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 3 in Ring 4", 512, 0, 511);
0112   theMEBeam3Ring4Disc6PosAdcCounts =
0113       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 3 in Ring 4", 512, 0, 511);
0114   theMEBeam3Ring4Disc7PosAdcCounts =
0115       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 3 in Ring 4", 512, 0, 511);
0116   theMEBeam3Ring4Disc8PosAdcCounts =
0117       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 3 in Ring 4", 512, 0, 511);
0118   theMEBeam3Ring4Disc9PosAdcCounts =
0119       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 3 in Ring 4", 512, 0, 511);
0120 
0121   // ----- Adc counts for Beam 4 in Ring 4
0122   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring4/Beam4");
0123   theMEBeam4Ring4Disc1PosAdcCounts =
0124       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 4 in Ring 4", 512, 0, 511);
0125   theMEBeam4Ring4Disc2PosAdcCounts =
0126       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 4 in Ring 4", 512, 0, 511);
0127   theMEBeam4Ring4Disc3PosAdcCounts =
0128       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 4 in Ring 4", 512, 0, 511);
0129   theMEBeam4Ring4Disc4PosAdcCounts =
0130       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 4 in Ring 4", 512, 0, 511);
0131   theMEBeam4Ring4Disc5PosAdcCounts =
0132       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 4 in Ring 4", 512, 0, 511);
0133   theMEBeam4Ring4Disc6PosAdcCounts =
0134       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 4 in Ring 4", 512, 0, 511);
0135   theMEBeam4Ring4Disc7PosAdcCounts =
0136       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 4 in Ring 4", 512, 0, 511);
0137   theMEBeam4Ring4Disc8PosAdcCounts =
0138       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 4 in Ring 4", 512, 0, 511);
0139   theMEBeam4Ring4Disc9PosAdcCounts =
0140       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 4 in Ring 4", 512, 0, 511);
0141 
0142   // plots for TEC2TEC beam 4
0143   theMEBeam4Ring4Disc1PosTEC2TECAdcCounts =
0144       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 4 in Ring 4", 512, 0, 511);
0145   theMEBeam4Ring4Disc2PosTEC2TECAdcCounts =
0146       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 4 in Ring 4", 512, 0, 511);
0147   theMEBeam4Ring4Disc3PosTEC2TECAdcCounts =
0148       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 4 in Ring 4", 512, 0, 511);
0149   theMEBeam4Ring4Disc4PosTEC2TECAdcCounts =
0150       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 4 in Ring 4", 512, 0, 511);
0151   theMEBeam4Ring4Disc5PosTEC2TECAdcCounts =
0152       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 4 in Ring 4", 512, 0, 511);
0153 
0154   // ----- Adc counts for Beam 5 in Ring 4
0155   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring4/Beam5");
0156   theMEBeam5Ring4Disc1PosAdcCounts =
0157       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 5 in Ring 4", 512, 0, 511);
0158   theMEBeam5Ring4Disc2PosAdcCounts =
0159       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 5 in Ring 4", 512, 0, 511);
0160   theMEBeam5Ring4Disc3PosAdcCounts =
0161       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 5 in Ring 4", 512, 0, 511);
0162   theMEBeam5Ring4Disc4PosAdcCounts =
0163       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 5 in Ring 4", 512, 0, 511);
0164   theMEBeam5Ring4Disc5PosAdcCounts =
0165       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 5 in Ring 4", 512, 0, 511);
0166   theMEBeam5Ring4Disc6PosAdcCounts =
0167       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 5 in Ring 4", 512, 0, 511);
0168   theMEBeam5Ring4Disc7PosAdcCounts =
0169       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 5 in Ring 4", 512, 0, 511);
0170   theMEBeam5Ring4Disc8PosAdcCounts =
0171       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 5 in Ring 4", 512, 0, 511);
0172   theMEBeam5Ring4Disc9PosAdcCounts =
0173       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 5 in Ring 4", 512, 0, 511);
0174 
0175   // ----- Adc counts for Beam 6 in Ring 4
0176   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring4/Beam6");
0177   theMEBeam6Ring4Disc1PosAdcCounts =
0178       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 6 in Ring 4", 512, 0, 511);
0179   theMEBeam6Ring4Disc2PosAdcCounts =
0180       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 6 in Ring 4", 512, 0, 511);
0181   theMEBeam6Ring4Disc3PosAdcCounts =
0182       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 6 in Ring 4", 512, 0, 511);
0183   theMEBeam6Ring4Disc4PosAdcCounts =
0184       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 6 in Ring 4", 512, 0, 511);
0185   theMEBeam6Ring4Disc5PosAdcCounts =
0186       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 6 in Ring 4", 512, 0, 511);
0187   theMEBeam6Ring4Disc6PosAdcCounts =
0188       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 6 in Ring 4", 512, 0, 511);
0189   theMEBeam6Ring4Disc7PosAdcCounts =
0190       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 6 in Ring 4", 512, 0, 511);
0191   theMEBeam6Ring4Disc8PosAdcCounts =
0192       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 6 in Ring 4", 512, 0, 511);
0193   theMEBeam6Ring4Disc9PosAdcCounts =
0194       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 6 in Ring 4", 512, 0, 511);
0195 
0196   // plots for TEC2TEC beam 6
0197   theMEBeam6Ring4Disc1PosTEC2TECAdcCounts =
0198       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 6 in Ring 4", 512, 0, 511);
0199   theMEBeam6Ring4Disc2PosTEC2TECAdcCounts =
0200       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 6 in Ring 4", 512, 0, 511);
0201   theMEBeam6Ring4Disc3PosTEC2TECAdcCounts =
0202       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 6 in Ring 4", 512, 0, 511);
0203   theMEBeam6Ring4Disc4PosTEC2TECAdcCounts =
0204       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 6 in Ring 4", 512, 0, 511);
0205   theMEBeam6Ring4Disc5PosTEC2TECAdcCounts =
0206       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 6 in Ring 4", 512, 0, 511);
0207 
0208   // ----- Adc counts for Beam 7 in Ring 4
0209   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring4/Beam7");
0210   theMEBeam7Ring4Disc1PosAdcCounts =
0211       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 7 in Ring 4", 512, 0, 511);
0212   theMEBeam7Ring4Disc2PosAdcCounts =
0213       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 7 in Ring 4", 512, 0, 511);
0214   theMEBeam7Ring4Disc3PosAdcCounts =
0215       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 7 in Ring 4", 512, 0, 511);
0216   theMEBeam7Ring4Disc4PosAdcCounts =
0217       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 7 in Ring 4", 512, 0, 511);
0218   theMEBeam7Ring4Disc5PosAdcCounts =
0219       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 7 in Ring 4", 512, 0, 511);
0220   theMEBeam7Ring4Disc6PosAdcCounts =
0221       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 7 in Ring 4", 512, 0, 511);
0222   theMEBeam7Ring4Disc7PosAdcCounts =
0223       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 7 in Ring 4", 512, 0, 511);
0224   theMEBeam7Ring4Disc8PosAdcCounts =
0225       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 7 in Ring 4", 512, 0, 511);
0226   theMEBeam7Ring4Disc9PosAdcCounts =
0227       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 7 in Ring 4", 512, 0, 511);
0228 
0229   // plots for TEC2TEC beam 7
0230   theMEBeam7Ring4Disc1PosTEC2TECAdcCounts =
0231       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 7 in Ring 4", 512, 0, 511);
0232   theMEBeam7Ring4Disc2PosTEC2TECAdcCounts =
0233       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 7 in Ring 4", 512, 0, 511);
0234   theMEBeam7Ring4Disc3PosTEC2TECAdcCounts =
0235       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 7 in Ring 4", 512, 0, 511);
0236   theMEBeam7Ring4Disc4PosTEC2TECAdcCounts =
0237       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 7 in Ring 4", 512, 0, 511);
0238   theMEBeam7Ring4Disc5PosTEC2TECAdcCounts =
0239       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 7 in Ring 4", 512, 0, 511);
0240 
0241   // ----- Adc counts for Beam 0 in Ring 6
0242   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring6/Beam0");
0243   theMEBeam0Ring6Disc1PosAdcCounts =
0244       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 0 in Ring 6", 512, 0, 511);
0245   theMEBeam0Ring6Disc2PosAdcCounts =
0246       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 0 in Ring 6", 512, 0, 511);
0247   theMEBeam0Ring6Disc3PosAdcCounts =
0248       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 0 in Ring 6", 512, 0, 511);
0249   theMEBeam0Ring6Disc4PosAdcCounts =
0250       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 0 in Ring 6", 512, 0, 511);
0251   theMEBeam0Ring6Disc5PosAdcCounts =
0252       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 0 in Ring 6", 512, 0, 511);
0253   theMEBeam0Ring6Disc6PosAdcCounts =
0254       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 0 in Ring 6", 512, 0, 511);
0255   theMEBeam0Ring6Disc7PosAdcCounts =
0256       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 0 in Ring 6", 512, 0, 511);
0257   theMEBeam0Ring6Disc8PosAdcCounts =
0258       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 0 in Ring 6", 512, 0, 511);
0259   theMEBeam0Ring6Disc9PosAdcCounts =
0260       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 0 in Ring 6", 512, 0, 511);
0261 
0262   // ----- Adc counts for Beam 1 in Ring 6
0263   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring6/Beam1");
0264   theMEBeam1Ring6Disc1PosAdcCounts =
0265       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 1 in Ring 6", 512, 0, 511);
0266   theMEBeam1Ring6Disc2PosAdcCounts =
0267       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 1 in Ring 6", 512, 0, 511);
0268   theMEBeam1Ring6Disc3PosAdcCounts =
0269       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 1 in Ring 6", 512, 0, 511);
0270   theMEBeam1Ring6Disc4PosAdcCounts =
0271       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 1 in Ring 6", 512, 0, 511);
0272   theMEBeam1Ring6Disc5PosAdcCounts =
0273       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 1 in Ring 6", 512, 0, 511);
0274   theMEBeam1Ring6Disc6PosAdcCounts =
0275       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 1 in Ring 6", 512, 0, 511);
0276   theMEBeam1Ring6Disc7PosAdcCounts =
0277       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 1 in Ring 6", 512, 0, 511);
0278   theMEBeam1Ring6Disc8PosAdcCounts =
0279       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 1 in Ring 6", 512, 0, 511);
0280   theMEBeam1Ring6Disc9PosAdcCounts =
0281       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 1 in Ring 6", 512, 0, 511);
0282 
0283   // ----- Adc counts for Beam 2 in Ring 6
0284   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring6/Beam2");
0285   theMEBeam2Ring6Disc1PosAdcCounts =
0286       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 2 in Ring 6", 512, 0, 511);
0287   theMEBeam2Ring6Disc2PosAdcCounts =
0288       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 2 in Ring 6", 512, 0, 511);
0289   theMEBeam2Ring6Disc3PosAdcCounts =
0290       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 2 in Ring 6", 512, 0, 511);
0291   theMEBeam2Ring6Disc4PosAdcCounts =
0292       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 2 in Ring 6", 512, 0, 511);
0293   theMEBeam2Ring6Disc5PosAdcCounts =
0294       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 2 in Ring 6", 512, 0, 511);
0295   theMEBeam2Ring6Disc6PosAdcCounts =
0296       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 2 in Ring 6", 512, 0, 511);
0297   theMEBeam2Ring6Disc7PosAdcCounts =
0298       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 2 in Ring 6", 512, 0, 511);
0299   theMEBeam2Ring6Disc8PosAdcCounts =
0300       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 2 in Ring 6", 512, 0, 511);
0301   theMEBeam2Ring6Disc9PosAdcCounts =
0302       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 2 in Ring 6", 512, 0, 511);
0303 
0304   // ----- Adc counts for Beam 3 in Ring 6
0305   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring6/Beam3");
0306   theMEBeam3Ring6Disc1PosAdcCounts =
0307       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 3 in Ring 6", 512, 0, 511);
0308   theMEBeam3Ring6Disc2PosAdcCounts =
0309       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 3 in Ring 6", 512, 0, 511);
0310   theMEBeam3Ring6Disc3PosAdcCounts =
0311       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 3 in Ring 6", 512, 0, 511);
0312   theMEBeam3Ring6Disc4PosAdcCounts =
0313       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 3 in Ring 6", 512, 0, 511);
0314   theMEBeam3Ring6Disc5PosAdcCounts =
0315       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 3 in Ring 6", 512, 0, 511);
0316   theMEBeam3Ring6Disc6PosAdcCounts =
0317       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 3 in Ring 6", 512, 0, 511);
0318   theMEBeam3Ring6Disc7PosAdcCounts =
0319       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 3 in Ring 6", 512, 0, 511);
0320   theMEBeam3Ring6Disc8PosAdcCounts =
0321       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 3 in Ring 6", 512, 0, 511);
0322   theMEBeam3Ring6Disc9PosAdcCounts =
0323       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 3 in Ring 6", 512, 0, 511);
0324 
0325   // ----- Adc counts for Beam 4 in Ring 6
0326   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring6/Beam4");
0327   theMEBeam4Ring6Disc1PosAdcCounts =
0328       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 4 in Ring 6", 512, 0, 511);
0329   theMEBeam4Ring6Disc2PosAdcCounts =
0330       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 4 in Ring 6", 512, 0, 511);
0331   theMEBeam4Ring6Disc3PosAdcCounts =
0332       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 4 in Ring 6", 512, 0, 511);
0333   theMEBeam4Ring6Disc4PosAdcCounts =
0334       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 4 in Ring 6", 512, 0, 511);
0335   theMEBeam4Ring6Disc5PosAdcCounts =
0336       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 4 in Ring 6", 512, 0, 511);
0337   theMEBeam4Ring6Disc6PosAdcCounts =
0338       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 4 in Ring 6", 512, 0, 511);
0339   theMEBeam4Ring6Disc7PosAdcCounts =
0340       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 4 in Ring 6", 512, 0, 511);
0341   theMEBeam4Ring6Disc8PosAdcCounts =
0342       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 4 in Ring 6", 512, 0, 511);
0343   theMEBeam4Ring6Disc9PosAdcCounts =
0344       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 4 in Ring 6", 512, 0, 511);
0345 
0346   // ----- Adc counts for Beam 5 in Ring 6
0347   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring6/Beam5");
0348   theMEBeam5Ring6Disc1PosAdcCounts =
0349       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 5 in Ring 6", 512, 0, 511);
0350   theMEBeam5Ring6Disc2PosAdcCounts =
0351       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 5 in Ring 6", 512, 0, 511);
0352   theMEBeam5Ring6Disc3PosAdcCounts =
0353       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 5 in Ring 6", 512, 0, 511);
0354   theMEBeam5Ring6Disc4PosAdcCounts =
0355       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 5 in Ring 6", 512, 0, 511);
0356   theMEBeam5Ring6Disc5PosAdcCounts =
0357       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 5 in Ring 6", 512, 0, 511);
0358   theMEBeam5Ring6Disc6PosAdcCounts =
0359       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 5 in Ring 6", 512, 0, 511);
0360   theMEBeam5Ring6Disc7PosAdcCounts =
0361       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 5 in Ring 6", 512, 0, 511);
0362   theMEBeam5Ring6Disc8PosAdcCounts =
0363       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 5 in Ring 6", 512, 0, 511);
0364   theMEBeam5Ring6Disc9PosAdcCounts =
0365       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 5 in Ring 6", 512, 0, 511);
0366 
0367   // ----- Adc counts for Beam 6 in Ring 6
0368   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring6/Beam6");
0369   theMEBeam6Ring6Disc1PosAdcCounts =
0370       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 6 in Ring 6", 512, 0, 511);
0371   theMEBeam6Ring6Disc2PosAdcCounts =
0372       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 6 in Ring 6", 512, 0, 511);
0373   theMEBeam6Ring6Disc3PosAdcCounts =
0374       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 6 in Ring 6", 512, 0, 511);
0375   theMEBeam6Ring6Disc4PosAdcCounts =
0376       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 6 in Ring 6", 512, 0, 511);
0377   theMEBeam6Ring6Disc5PosAdcCounts =
0378       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 6 in Ring 6", 512, 0, 511);
0379   theMEBeam6Ring6Disc6PosAdcCounts =
0380       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 6 in Ring 6", 512, 0, 511);
0381   theMEBeam6Ring6Disc7PosAdcCounts =
0382       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 6 in Ring 6", 512, 0, 511);
0383   theMEBeam6Ring6Disc8PosAdcCounts =
0384       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 6 in Ring 6", 512, 0, 511);
0385   theMEBeam6Ring6Disc9PosAdcCounts =
0386       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 6 in Ring 6", 512, 0, 511);
0387 
0388   // ----- Adc counts for Beam 7 in Ring 6
0389   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/PosTEC/Ring6/Beam7");
0390   theMEBeam7Ring6Disc1PosAdcCounts =
0391       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 7 in Ring 6", 512, 0, 511);
0392   theMEBeam7Ring6Disc2PosAdcCounts =
0393       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 7 in Ring 6", 512, 0, 511);
0394   theMEBeam7Ring6Disc3PosAdcCounts =
0395       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 7 in Ring 6", 512, 0, 511);
0396   theMEBeam7Ring6Disc4PosAdcCounts =
0397       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 7 in Ring 6", 512, 0, 511);
0398   theMEBeam7Ring6Disc5PosAdcCounts =
0399       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 7 in Ring 6", 512, 0, 511);
0400   theMEBeam7Ring6Disc6PosAdcCounts =
0401       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 7 in Ring 6", 512, 0, 511);
0402   theMEBeam7Ring6Disc7PosAdcCounts =
0403       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 7 in Ring 6", 512, 0, 511);
0404   theMEBeam7Ring6Disc8PosAdcCounts =
0405       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 7 in Ring 6", 512, 0, 511);
0406   theMEBeam7Ring6Disc9PosAdcCounts =
0407       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 7 in Ring 6", 512, 0, 511);
0408 
0409   /* LaserBeams in the TEC- */
0410   // ----- Adc counts for Beam 0 in Ring 4
0411   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring4/Beam0");
0412   theMEBeam0Ring4Disc1NegAdcCounts =
0413       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 0 in Ring 4", 512, 0, 511);
0414   theMEBeam0Ring4Disc2NegAdcCounts =
0415       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 0 in Ring 4", 512, 0, 511);
0416   theMEBeam0Ring4Disc3NegAdcCounts =
0417       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 0 in Ring 4", 512, 0, 511);
0418   theMEBeam0Ring4Disc4NegAdcCounts =
0419       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 0 in Ring 4", 512, 0, 511);
0420   theMEBeam0Ring4Disc5NegAdcCounts =
0421       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 0 in Ring 4", 512, 0, 511);
0422   theMEBeam0Ring4Disc6NegAdcCounts =
0423       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 0 in Ring 4", 512, 0, 511);
0424   theMEBeam0Ring4Disc7NegAdcCounts =
0425       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 0 in Ring 4", 512, 0, 511);
0426   theMEBeam0Ring4Disc8NegAdcCounts =
0427       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 0 in Ring 4", 512, 0, 511);
0428   theMEBeam0Ring4Disc9NegAdcCounts =
0429       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 0 in Ring 4", 512, 0, 511);
0430 
0431   // ----- Adc counts for Beam 1 in Ring 4
0432   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring4/Beam1");
0433   theMEBeam1Ring4Disc1NegAdcCounts =
0434       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 1 in Ring 4", 512, 0, 511);
0435   theMEBeam1Ring4Disc2NegAdcCounts =
0436       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 1 in Ring 4", 512, 0, 511);
0437   theMEBeam1Ring4Disc3NegAdcCounts =
0438       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 1 in Ring 4", 512, 0, 511);
0439   theMEBeam1Ring4Disc4NegAdcCounts =
0440       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 1 in Ring 4", 512, 0, 511);
0441   theMEBeam1Ring4Disc5NegAdcCounts =
0442       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 1 in Ring 4", 512, 0, 511);
0443   theMEBeam1Ring4Disc6NegAdcCounts =
0444       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 1 in Ring 4", 512, 0, 511);
0445   theMEBeam1Ring4Disc7NegAdcCounts =
0446       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 1 in Ring 4", 512, 0, 511);
0447   theMEBeam1Ring4Disc8NegAdcCounts =
0448       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 1 in Ring 4", 512, 0, 511);
0449   theMEBeam1Ring4Disc9NegAdcCounts =
0450       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 1 in Ring 4", 512, 0, 511);
0451 
0452   // plots for TEC2TEC beam 1
0453   theMEBeam1Ring4Disc1NegTEC2TECAdcCounts =
0454       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 1 in Ring 4", 512, 0, 511);
0455   theMEBeam1Ring4Disc2NegTEC2TECAdcCounts =
0456       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 1 in Ring 4", 512, 0, 511);
0457   theMEBeam1Ring4Disc3NegTEC2TECAdcCounts =
0458       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 1 in Ring 4", 512, 0, 511);
0459   theMEBeam1Ring4Disc4NegTEC2TECAdcCounts =
0460       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 1 in Ring 4", 512, 0, 511);
0461   theMEBeam1Ring4Disc5NegTEC2TECAdcCounts =
0462       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 1 in Ring 4", 512, 0, 511);
0463 
0464   // ----- Adc counts for Beam 2 in Ring 4
0465   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring4/Beam2");
0466   theMEBeam2Ring4Disc1NegAdcCounts =
0467       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 2 in Ring 4", 512, 0, 511);
0468   theMEBeam2Ring4Disc2NegAdcCounts =
0469       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 2 in Ring 4", 512, 0, 511);
0470   theMEBeam2Ring4Disc3NegAdcCounts =
0471       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 2 in Ring 4", 512, 0, 511);
0472   theMEBeam2Ring4Disc4NegAdcCounts =
0473       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 2 in Ring 4", 512, 0, 511);
0474   theMEBeam2Ring4Disc5NegAdcCounts =
0475       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 2 in Ring 4", 512, 0, 511);
0476   theMEBeam2Ring4Disc6NegAdcCounts =
0477       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 2 in Ring 4", 512, 0, 511);
0478   theMEBeam2Ring4Disc7NegAdcCounts =
0479       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 2 in Ring 4", 512, 0, 511);
0480   theMEBeam2Ring4Disc8NegAdcCounts =
0481       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 2 in Ring 4", 512, 0, 511);
0482   theMEBeam2Ring4Disc9NegAdcCounts =
0483       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 2 in Ring 4", 512, 0, 511);
0484 
0485   // plots for TEC2TEC beam 2
0486   theMEBeam2Ring4Disc1NegTEC2TECAdcCounts =
0487       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 2 in Ring 4", 512, 0, 511);
0488   theMEBeam2Ring4Disc2NegTEC2TECAdcCounts =
0489       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 2 in Ring 4", 512, 0, 511);
0490   theMEBeam2Ring4Disc3NegTEC2TECAdcCounts =
0491       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 2 in Ring 4", 512, 0, 511);
0492   theMEBeam2Ring4Disc4NegTEC2TECAdcCounts =
0493       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 2 in Ring 4", 512, 0, 511);
0494   theMEBeam2Ring4Disc5NegTEC2TECAdcCounts =
0495       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 2 in Ring 4", 512, 0, 511);
0496 
0497   // ----- Adc counts for Beam 3 in Ring 4
0498   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring4/Beam3");
0499   theMEBeam3Ring4Disc1NegAdcCounts =
0500       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 3 in Ring 4", 512, 0, 511);
0501   theMEBeam3Ring4Disc2NegAdcCounts =
0502       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 3 in Ring 4", 512, 0, 511);
0503   theMEBeam3Ring4Disc3NegAdcCounts =
0504       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 3 in Ring 4", 512, 0, 511);
0505   theMEBeam3Ring4Disc4NegAdcCounts =
0506       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 3 in Ring 4", 512, 0, 511);
0507   theMEBeam3Ring4Disc5NegAdcCounts =
0508       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 3 in Ring 4", 512, 0, 511);
0509   theMEBeam3Ring4Disc6NegAdcCounts =
0510       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 3 in Ring 4", 512, 0, 511);
0511   theMEBeam3Ring4Disc7NegAdcCounts =
0512       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 3 in Ring 4", 512, 0, 511);
0513   theMEBeam3Ring4Disc8NegAdcCounts =
0514       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 3 in Ring 4", 512, 0, 511);
0515   theMEBeam3Ring4Disc9NegAdcCounts =
0516       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 3 in Ring 4", 512, 0, 511);
0517 
0518   // ----- Adc counts for Beam 4 in Ring 4
0519   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring4/Beam4");
0520   theMEBeam4Ring4Disc1NegAdcCounts =
0521       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 4 in Ring 4", 512, 0, 511);
0522   theMEBeam4Ring4Disc2NegAdcCounts =
0523       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 4 in Ring 4", 512, 0, 511);
0524   theMEBeam4Ring4Disc3NegAdcCounts =
0525       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 4 in Ring 4", 512, 0, 511);
0526   theMEBeam4Ring4Disc4NegAdcCounts =
0527       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 4 in Ring 4", 512, 0, 511);
0528   theMEBeam4Ring4Disc5NegAdcCounts =
0529       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 4 in Ring 4", 512, 0, 511);
0530   theMEBeam4Ring4Disc6NegAdcCounts =
0531       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 4 in Ring 4", 512, 0, 511);
0532   theMEBeam4Ring4Disc7NegAdcCounts =
0533       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 4 in Ring 4", 512, 0, 511);
0534   theMEBeam4Ring4Disc8NegAdcCounts =
0535       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 4 in Ring 4", 512, 0, 511);
0536   theMEBeam4Ring4Disc9NegAdcCounts =
0537       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 4 in Ring 4", 512, 0, 511);
0538 
0539   // plots for TEC2TEC beam 4
0540   theMEBeam4Ring4Disc1NegTEC2TECAdcCounts =
0541       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 4 in Ring 4", 512, 0, 511);
0542   theMEBeam4Ring4Disc2NegTEC2TECAdcCounts =
0543       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 4 in Ring 4", 512, 0, 511);
0544   theMEBeam4Ring4Disc3NegTEC2TECAdcCounts =
0545       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 4 in Ring 4", 512, 0, 511);
0546   theMEBeam4Ring4Disc4NegTEC2TECAdcCounts =
0547       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 4 in Ring 4", 512, 0, 511);
0548   theMEBeam4Ring4Disc5NegTEC2TECAdcCounts =
0549       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 4 in Ring 4", 512, 0, 511);
0550 
0551   // ----- Adc counts for Beam 5 in Ring 4
0552   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring4/Beam5");
0553   theMEBeam5Ring4Disc1NegAdcCounts =
0554       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 5 in Ring 4", 512, 0, 511);
0555   theMEBeam5Ring4Disc2NegAdcCounts =
0556       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 5 in Ring 4", 512, 0, 511);
0557   theMEBeam5Ring4Disc3NegAdcCounts =
0558       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 5 in Ring 4", 512, 0, 511);
0559   theMEBeam5Ring4Disc4NegAdcCounts =
0560       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 5 in Ring 4", 512, 0, 511);
0561   theMEBeam5Ring4Disc5NegAdcCounts =
0562       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 5 in Ring 4", 512, 0, 511);
0563   theMEBeam5Ring4Disc6NegAdcCounts =
0564       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 5 in Ring 4", 512, 0, 511);
0565   theMEBeam5Ring4Disc7NegAdcCounts =
0566       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 5 in Ring 4", 512, 0, 511);
0567   theMEBeam5Ring4Disc8NegAdcCounts =
0568       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 5 in Ring 4", 512, 0, 511);
0569   theMEBeam5Ring4Disc9NegAdcCounts =
0570       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 5 in Ring 4", 512, 0, 511);
0571 
0572   // ----- Adc counts for Beam 6 in Ring 4
0573   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring4/Beam6");
0574   theMEBeam6Ring4Disc1NegAdcCounts =
0575       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 6 in Ring 4", 512, 0, 511);
0576   theMEBeam6Ring4Disc2NegAdcCounts =
0577       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 6 in Ring 4", 512, 0, 511);
0578   theMEBeam6Ring4Disc3NegAdcCounts =
0579       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 6 in Ring 4", 512, 0, 511);
0580   theMEBeam6Ring4Disc4NegAdcCounts =
0581       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 6 in Ring 4", 512, 0, 511);
0582   theMEBeam6Ring4Disc5NegAdcCounts =
0583       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 6 in Ring 4", 512, 0, 511);
0584   theMEBeam6Ring4Disc6NegAdcCounts =
0585       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 6 in Ring 4", 512, 0, 511);
0586   theMEBeam6Ring4Disc7NegAdcCounts =
0587       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 6 in Ring 4", 512, 0, 511);
0588   theMEBeam6Ring4Disc8NegAdcCounts =
0589       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 6 in Ring 4", 512, 0, 511);
0590   theMEBeam6Ring4Disc9NegAdcCounts =
0591       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 6 in Ring 4", 512, 0, 511);
0592 
0593   // plots for TEC2TEC beam 6
0594   theMEBeam6Ring4Disc1NegTEC2TECAdcCounts =
0595       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 6 in Ring 4", 512, 0, 511);
0596   theMEBeam6Ring4Disc2NegTEC2TECAdcCounts =
0597       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 6 in Ring 4", 512, 0, 511);
0598   theMEBeam6Ring4Disc3NegTEC2TECAdcCounts =
0599       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 6 in Ring 4", 512, 0, 511);
0600   theMEBeam6Ring4Disc4NegTEC2TECAdcCounts =
0601       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 6 in Ring 4", 512, 0, 511);
0602   theMEBeam6Ring4Disc5NegTEC2TECAdcCounts =
0603       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 6 in Ring 4", 512, 0, 511);
0604 
0605   // ----- Adc counts for Beam 7 in Ring 4
0606   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring4/Beam7");
0607   theMEBeam7Ring4Disc1NegAdcCounts =
0608       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 7 in Ring 4", 512, 0, 511);
0609   theMEBeam7Ring4Disc2NegAdcCounts =
0610       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 7 in Ring 4", 512, 0, 511);
0611   theMEBeam7Ring4Disc3NegAdcCounts =
0612       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 7 in Ring 4", 512, 0, 511);
0613   theMEBeam7Ring4Disc4NegAdcCounts =
0614       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 7 in Ring 4", 512, 0, 511);
0615   theMEBeam7Ring4Disc5NegAdcCounts =
0616       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 7 in Ring 4", 512, 0, 511);
0617   theMEBeam7Ring4Disc6NegAdcCounts =
0618       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 7 in Ring 4", 512, 0, 511);
0619   theMEBeam7Ring4Disc7NegAdcCounts =
0620       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 7 in Ring 4", 512, 0, 511);
0621   theMEBeam7Ring4Disc8NegAdcCounts =
0622       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 7 in Ring 4", 512, 0, 511);
0623   theMEBeam7Ring4Disc9NegAdcCounts =
0624       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 7 in Ring 4", 512, 0, 511);
0625 
0626   // plots for TEC2TEC beam 7
0627   theMEBeam7Ring4Disc1NegTEC2TECAdcCounts =
0628       theDaqMonitorBEI->book1D("AdcCountsDisc1TEC2TEC", "Adc counts on Disc 1 for Beam 7 in Ring 4", 512, 0, 511);
0629   theMEBeam7Ring4Disc2NegTEC2TECAdcCounts =
0630       theDaqMonitorBEI->book1D("AdcCountsDisc2TEC2TEC", "Adc counts on Disc 2 for Beam 7 in Ring 4", 512, 0, 511);
0631   theMEBeam7Ring4Disc3NegTEC2TECAdcCounts =
0632       theDaqMonitorBEI->book1D("AdcCountsDisc3TEC2TEC", "Adc counts on Disc 3 for Beam 7 in Ring 4", 512, 0, 511);
0633   theMEBeam7Ring4Disc4NegTEC2TECAdcCounts =
0634       theDaqMonitorBEI->book1D("AdcCountsDisc4TEC2TEC", "Adc counts on Disc 4 for Beam 7 in Ring 4", 512, 0, 511);
0635   theMEBeam7Ring4Disc5NegTEC2TECAdcCounts =
0636       theDaqMonitorBEI->book1D("AdcCountsDisc5TEC2TEC", "Adc counts on Disc 5 for Beam 7 in Ring 4", 512, 0, 511);
0637 
0638   // ----- Adc counts for Beam 0 in Ring 6
0639   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring6/Beam0");
0640   theMEBeam0Ring6Disc1NegAdcCounts =
0641       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 0 in Ring 6", 512, 0, 511);
0642   theMEBeam0Ring6Disc2NegAdcCounts =
0643       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 0 in Ring 6", 512, 0, 511);
0644   theMEBeam0Ring6Disc3NegAdcCounts =
0645       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 0 in Ring 6", 512, 0, 511);
0646   theMEBeam0Ring6Disc4NegAdcCounts =
0647       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 0 in Ring 6", 512, 0, 511);
0648   theMEBeam0Ring6Disc5NegAdcCounts =
0649       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 0 in Ring 6", 512, 0, 511);
0650   theMEBeam0Ring6Disc6NegAdcCounts =
0651       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 0 in Ring 6", 512, 0, 511);
0652   theMEBeam0Ring6Disc7NegAdcCounts =
0653       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 0 in Ring 6", 512, 0, 511);
0654   theMEBeam0Ring6Disc8NegAdcCounts =
0655       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 0 in Ring 6", 512, 0, 511);
0656   theMEBeam0Ring6Disc9NegAdcCounts =
0657       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 0 in Ring 6", 512, 0, 511);
0658 
0659   // ----- Adc counts for Beam 1 in Ring 6
0660   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring6/Beam1");
0661   theMEBeam1Ring6Disc1NegAdcCounts =
0662       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 1 in Ring 6", 512, 0, 511);
0663   theMEBeam1Ring6Disc2NegAdcCounts =
0664       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 1 in Ring 6", 512, 0, 511);
0665   theMEBeam1Ring6Disc3NegAdcCounts =
0666       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 1 in Ring 6", 512, 0, 511);
0667   theMEBeam1Ring6Disc4NegAdcCounts =
0668       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 1 in Ring 6", 512, 0, 511);
0669   theMEBeam1Ring6Disc5NegAdcCounts =
0670       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 1 in Ring 6", 512, 0, 511);
0671   theMEBeam1Ring6Disc6NegAdcCounts =
0672       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 1 in Ring 6", 512, 0, 511);
0673   theMEBeam1Ring6Disc7NegAdcCounts =
0674       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 1 in Ring 6", 512, 0, 511);
0675   theMEBeam1Ring6Disc8NegAdcCounts =
0676       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 1 in Ring 6", 512, 0, 511);
0677   theMEBeam1Ring6Disc9NegAdcCounts =
0678       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 1 in Ring 6", 512, 0, 511);
0679 
0680   // ----- Adc counts for Beam 2 in Ring 6
0681   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring6/Beam2");
0682   theMEBeam2Ring6Disc1NegAdcCounts =
0683       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 2 in Ring 6", 512, 0, 511);
0684   theMEBeam2Ring6Disc2NegAdcCounts =
0685       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 2 in Ring 6", 512, 0, 511);
0686   theMEBeam2Ring6Disc3NegAdcCounts =
0687       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 2 in Ring 6", 512, 0, 511);
0688   theMEBeam2Ring6Disc4NegAdcCounts =
0689       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 2 in Ring 6", 512, 0, 511);
0690   theMEBeam2Ring6Disc5NegAdcCounts =
0691       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 2 in Ring 6", 512, 0, 511);
0692   theMEBeam2Ring6Disc6NegAdcCounts =
0693       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 2 in Ring 6", 512, 0, 511);
0694   theMEBeam2Ring6Disc7NegAdcCounts =
0695       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 2 in Ring 6", 512, 0, 511);
0696   theMEBeam2Ring6Disc8NegAdcCounts =
0697       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 2 in Ring 6", 512, 0, 511);
0698   theMEBeam2Ring6Disc9NegAdcCounts =
0699       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 2 in Ring 6", 512, 0, 511);
0700 
0701   // ----- Adc counts for Beam 3 in Ring 6
0702   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring6/Beam3");
0703   theMEBeam3Ring6Disc1NegAdcCounts =
0704       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 3 in Ring 6", 512, 0, 511);
0705   theMEBeam3Ring6Disc2NegAdcCounts =
0706       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 3 in Ring 6", 512, 0, 511);
0707   theMEBeam3Ring6Disc3NegAdcCounts =
0708       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 3 in Ring 6", 512, 0, 511);
0709   theMEBeam3Ring6Disc4NegAdcCounts =
0710       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 3 in Ring 6", 512, 0, 511);
0711   theMEBeam3Ring6Disc5NegAdcCounts =
0712       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 3 in Ring 6", 512, 0, 511);
0713   theMEBeam3Ring6Disc6NegAdcCounts =
0714       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 3 in Ring 6", 512, 0, 511);
0715   theMEBeam3Ring6Disc7NegAdcCounts =
0716       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 3 in Ring 6", 512, 0, 511);
0717   theMEBeam3Ring6Disc8NegAdcCounts =
0718       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 3 in Ring 6", 512, 0, 511);
0719   theMEBeam3Ring6Disc9NegAdcCounts =
0720       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 3 in Ring 6", 512, 0, 511);
0721 
0722   // ----- Adc counts for Beam 4 in Ring 6
0723   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring6/Beam4");
0724   theMEBeam4Ring6Disc1NegAdcCounts =
0725       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 4 in Ring 6", 512, 0, 511);
0726   theMEBeam4Ring6Disc2NegAdcCounts =
0727       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 4 in Ring 6", 512, 0, 511);
0728   theMEBeam4Ring6Disc3NegAdcCounts =
0729       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 4 in Ring 6", 512, 0, 511);
0730   theMEBeam4Ring6Disc4NegAdcCounts =
0731       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 4 in Ring 6", 512, 0, 511);
0732   theMEBeam4Ring6Disc5NegAdcCounts =
0733       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 4 in Ring 6", 512, 0, 511);
0734   theMEBeam4Ring6Disc6NegAdcCounts =
0735       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 4 in Ring 6", 512, 0, 511);
0736   theMEBeam4Ring6Disc7NegAdcCounts =
0737       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 4 in Ring 6", 512, 0, 511);
0738   theMEBeam4Ring6Disc8NegAdcCounts =
0739       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 4 in Ring 6", 512, 0, 511);
0740   theMEBeam4Ring6Disc9NegAdcCounts =
0741       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 4 in Ring 6", 512, 0, 511);
0742 
0743   // ----- Adc counts for Beam 5 in Ring 6
0744   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring6/Beam5");
0745   theMEBeam5Ring6Disc1NegAdcCounts =
0746       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 5 in Ring 6", 512, 0, 511);
0747   theMEBeam5Ring6Disc2NegAdcCounts =
0748       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 5 in Ring 6", 512, 0, 511);
0749   theMEBeam5Ring6Disc3NegAdcCounts =
0750       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 5 in Ring 6", 512, 0, 511);
0751   theMEBeam5Ring6Disc4NegAdcCounts =
0752       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 5 in Ring 6", 512, 0, 511);
0753   theMEBeam5Ring6Disc5NegAdcCounts =
0754       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 5 in Ring 6", 512, 0, 511);
0755   theMEBeam5Ring6Disc6NegAdcCounts =
0756       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 5 in Ring 6", 512, 0, 511);
0757   theMEBeam5Ring6Disc7NegAdcCounts =
0758       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 5 in Ring 6", 512, 0, 511);
0759   theMEBeam5Ring6Disc8NegAdcCounts =
0760       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 5 in Ring 6", 512, 0, 511);
0761   theMEBeam5Ring6Disc9NegAdcCounts =
0762       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 5 in Ring 6", 512, 0, 511);
0763 
0764   // ----- Adc counts for Beam 6 in Ring 6
0765   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring6/Beam6");
0766   theMEBeam6Ring6Disc1NegAdcCounts =
0767       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 6 in Ring 6", 512, 0, 511);
0768   theMEBeam6Ring6Disc2NegAdcCounts =
0769       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 6 in Ring 6", 512, 0, 511);
0770   theMEBeam6Ring6Disc3NegAdcCounts =
0771       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 6 in Ring 6", 512, 0, 511);
0772   theMEBeam6Ring6Disc4NegAdcCounts =
0773       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 6 in Ring 6", 512, 0, 511);
0774   theMEBeam6Ring6Disc5NegAdcCounts =
0775       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 6 in Ring 6", 512, 0, 511);
0776   theMEBeam6Ring6Disc6NegAdcCounts =
0777       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 6 in Ring 6", 512, 0, 511);
0778   theMEBeam6Ring6Disc7NegAdcCounts =
0779       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 6 in Ring 6", 512, 0, 511);
0780   theMEBeam6Ring6Disc8NegAdcCounts =
0781       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 6 in Ring 6", 512, 0, 511);
0782   theMEBeam6Ring6Disc9NegAdcCounts =
0783       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 6 in Ring 6", 512, 0, 511);
0784 
0785   // ----- Adc counts for Beam 7 in Ring 6
0786   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/NegTEC/Ring6/Beam7");
0787   theMEBeam7Ring6Disc1NegAdcCounts =
0788       theDaqMonitorBEI->book1D("AdcCountsDisc1", "Adc counts on Disc 1 for Beam 7 in Ring 6", 512, 0, 511);
0789   theMEBeam7Ring6Disc2NegAdcCounts =
0790       theDaqMonitorBEI->book1D("AdcCountsDisc2", "Adc counts on Disc 2 for Beam 7 in Ring 6", 512, 0, 511);
0791   theMEBeam7Ring6Disc3NegAdcCounts =
0792       theDaqMonitorBEI->book1D("AdcCountsDisc3", "Adc counts on Disc 3 for Beam 7 in Ring 6", 512, 0, 511);
0793   theMEBeam7Ring6Disc4NegAdcCounts =
0794       theDaqMonitorBEI->book1D("AdcCountsDisc4", "Adc counts on Disc 4 for Beam 7 in Ring 6", 512, 0, 511);
0795   theMEBeam7Ring6Disc5NegAdcCounts =
0796       theDaqMonitorBEI->book1D("AdcCountsDisc5", "Adc counts on Disc 5 for Beam 7 in Ring 6", 512, 0, 511);
0797   theMEBeam7Ring6Disc6NegAdcCounts =
0798       theDaqMonitorBEI->book1D("AdcCountsDisc6", "Adc counts on Disc 6 for Beam 7 in Ring 6", 512, 0, 511);
0799   theMEBeam7Ring6Disc7NegAdcCounts =
0800       theDaqMonitorBEI->book1D("AdcCountsDisc7", "Adc counts on Disc 7 for Beam 7 in Ring 6", 512, 0, 511);
0801   theMEBeam7Ring6Disc8NegAdcCounts =
0802       theDaqMonitorBEI->book1D("AdcCountsDisc8", "Adc counts on Disc 8 for Beam 7 in Ring 6", 512, 0, 511);
0803   theMEBeam7Ring6Disc9NegAdcCounts =
0804       theDaqMonitorBEI->book1D("AdcCountsDisc9", "Adc counts on Disc 9 for Beam 7 in Ring 6", 512, 0, 511);
0805 
0806   /* LaserBeams in the TOB */
0807   /****************************************
0808    * the different z positions of the beams
0809    * are numbered in the following way
0810    *
0811    * Position1 = +1040 mm
0812    * Position2 = +580 mm
0813    * Position3 = +220 mm
0814    * Position4 = -140 mm
0815    * Position5 = -500 mm
0816    * Position6 = -860 mm
0817    *****************************************/
0818   // ----- Adc Counts in Beam 0
0819   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TOB/Beam0");
0820   theMEBeam0TOBPosition1AdcCounts =
0821       theDaqMonitorBEI->book1D("AdcCountsZ=1040mm", "Adc counts for Beam 0 at z = 1040 mm", 512, 0, 511);
0822   theMEBeam0TOBPosition2AdcCounts =
0823       theDaqMonitorBEI->book1D("AdcCountsZ=580mm", "Adc counts for Beam 0 at z = 580 mm", 512, 0, 511);
0824   theMEBeam0TOBPosition3AdcCounts =
0825       theDaqMonitorBEI->book1D("AdcCountsZ=220mm", "Adc counts for Beam 0 at z = 220 mm", 512, 0, 511);
0826   theMEBeam0TOBPosition4AdcCounts =
0827       theDaqMonitorBEI->book1D("AdcCountsZ=-140mm", "Adc counts for Beam 0 at z = -140 mm", 512, 0, 511);
0828   theMEBeam0TOBPosition5AdcCounts =
0829       theDaqMonitorBEI->book1D("AdcCountsZ=-500mm", "Adc counts for Beam 0 at z = -500 mm", 512, 0, 511);
0830   theMEBeam0TOBPosition6AdcCounts =
0831       theDaqMonitorBEI->book1D("AdcCountsZ=-860mm", "Adc counts for Beam 0 at z = -860 mm", 512, 0, 511);
0832 
0833   // ----- Adc Counts in Beam 1
0834   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TOB/Beam1");
0835   theMEBeam1TOBPosition1AdcCounts =
0836       theDaqMonitorBEI->book1D("AdcCountsZ=1040mm", "Adc counts for Beam 1 at z = 1040 mm", 512, 0, 511);
0837   theMEBeam1TOBPosition2AdcCounts =
0838       theDaqMonitorBEI->book1D("AdcCountsZ=580mm", "Adc counts for Beam 1 at z = 580 mm", 512, 0, 511);
0839   theMEBeam1TOBPosition3AdcCounts =
0840       theDaqMonitorBEI->book1D("AdcCountsZ=220mm", "Adc counts for Beam 1 at z = 220 mm", 512, 0, 511);
0841   theMEBeam1TOBPosition4AdcCounts =
0842       theDaqMonitorBEI->book1D("AdcCountsZ=-140mm", "Adc counts for Beam 1 at z = -140 mm", 512, 0, 511);
0843   theMEBeam1TOBPosition5AdcCounts =
0844       theDaqMonitorBEI->book1D("AdcCountsZ=-500mm", "Adc counts for Beam 1 at z = -500 mm", 512, 0, 511);
0845   theMEBeam1TOBPosition6AdcCounts =
0846       theDaqMonitorBEI->book1D("AdcCountsZ=-860mm", "Adc counts for Beam 1 at z = -860 mm", 512, 0, 511);
0847 
0848   // ----- Adc Counts in Beam 2
0849   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TOB/Beam2");
0850   theMEBeam2TOBPosition1AdcCounts =
0851       theDaqMonitorBEI->book1D("AdcCountsZ=1040mm", "Adc counts for Beam 2 at z = 1040 mm", 512, 0, 511);
0852   theMEBeam2TOBPosition2AdcCounts =
0853       theDaqMonitorBEI->book1D("AdcCountsZ=580mm", "Adc counts for Beam 2 at z = 580 mm", 512, 0, 511);
0854   theMEBeam2TOBPosition3AdcCounts =
0855       theDaqMonitorBEI->book1D("AdcCountsZ=220mm", "Adc counts for Beam 2 at z = 220 mm", 512, 0, 511);
0856   theMEBeam2TOBPosition4AdcCounts =
0857       theDaqMonitorBEI->book1D("AdcCountsZ=-140mm", "Adc counts for Beam 2 at z = -140 mm", 512, 0, 511);
0858   theMEBeam2TOBPosition5AdcCounts =
0859       theDaqMonitorBEI->book1D("AdcCountsZ=-500mm", "Adc counts for Beam 2 at z = -500 mm", 512, 0, 511);
0860   theMEBeam2TOBPosition6AdcCounts =
0861       theDaqMonitorBEI->book1D("AdcCountsZ=-860mm", "Adc counts for Beam 2 at z = -860 mm", 512, 0, 511);
0862 
0863   // ----- Adc Counts in Beam 3
0864   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TOB/Beam3");
0865   theMEBeam3TOBPosition1AdcCounts =
0866       theDaqMonitorBEI->book1D("AdcCountsZ=1040mm", "Adc counts for Beam 3 at z = 1040 mm", 512, 0, 511);
0867   theMEBeam3TOBPosition2AdcCounts =
0868       theDaqMonitorBEI->book1D("AdcCountsZ=580mm", "Adc counts for Beam 3 at z = 580 mm", 512, 0, 511);
0869   theMEBeam3TOBPosition3AdcCounts =
0870       theDaqMonitorBEI->book1D("AdcCountsZ=220mm", "Adc counts for Beam 3 at z = 220 mm", 512, 0, 511);
0871   theMEBeam3TOBPosition4AdcCounts =
0872       theDaqMonitorBEI->book1D("AdcCountsZ=-140mm", "Adc counts for Beam 3 at z = -140 mm", 512, 0, 511);
0873   theMEBeam3TOBPosition5AdcCounts =
0874       theDaqMonitorBEI->book1D("AdcCountsZ=-500mm", "Adc counts for Beam 3 at z = -500 mm", 512, 0, 511);
0875   theMEBeam3TOBPosition6AdcCounts =
0876       theDaqMonitorBEI->book1D("AdcCountsZ=-860mm", "Adc counts for Beam 3 at z = -860 mm", 512, 0, 511);
0877 
0878   // ----- Adc Counts in Beam 4
0879   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TOB/Beam4");
0880   theMEBeam4TOBPosition1AdcCounts =
0881       theDaqMonitorBEI->book1D("AdcCountsZ=1040mm", "Adc counts for Beam 4 at z = 1040 mm", 512, 0, 511);
0882   theMEBeam4TOBPosition2AdcCounts =
0883       theDaqMonitorBEI->book1D("AdcCountsZ=580mm", "Adc counts for Beam 4 at z = 580 mm", 512, 0, 511);
0884   theMEBeam4TOBPosition3AdcCounts =
0885       theDaqMonitorBEI->book1D("AdcCountsZ=220mm", "Adc counts for Beam 4 at z = 220 mm", 512, 0, 511);
0886   theMEBeam4TOBPosition4AdcCounts =
0887       theDaqMonitorBEI->book1D("AdcCountsZ=-140mm", "Adc counts for Beam 4 at z = -140 mm", 512, 0, 511);
0888   theMEBeam4TOBPosition5AdcCounts =
0889       theDaqMonitorBEI->book1D("AdcCountsZ=-500mm", "Adc counts for Beam 4 at z = -500 mm", 512, 0, 511);
0890   theMEBeam4TOBPosition6AdcCounts =
0891       theDaqMonitorBEI->book1D("AdcCountsZ=-860mm", "Adc counts for Beam 4 at z = -860 mm", 512, 0, 511);
0892 
0893   // ----- Adc Counts in Beam 5
0894   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TOB/Beam5");
0895   theMEBeam5TOBPosition1AdcCounts =
0896       theDaqMonitorBEI->book1D("AdcCountsZ=1040mm", "Adc counts for Beam 5 at z = 1040 mm", 512, 0, 511);
0897   theMEBeam5TOBPosition2AdcCounts =
0898       theDaqMonitorBEI->book1D("AdcCountsZ=580mm", "Adc counts for Beam 5 at z = 580 mm", 512, 0, 511);
0899   theMEBeam5TOBPosition3AdcCounts =
0900       theDaqMonitorBEI->book1D("AdcCountsZ=220mm", "Adc counts for Beam 5 at z = 220 mm", 512, 0, 511);
0901   theMEBeam5TOBPosition4AdcCounts =
0902       theDaqMonitorBEI->book1D("AdcCountsZ=-140mm", "Adc counts for Beam 5 at z = -140 mm", 512, 0, 511);
0903   theMEBeam5TOBPosition5AdcCounts =
0904       theDaqMonitorBEI->book1D("AdcCountsZ=-500mm", "Adc counts for Beam 5 at z = -500 mm", 512, 0, 511);
0905   theMEBeam5TOBPosition6AdcCounts =
0906       theDaqMonitorBEI->book1D("AdcCountsZ=-860mm", "Adc counts for Beam 5 at z = -860 mm", 512, 0, 511);
0907 
0908   // ----- Adc Counts in Beam 6
0909   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TOB/Beam6");
0910   theMEBeam6TOBPosition1AdcCounts =
0911       theDaqMonitorBEI->book1D("AdcCountsZ=1040mm", "Adc counts for Beam 6 at z = 1040 mm", 512, 0, 511);
0912   theMEBeam6TOBPosition2AdcCounts =
0913       theDaqMonitorBEI->book1D("AdcCountsZ=580mm", "Adc counts for Beam 6 at z = 580 mm", 512, 0, 511);
0914   theMEBeam6TOBPosition3AdcCounts =
0915       theDaqMonitorBEI->book1D("AdcCountsZ=220mm", "Adc counts for Beam 6 at z = 220 mm", 512, 0, 511);
0916   theMEBeam6TOBPosition4AdcCounts =
0917       theDaqMonitorBEI->book1D("AdcCountsZ=-140mm", "Adc counts for Beam 6 at z = -140 mm", 512, 0, 511);
0918   theMEBeam6TOBPosition5AdcCounts =
0919       theDaqMonitorBEI->book1D("AdcCountsZ=-500mm", "Adc counts for Beam 6 at z = -500 mm", 512, 0, 511);
0920   theMEBeam6TOBPosition6AdcCounts =
0921       theDaqMonitorBEI->book1D("AdcCountsZ=-860mm", "Adc counts for Beam 6 at z = -860 mm", 512, 0, 511);
0922 
0923   // ----- Adc Counts in Beam 7
0924   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TOB/Beam7");
0925   theMEBeam7TOBPosition1AdcCounts =
0926       theDaqMonitorBEI->book1D("AdcCountsZ=1040mm", "Adc counts for Beam 7 at z = 1040 mm", 512, 0, 511);
0927   theMEBeam7TOBPosition2AdcCounts =
0928       theDaqMonitorBEI->book1D("AdcCountsZ=580mm", "Adc counts for Beam 7 at z = 580 mm", 512, 0, 511);
0929   theMEBeam7TOBPosition3AdcCounts =
0930       theDaqMonitorBEI->book1D("AdcCountsZ=220mm", "Adc counts for Beam 7 at z = 220 mm", 512, 0, 511);
0931   theMEBeam7TOBPosition4AdcCounts =
0932       theDaqMonitorBEI->book1D("AdcCountsZ=-140mm", "Adc counts for Beam 7 at z = -140 mm", 512, 0, 511);
0933   theMEBeam7TOBPosition5AdcCounts =
0934       theDaqMonitorBEI->book1D("AdcCountsZ=-500mm", "Adc counts for Beam 7 at z = -500 mm", 512, 0, 511);
0935   theMEBeam7TOBPosition6AdcCounts =
0936       theDaqMonitorBEI->book1D("AdcCountsZ=-860mm", "Adc counts for Beam 7 at z = -860 mm", 512, 0, 511);
0937 
0938   /* LaserBeams in the TIB */
0939   /****************************************
0940    * the different z positions of the beams
0941    * are numbered in the following way
0942    *
0943    * Position1 = +620 mm
0944    * Position2 = +380 mm
0945    * Position3 = +180 mm
0946    * Position4 = -100 mm
0947    * Position5 = -340 mm
0948    * Position6 = -540 mm
0949    *****************************************/
0950   // ----- Adc Counts in Beam 0
0951   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TIB/Beam0");
0952   theMEBeam0TIBPosition1AdcCounts =
0953       theDaqMonitorBEI->book1D("AdcCountsZ=620mm", "Adc counts for Beam 0 at z = 620 mm", 512, 0, 511);
0954   theMEBeam0TIBPosition2AdcCounts =
0955       theDaqMonitorBEI->book1D("AdcCountsZ=380mm", "Adc counts for Beam 0 at z = 380 mm", 512, 0, 511);
0956   theMEBeam0TIBPosition3AdcCounts =
0957       theDaqMonitorBEI->book1D("AdcCountsZ=180mm", "Adc counts for Beam 0 at z = 180 mm", 512, 0, 511);
0958   theMEBeam0TIBPosition4AdcCounts =
0959       theDaqMonitorBEI->book1D("AdcCountsZ=-100mm", "Adc counts for Beam 0 at z = -100 mm", 512, 0, 511);
0960   theMEBeam0TIBPosition5AdcCounts =
0961       theDaqMonitorBEI->book1D("AdcCountsZ=-340mm", "Adc counts for Beam 0 at z = -340 mm", 512, 0, 511);
0962   theMEBeam0TIBPosition6AdcCounts =
0963       theDaqMonitorBEI->book1D("AdcCountsZ=-540mm", "Adc counts for Beam 0 at z = -540 mm", 512, 0, 511);
0964 
0965   // ----- Adc Counts in Beam 1
0966   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TIB/Beam1");
0967   theMEBeam1TIBPosition1AdcCounts =
0968       theDaqMonitorBEI->book1D("AdcCountsZ=620mm", "Adc counts for Beam 1 at z = 620 mm", 512, 0, 511);
0969   theMEBeam1TIBPosition2AdcCounts =
0970       theDaqMonitorBEI->book1D("AdcCountsZ=380mm", "Adc counts for Beam 1 at z = 380 mm", 512, 0, 511);
0971   theMEBeam1TIBPosition3AdcCounts =
0972       theDaqMonitorBEI->book1D("AdcCountsZ=180mm", "Adc counts for Beam 1 at z = 180 mm", 512, 0, 511);
0973   theMEBeam1TIBPosition4AdcCounts =
0974       theDaqMonitorBEI->book1D("AdcCountsZ=-100mm", "Adc counts for Beam 1 at z = -100 mm", 512, 0, 511);
0975   theMEBeam1TIBPosition5AdcCounts =
0976       theDaqMonitorBEI->book1D("AdcCountsZ=-340mm", "Adc counts for Beam 1 at z = -340 mm", 512, 0, 511);
0977   theMEBeam1TIBPosition6AdcCounts =
0978       theDaqMonitorBEI->book1D("AdcCountsZ=-540mm", "Adc counts for Beam 1 at z = -540 mm", 512, 0, 511);
0979 
0980   // ----- Adc Counts in Beam 2
0981   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TIB/Beam2");
0982   theMEBeam2TIBPosition1AdcCounts =
0983       theDaqMonitorBEI->book1D("AdcCountsZ=620mm", "Adc counts for Beam 2 at z = 620 mm", 512, 0, 511);
0984   theMEBeam2TIBPosition2AdcCounts =
0985       theDaqMonitorBEI->book1D("AdcCountsZ=380mm", "Adc counts for Beam 2 at z = 380 mm", 512, 0, 511);
0986   theMEBeam2TIBPosition3AdcCounts =
0987       theDaqMonitorBEI->book1D("AdcCountsZ=180mm", "Adc counts for Beam 2 at z = 180 mm", 512, 0, 511);
0988   theMEBeam2TIBPosition4AdcCounts =
0989       theDaqMonitorBEI->book1D("AdcCountsZ=-100mm", "Adc counts for Beam 2 at z = -100 mm", 512, 0, 511);
0990   theMEBeam2TIBPosition5AdcCounts =
0991       theDaqMonitorBEI->book1D("AdcCountsZ=-340mm", "Adc counts for Beam 2 at z = -340 mm", 512, 0, 511);
0992   theMEBeam2TIBPosition6AdcCounts =
0993       theDaqMonitorBEI->book1D("AdcCountsZ=-540mm", "Adc counts for Beam 2 at z = -540 mm", 512, 0, 511);
0994 
0995   // ----- Adc Counts in Beam 3
0996   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TIB/Beam3");
0997   theMEBeam3TIBPosition1AdcCounts =
0998       theDaqMonitorBEI->book1D("AdcCountsZ=620mm", "Adc counts for Beam 3 at z = 620 mm", 512, 0, 511);
0999   theMEBeam3TIBPosition2AdcCounts =
1000       theDaqMonitorBEI->book1D("AdcCountsZ=380mm", "Adc counts for Beam 3 at z = 380 mm", 512, 0, 511);
1001   theMEBeam3TIBPosition3AdcCounts =
1002       theDaqMonitorBEI->book1D("AdcCountsZ=180mm", "Adc counts for Beam 3 at z = 180 mm", 512, 0, 511);
1003   theMEBeam3TIBPosition4AdcCounts =
1004       theDaqMonitorBEI->book1D("AdcCountsZ=-100mm", "Adc counts for Beam 3 at z = -100 mm", 512, 0, 511);
1005   theMEBeam3TIBPosition5AdcCounts =
1006       theDaqMonitorBEI->book1D("AdcCountsZ=-340mm", "Adc counts for Beam 3 at z = -340 mm", 512, 0, 511);
1007   theMEBeam3TIBPosition6AdcCounts =
1008       theDaqMonitorBEI->book1D("AdcCountsZ=-540mm", "Adc counts for Beam 3 at z = -540 mm", 512, 0, 511);
1009 
1010   // ----- Adc Counts in Beam 4
1011   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TIB/Beam4");
1012   theMEBeam4TIBPosition1AdcCounts =
1013       theDaqMonitorBEI->book1D("AdcCountsZ=620mm", "Adc counts for Beam 4 at z = 620 mm", 512, 0, 511);
1014   theMEBeam4TIBPosition2AdcCounts =
1015       theDaqMonitorBEI->book1D("AdcCountsZ=380mm", "Adc counts for Beam 4 at z = 380 mm", 512, 0, 511);
1016   theMEBeam4TIBPosition3AdcCounts =
1017       theDaqMonitorBEI->book1D("AdcCountsZ=180mm", "Adc counts for Beam 4 at z = 180 mm", 512, 0, 511);
1018   theMEBeam4TIBPosition4AdcCounts =
1019       theDaqMonitorBEI->book1D("AdcCountsZ=-100mm", "Adc counts for Beam 4 at z = -100 mm", 512, 0, 511);
1020   theMEBeam4TIBPosition5AdcCounts =
1021       theDaqMonitorBEI->book1D("AdcCountsZ=-340mm", "Adc counts for Beam 4 at z = -340 mm", 512, 0, 511);
1022   theMEBeam4TIBPosition6AdcCounts =
1023       theDaqMonitorBEI->book1D("AdcCountsZ=-540mm", "Adc counts for Beam 4 at z = -540 mm", 512, 0, 511);
1024 
1025   // ----- Adc Counts in Beam 5
1026   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TIB/Beam5");
1027   theMEBeam5TIBPosition1AdcCounts =
1028       theDaqMonitorBEI->book1D("AdcCountsZ=620mm", "Adc counts for Beam 5 at z = 620 mm", 512, 0, 511);
1029   theMEBeam5TIBPosition2AdcCounts =
1030       theDaqMonitorBEI->book1D("AdcCountsZ=380mm", "Adc counts for Beam 5 at z = 380 mm", 512, 0, 511);
1031   theMEBeam5TIBPosition3AdcCounts =
1032       theDaqMonitorBEI->book1D("AdcCountsZ=180mm", "Adc counts for Beam 5 at z = 180 mm", 512, 0, 511);
1033   theMEBeam5TIBPosition4AdcCounts =
1034       theDaqMonitorBEI->book1D("AdcCountsZ=-100mm", "Adc counts for Beam 5 at z = -100 mm", 512, 0, 511);
1035   theMEBeam5TIBPosition5AdcCounts =
1036       theDaqMonitorBEI->book1D("AdcCountsZ=-340mm", "Adc counts for Beam 5 at z = -340 mm", 512, 0, 511);
1037   theMEBeam5TIBPosition6AdcCounts =
1038       theDaqMonitorBEI->book1D("AdcCountsZ=-540mm", "Adc counts for Beam 5 at z = -540 mm", 512, 0, 511);
1039 
1040   // ----- Adc Counts in Beam 6
1041   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TIB/Beam6");
1042   theMEBeam6TIBPosition1AdcCounts =
1043       theDaqMonitorBEI->book1D("AdcCountsZ=620mm", "Adc counts for Beam 6 at z = 620 mm", 512, 0, 511);
1044   theMEBeam6TIBPosition2AdcCounts =
1045       theDaqMonitorBEI->book1D("AdcCountsZ=380mm", "Adc counts for Beam 6 at z = 380 mm", 512, 0, 511);
1046   theMEBeam6TIBPosition3AdcCounts =
1047       theDaqMonitorBEI->book1D("AdcCountsZ=180mm", "Adc counts for Beam 6 at z = 180 mm", 512, 0, 511);
1048   theMEBeam6TIBPosition4AdcCounts =
1049       theDaqMonitorBEI->book1D("AdcCountsZ=-100mm", "Adc counts for Beam 6 at z = -100 mm", 512, 0, 511);
1050   theMEBeam6TIBPosition5AdcCounts =
1051       theDaqMonitorBEI->book1D("AdcCountsZ=-340mm", "Adc counts for Beam 6 at z = -340 mm", 512, 0, 511);
1052   theMEBeam6TIBPosition6AdcCounts =
1053       theDaqMonitorBEI->book1D("AdcCountsZ=-540mm", "Adc counts for Beam 6 at z = -540 mm", 512, 0, 511);
1054 
1055   // ----- Adc Counts in Beam 7
1056   theDaqMonitorBEI->setCurrentFolder("LaserAlignment/TIB/Beam7");
1057   theMEBeam7TIBPosition1AdcCounts =
1058       theDaqMonitorBEI->book1D("AdcCountsZ=620mm", "Adc counts for Beam 7 at z = 620 mm", 512, 0, 511);
1059   theMEBeam7TIBPosition2AdcCounts =
1060       theDaqMonitorBEI->book1D("AdcCountsZ=380mm", "Adc counts for Beam 7 at z = 380 mm", 512, 0, 511);
1061   theMEBeam7TIBPosition3AdcCounts =
1062       theDaqMonitorBEI->book1D("AdcCountsZ=180mm", "Adc counts for Beam 7 at z = 180 mm", 512, 0, 511);
1063   theMEBeam7TIBPosition4AdcCounts =
1064       theDaqMonitorBEI->book1D("AdcCountsZ=-100mm", "Adc counts for Beam 7 at z = -100 mm", 512, 0, 511);
1065   theMEBeam7TIBPosition5AdcCounts =
1066       theDaqMonitorBEI->book1D("AdcCountsZ=-340mm", "Adc counts for Beam 7 at z = -340 mm", 512, 0, 511);
1067   theMEBeam7TIBPosition6AdcCounts =
1068       theDaqMonitorBEI->book1D("AdcCountsZ=-540mm", "Adc counts for Beam 7 at z = -540 mm", 512, 0, 511);
1069 }