Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef LaserDQM_LaserDQM_H
0002 #define LaserDQM_LaserDQM_H
0003 
0004 /** \class LaserDQM
0005  *  DQM Monitor Elements for the Laser Alignment System
0006  *
0007  *  $Date: 2008/03/01 13:22:57 $
0008  *  $Revision: 1.5 $
0009  *  \author Maarten Thomas
0010  */
0011 
0012 #include "DataFormats/Common/interface/DetSetVector.h"
0013 #include "DataFormats/SiStripDigi/interface/SiStripDigi.h"
0014 #include "FWCore/Framework/interface/one/EDAnalyzer.h"
0015 
0016 // DQM
0017 #include "DQMServices/Core/interface/DQMStore.h"
0018 
0019 #include <iostream>
0020 
0021 class TrackerTopology;
0022 class TrackerTopologyRcd;
0023 class TrackerGeometry;
0024 class TrackerDigiGeometryRecord;
0025 
0026 class LaserDQM : public edm::one::EDAnalyzer<> {
0027 public:
0028   typedef dqm::legacy::DQMStore DQMStore;
0029   typedef dqm::legacy::MonitorElement MonitorElement;
0030   typedef std::vector<edm::ParameterSet> Parameters;
0031 
0032   /// constructor
0033   explicit LaserDQM(edm::ParameterSet const &theConf);
0034   /// destructor
0035   ~LaserDQM() override;
0036 
0037   /// this method will do the user analysis
0038   void analyze(edm::Event const &theEvent, edm::EventSetup const &theSetup) override;
0039   /// begin job
0040   void beginJob() override;
0041   /// end job
0042   void endJob(void) override;
0043 
0044 private:
0045   /// fill adc counts from the laser beam into a monitor histogram
0046   void fillAdcCounts(MonitorElement *theMonitor,
0047                      edm::DetSet<SiStripDigi>::const_iterator digiRangeIterator,
0048                      edm::DetSet<SiStripDigi>::const_iterator digiRangeIteratorEnd);
0049   /// initialize monitors
0050   void initMonitors();
0051   /// find dets which are hit by a laser beam and fill the monitors
0052   void trackerStatistics(edm::Event const &theEvent, edm::EventSetup const &theSetup);
0053 
0054 private:
0055   edm::ESGetToken<TrackerTopology, TrackerTopologyRcd> tTopoToken;
0056   edm::ESGetToken<TrackerGeometry, TrackerDigiGeometryRecord> tGeoToken;
0057 
0058   int theDebugLevel;
0059   double theSearchPhiTIB;
0060   double theSearchPhiTOB;
0061   double theSearchPhiTEC;
0062   double theSearchZTIB;
0063   double theSearchZTOB;
0064 
0065   // digi producer
0066   Parameters theDigiProducersList;
0067 
0068   // output file for DQM MonitorElements
0069   std::string theDQMFileName;
0070 
0071   // DQM Backend Interface
0072   DQMStore *theDaqMonitorBEI;
0073 
0074   // DQM Monitor Elements
0075 
0076   /* Laser Beams in TEC+ */
0077   // Adc counts for Beam 0 in Ring 4
0078   MonitorElement *theMEBeam0Ring4Disc1PosAdcCounts;
0079   MonitorElement *theMEBeam0Ring4Disc2PosAdcCounts;
0080   MonitorElement *theMEBeam0Ring4Disc3PosAdcCounts;
0081   MonitorElement *theMEBeam0Ring4Disc4PosAdcCounts;
0082   MonitorElement *theMEBeam0Ring4Disc5PosAdcCounts;
0083   MonitorElement *theMEBeam0Ring4Disc6PosAdcCounts;
0084   MonitorElement *theMEBeam0Ring4Disc7PosAdcCounts;
0085   MonitorElement *theMEBeam0Ring4Disc8PosAdcCounts;
0086   MonitorElement *theMEBeam0Ring4Disc9PosAdcCounts;
0087 
0088   // Adc counts for Beam 1 in Ring 4
0089   MonitorElement *theMEBeam1Ring4Disc1PosAdcCounts;
0090   MonitorElement *theMEBeam1Ring4Disc2PosAdcCounts;
0091   MonitorElement *theMEBeam1Ring4Disc3PosAdcCounts;
0092   MonitorElement *theMEBeam1Ring4Disc4PosAdcCounts;
0093   MonitorElement *theMEBeam1Ring4Disc5PosAdcCounts;
0094   MonitorElement *theMEBeam1Ring4Disc6PosAdcCounts;
0095   MonitorElement *theMEBeam1Ring4Disc7PosAdcCounts;
0096   MonitorElement *theMEBeam1Ring4Disc8PosAdcCounts;
0097   MonitorElement *theMEBeam1Ring4Disc9PosAdcCounts;
0098 
0099   // plots for TEC2TEC
0100   MonitorElement *theMEBeam1Ring4Disc1PosTEC2TECAdcCounts;
0101   MonitorElement *theMEBeam1Ring4Disc2PosTEC2TECAdcCounts;
0102   MonitorElement *theMEBeam1Ring4Disc3PosTEC2TECAdcCounts;
0103   MonitorElement *theMEBeam1Ring4Disc4PosTEC2TECAdcCounts;
0104   MonitorElement *theMEBeam1Ring4Disc5PosTEC2TECAdcCounts;
0105 
0106   // Adc counts for Beam 2 in Ring 4
0107   MonitorElement *theMEBeam2Ring4Disc1PosAdcCounts;
0108   MonitorElement *theMEBeam2Ring4Disc2PosAdcCounts;
0109   MonitorElement *theMEBeam2Ring4Disc3PosAdcCounts;
0110   MonitorElement *theMEBeam2Ring4Disc4PosAdcCounts;
0111   MonitorElement *theMEBeam2Ring4Disc5PosAdcCounts;
0112   MonitorElement *theMEBeam2Ring4Disc6PosAdcCounts;
0113   MonitorElement *theMEBeam2Ring4Disc7PosAdcCounts;
0114   MonitorElement *theMEBeam2Ring4Disc8PosAdcCounts;
0115   MonitorElement *theMEBeam2Ring4Disc9PosAdcCounts;
0116 
0117   // plots for TEC2TEC
0118   MonitorElement *theMEBeam2Ring4Disc1PosTEC2TECAdcCounts;
0119   MonitorElement *theMEBeam2Ring4Disc2PosTEC2TECAdcCounts;
0120   MonitorElement *theMEBeam2Ring4Disc3PosTEC2TECAdcCounts;
0121   MonitorElement *theMEBeam2Ring4Disc4PosTEC2TECAdcCounts;
0122   MonitorElement *theMEBeam2Ring4Disc5PosTEC2TECAdcCounts;
0123 
0124   // Adc counts for Beam 3 in Ring 4
0125   MonitorElement *theMEBeam3Ring4Disc1PosAdcCounts;
0126   MonitorElement *theMEBeam3Ring4Disc2PosAdcCounts;
0127   MonitorElement *theMEBeam3Ring4Disc3PosAdcCounts;
0128   MonitorElement *theMEBeam3Ring4Disc4PosAdcCounts;
0129   MonitorElement *theMEBeam3Ring4Disc5PosAdcCounts;
0130   MonitorElement *theMEBeam3Ring4Disc6PosAdcCounts;
0131   MonitorElement *theMEBeam3Ring4Disc7PosAdcCounts;
0132   MonitorElement *theMEBeam3Ring4Disc8PosAdcCounts;
0133   MonitorElement *theMEBeam3Ring4Disc9PosAdcCounts;
0134 
0135   // Adc counts for Beam 4 in Ring 4
0136   MonitorElement *theMEBeam4Ring4Disc1PosAdcCounts;
0137   MonitorElement *theMEBeam4Ring4Disc2PosAdcCounts;
0138   MonitorElement *theMEBeam4Ring4Disc3PosAdcCounts;
0139   MonitorElement *theMEBeam4Ring4Disc4PosAdcCounts;
0140   MonitorElement *theMEBeam4Ring4Disc5PosAdcCounts;
0141   MonitorElement *theMEBeam4Ring4Disc6PosAdcCounts;
0142   MonitorElement *theMEBeam4Ring4Disc7PosAdcCounts;
0143   MonitorElement *theMEBeam4Ring4Disc8PosAdcCounts;
0144   MonitorElement *theMEBeam4Ring4Disc9PosAdcCounts;
0145 
0146   // plots for TEC2TEC
0147   MonitorElement *theMEBeam4Ring4Disc1PosTEC2TECAdcCounts;
0148   MonitorElement *theMEBeam4Ring4Disc2PosTEC2TECAdcCounts;
0149   MonitorElement *theMEBeam4Ring4Disc3PosTEC2TECAdcCounts;
0150   MonitorElement *theMEBeam4Ring4Disc4PosTEC2TECAdcCounts;
0151   MonitorElement *theMEBeam4Ring4Disc5PosTEC2TECAdcCounts;
0152 
0153   // Adc counts for Beam 5 in Ring 4
0154   MonitorElement *theMEBeam5Ring4Disc1PosAdcCounts;
0155   MonitorElement *theMEBeam5Ring4Disc2PosAdcCounts;
0156   MonitorElement *theMEBeam5Ring4Disc3PosAdcCounts;
0157   MonitorElement *theMEBeam5Ring4Disc4PosAdcCounts;
0158   MonitorElement *theMEBeam5Ring4Disc5PosAdcCounts;
0159   MonitorElement *theMEBeam5Ring4Disc6PosAdcCounts;
0160   MonitorElement *theMEBeam5Ring4Disc7PosAdcCounts;
0161   MonitorElement *theMEBeam5Ring4Disc8PosAdcCounts;
0162   MonitorElement *theMEBeam5Ring4Disc9PosAdcCounts;
0163 
0164   // Adc counts for Beam 6 in Ring 4
0165   MonitorElement *theMEBeam6Ring4Disc1PosAdcCounts;
0166   MonitorElement *theMEBeam6Ring4Disc2PosAdcCounts;
0167   MonitorElement *theMEBeam6Ring4Disc3PosAdcCounts;
0168   MonitorElement *theMEBeam6Ring4Disc4PosAdcCounts;
0169   MonitorElement *theMEBeam6Ring4Disc5PosAdcCounts;
0170   MonitorElement *theMEBeam6Ring4Disc6PosAdcCounts;
0171   MonitorElement *theMEBeam6Ring4Disc7PosAdcCounts;
0172   MonitorElement *theMEBeam6Ring4Disc8PosAdcCounts;
0173   MonitorElement *theMEBeam6Ring4Disc9PosAdcCounts;
0174 
0175   // plots for TEC2TEC
0176   MonitorElement *theMEBeam6Ring4Disc1PosTEC2TECAdcCounts;
0177   MonitorElement *theMEBeam6Ring4Disc2PosTEC2TECAdcCounts;
0178   MonitorElement *theMEBeam6Ring4Disc3PosTEC2TECAdcCounts;
0179   MonitorElement *theMEBeam6Ring4Disc4PosTEC2TECAdcCounts;
0180   MonitorElement *theMEBeam6Ring4Disc5PosTEC2TECAdcCounts;
0181 
0182   // Adc counts for Beam 7 in Ring 4
0183   MonitorElement *theMEBeam7Ring4Disc1PosAdcCounts;
0184   MonitorElement *theMEBeam7Ring4Disc2PosAdcCounts;
0185   MonitorElement *theMEBeam7Ring4Disc3PosAdcCounts;
0186   MonitorElement *theMEBeam7Ring4Disc4PosAdcCounts;
0187   MonitorElement *theMEBeam7Ring4Disc5PosAdcCounts;
0188   MonitorElement *theMEBeam7Ring4Disc6PosAdcCounts;
0189   MonitorElement *theMEBeam7Ring4Disc7PosAdcCounts;
0190   MonitorElement *theMEBeam7Ring4Disc8PosAdcCounts;
0191   MonitorElement *theMEBeam7Ring4Disc9PosAdcCounts;
0192 
0193   // plots for TEC2TEC
0194   MonitorElement *theMEBeam7Ring4Disc1PosTEC2TECAdcCounts;
0195   MonitorElement *theMEBeam7Ring4Disc2PosTEC2TECAdcCounts;
0196   MonitorElement *theMEBeam7Ring4Disc3PosTEC2TECAdcCounts;
0197   MonitorElement *theMEBeam7Ring4Disc4PosTEC2TECAdcCounts;
0198   MonitorElement *theMEBeam7Ring4Disc5PosTEC2TECAdcCounts;
0199 
0200   // Adc counts for Beam 0 in Ring 6
0201   MonitorElement *theMEBeam0Ring6Disc1PosAdcCounts;
0202   MonitorElement *theMEBeam0Ring6Disc2PosAdcCounts;
0203   MonitorElement *theMEBeam0Ring6Disc3PosAdcCounts;
0204   MonitorElement *theMEBeam0Ring6Disc4PosAdcCounts;
0205   MonitorElement *theMEBeam0Ring6Disc5PosAdcCounts;
0206   MonitorElement *theMEBeam0Ring6Disc6PosAdcCounts;
0207   MonitorElement *theMEBeam0Ring6Disc7PosAdcCounts;
0208   MonitorElement *theMEBeam0Ring6Disc8PosAdcCounts;
0209   MonitorElement *theMEBeam0Ring6Disc9PosAdcCounts;
0210 
0211   // Adc counts for Beam 1 in Ring 6
0212   MonitorElement *theMEBeam1Ring6Disc1PosAdcCounts;
0213   MonitorElement *theMEBeam1Ring6Disc2PosAdcCounts;
0214   MonitorElement *theMEBeam1Ring6Disc3PosAdcCounts;
0215   MonitorElement *theMEBeam1Ring6Disc4PosAdcCounts;
0216   MonitorElement *theMEBeam1Ring6Disc5PosAdcCounts;
0217   MonitorElement *theMEBeam1Ring6Disc6PosAdcCounts;
0218   MonitorElement *theMEBeam1Ring6Disc7PosAdcCounts;
0219   MonitorElement *theMEBeam1Ring6Disc8PosAdcCounts;
0220   MonitorElement *theMEBeam1Ring6Disc9PosAdcCounts;
0221 
0222   // Adc counts for Beam 2 in Ring 6
0223   MonitorElement *theMEBeam2Ring6Disc1PosAdcCounts;
0224   MonitorElement *theMEBeam2Ring6Disc2PosAdcCounts;
0225   MonitorElement *theMEBeam2Ring6Disc3PosAdcCounts;
0226   MonitorElement *theMEBeam2Ring6Disc4PosAdcCounts;
0227   MonitorElement *theMEBeam2Ring6Disc5PosAdcCounts;
0228   MonitorElement *theMEBeam2Ring6Disc6PosAdcCounts;
0229   MonitorElement *theMEBeam2Ring6Disc7PosAdcCounts;
0230   MonitorElement *theMEBeam2Ring6Disc8PosAdcCounts;
0231   MonitorElement *theMEBeam2Ring6Disc9PosAdcCounts;
0232 
0233   // Adc counts for Beam 3 in Ring 6
0234   MonitorElement *theMEBeam3Ring6Disc1PosAdcCounts;
0235   MonitorElement *theMEBeam3Ring6Disc2PosAdcCounts;
0236   MonitorElement *theMEBeam3Ring6Disc3PosAdcCounts;
0237   MonitorElement *theMEBeam3Ring6Disc4PosAdcCounts;
0238   MonitorElement *theMEBeam3Ring6Disc5PosAdcCounts;
0239   MonitorElement *theMEBeam3Ring6Disc6PosAdcCounts;
0240   MonitorElement *theMEBeam3Ring6Disc7PosAdcCounts;
0241   MonitorElement *theMEBeam3Ring6Disc8PosAdcCounts;
0242   MonitorElement *theMEBeam3Ring6Disc9PosAdcCounts;
0243 
0244   // Adc counts for Beam 4 in Ring 6
0245   MonitorElement *theMEBeam4Ring6Disc1PosAdcCounts;
0246   MonitorElement *theMEBeam4Ring6Disc2PosAdcCounts;
0247   MonitorElement *theMEBeam4Ring6Disc3PosAdcCounts;
0248   MonitorElement *theMEBeam4Ring6Disc4PosAdcCounts;
0249   MonitorElement *theMEBeam4Ring6Disc5PosAdcCounts;
0250   MonitorElement *theMEBeam4Ring6Disc6PosAdcCounts;
0251   MonitorElement *theMEBeam4Ring6Disc7PosAdcCounts;
0252   MonitorElement *theMEBeam4Ring6Disc8PosAdcCounts;
0253   MonitorElement *theMEBeam4Ring6Disc9PosAdcCounts;
0254 
0255   // Adc counts for Beam 5 in Ring 6
0256   MonitorElement *theMEBeam5Ring6Disc1PosAdcCounts;
0257   MonitorElement *theMEBeam5Ring6Disc2PosAdcCounts;
0258   MonitorElement *theMEBeam5Ring6Disc3PosAdcCounts;
0259   MonitorElement *theMEBeam5Ring6Disc4PosAdcCounts;
0260   MonitorElement *theMEBeam5Ring6Disc5PosAdcCounts;
0261   MonitorElement *theMEBeam5Ring6Disc6PosAdcCounts;
0262   MonitorElement *theMEBeam5Ring6Disc7PosAdcCounts;
0263   MonitorElement *theMEBeam5Ring6Disc8PosAdcCounts;
0264   MonitorElement *theMEBeam5Ring6Disc9PosAdcCounts;
0265 
0266   // Adc counts for Beam 6 in Ring 6
0267   MonitorElement *theMEBeam6Ring6Disc1PosAdcCounts;
0268   MonitorElement *theMEBeam6Ring6Disc2PosAdcCounts;
0269   MonitorElement *theMEBeam6Ring6Disc3PosAdcCounts;
0270   MonitorElement *theMEBeam6Ring6Disc4PosAdcCounts;
0271   MonitorElement *theMEBeam6Ring6Disc5PosAdcCounts;
0272   MonitorElement *theMEBeam6Ring6Disc6PosAdcCounts;
0273   MonitorElement *theMEBeam6Ring6Disc7PosAdcCounts;
0274   MonitorElement *theMEBeam6Ring6Disc8PosAdcCounts;
0275   MonitorElement *theMEBeam6Ring6Disc9PosAdcCounts;
0276 
0277   // Adc counts for Beam 7 in Ring 6
0278   MonitorElement *theMEBeam7Ring6Disc1PosAdcCounts;
0279   MonitorElement *theMEBeam7Ring6Disc2PosAdcCounts;
0280   MonitorElement *theMEBeam7Ring6Disc3PosAdcCounts;
0281   MonitorElement *theMEBeam7Ring6Disc4PosAdcCounts;
0282   MonitorElement *theMEBeam7Ring6Disc5PosAdcCounts;
0283   MonitorElement *theMEBeam7Ring6Disc6PosAdcCounts;
0284   MonitorElement *theMEBeam7Ring6Disc7PosAdcCounts;
0285   MonitorElement *theMEBeam7Ring6Disc8PosAdcCounts;
0286   MonitorElement *theMEBeam7Ring6Disc9PosAdcCounts;
0287 
0288   /* Laser Beams in TEC- */
0289   // Adc counts for Beam 0 in Ring 4
0290   MonitorElement *theMEBeam0Ring4Disc1NegAdcCounts;
0291   MonitorElement *theMEBeam0Ring4Disc2NegAdcCounts;
0292   MonitorElement *theMEBeam0Ring4Disc3NegAdcCounts;
0293   MonitorElement *theMEBeam0Ring4Disc4NegAdcCounts;
0294   MonitorElement *theMEBeam0Ring4Disc5NegAdcCounts;
0295   MonitorElement *theMEBeam0Ring4Disc6NegAdcCounts;
0296   MonitorElement *theMEBeam0Ring4Disc7NegAdcCounts;
0297   MonitorElement *theMEBeam0Ring4Disc8NegAdcCounts;
0298   MonitorElement *theMEBeam0Ring4Disc9NegAdcCounts;
0299 
0300   // Adc counts for Beam 1 in Ring 4
0301   MonitorElement *theMEBeam1Ring4Disc1NegAdcCounts;
0302   MonitorElement *theMEBeam1Ring4Disc2NegAdcCounts;
0303   MonitorElement *theMEBeam1Ring4Disc3NegAdcCounts;
0304   MonitorElement *theMEBeam1Ring4Disc4NegAdcCounts;
0305   MonitorElement *theMEBeam1Ring4Disc5NegAdcCounts;
0306   MonitorElement *theMEBeam1Ring4Disc6NegAdcCounts;
0307   MonitorElement *theMEBeam1Ring4Disc7NegAdcCounts;
0308   MonitorElement *theMEBeam1Ring4Disc8NegAdcCounts;
0309   MonitorElement *theMEBeam1Ring4Disc9NegAdcCounts;
0310 
0311   // plots for TEC2TEC
0312   MonitorElement *theMEBeam1Ring4Disc1NegTEC2TECAdcCounts;
0313   MonitorElement *theMEBeam1Ring4Disc2NegTEC2TECAdcCounts;
0314   MonitorElement *theMEBeam1Ring4Disc3NegTEC2TECAdcCounts;
0315   MonitorElement *theMEBeam1Ring4Disc4NegTEC2TECAdcCounts;
0316   MonitorElement *theMEBeam1Ring4Disc5NegTEC2TECAdcCounts;
0317 
0318   // Adc counts for Beam 2 in Ring 4
0319   MonitorElement *theMEBeam2Ring4Disc1NegAdcCounts;
0320   MonitorElement *theMEBeam2Ring4Disc2NegAdcCounts;
0321   MonitorElement *theMEBeam2Ring4Disc3NegAdcCounts;
0322   MonitorElement *theMEBeam2Ring4Disc4NegAdcCounts;
0323   MonitorElement *theMEBeam2Ring4Disc5NegAdcCounts;
0324   MonitorElement *theMEBeam2Ring4Disc6NegAdcCounts;
0325   MonitorElement *theMEBeam2Ring4Disc7NegAdcCounts;
0326   MonitorElement *theMEBeam2Ring4Disc8NegAdcCounts;
0327   MonitorElement *theMEBeam2Ring4Disc9NegAdcCounts;
0328 
0329   // plots for TEC2TEC
0330   MonitorElement *theMEBeam2Ring4Disc1NegTEC2TECAdcCounts;
0331   MonitorElement *theMEBeam2Ring4Disc2NegTEC2TECAdcCounts;
0332   MonitorElement *theMEBeam2Ring4Disc3NegTEC2TECAdcCounts;
0333   MonitorElement *theMEBeam2Ring4Disc4NegTEC2TECAdcCounts;
0334   MonitorElement *theMEBeam2Ring4Disc5NegTEC2TECAdcCounts;
0335 
0336   // Adc counts for Beam 3 in Ring 4
0337   MonitorElement *theMEBeam3Ring4Disc1NegAdcCounts;
0338   MonitorElement *theMEBeam3Ring4Disc2NegAdcCounts;
0339   MonitorElement *theMEBeam3Ring4Disc3NegAdcCounts;
0340   MonitorElement *theMEBeam3Ring4Disc4NegAdcCounts;
0341   MonitorElement *theMEBeam3Ring4Disc5NegAdcCounts;
0342   MonitorElement *theMEBeam3Ring4Disc6NegAdcCounts;
0343   MonitorElement *theMEBeam3Ring4Disc7NegAdcCounts;
0344   MonitorElement *theMEBeam3Ring4Disc8NegAdcCounts;
0345   MonitorElement *theMEBeam3Ring4Disc9NegAdcCounts;
0346 
0347   // Adc counts for Beam 4 in Ring 4
0348   MonitorElement *theMEBeam4Ring4Disc1NegAdcCounts;
0349   MonitorElement *theMEBeam4Ring4Disc2NegAdcCounts;
0350   MonitorElement *theMEBeam4Ring4Disc3NegAdcCounts;
0351   MonitorElement *theMEBeam4Ring4Disc4NegAdcCounts;
0352   MonitorElement *theMEBeam4Ring4Disc5NegAdcCounts;
0353   MonitorElement *theMEBeam4Ring4Disc6NegAdcCounts;
0354   MonitorElement *theMEBeam4Ring4Disc7NegAdcCounts;
0355   MonitorElement *theMEBeam4Ring4Disc8NegAdcCounts;
0356   MonitorElement *theMEBeam4Ring4Disc9NegAdcCounts;
0357 
0358   // plots for TEC2TEC
0359   MonitorElement *theMEBeam4Ring4Disc1NegTEC2TECAdcCounts;
0360   MonitorElement *theMEBeam4Ring4Disc2NegTEC2TECAdcCounts;
0361   MonitorElement *theMEBeam4Ring4Disc3NegTEC2TECAdcCounts;
0362   MonitorElement *theMEBeam4Ring4Disc4NegTEC2TECAdcCounts;
0363   MonitorElement *theMEBeam4Ring4Disc5NegTEC2TECAdcCounts;
0364 
0365   // Adc counts for Beam 5 in Ring 4
0366   MonitorElement *theMEBeam5Ring4Disc1NegAdcCounts;
0367   MonitorElement *theMEBeam5Ring4Disc2NegAdcCounts;
0368   MonitorElement *theMEBeam5Ring4Disc3NegAdcCounts;
0369   MonitorElement *theMEBeam5Ring4Disc4NegAdcCounts;
0370   MonitorElement *theMEBeam5Ring4Disc5NegAdcCounts;
0371   MonitorElement *theMEBeam5Ring4Disc6NegAdcCounts;
0372   MonitorElement *theMEBeam5Ring4Disc7NegAdcCounts;
0373   MonitorElement *theMEBeam5Ring4Disc8NegAdcCounts;
0374   MonitorElement *theMEBeam5Ring4Disc9NegAdcCounts;
0375 
0376   // Adc counts for Beam 6 in Ring 4
0377   MonitorElement *theMEBeam6Ring4Disc1NegAdcCounts;
0378   MonitorElement *theMEBeam6Ring4Disc2NegAdcCounts;
0379   MonitorElement *theMEBeam6Ring4Disc3NegAdcCounts;
0380   MonitorElement *theMEBeam6Ring4Disc4NegAdcCounts;
0381   MonitorElement *theMEBeam6Ring4Disc5NegAdcCounts;
0382   MonitorElement *theMEBeam6Ring4Disc6NegAdcCounts;
0383   MonitorElement *theMEBeam6Ring4Disc7NegAdcCounts;
0384   MonitorElement *theMEBeam6Ring4Disc8NegAdcCounts;
0385   MonitorElement *theMEBeam6Ring4Disc9NegAdcCounts;
0386 
0387   // plots for TEC2TEC
0388   MonitorElement *theMEBeam6Ring4Disc1NegTEC2TECAdcCounts;
0389   MonitorElement *theMEBeam6Ring4Disc2NegTEC2TECAdcCounts;
0390   MonitorElement *theMEBeam6Ring4Disc3NegTEC2TECAdcCounts;
0391   MonitorElement *theMEBeam6Ring4Disc4NegTEC2TECAdcCounts;
0392   MonitorElement *theMEBeam6Ring4Disc5NegTEC2TECAdcCounts;
0393 
0394   // Adc counts for Beam 7 in Ring 4
0395   MonitorElement *theMEBeam7Ring4Disc1NegAdcCounts;
0396   MonitorElement *theMEBeam7Ring4Disc2NegAdcCounts;
0397   MonitorElement *theMEBeam7Ring4Disc3NegAdcCounts;
0398   MonitorElement *theMEBeam7Ring4Disc4NegAdcCounts;
0399   MonitorElement *theMEBeam7Ring4Disc5NegAdcCounts;
0400   MonitorElement *theMEBeam7Ring4Disc6NegAdcCounts;
0401   MonitorElement *theMEBeam7Ring4Disc7NegAdcCounts;
0402   MonitorElement *theMEBeam7Ring4Disc8NegAdcCounts;
0403   MonitorElement *theMEBeam7Ring4Disc9NegAdcCounts;
0404 
0405   // plots for TEC2TEC
0406   MonitorElement *theMEBeam7Ring4Disc1NegTEC2TECAdcCounts;
0407   MonitorElement *theMEBeam7Ring4Disc2NegTEC2TECAdcCounts;
0408   MonitorElement *theMEBeam7Ring4Disc3NegTEC2TECAdcCounts;
0409   MonitorElement *theMEBeam7Ring4Disc4NegTEC2TECAdcCounts;
0410   MonitorElement *theMEBeam7Ring4Disc5NegTEC2TECAdcCounts;
0411 
0412   // Adc counts for Beam 0 in Ring 6
0413   MonitorElement *theMEBeam0Ring6Disc1NegAdcCounts;
0414   MonitorElement *theMEBeam0Ring6Disc2NegAdcCounts;
0415   MonitorElement *theMEBeam0Ring6Disc3NegAdcCounts;
0416   MonitorElement *theMEBeam0Ring6Disc4NegAdcCounts;
0417   MonitorElement *theMEBeam0Ring6Disc5NegAdcCounts;
0418   MonitorElement *theMEBeam0Ring6Disc6NegAdcCounts;
0419   MonitorElement *theMEBeam0Ring6Disc7NegAdcCounts;
0420   MonitorElement *theMEBeam0Ring6Disc8NegAdcCounts;
0421   MonitorElement *theMEBeam0Ring6Disc9NegAdcCounts;
0422 
0423   // Adc counts for Beam 1 in Ring 6
0424   MonitorElement *theMEBeam1Ring6Disc1NegAdcCounts;
0425   MonitorElement *theMEBeam1Ring6Disc2NegAdcCounts;
0426   MonitorElement *theMEBeam1Ring6Disc3NegAdcCounts;
0427   MonitorElement *theMEBeam1Ring6Disc4NegAdcCounts;
0428   MonitorElement *theMEBeam1Ring6Disc5NegAdcCounts;
0429   MonitorElement *theMEBeam1Ring6Disc6NegAdcCounts;
0430   MonitorElement *theMEBeam1Ring6Disc7NegAdcCounts;
0431   MonitorElement *theMEBeam1Ring6Disc8NegAdcCounts;
0432   MonitorElement *theMEBeam1Ring6Disc9NegAdcCounts;
0433 
0434   // Adc counts for Beam 2 in Ring 6
0435   MonitorElement *theMEBeam2Ring6Disc1NegAdcCounts;
0436   MonitorElement *theMEBeam2Ring6Disc2NegAdcCounts;
0437   MonitorElement *theMEBeam2Ring6Disc3NegAdcCounts;
0438   MonitorElement *theMEBeam2Ring6Disc4NegAdcCounts;
0439   MonitorElement *theMEBeam2Ring6Disc5NegAdcCounts;
0440   MonitorElement *theMEBeam2Ring6Disc6NegAdcCounts;
0441   MonitorElement *theMEBeam2Ring6Disc7NegAdcCounts;
0442   MonitorElement *theMEBeam2Ring6Disc8NegAdcCounts;
0443   MonitorElement *theMEBeam2Ring6Disc9NegAdcCounts;
0444 
0445   // Adc counts for Beam 3 in Ring 6
0446   MonitorElement *theMEBeam3Ring6Disc1NegAdcCounts;
0447   MonitorElement *theMEBeam3Ring6Disc2NegAdcCounts;
0448   MonitorElement *theMEBeam3Ring6Disc3NegAdcCounts;
0449   MonitorElement *theMEBeam3Ring6Disc4NegAdcCounts;
0450   MonitorElement *theMEBeam3Ring6Disc5NegAdcCounts;
0451   MonitorElement *theMEBeam3Ring6Disc6NegAdcCounts;
0452   MonitorElement *theMEBeam3Ring6Disc7NegAdcCounts;
0453   MonitorElement *theMEBeam3Ring6Disc8NegAdcCounts;
0454   MonitorElement *theMEBeam3Ring6Disc9NegAdcCounts;
0455 
0456   // Adc counts for Beam 4 in Ring 6
0457   MonitorElement *theMEBeam4Ring6Disc1NegAdcCounts;
0458   MonitorElement *theMEBeam4Ring6Disc2NegAdcCounts;
0459   MonitorElement *theMEBeam4Ring6Disc3NegAdcCounts;
0460   MonitorElement *theMEBeam4Ring6Disc4NegAdcCounts;
0461   MonitorElement *theMEBeam4Ring6Disc5NegAdcCounts;
0462   MonitorElement *theMEBeam4Ring6Disc6NegAdcCounts;
0463   MonitorElement *theMEBeam4Ring6Disc7NegAdcCounts;
0464   MonitorElement *theMEBeam4Ring6Disc8NegAdcCounts;
0465   MonitorElement *theMEBeam4Ring6Disc9NegAdcCounts;
0466 
0467   // Adc counts for Beam 5 in Ring 6
0468   MonitorElement *theMEBeam5Ring6Disc1NegAdcCounts;
0469   MonitorElement *theMEBeam5Ring6Disc2NegAdcCounts;
0470   MonitorElement *theMEBeam5Ring6Disc3NegAdcCounts;
0471   MonitorElement *theMEBeam5Ring6Disc4NegAdcCounts;
0472   MonitorElement *theMEBeam5Ring6Disc5NegAdcCounts;
0473   MonitorElement *theMEBeam5Ring6Disc6NegAdcCounts;
0474   MonitorElement *theMEBeam5Ring6Disc7NegAdcCounts;
0475   MonitorElement *theMEBeam5Ring6Disc8NegAdcCounts;
0476   MonitorElement *theMEBeam5Ring6Disc9NegAdcCounts;
0477 
0478   // Adc counts for Beam 6 in Ring 6
0479   MonitorElement *theMEBeam6Ring6Disc1NegAdcCounts;
0480   MonitorElement *theMEBeam6Ring6Disc2NegAdcCounts;
0481   MonitorElement *theMEBeam6Ring6Disc3NegAdcCounts;
0482   MonitorElement *theMEBeam6Ring6Disc4NegAdcCounts;
0483   MonitorElement *theMEBeam6Ring6Disc5NegAdcCounts;
0484   MonitorElement *theMEBeam6Ring6Disc6NegAdcCounts;
0485   MonitorElement *theMEBeam6Ring6Disc7NegAdcCounts;
0486   MonitorElement *theMEBeam6Ring6Disc8NegAdcCounts;
0487   MonitorElement *theMEBeam6Ring6Disc9NegAdcCounts;
0488 
0489   // Adc counts for Beam 7 in Ring 6
0490   MonitorElement *theMEBeam7Ring6Disc1NegAdcCounts;
0491   MonitorElement *theMEBeam7Ring6Disc2NegAdcCounts;
0492   MonitorElement *theMEBeam7Ring6Disc3NegAdcCounts;
0493   MonitorElement *theMEBeam7Ring6Disc4NegAdcCounts;
0494   MonitorElement *theMEBeam7Ring6Disc5NegAdcCounts;
0495   MonitorElement *theMEBeam7Ring6Disc6NegAdcCounts;
0496   MonitorElement *theMEBeam7Ring6Disc7NegAdcCounts;
0497   MonitorElement *theMEBeam7Ring6Disc8NegAdcCounts;
0498   MonitorElement *theMEBeam7Ring6Disc9NegAdcCounts;
0499 
0500   // TOB Beams
0501   // Adc counts for Beam 0
0502   MonitorElement *theMEBeam0TOBPosition1AdcCounts;
0503   MonitorElement *theMEBeam0TOBPosition2AdcCounts;
0504   MonitorElement *theMEBeam0TOBPosition3AdcCounts;
0505   MonitorElement *theMEBeam0TOBPosition4AdcCounts;
0506   MonitorElement *theMEBeam0TOBPosition5AdcCounts;
0507   MonitorElement *theMEBeam0TOBPosition6AdcCounts;
0508 
0509   // Adc counts for Beam 1
0510   MonitorElement *theMEBeam1TOBPosition1AdcCounts;
0511   MonitorElement *theMEBeam1TOBPosition2AdcCounts;
0512   MonitorElement *theMEBeam1TOBPosition3AdcCounts;
0513   MonitorElement *theMEBeam1TOBPosition4AdcCounts;
0514   MonitorElement *theMEBeam1TOBPosition5AdcCounts;
0515   MonitorElement *theMEBeam1TOBPosition6AdcCounts;
0516 
0517   // Adc counts for Beam 2
0518   MonitorElement *theMEBeam2TOBPosition1AdcCounts;
0519   MonitorElement *theMEBeam2TOBPosition2AdcCounts;
0520   MonitorElement *theMEBeam2TOBPosition3AdcCounts;
0521   MonitorElement *theMEBeam2TOBPosition4AdcCounts;
0522   MonitorElement *theMEBeam2TOBPosition5AdcCounts;
0523   MonitorElement *theMEBeam2TOBPosition6AdcCounts;
0524 
0525   // Adc counts for Beam 3
0526   MonitorElement *theMEBeam3TOBPosition1AdcCounts;
0527   MonitorElement *theMEBeam3TOBPosition2AdcCounts;
0528   MonitorElement *theMEBeam3TOBPosition3AdcCounts;
0529   MonitorElement *theMEBeam3TOBPosition4AdcCounts;
0530   MonitorElement *theMEBeam3TOBPosition5AdcCounts;
0531   MonitorElement *theMEBeam3TOBPosition6AdcCounts;
0532 
0533   // Adc counts for Beam 4
0534   MonitorElement *theMEBeam4TOBPosition1AdcCounts;
0535   MonitorElement *theMEBeam4TOBPosition2AdcCounts;
0536   MonitorElement *theMEBeam4TOBPosition3AdcCounts;
0537   MonitorElement *theMEBeam4TOBPosition4AdcCounts;
0538   MonitorElement *theMEBeam4TOBPosition5AdcCounts;
0539   MonitorElement *theMEBeam4TOBPosition6AdcCounts;
0540 
0541   // Adc counts for Beam 5
0542   MonitorElement *theMEBeam5TOBPosition1AdcCounts;
0543   MonitorElement *theMEBeam5TOBPosition2AdcCounts;
0544   MonitorElement *theMEBeam5TOBPosition3AdcCounts;
0545   MonitorElement *theMEBeam5TOBPosition4AdcCounts;
0546   MonitorElement *theMEBeam5TOBPosition5AdcCounts;
0547   MonitorElement *theMEBeam5TOBPosition6AdcCounts;
0548 
0549   // Adc counts for Beam 6
0550   MonitorElement *theMEBeam6TOBPosition1AdcCounts;
0551   MonitorElement *theMEBeam6TOBPosition2AdcCounts;
0552   MonitorElement *theMEBeam6TOBPosition3AdcCounts;
0553   MonitorElement *theMEBeam6TOBPosition4AdcCounts;
0554   MonitorElement *theMEBeam6TOBPosition5AdcCounts;
0555   MonitorElement *theMEBeam6TOBPosition6AdcCounts;
0556 
0557   // Adc counts for Beam 7
0558   MonitorElement *theMEBeam7TOBPosition1AdcCounts;
0559   MonitorElement *theMEBeam7TOBPosition2AdcCounts;
0560   MonitorElement *theMEBeam7TOBPosition3AdcCounts;
0561   MonitorElement *theMEBeam7TOBPosition4AdcCounts;
0562   MonitorElement *theMEBeam7TOBPosition5AdcCounts;
0563   MonitorElement *theMEBeam7TOBPosition6AdcCounts;
0564 
0565   // TIB Beams
0566   // Adc counts for Beam 0
0567   MonitorElement *theMEBeam0TIBPosition1AdcCounts;
0568   MonitorElement *theMEBeam0TIBPosition2AdcCounts;
0569   MonitorElement *theMEBeam0TIBPosition3AdcCounts;
0570   MonitorElement *theMEBeam0TIBPosition4AdcCounts;
0571   MonitorElement *theMEBeam0TIBPosition5AdcCounts;
0572   MonitorElement *theMEBeam0TIBPosition6AdcCounts;
0573 
0574   // Adc counts for Beam 1
0575   MonitorElement *theMEBeam1TIBPosition1AdcCounts;
0576   MonitorElement *theMEBeam1TIBPosition2AdcCounts;
0577   MonitorElement *theMEBeam1TIBPosition3AdcCounts;
0578   MonitorElement *theMEBeam1TIBPosition4AdcCounts;
0579   MonitorElement *theMEBeam1TIBPosition5AdcCounts;
0580   MonitorElement *theMEBeam1TIBPosition6AdcCounts;
0581 
0582   // Adc counts for Beam 2
0583   MonitorElement *theMEBeam2TIBPosition1AdcCounts;
0584   MonitorElement *theMEBeam2TIBPosition2AdcCounts;
0585   MonitorElement *theMEBeam2TIBPosition3AdcCounts;
0586   MonitorElement *theMEBeam2TIBPosition4AdcCounts;
0587   MonitorElement *theMEBeam2TIBPosition5AdcCounts;
0588   MonitorElement *theMEBeam2TIBPosition6AdcCounts;
0589 
0590   // Adc counts for Beam 3
0591   MonitorElement *theMEBeam3TIBPosition1AdcCounts;
0592   MonitorElement *theMEBeam3TIBPosition2AdcCounts;
0593   MonitorElement *theMEBeam3TIBPosition3AdcCounts;
0594   MonitorElement *theMEBeam3TIBPosition4AdcCounts;
0595   MonitorElement *theMEBeam3TIBPosition5AdcCounts;
0596   MonitorElement *theMEBeam3TIBPosition6AdcCounts;
0597 
0598   // Adc counts for Beam 4
0599   MonitorElement *theMEBeam4TIBPosition1AdcCounts;
0600   MonitorElement *theMEBeam4TIBPosition2AdcCounts;
0601   MonitorElement *theMEBeam4TIBPosition3AdcCounts;
0602   MonitorElement *theMEBeam4TIBPosition4AdcCounts;
0603   MonitorElement *theMEBeam4TIBPosition5AdcCounts;
0604   MonitorElement *theMEBeam4TIBPosition6AdcCounts;
0605 
0606   // Adc counts for Beam 5
0607   MonitorElement *theMEBeam5TIBPosition1AdcCounts;
0608   MonitorElement *theMEBeam5TIBPosition2AdcCounts;
0609   MonitorElement *theMEBeam5TIBPosition3AdcCounts;
0610   MonitorElement *theMEBeam5TIBPosition4AdcCounts;
0611   MonitorElement *theMEBeam5TIBPosition5AdcCounts;
0612   MonitorElement *theMEBeam5TIBPosition6AdcCounts;
0613 
0614   // Adc counts for Beam 6
0615   MonitorElement *theMEBeam6TIBPosition1AdcCounts;
0616   MonitorElement *theMEBeam6TIBPosition2AdcCounts;
0617   MonitorElement *theMEBeam6TIBPosition3AdcCounts;
0618   MonitorElement *theMEBeam6TIBPosition4AdcCounts;
0619   MonitorElement *theMEBeam6TIBPosition5AdcCounts;
0620   MonitorElement *theMEBeam6TIBPosition6AdcCounts;
0621 
0622   // Adc counts for Beam 7
0623   MonitorElement *theMEBeam7TIBPosition1AdcCounts;
0624   MonitorElement *theMEBeam7TIBPosition2AdcCounts;
0625   MonitorElement *theMEBeam7TIBPosition3AdcCounts;
0626   MonitorElement *theMEBeam7TIBPosition4AdcCounts;
0627   MonitorElement *theMEBeam7TIBPosition5AdcCounts;
0628   MonitorElement *theMEBeam7TIBPosition6AdcCounts;
0629 };
0630 #endif