00001
00009 #include "Alignment/LaserAlignment/plugins/LaserAlignment.h"
00010 #include "FWCore/Framework/interface/Event.h"
00011
00012 #include "FWCore/Framework/interface/ESHandle.h"
00013 #include "DataFormats/Common/interface/Handle.h"
00014
00015 #include "Geometry/TrackerGeometryBuilder/interface/TrackerGeometry.h"
00016 #include "Geometry/TrackerGeometryBuilder/interface/PixelGeomDetUnit.h"
00017 #include "DataFormats/DetId/interface/DetId.h"
00018
00019 #include "DataFormats/SiStripDetId/interface/StripSubdetector.h"
00020 #include "DataFormats/SiStripDetId/interface/TECDetId.h"
00021 #include "DataFormats/SiStripDetId/interface/TIBDetId.h"
00022 #include "DataFormats/SiStripDetId/interface/TOBDetId.h"
00023
00024 void LaserAlignment::trackerStatistics(edm::Event const& theEvent,edm::EventSetup const& theSetup)
00025 {
00026
00027 TrackingGeometry::DetUnitContainer theDetUnits = theTrackerGeometry->detUnits();
00028
00029
00030 edm::Handle< edm::DetSetVector<SiStripRawDigi> > theStripDigis;
00031
00032 for (Parameters::iterator itDigiProducersList = theDigiProducersList.begin(); itDigiProducersList != theDigiProducersList.end(); ++itDigiProducersList)
00033 {
00034 std::string digiProducer = itDigiProducersList->getParameter<std::string>( "DigiProducer" );
00035 std::string digiLabel = itDigiProducersList->getParameter<std::string>( "DigiLabel" );
00036
00037 theEvent.getByLabel(digiProducer, digiLabel, theStripDigis);
00038
00039
00040
00041 for (TrackingGeometry::DetUnitContainer::const_iterator idet = theDetUnits.begin(); idet != theDetUnits.end(); idet++)
00042 {
00043
00044 DetId theDetUnitID = (*idet)->geographicalId();
00045
00046
00047 bool theDigis = false;
00048
00049
00050 edm::DetSetVector<SiStripRawDigi>::const_iterator DSViter = theStripDigis->find(theDetUnitID.rawId());
00051 edm::DetSet<SiStripRawDigi>::const_iterator theDigiRangeIterator;
00052 edm::DetSet<SiStripRawDigi>::const_iterator theDigiRangeIteratorEnd;
00053 if ( DSViter != theStripDigis->end() )
00054 {
00055 theDigiRangeIterator = (*DSViter).data.begin();
00056 theDigiRangeIteratorEnd = (*DSViter).data.end();
00057 theDigis = true;
00058 }
00059 else { theDigis = false; }
00060
00061
00062 int theBeam = -1;
00063 int theRing = 0;
00064 std::string thePart = "";
00065 int theTIBLayer = 0;
00066 int theTOBLayer = 0;
00067 int theTECWheel = 0;
00068 int theTOBStereoDet = 0;
00069
00070 switch (theDetUnitID.subdetId())
00071 {
00072 case StripSubdetector::TIB:
00073 {
00074 TIBDetId theTIBDetId(theDetUnitID.rawId());
00075 thePart = "TIB";
00076 theTIBLayer = theTIBDetId.layer();
00077 break;
00078 }
00079 case StripSubdetector::TOB:
00080 {
00081 TOBDetId theTOBDetId(theDetUnitID.rawId());
00082 thePart = "TOB";
00083 theTOBLayer = theTOBDetId.layer();
00084 theTOBStereoDet = theTOBDetId.stereo();
00085 break;
00086 }
00087 case StripSubdetector::TEC:
00088 {
00089 TECDetId theTECDetId(theDetUnitID.rawId());
00090
00091
00092 if (theTECDetId.side() == 1) { thePart = "TEC-"; }
00093 else if (theTECDetId.side() == 2) { thePart = "TEC+"; }
00094
00095
00096 if ( (*idet)->surface().position().perp() > 55.0 && (*idet)->surface().position().perp() < 59.0 )
00097 { theRing = 4; }
00098 else if ( (*idet)->surface().position().perp() > 81.0 && (*idet)->surface().position().perp() < 85.0 )
00099 { theRing = 6; }
00100 else
00101 { theRing = -1; }
00102
00103
00104 theTECWheel = theTECDetId.wheel();
00105 break;
00106 }
00107 }
00108
00109
00110 if ( thePart == "TIB" && theTIBLayer == 4 )
00111 {
00112 if ( ((*idet)->surface().position().phi() > 0.39 - theSearchPhiTIB)
00113 && ((*idet)->surface().position().phi() < 0.39 + theSearchPhiTIB)) { theBeam = 0; }
00114
00115 else if ( ((*idet)->surface().position().phi() > 1.29 - theSearchPhiTIB)
00116 && ((*idet)->surface().position().phi() < 1.29 + theSearchPhiTIB)) { theBeam = 1; }
00117
00118 else if ( ((*idet)->surface().position().phi() > 1.85 - theSearchPhiTIB)
00119 && ((*idet)->surface().position().phi() < 1.85 + theSearchPhiTIB)) { theBeam = 2; }
00120
00121 else if ( ((*idet)->surface().position().phi() > 2.75 - theSearchPhiTIB)
00122 && ((*idet)->surface().position().phi() < 2.75 + theSearchPhiTIB)) { theBeam = 3; }
00123
00124 else if ( ((*idet)->surface().position().phi() > -2.59 - theSearchPhiTIB)
00125 && ((*idet)->surface().position().phi() < -2.59 + theSearchPhiTIB)) { theBeam = 4; }
00126
00127 else if ( ((*idet)->surface().position().phi() > -2.00 - theSearchPhiTIB)
00128 && ((*idet)->surface().position().phi() < -2.00 + theSearchPhiTIB)) { theBeam = 5; }
00129
00130 else if ( ((*idet)->surface().position().phi() > -1.10 - theSearchPhiTIB)
00131 && ((*idet)->surface().position().phi() < -1.10 + theSearchPhiTIB)) { theBeam = 6; }
00132
00133 else if ( ((*idet)->surface().position().phi() > -0.50 - theSearchPhiTIB)
00134 && ((*idet)->surface().position().phi() < -0.50 + theSearchPhiTIB)) { theBeam = 7; }
00135 else
00136 { theBeam = -1; }
00137 }
00138 else if ( thePart == "TOB" && theTOBLayer == 1 )
00139 {
00140 if ( ((*idet)->surface().position().phi() > 0.39 - theSearchPhiTOB)
00141 && ((*idet)->surface().position().phi() < 0.39 + theSearchPhiTOB)) { theBeam = 0; }
00142
00143 else if ( ((*idet)->surface().position().phi() > 1.29 - theSearchPhiTOB)
00144 && ((*idet)->surface().position().phi() < 1.29 + theSearchPhiTOB)) { theBeam = 1; }
00145
00146 else if ( ((*idet)->surface().position().phi() > 1.85 - theSearchPhiTOB)
00147 && ((*idet)->surface().position().phi() < 1.85 + theSearchPhiTOB)) { theBeam = 2; }
00148
00149 else if ( ((*idet)->surface().position().phi() > 2.75 - theSearchPhiTOB)
00150 && ((*idet)->surface().position().phi() < 2.75 + theSearchPhiTOB)) { theBeam = 3; }
00151
00152 else if ( ((*idet)->surface().position().phi() > -2.59 - theSearchPhiTOB)
00153 && ((*idet)->surface().position().phi() < -2.59 + theSearchPhiTOB)) { theBeam = 4; }
00154
00155 else if ( ((*idet)->surface().position().phi() > -2.00 - theSearchPhiTOB)
00156 && ((*idet)->surface().position().phi() < -2.00 + theSearchPhiTOB)) { theBeam = 5; }
00157
00158 else if ( ((*idet)->surface().position().phi() > -1.10 - theSearchPhiTOB)
00159 && ((*idet)->surface().position().phi() < -1.10 + theSearchPhiTOB)) { theBeam = 6; }
00160
00161 else if ( ((*idet)->surface().position().phi() > -0.50 - theSearchPhiTOB)
00162 && ((*idet)->surface().position().phi() < -0.50 + theSearchPhiTOB)) { theBeam = 7; }
00163 else
00164 { theBeam = -1; }
00165 }
00166 else if ( thePart == "TEC+" || thePart == "TEC-" )
00167 {
00168 if ( ((*idet)->surface().position().phi() > 0.39 - theSearchPhiTEC)
00169 && ((*idet)->surface().position().phi() < 0.39 + theSearchPhiTEC)) { theBeam = 0; }
00170
00171 else if ( ((*idet)->surface().position().phi() > 1.18 - theSearchPhiTEC)
00172 && ((*idet)->surface().position().phi() < 1.18 + theSearchPhiTEC)) { theBeam = 1; }
00173
00174 else if ( ((*idet)->surface().position().phi() > 1.96 - theSearchPhiTEC)
00175 && ((*idet)->surface().position().phi() < 1.96 + theSearchPhiTEC)) { theBeam = 2; }
00176
00177 else if ( ((*idet)->surface().position().phi() > 2.74 - theSearchPhiTEC)
00178 && ((*idet)->surface().position().phi() < 2.74 + theSearchPhiTEC)) { theBeam = 3; }
00179
00180 else if ( ((*idet)->surface().position().phi() > -2.74 - theSearchPhiTEC)
00181 && ((*idet)->surface().position().phi() < -2.74 + theSearchPhiTEC)) { theBeam = 4; }
00182
00183 else if ( ((*idet)->surface().position().phi() > -1.96 - theSearchPhiTEC)
00184 && ((*idet)->surface().position().phi() < -1.96 + theSearchPhiTEC)) { theBeam = 5; }
00185
00186 else if ( ((*idet)->surface().position().phi() > -1.18 - theSearchPhiTEC)
00187 && ((*idet)->surface().position().phi() < -1.18 + theSearchPhiTEC)) { theBeam = 6; }
00188
00189 else if ( ((*idet)->surface().position().phi() > -0.39 - theSearchPhiTEC)
00190 && ((*idet)->surface().position().phi() < -0.39 + theSearchPhiTEC)) { theBeam = 7; }
00191
00192 else if ( ((*idet)->surface().position().phi() > 1.28 - theSearchPhiTEC)
00193 && ((*idet)->surface().position().phi() < 1.28 + theSearchPhiTEC)) { theBeam = 21; }
00194
00195 else if ( ((*idet)->surface().position().phi() > 1.84 - theSearchPhiTEC)
00196 && ((*idet)->surface().position().phi() < 1.84 + theSearchPhiTEC)) { theBeam = 22; }
00197
00198 else if ( ((*idet)->surface().position().phi() > -2.59 - theSearchPhiTEC)
00199 && ((*idet)->surface().position().phi() < -2.59 + theSearchPhiTEC)) { theBeam = 24; }
00200
00201 else if ( ((*idet)->surface().position().phi() > -1.10 - theSearchPhiTEC)
00202 && ((*idet)->surface().position().phi() < -1.10 + theSearchPhiTEC)) { theBeam = 26; }
00203
00204 else if ( ((*idet)->surface().position().phi() > -0.50 - theSearchPhiTEC)
00205 && ((*idet)->surface().position().phi() < -0.50 + theSearchPhiTEC)) { theBeam = 27; }
00206 else
00207 { theBeam = -1; }
00208 }
00209
00210
00211
00212
00213
00214 if ( theDetUnitID.rawId() == 470307208 )
00215 {
00216 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc1PosAdcCounts);
00217 theHistograms[theHistogramNames.at(0)] = theDetIdHisto;
00218
00219 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00220 currentDataProfiles.GetTECEntry( 0, 0, 0, 0 ) );
00221
00222 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00223 currentDataProfiles.GetTEC2TECEntry( 0, 0, 0 ) );
00224 }
00225 else if ( theDetUnitID.rawId() == 470323592 )
00226 {
00227 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc2PosAdcCounts);
00228 theHistograms[theHistogramNames.at(1)] = theDetIdHisto;
00229
00230 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00231 currentDataProfiles.GetTECEntry( 0, 0, 0, 1 ) );
00232
00233 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00234 currentDataProfiles.GetTEC2TECEntry( 0, 0, 1 ) );
00235 }
00236 else if ( theDetUnitID.rawId() == 470339976 )
00237 {
00238 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc3PosAdcCounts);
00239 theHistograms[theHistogramNames.at(2)] = theDetIdHisto;
00240
00241 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00242 currentDataProfiles.GetTECEntry( 0, 0, 0, 2 ) );
00243
00244 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00245 currentDataProfiles.GetTEC2TECEntry( 0, 0, 2 ) );
00246 }
00247 else if ( theDetUnitID.rawId() == 470356360 )
00248 {
00249 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc4PosAdcCounts);
00250 theHistograms[theHistogramNames.at(3)] = theDetIdHisto;
00251
00252 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00253 currentDataProfiles.GetTECEntry( 0, 0, 0, 3 ) );
00254
00255 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00256 currentDataProfiles.GetTEC2TECEntry( 0, 0, 3 ) );
00257 }
00258 else if ( theDetUnitID.rawId() == 470372744 )
00259 {
00260 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc5PosAdcCounts);
00261 theHistograms[theHistogramNames.at(4)] = theDetIdHisto;
00262
00263 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00264 currentDataProfiles.GetTECEntry( 0, 0, 0, 4 ) );
00265
00266 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00267 currentDataProfiles.GetTEC2TECEntry( 0, 0, 4 ) );
00268 }
00269 else if ( theDetUnitID.rawId() == 470389128 )
00270 {
00271 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc6PosAdcCounts);
00272 theHistograms[theHistogramNames.at(5)] = theDetIdHisto;
00273
00274 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00275 currentDataProfiles.GetTECEntry( 0, 0, 0, 5 ) );
00276 }
00277 else if ( theDetUnitID.rawId() == 470405512 )
00278 {
00279 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc7PosAdcCounts);
00280 theHistograms[theHistogramNames.at(6)] = theDetIdHisto;
00281
00282 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00283 currentDataProfiles.GetTECEntry( 0, 0, 0, 6 ) );
00284 }
00285 else if ( theDetUnitID.rawId() == 470421896 )
00286 {
00287 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc8PosAdcCounts);
00288 theHistograms[theHistogramNames.at(7)] = theDetIdHisto;
00289
00290 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00291 currentDataProfiles.GetTECEntry( 0, 0, 0, 7 ) );
00292 }
00293 else if ( theDetUnitID.rawId() == 470438280 )
00294 {
00295 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc9PosAdcCounts);
00296 theHistograms[theHistogramNames.at(8)] = theDetIdHisto;
00297
00298 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00299 currentDataProfiles.GetTECEntry( 0, 0, 0, 8 ) );
00300 }
00301
00302
00303
00304 else if ( theDetUnitID.rawId() == 470307464 )
00305 {
00306 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc1PosAdcCounts);
00307 theHistograms[theHistogramNames.at(9)] = theDetIdHisto;
00308
00309 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00310 currentDataProfiles.GetTECEntry( 0, 0, 1, 0 ) );
00311 }
00312 else if ( theDetUnitID.rawId() == 470323848 )
00313 {
00314 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc2PosAdcCounts);
00315 theHistograms[theHistogramNames.at(10)] = theDetIdHisto;
00316
00317 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00318 currentDataProfiles.GetTECEntry( 0, 0, 1, 1 ) );
00319 }
00320 else if ( theDetUnitID.rawId() == 470340232 )
00321 {
00322 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc3PosAdcCounts);
00323 theHistograms[theHistogramNames.at(11)] = theDetIdHisto;
00324
00325 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00326 currentDataProfiles.GetTECEntry( 0, 0, 1, 2 ) );
00327 }
00328 else if ( theDetUnitID.rawId() == 470356616 )
00329 {
00330 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc4PosAdcCounts);
00331 theHistograms[theHistogramNames.at(12)] = theDetIdHisto;
00332
00333 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00334 currentDataProfiles.GetTECEntry( 0, 0, 1, 3 ) );
00335 }
00336 else if ( theDetUnitID.rawId() == 470373000 )
00337 {
00338 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc5PosAdcCounts);
00339 theHistograms[theHistogramNames.at(13)] = theDetIdHisto;
00340
00341 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00342 currentDataProfiles.GetTECEntry( 0, 0, 1, 4 ) );
00343 }
00344 else if ( theDetUnitID.rawId() == 470389384 )
00345 {
00346 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc6PosAdcCounts);
00347 theHistograms[theHistogramNames.at(14)] = theDetIdHisto;
00348
00349 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00350 currentDataProfiles.GetTECEntry( 0, 0, 1, 5 ) );
00351 }
00352 else if ( theDetUnitID.rawId() == 470405768 )
00353 {
00354 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc7PosAdcCounts);
00355 theHistograms[theHistogramNames.at(15)] = theDetIdHisto;
00356
00357 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00358 currentDataProfiles.GetTECEntry( 0, 0, 1, 6 ) );
00359 }
00360 else if ( theDetUnitID.rawId() == 470422152 )
00361 {
00362 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc8PosAdcCounts);
00363 theHistograms[theHistogramNames.at(16)] = theDetIdHisto;
00364
00365 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00366 currentDataProfiles.GetTECEntry( 0, 0, 1, 7 ) );
00367 }
00368 else if ( theDetUnitID.rawId() == 470438536 )
00369 {
00370 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc9PosAdcCounts);
00371 theHistograms[theHistogramNames.at(17)] = theDetIdHisto;
00372
00373 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00374 currentDataProfiles.GetTECEntry( 0, 0, 1, 8 ) );
00375 }
00376
00377 else if ( theDetUnitID.rawId() == 470307468 )
00378 {
00379 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc1PosTEC2TECAdcCounts);
00380 theHistograms[theHistogramNames.at(18)] = theDetIdHisto;
00381
00382 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00383 currentDataProfiles.GetTEC2TECEntry( 0, 1, 0 ) );
00384 }
00385 else if ( theDetUnitID.rawId() == 470323852 )
00386 {
00387 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc2PosTEC2TECAdcCounts);
00388 theHistograms[theHistogramNames.at(19)] = theDetIdHisto;
00389
00390 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00391 currentDataProfiles.GetTEC2TECEntry( 0, 1, 1 ) );
00392 }
00393 else if ( theDetUnitID.rawId() == 470340236 )
00394 {
00395 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc3PosTEC2TECAdcCounts);
00396 theHistograms[theHistogramNames.at(20)] = theDetIdHisto;
00397
00398 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00399 currentDataProfiles.GetTEC2TECEntry( 0, 1, 2 ) );
00400 }
00401 else if ( theDetUnitID.rawId() == 470356620 )
00402 {
00403 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc4PosTEC2TECAdcCounts);
00404 theHistograms[theHistogramNames.at(21)] = theDetIdHisto;
00405
00406 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00407 currentDataProfiles.GetTEC2TECEntry( 0, 1, 3 ) );
00408 }
00409 else if ( theDetUnitID.rawId() == 470373004 )
00410 {
00411 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc5PosTEC2TECAdcCounts);
00412 theHistograms[theHistogramNames.at(22)] = theDetIdHisto;
00413
00414 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00415 currentDataProfiles.GetTEC2TECEntry( 0, 1, 4 ) );
00416 }
00417
00418
00419
00420 else if ( theDetUnitID.rawId() == 470307720 )
00421 {
00422 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc1PosAdcCounts);
00423 theHistograms[theHistogramNames.at(23)] = theDetIdHisto;
00424
00425 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00426 currentDataProfiles.GetTECEntry( 0, 0, 2, 0 ) );
00427 }
00428 else if ( theDetUnitID.rawId() == 470324104 )
00429 {
00430 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc2PosAdcCounts);
00431 theHistograms[theHistogramNames.at(24)] = theDetIdHisto;
00432
00433 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00434 currentDataProfiles.GetTECEntry( 0, 0, 2, 1 ) );
00435 }
00436 else if ( theDetUnitID.rawId() == 470340488 )
00437 {
00438 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc3PosAdcCounts);
00439 theHistograms[theHistogramNames.at(25)] = theDetIdHisto;
00440
00441 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00442 currentDataProfiles.GetTECEntry( 0, 0, 2, 2 ) );
00443 }
00444 else if ( theDetUnitID.rawId() == 470356872 )
00445 {
00446 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc4PosAdcCounts);
00447 theHistograms[theHistogramNames.at(26)] = theDetIdHisto;
00448
00449 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00450 currentDataProfiles.GetTECEntry( 0, 0, 2, 3 ) );
00451 }
00452 else if ( theDetUnitID.rawId() == 470373256 )
00453 {
00454 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc5PosAdcCounts);
00455 theHistograms[theHistogramNames.at(27)] = theDetIdHisto;
00456
00457 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00458 currentDataProfiles.GetTECEntry( 0, 0, 2, 4 ) );
00459 }
00460 else if ( theDetUnitID.rawId() == 470389640 )
00461 {
00462 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc6PosAdcCounts);
00463 theHistograms[theHistogramNames.at(28)] = theDetIdHisto;
00464
00465 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00466 currentDataProfiles.GetTECEntry( 0, 0, 2, 5 ) );
00467 }
00468 else if ( theDetUnitID.rawId() == 470406024 )
00469 {
00470 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc7PosAdcCounts);
00471 theHistograms[theHistogramNames.at(29)] = theDetIdHisto;
00472
00473 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00474 currentDataProfiles.GetTECEntry( 0, 0, 2, 6 ) );
00475 }
00476 else if ( theDetUnitID.rawId() == 470422408 )
00477 {
00478 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc8PosAdcCounts);
00479 theHistograms[theHistogramNames.at(30)] = theDetIdHisto;
00480
00481 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00482 currentDataProfiles.GetTECEntry( 0, 0, 2, 7 ) );
00483 }
00484 else if ( theDetUnitID.rawId() == 470438792 )
00485 {
00486 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc9PosAdcCounts);
00487 theHistograms[theHistogramNames.at(31)] = theDetIdHisto;
00488
00489 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00490 currentDataProfiles.GetTECEntry( 0, 0, 2, 8 ) );
00491 }
00492
00493
00494
00495 else if ( theDetUnitID.rawId() == 470307716 )
00496 {
00497 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc1PosTEC2TECAdcCounts);
00498 theHistograms[theHistogramNames.at(32)] = theDetIdHisto;
00499
00500 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00501 currentDataProfiles.GetTEC2TECEntry( 0, 2, 0 ) );
00502 }
00503 else if ( theDetUnitID.rawId() == 470324100 )
00504 {
00505 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc2PosTEC2TECAdcCounts);
00506 theHistograms[theHistogramNames.at(33)] = theDetIdHisto;
00507
00508 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00509 currentDataProfiles.GetTEC2TECEntry( 0, 2, 1 ) );
00510 }
00511 else if ( theDetUnitID.rawId() == 470340484 )
00512 {
00513 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc3PosTEC2TECAdcCounts);
00514 theHistograms[theHistogramNames.at(34)] = theDetIdHisto;
00515
00516 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00517 currentDataProfiles.GetTEC2TECEntry( 0, 2, 2 ) );
00518 }
00519 else if ( theDetUnitID.rawId() == 470356868 )
00520 {
00521 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc4PosTEC2TECAdcCounts);
00522 theHistograms[theHistogramNames.at(35)] = theDetIdHisto;
00523
00524 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00525 currentDataProfiles.GetTEC2TECEntry( 0, 2, 3 ) );
00526 }
00527 else if ( theDetUnitID.rawId() == 470373252 )
00528 {
00529 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc5PosTEC2TECAdcCounts);
00530 theHistograms[theHistogramNames.at(36)] = theDetIdHisto;
00531
00532 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00533 currentDataProfiles.GetTEC2TECEntry( 0, 2, 4 ) );
00534 }
00535
00536
00537
00538 else if ( theDetUnitID.rawId() == 470307976 )
00539 {
00540 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc1PosAdcCounts);
00541 theHistograms[theHistogramNames.at(37)] = theDetIdHisto;
00542
00543 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00544 currentDataProfiles.GetTECEntry( 0, 0, 3, 0 ) );
00545
00546 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00547 currentDataProfiles.GetTEC2TECEntry( 0, 3, 0 ) );
00548 }
00549 else if ( theDetUnitID.rawId() == 470324360 )
00550 {
00551 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc2PosAdcCounts);
00552 theHistograms[theHistogramNames.at(38)] = theDetIdHisto;
00553
00554 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00555 currentDataProfiles.GetTECEntry( 0, 0, 3, 1 ) );
00556
00557 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00558 currentDataProfiles.GetTEC2TECEntry( 0, 3, 1 ) );
00559 }
00560 else if ( theDetUnitID.rawId() == 470340744 )
00561 {
00562 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc3PosAdcCounts);
00563 theHistograms[theHistogramNames.at(39)] = theDetIdHisto;
00564
00565 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00566 currentDataProfiles.GetTECEntry( 0, 0, 3, 2 ) );
00567
00568 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00569 currentDataProfiles.GetTEC2TECEntry( 0, 3, 2 ) );
00570 }
00571 else if ( theDetUnitID.rawId() == 470357128 )
00572 {
00573 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc4PosAdcCounts);
00574 theHistograms[theHistogramNames.at(40)] = theDetIdHisto;
00575
00576 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00577 currentDataProfiles.GetTECEntry( 0, 0, 3, 3 ) );
00578
00579 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00580 currentDataProfiles.GetTEC2TECEntry( 0, 3, 3 ) );
00581 }
00582 else if ( theDetUnitID.rawId() == 470373512 )
00583 {
00584 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc5PosAdcCounts);
00585 theHistograms[theHistogramNames.at(41)] = theDetIdHisto;
00586
00587 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00588 currentDataProfiles.GetTECEntry( 0, 0, 3, 4 ) );
00589
00590 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00591 currentDataProfiles.GetTEC2TECEntry( 0, 3, 4 ) );
00592 }
00593 else if ( theDetUnitID.rawId() == 470389896 )
00594 {
00595 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc6PosAdcCounts);
00596 theHistograms[theHistogramNames.at(42)] = theDetIdHisto;
00597
00598 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00599 currentDataProfiles.GetTECEntry( 0, 0, 3, 5 ) );
00600 }
00601 else if ( theDetUnitID.rawId() == 470406280 )
00602 {
00603 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc7PosAdcCounts);
00604 theHistograms[theHistogramNames.at(43)] = theDetIdHisto;
00605
00606 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00607 currentDataProfiles.GetTECEntry( 0, 0, 3, 6 ) );
00608 }
00609 else if ( theDetUnitID.rawId() == 470422664 )
00610 {
00611 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc8PosAdcCounts);
00612 theHistograms[theHistogramNames.at(44)] = theDetIdHisto;
00613
00614 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00615 currentDataProfiles.GetTECEntry( 0, 0, 3, 7 ) );
00616 }
00617 else if ( theDetUnitID.rawId() == 470439048 )
00618 {
00619 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc9PosAdcCounts);
00620 theHistograms[theHistogramNames.at(45)] = theDetIdHisto;
00621
00622 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00623 currentDataProfiles.GetTECEntry( 0, 0, 3, 8 ) );
00624 }
00625
00626
00627
00628 else if ( theDetUnitID.rawId() == 470308232 )
00629 {
00630 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc1PosAdcCounts);
00631 theHistograms[theHistogramNames.at(46)] = theDetIdHisto;
00632
00633 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00634 currentDataProfiles.GetTECEntry( 0, 0, 4, 0 ) );
00635 }
00636 else if ( theDetUnitID.rawId() == 470324616 )
00637 {
00638 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc2PosAdcCounts);
00639 theHistograms[theHistogramNames.at(47)] = theDetIdHisto;
00640
00641 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00642 currentDataProfiles.GetTECEntry( 0, 0, 4, 1 ) );
00643 }
00644 else if ( theDetUnitID.rawId() == 470341000 )
00645 {
00646 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc3PosAdcCounts);
00647 theHistograms[theHistogramNames.at(48)] = theDetIdHisto;
00648
00649 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00650 currentDataProfiles.GetTECEntry( 0, 0, 4, 2 ) );
00651 }
00652 else if ( theDetUnitID.rawId() == 470357384 )
00653 {
00654 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc4PosAdcCounts);
00655 theHistograms[theHistogramNames.at(49)] = theDetIdHisto;
00656
00657 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00658 currentDataProfiles.GetTECEntry( 0, 0, 4, 3 ) );
00659 }
00660 else if ( theDetUnitID.rawId() == 470373768 )
00661 {
00662 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc5PosAdcCounts);
00663 theHistograms[theHistogramNames.at(50)] = theDetIdHisto;
00664
00665 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00666 currentDataProfiles.GetTECEntry( 0, 0, 4, 4 ) );
00667 }
00668 else if ( theDetUnitID.rawId() == 470390152 )
00669 {
00670 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc6PosAdcCounts);
00671 theHistograms[theHistogramNames.at(51)] = theDetIdHisto;
00672
00673 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00674 currentDataProfiles.GetTECEntry( 0, 0, 4, 5 ) );
00675 }
00676 else if ( theDetUnitID.rawId() == 470406536 )
00677 {
00678 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc7PosAdcCounts);
00679 theHistograms[theHistogramNames.at(52)] = theDetIdHisto;
00680
00681 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00682 currentDataProfiles.GetTECEntry( 0, 0, 4, 6 ) );
00683 }
00684 else if ( theDetUnitID.rawId() == 470422920 )
00685 {
00686 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc8PosAdcCounts);
00687 theHistograms[theHistogramNames.at(53)] = theDetIdHisto;
00688
00689 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00690 currentDataProfiles.GetTECEntry( 0, 0, 4, 7 ) );
00691 }
00692 else if ( theDetUnitID.rawId() == 470439304 )
00693 {
00694 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc9PosAdcCounts);
00695 theHistograms[theHistogramNames.at(54)] = theDetIdHisto;
00696
00697 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00698 currentDataProfiles.GetTECEntry( 0, 0, 4, 8 ) );
00699 }
00700
00701 else if ( theDetUnitID.rawId() == 470308236 )
00702 {
00703 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc1PosTEC2TECAdcCounts);
00704 theHistograms[theHistogramNames.at(55)] = theDetIdHisto;
00705
00706 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00707 currentDataProfiles.GetTEC2TECEntry( 0, 4, 0 ) );
00708 }
00709 else if ( theDetUnitID.rawId() == 470324620 )
00710 {
00711 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc2PosTEC2TECAdcCounts);
00712 theHistograms[theHistogramNames.at(56)] = theDetIdHisto;
00713
00714 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00715 currentDataProfiles.GetTEC2TECEntry( 0, 4, 1 ) );
00716 }
00717 else if ( theDetUnitID.rawId() == 470341004 )
00718 {
00719 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc3PosTEC2TECAdcCounts);
00720 theHistograms[theHistogramNames.at(57)] = theDetIdHisto;
00721
00722 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00723 currentDataProfiles.GetTEC2TECEntry( 0, 4, 2 ) );
00724 }
00725 else if ( theDetUnitID.rawId() == 470357388 )
00726 {
00727 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc4PosTEC2TECAdcCounts);
00728 theHistograms[theHistogramNames.at(58)] = theDetIdHisto;
00729
00730 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00731 currentDataProfiles.GetTEC2TECEntry( 0, 4, 3 ) );
00732 }
00733 else if ( theDetUnitID.rawId() == 470373772 )
00734 {
00735 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc5PosTEC2TECAdcCounts);
00736 theHistograms[theHistogramNames.at(59)] = theDetIdHisto;
00737
00738 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00739 currentDataProfiles.GetTEC2TECEntry( 0, 4, 4 ) );
00740 }
00741
00742
00743
00744
00745
00746
00747
00748 else if ( theDetUnitID.rawId() == 470308488 )
00749 {
00750 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc1PosAdcCounts);
00751 theHistograms[theHistogramNames.at(60)] = theDetIdHisto;
00752
00753 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00754 currentDataProfiles.GetTECEntry( 0, 0, 5, 0 ) );
00755
00756 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00757 currentDataProfiles.GetTEC2TECEntry( 0, 5, 0 ) );
00758 }
00759 else if ( theDetUnitID.rawId() == 470324872 )
00760 {
00761 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc2PosAdcCounts);
00762 theHistograms[theHistogramNames.at(61)] = theDetIdHisto;
00763
00764 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00765 currentDataProfiles.GetTECEntry( 0, 0, 5, 1 ) );
00766
00767 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00768 currentDataProfiles.GetTEC2TECEntry( 0, 5, 1 ) );
00769 }
00770 else if ( theDetUnitID.rawId() == 470341256 )
00771 {
00772 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc3PosAdcCounts);
00773 theHistograms[theHistogramNames.at(62)] = theDetIdHisto;
00774
00775 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00776 currentDataProfiles.GetTECEntry( 0, 0, 5, 2 ) );
00777
00778 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00779 currentDataProfiles.GetTEC2TECEntry( 0, 5, 2 ) );
00780 }
00781 else if ( theDetUnitID.rawId() == 470357640 )
00782 {
00783 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc4PosAdcCounts);
00784 theHistograms[theHistogramNames.at(63)] = theDetIdHisto;
00785
00786 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00787 currentDataProfiles.GetTECEntry( 0, 0, 5, 3 ) );
00788
00789 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00790 currentDataProfiles.GetTEC2TECEntry( 0, 5, 3 ) );
00791 }
00792 else if ( theDetUnitID.rawId() == 470374024 )
00793 {
00794 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc5PosAdcCounts);
00795 theHistograms[theHistogramNames.at(64)] = theDetIdHisto;
00796
00797 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00798 currentDataProfiles.GetTECEntry( 0, 0, 5, 4 ) );
00799
00800 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00801 currentDataProfiles.GetTEC2TECEntry( 0, 5, 4 ) );
00802 }
00803 else if ( theDetUnitID.rawId() == 470390408 )
00804 {
00805 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc6PosAdcCounts);
00806 theHistograms[theHistogramNames.at(65)] = theDetIdHisto;
00807
00808 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00809 currentDataProfiles.GetTECEntry( 0, 0, 5, 5 ) );
00810 }
00811 else if ( theDetUnitID.rawId() == 470406792 )
00812 {
00813 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc7PosAdcCounts);
00814 theHistograms[theHistogramNames.at(66)] = theDetIdHisto;
00815
00816 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00817 currentDataProfiles.GetTECEntry( 0, 0, 5, 6 ) );
00818 }
00819 else if ( theDetUnitID.rawId() == 470423176 )
00820 {
00821 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc8PosAdcCounts);
00822 theHistograms[theHistogramNames.at(67)] = theDetIdHisto;
00823
00824 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00825 currentDataProfiles.GetTECEntry( 0, 0, 5, 7 ) );
00826 }
00827 else if ( theDetUnitID.rawId() == 470439560 )
00828 {
00829 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc9PosAdcCounts);
00830 theHistograms[theHistogramNames.at(68)] = theDetIdHisto;
00831
00832 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00833 currentDataProfiles.GetTECEntry( 0, 0, 5, 8 ) );
00834 }
00835
00836
00837
00838 else if ( theDetUnitID.rawId() == 470308744 )
00839 {
00840 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc1PosAdcCounts);
00841 theHistograms[theHistogramNames.at(69)] = theDetIdHisto;
00842
00843 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00844 currentDataProfiles.GetTECEntry( 0, 0, 6, 0 ) );
00845 }
00846 else if ( theDetUnitID.rawId() == 470325128 )
00847 {
00848 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc2PosAdcCounts);
00849 theHistograms[theHistogramNames.at(70)] = theDetIdHisto;
00850
00851 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00852 currentDataProfiles.GetTECEntry( 0, 0, 6, 1 ) );
00853 }
00854 else if ( theDetUnitID.rawId() == 470341512 )
00855 {
00856 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc3PosAdcCounts);
00857 theHistograms[theHistogramNames.at(71)] = theDetIdHisto;
00858
00859 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00860 currentDataProfiles.GetTECEntry( 0, 0, 6, 2 ) );
00861 }
00862 else if ( theDetUnitID.rawId() == 470357896 )
00863 {
00864 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc4PosAdcCounts);
00865 theHistograms[theHistogramNames.at(72)] = theDetIdHisto;
00866
00867 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00868 currentDataProfiles.GetTECEntry( 0, 0, 6, 3 ) );
00869 }
00870 else if ( theDetUnitID.rawId() == 470374280 )
00871 {
00872 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc5PosAdcCounts);
00873 theHistograms[theHistogramNames.at(73)] = theDetIdHisto;
00874
00875 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00876 currentDataProfiles.GetTECEntry( 0, 0, 6, 4 ) );
00877 }
00878 else if ( theDetUnitID.rawId() == 470390664 )
00879 {
00880 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc6PosAdcCounts);
00881 theHistograms[theHistogramNames.at(74)] = theDetIdHisto;
00882
00883 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00884 currentDataProfiles.GetTECEntry( 0, 0, 6, 5 ) );
00885 }
00886 else if ( theDetUnitID.rawId() == 470407048 )
00887 {
00888 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc7PosAdcCounts);
00889 theHistograms[theHistogramNames.at(75)] = theDetIdHisto;
00890
00891 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00892 currentDataProfiles.GetTECEntry( 0, 0, 6, 6 ) );
00893 }
00894 else if ( theDetUnitID.rawId() == 470423432 )
00895 {
00896 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc8PosAdcCounts);
00897 theHistograms[theHistogramNames.at(76)] = theDetIdHisto;
00898
00899 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00900 currentDataProfiles.GetTECEntry( 0, 0, 6, 7 ) );
00901 }
00902 else if ( theDetUnitID.rawId() == 470439816 )
00903 {
00904 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc9PosAdcCounts);
00905 theHistograms[theHistogramNames.at(77)] = theDetIdHisto;
00906
00907 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00908 currentDataProfiles.GetTECEntry( 0, 0, 6, 8 ) );
00909 }
00910
00911 else if ( theDetUnitID.rawId() == 470308748 )
00912 {
00913 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc1PosTEC2TECAdcCounts);
00914 theHistograms[theHistogramNames.at(78)] = theDetIdHisto;
00915
00916 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00917 currentDataProfiles.GetTEC2TECEntry( 0, 6, 0 ) );
00918 }
00919 else if ( theDetUnitID.rawId() == 470325132 )
00920 {
00921 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc2PosTEC2TECAdcCounts);
00922 theHistograms[theHistogramNames.at(79)] = theDetIdHisto;
00923
00924 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00925 currentDataProfiles.GetTEC2TECEntry( 0, 6, 1 ) );
00926 }
00927 else if ( theDetUnitID.rawId() == 470341516 )
00928 {
00929 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc3PosTEC2TECAdcCounts);
00930 theHistograms[theHistogramNames.at(80)] = theDetIdHisto;
00931
00932 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00933 currentDataProfiles.GetTEC2TECEntry( 0, 6, 2 ) );
00934 }
00935 else if ( theDetUnitID.rawId() == 470357900 )
00936 {
00937 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc4PosTEC2TECAdcCounts);
00938 theHistograms[theHistogramNames.at(81)] = theDetIdHisto;
00939
00940 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00941 currentDataProfiles.GetTEC2TECEntry( 0, 6, 3 ) );
00942 }
00943 else if ( theDetUnitID.rawId() == 470374284 )
00944 {
00945 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc5PosTEC2TECAdcCounts);
00946 theHistograms[theHistogramNames.at(82)] = theDetIdHisto;
00947
00948 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00949 currentDataProfiles.GetTEC2TECEntry( 0, 6, 4 ) );
00950 }
00951
00952
00953
00954 else if ( theDetUnitID.rawId() == 470309000 )
00955 {
00956 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc1PosAdcCounts);
00957 theHistograms[theHistogramNames.at(83)] = theDetIdHisto;
00958
00959 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00960 currentDataProfiles.GetTECEntry( 0, 0, 7, 0 ) );
00961 }
00962 else if ( theDetUnitID.rawId() == 470325384 )
00963 {
00964 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc2PosAdcCounts);
00965 theHistograms[theHistogramNames.at(84)] = theDetIdHisto;
00966
00967 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00968 currentDataProfiles.GetTECEntry( 0, 0, 7, 1 ) );
00969 }
00970 else if ( theDetUnitID.rawId() == 470341768 )
00971 {
00972 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc3PosAdcCounts);
00973 theHistograms[theHistogramNames.at(85)] = theDetIdHisto;
00974
00975 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00976 currentDataProfiles.GetTECEntry( 0, 0, 7, 2 ) );
00977 }
00978 else if ( theDetUnitID.rawId() == 470358152 )
00979 {
00980 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc4PosAdcCounts);
00981 theHistograms[theHistogramNames.at(86)] = theDetIdHisto;
00982
00983 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00984 currentDataProfiles.GetTECEntry( 0, 0, 7, 3 ) );
00985 }
00986 else if ( theDetUnitID.rawId() == 470374536 )
00987 {
00988 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc5PosAdcCounts);
00989 theHistograms[theHistogramNames.at(87)] = theDetIdHisto;
00990
00991 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
00992 currentDataProfiles.GetTECEntry( 0, 0, 7, 4 ) );
00993 }
00994 else if ( theDetUnitID.rawId() == 470390920 )
00995 {
00996 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc6PosAdcCounts);
00997 theHistograms[theHistogramNames.at(88)] = theDetIdHisto;
00998
00999 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01000 currentDataProfiles.GetTECEntry( 0, 0, 7, 5 ) );
01001 }
01002 else if ( theDetUnitID.rawId() == 470407304 )
01003 {
01004 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc7PosAdcCounts);
01005 theHistograms[theHistogramNames.at(89)] = theDetIdHisto;
01006
01007 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01008 currentDataProfiles.GetTECEntry( 0, 0, 7, 6 ) );
01009 }
01010 else if ( theDetUnitID.rawId() == 470423688 )
01011 {
01012 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc8PosAdcCounts);
01013 theHistograms[theHistogramNames.at(90)] = theDetIdHisto;
01014
01015 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01016 currentDataProfiles.GetTECEntry( 0, 0, 7, 7 ) );
01017 }
01018 else if ( theDetUnitID.rawId() == 470440072 )
01019 {
01020 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc9PosAdcCounts);
01021 theHistograms[theHistogramNames.at(91)] = theDetIdHisto;
01022
01023 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01024 currentDataProfiles.GetTECEntry( 0, 0, 7, 8 ) );
01025 }
01026
01027
01028
01029
01030 else if ( theDetUnitID.rawId() == 470308996 )
01031 {
01032 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc1PosTEC2TECAdcCounts);
01033 theHistograms[theHistogramNames.at(92)] = theDetIdHisto;
01034
01035 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01036 currentDataProfiles.GetTEC2TECEntry( 0, 7, 0 ) );
01037 }
01038 else if ( theDetUnitID.rawId() == 470325380 )
01039 {
01040 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc2PosTEC2TECAdcCounts);
01041 theHistograms[theHistogramNames.at(93)] = theDetIdHisto;
01042
01043 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01044 currentDataProfiles.GetTEC2TECEntry( 0, 7, 1 ) );
01045 }
01046 else if ( theDetUnitID.rawId() == 470341764 )
01047 {
01048 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc3PosTEC2TECAdcCounts);
01049 theHistograms[theHistogramNames.at(94)] = theDetIdHisto;
01050
01051 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01052 currentDataProfiles.GetTEC2TECEntry( 0, 7, 2 ) );
01053 }
01054 else if ( theDetUnitID.rawId() == 470358148 )
01055 {
01056 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc4PosTEC2TECAdcCounts);
01057 theHistograms[theHistogramNames.at(95)] = theDetIdHisto;
01058
01059 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01060 currentDataProfiles.GetTEC2TECEntry( 0, 7, 3 ) );
01061 }
01062 else if ( theDetUnitID.rawId() == 470374532 )
01063 {
01064 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc5PosTEC2TECAdcCounts);
01065 theHistograms[theHistogramNames.at(96)] = theDetIdHisto;
01066
01067 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01068 currentDataProfiles.GetTEC2TECEntry( 0, 7, 4 ) );
01069 }
01070
01071
01072
01073 else if ( theDetUnitID.rawId() == 470307272 )
01074 {
01075 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc1PosAdcCounts);
01076 theHistograms[theHistogramNames.at(97)] = theDetIdHisto;
01077
01078 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01079 currentDataProfiles.GetTECEntry( 0, 1, 0, 0 ) );
01080 }
01081 else if ( theDetUnitID.rawId() == 470323656 )
01082 {
01083 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc2PosAdcCounts);
01084 theHistograms[theHistogramNames.at(98)] = theDetIdHisto;
01085
01086 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01087 currentDataProfiles.GetTECEntry( 0, 1, 0, 1 ) );
01088 }
01089 else if ( theDetUnitID.rawId() == 470340040 )
01090 {
01091 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc3PosAdcCounts);
01092 theHistograms[theHistogramNames.at(99)] = theDetIdHisto;
01093
01094 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01095 currentDataProfiles.GetTECEntry( 0, 1, 0, 2 ) );
01096 }
01097 else if ( theDetUnitID.rawId() == 470356424 )
01098 {
01099 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc4PosAdcCounts);
01100 theHistograms[theHistogramNames.at(100)] = theDetIdHisto;
01101
01102 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01103 currentDataProfiles.GetTECEntry( 0, 1, 0, 3 ) );
01104 }
01105 else if ( theDetUnitID.rawId() == 470372808 )
01106 {
01107 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc5PosAdcCounts);
01108 theHistograms[theHistogramNames.at(101)] = theDetIdHisto;
01109
01110 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01111 currentDataProfiles.GetTECEntry( 0, 1, 0, 4 ) );
01112 }
01113 else if ( theDetUnitID.rawId() == 470389192 )
01114 {
01115 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc6PosAdcCounts);
01116 theHistograms[theHistogramNames.at(102)] = theDetIdHisto;
01117
01118 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01119 currentDataProfiles.GetTECEntry( 0, 1, 0, 5 ) );
01120 }
01121 else if ( theDetUnitID.rawId() == 470405576 )
01122 {
01123 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc7PosAdcCounts);
01124 theHistograms[theHistogramNames.at(103)] = theDetIdHisto;
01125
01126 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01127 currentDataProfiles.GetTECEntry( 0, 1, 0, 6 ) );
01128 }
01129 else if ( theDetUnitID.rawId() == 470421960 )
01130 {
01131 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc8PosAdcCounts);
01132 theHistograms[theHistogramNames.at(104)] = theDetIdHisto;
01133
01134 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01135 currentDataProfiles.GetTECEntry( 0, 1, 0, 7 ) );
01136 }
01137 else if ( theDetUnitID.rawId() == 470438344 )
01138 {
01139 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc9PosAdcCounts);
01140 theHistograms[theHistogramNames.at(105)] = theDetIdHisto;
01141
01142 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01143 currentDataProfiles.GetTECEntry( 0, 1, 0, 8 ) );
01144 }
01145
01146
01147
01148 else if ( theDetUnitID.rawId() == 470307528 )
01149 {
01150 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc1PosAdcCounts);
01151 theHistograms[theHistogramNames.at(106)] = theDetIdHisto;
01152
01153 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01154 currentDataProfiles.GetTECEntry( 0, 1, 1, 0 ) );
01155 }
01156 else if ( theDetUnitID.rawId() == 470323912 )
01157 {
01158 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc2PosAdcCounts);
01159 theHistograms[theHistogramNames.at(107)] = theDetIdHisto;
01160
01161 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01162 currentDataProfiles.GetTECEntry( 0, 1, 1, 1 ) );
01163 }
01164 else if ( theDetUnitID.rawId() == 470340296 )
01165 {
01166 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc3PosAdcCounts);
01167 theHistograms[theHistogramNames.at(108)] = theDetIdHisto;
01168
01169 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01170 currentDataProfiles.GetTECEntry( 0, 1, 1, 2 ) );
01171 }
01172 else if ( theDetUnitID.rawId() == 470356680 )
01173 {
01174 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc4PosAdcCounts);
01175 theHistograms[theHistogramNames.at(109)] = theDetIdHisto;
01176
01177 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01178 currentDataProfiles.GetTECEntry( 0, 1, 1, 3 ) );
01179 }
01180 else if ( theDetUnitID.rawId() == 470373064 )
01181 {
01182 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc5PosAdcCounts);
01183 theHistograms[theHistogramNames.at(110)] = theDetIdHisto;
01184
01185 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01186 currentDataProfiles.GetTECEntry( 0, 1, 1, 4 ) );
01187 }
01188 else if ( theDetUnitID.rawId() == 470389448 )
01189 {
01190 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc6PosAdcCounts);
01191 theHistograms[theHistogramNames.at(111)] = theDetIdHisto;
01192
01193 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01194 currentDataProfiles.GetTECEntry( 0, 1, 1, 5 ) );
01195 }
01196 else if ( theDetUnitID.rawId() == 470405832 )
01197 {
01198 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc7PosAdcCounts);
01199 theHistograms[theHistogramNames.at(112)] = theDetIdHisto;
01200
01201 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01202 currentDataProfiles.GetTECEntry( 0, 1, 1, 6 ) );
01203 }
01204 else if ( theDetUnitID.rawId() == 470422216 )
01205 {
01206 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc8PosAdcCounts);
01207 theHistograms[theHistogramNames.at(113)] = theDetIdHisto;
01208
01209 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01210 currentDataProfiles.GetTECEntry( 0, 1, 1, 7 ) );
01211 }
01212 else if ( theDetUnitID.rawId() == 470438600 )
01213 {
01214 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc9PosAdcCounts);
01215 theHistograms[theHistogramNames.at(114)] = theDetIdHisto;
01216
01217 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01218 currentDataProfiles.GetTECEntry( 0, 1, 1, 8 ) );
01219 }
01220
01221
01222
01223 else if ( theDetUnitID.rawId() == 470307784 )
01224 {
01225 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc1PosAdcCounts);
01226 theHistograms[theHistogramNames.at(115)] = theDetIdHisto;
01227
01228 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01229 currentDataProfiles.GetTECEntry( 0, 1, 2, 0 ) );
01230 }
01231 else if ( theDetUnitID.rawId() == 470324168 )
01232 {
01233 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc2PosAdcCounts);
01234 theHistograms[theHistogramNames.at(116)] = theDetIdHisto;
01235
01236 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01237 currentDataProfiles.GetTECEntry( 0, 1, 2, 1 ) );
01238 }
01239 else if ( theDetUnitID.rawId() == 470340552 )
01240 {
01241 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc3PosAdcCounts);
01242 theHistograms[theHistogramNames.at(117)] = theDetIdHisto;
01243
01244 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01245 currentDataProfiles.GetTECEntry( 0, 1, 2, 2 ) );
01246 }
01247 else if ( theDetUnitID.rawId() == 470356936 )
01248 {
01249 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc4PosAdcCounts);
01250 theHistograms[theHistogramNames.at(118)] = theDetIdHisto;
01251
01252 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01253 currentDataProfiles.GetTECEntry( 0, 1, 2, 3 ) );
01254 }
01255 else if ( theDetUnitID.rawId() == 470373320 )
01256 {
01257 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc5PosAdcCounts);
01258 theHistograms[theHistogramNames.at(119)] = theDetIdHisto;
01259
01260 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01261 currentDataProfiles.GetTECEntry( 0, 1, 2, 4 ) );
01262 }
01263 else if ( theDetUnitID.rawId() == 470389704 )
01264 {
01265 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc6PosAdcCounts);
01266 theHistograms[theHistogramNames.at(120)] = theDetIdHisto;
01267
01268 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01269 currentDataProfiles.GetTECEntry( 0, 1, 2, 5 ) );
01270 }
01271 else if ( theDetUnitID.rawId() == 470406088 )
01272 {
01273 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc7PosAdcCounts);
01274 theHistograms[theHistogramNames.at(121)] = theDetIdHisto;
01275
01276 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01277 currentDataProfiles.GetTECEntry( 0, 1, 2, 6 ) );
01278 }
01279 else if ( theDetUnitID.rawId() == 470422472 )
01280 {
01281 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc8PosAdcCounts);
01282 theHistograms[theHistogramNames.at(122)] = theDetIdHisto;
01283
01284 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01285 currentDataProfiles.GetTECEntry( 0, 1, 2, 7 ) );
01286 }
01287 else if ( theDetUnitID.rawId() == 470438856 )
01288 {
01289 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc9PosAdcCounts);
01290 theHistograms[theHistogramNames.at(123)] = theDetIdHisto;
01291
01292 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01293 currentDataProfiles.GetTECEntry( 0, 1, 2, 8 ) );
01294 }
01295
01296
01297
01298 else if ( theDetUnitID.rawId() == 470308040 )
01299 {
01300 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc1PosAdcCounts);
01301 theHistograms[theHistogramNames.at(124)] = theDetIdHisto;
01302
01303 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01304 currentDataProfiles.GetTECEntry( 0, 1, 3, 0 ) );
01305 }
01306 else if ( theDetUnitID.rawId() == 470324424 )
01307 {
01308 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc2PosAdcCounts);
01309 theHistograms[theHistogramNames.at(125)] = theDetIdHisto;
01310
01311 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01312 currentDataProfiles.GetTECEntry( 0, 1, 3, 1 ) );
01313 }
01314 else if ( theDetUnitID.rawId() == 470340808 )
01315 {
01316 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc3PosAdcCounts);
01317 theHistograms[theHistogramNames.at(126)] = theDetIdHisto;
01318
01319 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01320 currentDataProfiles.GetTECEntry( 0, 1, 3, 2 ) );
01321 }
01322 else if ( theDetUnitID.rawId() == 470357192 )
01323 {
01324 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc4PosAdcCounts);
01325 theHistograms[theHistogramNames.at(127)] = theDetIdHisto;
01326
01327 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01328 currentDataProfiles.GetTECEntry( 0, 1, 3, 3 ) );
01329 }
01330 else if ( theDetUnitID.rawId() == 470373576 )
01331 {
01332 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc5PosAdcCounts);
01333 theHistograms[theHistogramNames.at(128)] = theDetIdHisto;
01334
01335 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01336 currentDataProfiles.GetTECEntry( 0, 1, 3, 4 ) );
01337 }
01338 else if ( theDetUnitID.rawId() == 470389960 )
01339 {
01340 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc6PosAdcCounts);
01341 theHistograms[theHistogramNames.at(129)] = theDetIdHisto;
01342
01343 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01344 currentDataProfiles.GetTECEntry( 0, 1, 3, 5 ) );
01345 }
01346 else if ( theDetUnitID.rawId() == 470406344 )
01347 {
01348 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc7PosAdcCounts);
01349 theHistograms[theHistogramNames.at(130)] = theDetIdHisto;
01350
01351 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01352 currentDataProfiles.GetTECEntry( 0, 1, 3, 6 ) );
01353 }
01354 else if ( theDetUnitID.rawId() == 470422728 )
01355 {
01356 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc8PosAdcCounts);
01357 theHistograms[theHistogramNames.at(131)] = theDetIdHisto;
01358
01359 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01360 currentDataProfiles.GetTECEntry( 0, 1, 3, 7 ) );
01361 }
01362 else if ( theDetUnitID.rawId() == 470439112 )
01363 {
01364 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc9PosAdcCounts);
01365 theHistograms[theHistogramNames.at(132)] = theDetIdHisto;
01366
01367 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01368 currentDataProfiles.GetTECEntry( 0, 1, 3, 8 ) );
01369 }
01370
01371
01372
01373 else if ( theDetUnitID.rawId() == 470308296 )
01374 {
01375 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc1PosAdcCounts);
01376 theHistograms[theHistogramNames.at(133)] = theDetIdHisto;
01377
01378 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01379 currentDataProfiles.GetTECEntry( 0, 1, 4, 0 ) );
01380 }
01381 else if ( theDetUnitID.rawId() == 470324680 )
01382 {
01383 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc2PosAdcCounts);
01384 theHistograms[theHistogramNames.at(134)] = theDetIdHisto;
01385
01386 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01387 currentDataProfiles.GetTECEntry( 0, 1, 4, 1 ) );
01388 }
01389 else if ( theDetUnitID.rawId() == 470341064 )
01390 {
01391 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc3PosAdcCounts);
01392 theHistograms[theHistogramNames.at(135)] = theDetIdHisto;
01393
01394 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01395 currentDataProfiles.GetTECEntry( 0, 1, 4, 2 ) );
01396 }
01397 else if ( theDetUnitID.rawId() == 470357448 )
01398 {
01399 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc4PosAdcCounts);
01400 theHistograms[theHistogramNames.at(136)] = theDetIdHisto;
01401
01402 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01403 currentDataProfiles.GetTECEntry( 0, 1, 4, 3 ) );
01404 }
01405 else if ( theDetUnitID.rawId() == 470373832 )
01406 {
01407 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc5PosAdcCounts);
01408 theHistograms[theHistogramNames.at(137)] = theDetIdHisto;
01409
01410 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01411 currentDataProfiles.GetTECEntry( 0, 1, 4, 4 ) );
01412 }
01413 else if ( theDetUnitID.rawId() == 470390216 )
01414 {
01415 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc6PosAdcCounts);
01416 theHistograms[theHistogramNames.at(138)] = theDetIdHisto;
01417
01418 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01419 currentDataProfiles.GetTECEntry( 0, 1, 4, 5 ) );
01420 }
01421 else if ( theDetUnitID.rawId() == 470406600 )
01422 {
01423 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc7PosAdcCounts);
01424 theHistograms[theHistogramNames.at(139)] = theDetIdHisto;
01425
01426 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01427 currentDataProfiles.GetTECEntry( 0, 1, 4, 6 ) );
01428 }
01429 else if ( theDetUnitID.rawId() == 470422984 )
01430 {
01431 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc8PosAdcCounts);
01432 theHistograms[theHistogramNames.at(140)] = theDetIdHisto;
01433
01434 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01435 currentDataProfiles.GetTECEntry( 0, 1, 4, 7 ) );
01436 }
01437 else if ( theDetUnitID.rawId() == 470439368 )
01438 {
01439 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc9PosAdcCounts);
01440 theHistograms[theHistogramNames.at(141)] = theDetIdHisto;
01441
01442 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01443 currentDataProfiles.GetTECEntry( 0, 1, 4, 8 ) );
01444 }
01445
01446
01447
01448 else if ( theDetUnitID.rawId() == 470308552 )
01449 {
01450 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc1PosAdcCounts);
01451 theHistograms[theHistogramNames.at(142)] = theDetIdHisto;
01452
01453 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01454 currentDataProfiles.GetTECEntry( 0, 1, 5, 0 ) );
01455 }
01456 else if ( theDetUnitID.rawId() == 470324936 )
01457 {
01458 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc2PosAdcCounts);
01459 theHistograms[theHistogramNames.at(143)] = theDetIdHisto;
01460
01461 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01462 currentDataProfiles.GetTECEntry( 0, 1, 5, 1 ) );
01463 }
01464 else if ( theDetUnitID.rawId() == 470341320 )
01465 {
01466 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc3PosAdcCounts);
01467 theHistograms[theHistogramNames.at(144)] = theDetIdHisto;
01468
01469 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01470 currentDataProfiles.GetTECEntry( 0, 1, 5, 2 ) );
01471 }
01472 else if ( theDetUnitID.rawId() == 470357704 )
01473 {
01474 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc4PosAdcCounts);
01475 theHistograms[theHistogramNames.at(145)] = theDetIdHisto;
01476
01477 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01478 currentDataProfiles.GetTECEntry( 0, 1, 5, 3 ) );
01479 }
01480 else if ( theDetUnitID.rawId() == 470374088 )
01481 {
01482 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc5PosAdcCounts);
01483 theHistograms[theHistogramNames.at(146)] = theDetIdHisto;
01484
01485 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01486 currentDataProfiles.GetTECEntry( 0, 1, 5, 4 ) );
01487 }
01488 else if ( theDetUnitID.rawId() == 470390472 )
01489 {
01490 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc6PosAdcCounts);
01491 theHistograms[theHistogramNames.at(147)] = theDetIdHisto;
01492
01493 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01494 currentDataProfiles.GetTECEntry( 0, 1, 5, 5 ) );
01495 }
01496 else if ( theDetUnitID.rawId() == 470406856 )
01497 {
01498 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc7PosAdcCounts);
01499 theHistograms[theHistogramNames.at(148)] = theDetIdHisto;
01500
01501 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01502 currentDataProfiles.GetTECEntry( 0, 1, 5, 6 ) );
01503 }
01504 else if ( theDetUnitID.rawId() == 470423240 )
01505 {
01506 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc8PosAdcCounts);
01507 theHistograms[theHistogramNames.at(149)] = theDetIdHisto;
01508
01509 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01510 currentDataProfiles.GetTECEntry( 0, 1, 5, 7 ) );
01511 }
01512 else if ( theDetUnitID.rawId() == 470439624 )
01513 {
01514 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc9PosAdcCounts);
01515 theHistograms[theHistogramNames.at(150)] = theDetIdHisto;
01516
01517 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01518 currentDataProfiles.GetTECEntry( 0, 1, 5, 8 ) );
01519 }
01520
01521
01522
01523 else if ( theDetUnitID.rawId() == 470308808 )
01524 {
01525 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc1PosAdcCounts);
01526 theHistograms[theHistogramNames.at(151)] = theDetIdHisto;
01527
01528 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01529 currentDataProfiles.GetTECEntry( 0, 1, 6, 0 ) );
01530 }
01531 else if ( theDetUnitID.rawId() == 470325192 )
01532 {
01533 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc2PosAdcCounts);
01534 theHistograms[theHistogramNames.at(152)] = theDetIdHisto;
01535
01536 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01537 currentDataProfiles.GetTECEntry( 0, 1, 6, 1 ) );
01538 }
01539 else if ( theDetUnitID.rawId() == 470341576 )
01540 {
01541 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc3PosAdcCounts);
01542 theHistograms[theHistogramNames.at(153)] = theDetIdHisto;
01543
01544 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01545 currentDataProfiles.GetTECEntry( 0, 1, 6, 2 ) );
01546 }
01547 else if ( theDetUnitID.rawId() == 470357960 )
01548 {
01549 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc4PosAdcCounts);
01550 theHistograms[theHistogramNames.at(154)] = theDetIdHisto;
01551
01552 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01553 currentDataProfiles.GetTECEntry( 0, 1, 6, 3 ) );
01554 }
01555 else if ( theDetUnitID.rawId() == 470374344 )
01556 {
01557 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc5PosAdcCounts);
01558 theHistograms[theHistogramNames.at(155)] = theDetIdHisto;
01559
01560 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01561 currentDataProfiles.GetTECEntry( 0, 1, 6, 4 ) );
01562 }
01563 else if ( theDetUnitID.rawId() == 470390728 )
01564 {
01565 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc6PosAdcCounts);
01566 theHistograms[theHistogramNames.at(156)] = theDetIdHisto;
01567
01568 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01569 currentDataProfiles.GetTECEntry( 0, 1, 6, 5 ) );
01570 }
01571 else if ( theDetUnitID.rawId() == 470407112 )
01572 {
01573 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc7PosAdcCounts);
01574 theHistograms[theHistogramNames.at(157)] = theDetIdHisto;
01575
01576 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01577 currentDataProfiles.GetTECEntry( 0, 1, 6, 6 ) );
01578 }
01579 else if ( theDetUnitID.rawId() == 470423496 )
01580 {
01581 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc8PosAdcCounts);
01582 theHistograms[theHistogramNames.at(158)] = theDetIdHisto;
01583
01584 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01585 currentDataProfiles.GetTECEntry( 0, 1, 6, 7 ) );
01586 }
01587 else if ( theDetUnitID.rawId() == 470439880 )
01588 {
01589 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc9PosAdcCounts);
01590 theHistograms[theHistogramNames.at(159)] = theDetIdHisto;
01591
01592 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01593 currentDataProfiles.GetTECEntry( 0, 1, 6, 8 ) );
01594 }
01595
01596
01597
01598 else if ( theDetUnitID.rawId() == 470309064 )
01599 {
01600 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc1PosAdcCounts);
01601 theHistograms[theHistogramNames.at(160)] = theDetIdHisto;
01602
01603 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01604 currentDataProfiles.GetTECEntry( 0, 1, 7, 0 ) );
01605 }
01606 else if ( theDetUnitID.rawId() == 470325448 )
01607 {
01608 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc2PosAdcCounts);
01609 theHistograms[theHistogramNames.at(161)] = theDetIdHisto;
01610
01611 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01612 currentDataProfiles.GetTECEntry( 0, 1, 7, 1 ) );
01613 }
01614 else if ( theDetUnitID.rawId() == 470341832 )
01615 {
01616 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc3PosAdcCounts);
01617 theHistograms[theHistogramNames.at(162)] = theDetIdHisto;
01618
01619 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01620 currentDataProfiles.GetTECEntry( 0, 1, 7, 2 ) );
01621 }
01622 else if ( theDetUnitID.rawId() == 470358216 )
01623 {
01624 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc4PosAdcCounts);
01625 theHistograms[theHistogramNames.at(163)] = theDetIdHisto;
01626
01627 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01628 currentDataProfiles.GetTECEntry( 0, 1, 7, 3 ) );
01629 }
01630 else if ( theDetUnitID.rawId() == 470374600 )
01631 {
01632 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc5PosAdcCounts);
01633 theHistograms[theHistogramNames.at(164)] = theDetIdHisto;
01634
01635 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01636 currentDataProfiles.GetTECEntry( 0, 1, 7, 4 ) );
01637 }
01638 else if ( theDetUnitID.rawId() == 470390984 )
01639 {
01640 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc6PosAdcCounts);
01641 theHistograms[theHistogramNames.at(165)] = theDetIdHisto;
01642
01643 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01644 currentDataProfiles.GetTECEntry( 0, 1, 7, 5 ) );
01645 }
01646 else if ( theDetUnitID.rawId() == 470407368 )
01647 {
01648 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc7PosAdcCounts);
01649 theHistograms[theHistogramNames.at(166)] = theDetIdHisto;
01650
01651 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01652 currentDataProfiles.GetTECEntry( 0, 1, 7, 6 ) );
01653 }
01654 else if ( theDetUnitID.rawId() == 470423752 )
01655 {
01656 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc8PosAdcCounts);
01657 theHistograms[theHistogramNames.at(167)] = theDetIdHisto;
01658
01659 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01660 currentDataProfiles.GetTECEntry( 0, 1, 7, 7 ) );
01661 }
01662 else if ( theDetUnitID.rawId() == 470440136 )
01663 {
01664 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc9PosAdcCounts);
01665 theHistograms[theHistogramNames.at(168)] = theDetIdHisto;
01666
01667 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01668 currentDataProfiles.GetTECEntry( 0, 1, 7, 8 ) );
01669 }
01670
01671
01672
01673
01674
01675
01676
01677 else if ( theDetUnitID.rawId() == 470045064 )
01678 {
01679 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc1NegAdcCounts);
01680 theHistograms[theHistogramNames.at(169)] = theDetIdHisto;
01681
01682 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01683 currentDataProfiles.GetTECEntry( 1, 0, 0, 0 ) );
01684
01685 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01686 currentDataProfiles.GetTEC2TECEntry( 1, 0, 0 ) );
01687 }
01688 else if ( theDetUnitID.rawId() == 470061448 )
01689 {
01690 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc2NegAdcCounts);
01691 theHistograms[theHistogramNames.at(170)] = theDetIdHisto;
01692
01693 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01694 currentDataProfiles.GetTECEntry( 1, 0, 0, 1 ) );
01695
01696 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01697 currentDataProfiles.GetTEC2TECEntry( 1, 0, 1 ) );
01698 }
01699 else if ( theDetUnitID.rawId() == 470077832 )
01700 {
01701 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc3NegAdcCounts);
01702 theHistograms[theHistogramNames.at(171)]= theDetIdHisto;
01703
01704 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01705 currentDataProfiles.GetTECEntry( 1, 0, 0, 2 ) );
01706
01707 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01708 currentDataProfiles.GetTEC2TECEntry( 1, 0, 2 ) );
01709 }
01710 else if ( theDetUnitID.rawId() == 470094216 )
01711 {
01712 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc4NegAdcCounts);
01713 theHistograms[theHistogramNames.at(172)] = theDetIdHisto;
01714
01715 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01716 currentDataProfiles.GetTECEntry( 1, 0, 0, 3 ) );
01717
01718 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01719 currentDataProfiles.GetTEC2TECEntry( 1, 0, 3 ) );
01720 }
01721 else if ( theDetUnitID.rawId() == 470110600 )
01722 {
01723 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc5NegAdcCounts);
01724 theHistograms[theHistogramNames.at(173)] = theDetIdHisto;
01725
01726 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01727 currentDataProfiles.GetTECEntry( 1, 0, 0, 4 ) );
01728
01729 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01730 currentDataProfiles.GetTEC2TECEntry( 1, 0, 4 ) );
01731 }
01732 else if ( theDetUnitID.rawId() == 470126984 )
01733 {
01734 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc6NegAdcCounts);
01735 theHistograms[theHistogramNames.at(174)] = theDetIdHisto;
01736
01737 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01738 currentDataProfiles.GetTECEntry( 1, 0, 0, 5 ) );
01739 }
01740 else if ( theDetUnitID.rawId() == 470143368 )
01741 {
01742 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc7NegAdcCounts);
01743 theHistograms[theHistogramNames.at(175)] = theDetIdHisto;
01744
01745 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01746 currentDataProfiles.GetTECEntry( 1, 0, 0, 6 ) );
01747 }
01748 else if ( theDetUnitID.rawId() == 470159752 )
01749 {
01750 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc8NegAdcCounts);
01751 theHistograms[theHistogramNames.at(176)] = theDetIdHisto;
01752
01753 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01754 currentDataProfiles.GetTECEntry( 1, 0, 0, 7 ) );
01755 }
01756 else if ( theDetUnitID.rawId() == 470176136 )
01757 {
01758 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring4Disc9NegAdcCounts);
01759 theHistograms[theHistogramNames.at(177)] = theDetIdHisto;
01760
01761 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01762 currentDataProfiles.GetTECEntry( 1, 0, 0, 8 ) );
01763 }
01764
01765
01766
01767 else if ( theDetUnitID.rawId() == 470045320 )
01768 {
01769 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc1NegAdcCounts);
01770 theHistograms[theHistogramNames.at(178)] = theDetIdHisto;
01771
01772 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01773 currentDataProfiles.GetTECEntry( 1, 0, 1, 0 ) );
01774 }
01775 else if ( theDetUnitID.rawId() == 470061704 )
01776 {
01777 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc2NegAdcCounts);
01778 theHistograms[theHistogramNames.at(179)] = theDetIdHisto;
01779
01780 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01781 currentDataProfiles.GetTECEntry( 1, 0, 1, 1 ) );
01782 }
01783 else if ( theDetUnitID.rawId() == 470078088 )
01784 {
01785 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc3NegAdcCounts);
01786 theHistograms[theHistogramNames.at(180)] = theDetIdHisto;
01787
01788 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01789 currentDataProfiles.GetTECEntry( 1, 0, 1, 2 ) );
01790 }
01791 else if ( theDetUnitID.rawId() == 470094472 )
01792 {
01793 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc4NegAdcCounts);
01794 theHistograms[theHistogramNames.at(181)] = theDetIdHisto;
01795
01796 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01797 currentDataProfiles.GetTECEntry( 1, 0, 1, 3 ) );
01798 }
01799 else if ( theDetUnitID.rawId() == 470110856 )
01800 {
01801 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc5NegAdcCounts);
01802 theHistograms[theHistogramNames.at(182)] = theDetIdHisto;
01803
01804 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01805 currentDataProfiles.GetTECEntry( 1, 0, 1, 4 ) );
01806 }
01807 else if ( theDetUnitID.rawId() == 470127240 )
01808 {
01809 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc6NegAdcCounts);
01810 theHistograms[theHistogramNames.at(183)] = theDetIdHisto;
01811
01812 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01813 currentDataProfiles.GetTECEntry( 1, 0, 1, 5 ) );
01814 }
01815 else if ( theDetUnitID.rawId() == 470143624 )
01816 {
01817 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc7NegAdcCounts);
01818 theHistograms[theHistogramNames.at(184)] = theDetIdHisto;
01819
01820 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01821 currentDataProfiles.GetTECEntry( 1, 0, 1, 6 ) );
01822 }
01823 else if ( theDetUnitID.rawId() == 470160008 )
01824 {
01825 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc8NegAdcCounts);
01826 theHistograms[theHistogramNames.at(185)] = theDetIdHisto;
01827
01828 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01829 currentDataProfiles.GetTECEntry( 1, 0, 1, 7 ) );
01830 }
01831 else if ( theDetUnitID.rawId() == 470176392 )
01832 {
01833 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc9NegAdcCounts);
01834 theHistograms[theHistogramNames.at(186)] = theDetIdHisto;
01835
01836 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01837 currentDataProfiles.GetTECEntry( 1, 0, 1, 8 ) );
01838 }
01839
01840
01841
01842 else if ( theDetUnitID.rawId() == 470045316 )
01843 {
01844 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc1NegTEC2TECAdcCounts);
01845 theHistograms[theHistogramNames.at(187)] = theDetIdHisto;
01846
01847 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01848 currentDataProfiles.GetTEC2TECEntry( 1, 1, 0 ) );
01849 }
01850 else if ( theDetUnitID.rawId() == 470061700 )
01851 {
01852 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc2NegTEC2TECAdcCounts);
01853 theHistograms[theHistogramNames.at(188)] = theDetIdHisto;
01854
01855 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01856 currentDataProfiles.GetTEC2TECEntry( 1, 1, 1 ) );
01857 }
01858 else if ( theDetUnitID.rawId() == 470078084 )
01859 {
01860 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc3NegTEC2TECAdcCounts);
01861 theHistograms[theHistogramNames.at(189)] = theDetIdHisto;
01862
01863 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01864 currentDataProfiles.GetTEC2TECEntry( 1, 1, 2 ) );
01865 }
01866 else if ( theDetUnitID.rawId() == 470094468 )
01867 {
01868 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc4NegTEC2TECAdcCounts);
01869 theHistograms[theHistogramNames.at(190)] = theDetIdHisto;
01870
01871 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01872 currentDataProfiles.GetTEC2TECEntry( 1, 1, 3 ) );
01873 }
01874 else if ( theDetUnitID.rawId() == 470110852 )
01875 {
01876 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring4Disc5NegTEC2TECAdcCounts);
01877 theHistograms[theHistogramNames.at(191)] = theDetIdHisto;
01878
01879 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01880 currentDataProfiles.GetTEC2TECEntry( 1, 1, 4 ) );
01881 }
01882
01883
01884
01885
01886
01887 else if ( theDetUnitID.rawId() == 470045576 )
01888 {
01889 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc1NegAdcCounts);
01890 theHistograms[theHistogramNames.at(192)] = theDetIdHisto;
01891
01892 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01893 currentDataProfiles.GetTECEntry( 1, 0, 2, 0 ) );
01894 }
01895 else if ( theDetUnitID.rawId() == 470061960 )
01896 {
01897 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc2NegAdcCounts);
01898 theHistograms[theHistogramNames.at(193)] = theDetIdHisto;
01899
01900 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01901 currentDataProfiles.GetTECEntry( 1, 0, 2, 1 ) );
01902 }
01903 else if ( theDetUnitID.rawId() == 470078344 )
01904 {
01905 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc3NegAdcCounts);
01906 theHistograms[theHistogramNames.at(194)] = theDetIdHisto;
01907
01908 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01909 currentDataProfiles.GetTECEntry( 1, 0, 2, 2 ) );
01910 }
01911 else if ( theDetUnitID.rawId() == 470094728 )
01912 {
01913 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc4NegAdcCounts);
01914 theHistograms[theHistogramNames.at(195)] = theDetIdHisto;
01915
01916 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01917 currentDataProfiles.GetTECEntry( 1, 0, 2, 3 ) );
01918 }
01919 else if ( theDetUnitID.rawId() == 470111112 )
01920 {
01921 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc5NegAdcCounts);
01922 theHistograms[theHistogramNames.at(196)] = theDetIdHisto;
01923
01924 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01925 currentDataProfiles.GetTECEntry( 1, 0, 2, 4 ) );
01926 }
01927 else if ( theDetUnitID.rawId() == 470127496 )
01928 {
01929 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc6NegAdcCounts);
01930 theHistograms[theHistogramNames.at(197)] = theDetIdHisto;
01931
01932 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01933 currentDataProfiles.GetTECEntry( 1, 0, 2, 5 ) );
01934 }
01935 else if ( theDetUnitID.rawId() == 470143880 )
01936 {
01937 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc7NegAdcCounts);
01938 theHistograms[theHistogramNames.at(198)] = theDetIdHisto;
01939
01940 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01941 currentDataProfiles.GetTECEntry( 1, 0, 2, 6 ) );
01942 }
01943 else if ( theDetUnitID.rawId() == 470160264 )
01944 {
01945 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc8NegAdcCounts);
01946 theHistograms[theHistogramNames.at(199)] = theDetIdHisto;
01947
01948 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01949 currentDataProfiles.GetTECEntry( 1, 0, 2, 7 ) );
01950 }
01951 else if ( theDetUnitID.rawId() == 470176648 )
01952 {
01953 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc9NegAdcCounts);
01954 theHistograms[theHistogramNames.at(200)] = theDetIdHisto;
01955
01956 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01957 currentDataProfiles.GetTECEntry( 1, 0, 2, 8 ) );
01958 }
01959
01960
01961
01962
01963
01964 else if ( theDetUnitID.rawId() == 470045580 )
01965 {
01966 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc1NegTEC2TECAdcCounts);
01967 theHistograms[theHistogramNames.at(201)] = theDetIdHisto;
01968
01969 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01970 currentDataProfiles.GetTEC2TECEntry( 1, 2, 0 ) );
01971 }
01972 else if ( theDetUnitID.rawId() == 470061964 )
01973 {
01974 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc2NegTEC2TECAdcCounts);
01975 theHistograms[theHistogramNames.at(202)] = theDetIdHisto;
01976
01977 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01978 currentDataProfiles.GetTEC2TECEntry( 1, 2, 1 ) );
01979 }
01980 else if ( theDetUnitID.rawId() == 470078348 )
01981 {
01982 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc3NegTEC2TECAdcCounts);
01983 theHistograms[theHistogramNames.at(203)] = theDetIdHisto;
01984
01985 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01986 currentDataProfiles.GetTEC2TECEntry( 1, 2, 2 ) );
01987 }
01988 else if ( theDetUnitID.rawId() == 470094732 )
01989 {
01990 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc4NegTEC2TECAdcCounts);
01991 theHistograms[theHistogramNames.at(204)] = theDetIdHisto;
01992
01993 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
01994 currentDataProfiles.GetTEC2TECEntry( 1, 2, 3 ) );
01995 }
01996 else if ( theDetUnitID.rawId() == 470111116 )
01997 {
01998 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring4Disc5NegTEC2TECAdcCounts);
01999 theHistograms[theHistogramNames.at(205)] = theDetIdHisto;
02000
02001 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02002 currentDataProfiles.GetTEC2TECEntry( 1, 2, 4 ) );
02003 }
02004
02005
02006
02007
02008
02009 else if ( theDetUnitID.rawId() == 470045832 )
02010 {
02011 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc1NegAdcCounts);
02012 theHistograms[theHistogramNames.at(206)] = theDetIdHisto;
02013
02014 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02015 currentDataProfiles.GetTECEntry( 1, 0, 3, 0 ) );
02016
02017 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02018 currentDataProfiles.GetTEC2TECEntry( 1, 3, 0 ) );
02019 }
02020 else if ( theDetUnitID.rawId() == 470062216 )
02021 {
02022 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc2NegAdcCounts);
02023 theHistograms[theHistogramNames.at(207)] = theDetIdHisto;
02024
02025 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02026 currentDataProfiles.GetTECEntry( 1, 0, 3, 1 ) );
02027
02028 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02029 currentDataProfiles.GetTEC2TECEntry( 1, 3, 1 ) );
02030 }
02031 else if ( theDetUnitID.rawId() == 470078600 )
02032 {
02033 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc3NegAdcCounts);
02034 theHistograms[theHistogramNames.at(208)] = theDetIdHisto;
02035
02036 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02037 currentDataProfiles.GetTECEntry( 1, 0, 3, 2 ) );
02038
02039 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02040 currentDataProfiles.GetTEC2TECEntry( 1, 3, 2 ) );
02041 }
02042 else if ( theDetUnitID.rawId() == 470094984 )
02043 {
02044 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc4NegAdcCounts);
02045 theHistograms[theHistogramNames.at(209)] = theDetIdHisto;
02046
02047 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02048 currentDataProfiles.GetTECEntry( 1, 0, 3, 3 ) );
02049
02050 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02051 currentDataProfiles.GetTEC2TECEntry( 1, 3, 3 ) );
02052 }
02053 else if ( theDetUnitID.rawId() == 470111368 )
02054 {
02055 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc5NegAdcCounts);
02056 theHistograms[theHistogramNames.at(210)] = theDetIdHisto;
02057
02058 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02059 currentDataProfiles.GetTECEntry( 1, 0, 3, 4 ) );
02060
02061 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02062 currentDataProfiles.GetTEC2TECEntry( 1, 3, 4 ) );
02063 }
02064 else if ( theDetUnitID.rawId() == 470127752 )
02065 {
02066 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc6NegAdcCounts);
02067 theHistograms[theHistogramNames.at(211)] = theDetIdHisto;
02068
02069 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02070 currentDataProfiles.GetTECEntry( 1, 0, 3, 5 ) );
02071 }
02072 else if ( theDetUnitID.rawId() == 470144136 )
02073 {
02074 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc7NegAdcCounts);
02075 theHistograms[theHistogramNames.at(212)] = theDetIdHisto;
02076
02077 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02078 currentDataProfiles.GetTECEntry( 1, 0, 3, 6 ) );
02079 }
02080 else if ( theDetUnitID.rawId() == 470160520 )
02081 {
02082 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc8NegAdcCounts);
02083 theHistograms[theHistogramNames.at(213)] = theDetIdHisto;
02084
02085 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02086 currentDataProfiles.GetTECEntry( 1, 0, 3, 7 ) );
02087 }
02088 else if ( theDetUnitID.rawId() == 470176904 )
02089 {
02090 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring4Disc9NegAdcCounts);
02091 theHistograms[theHistogramNames.at(214)] = theDetIdHisto;
02092
02093 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02094 currentDataProfiles.GetTECEntry( 1, 0, 3, 8 ) );
02095 }
02096
02097
02098
02099
02100
02101 else if ( theDetUnitID.rawId() == 470046088 )
02102 {
02103 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc1NegAdcCounts);
02104 theHistograms[theHistogramNames.at(215)] = theDetIdHisto;
02105
02106 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02107 currentDataProfiles.GetTECEntry( 1, 0, 4, 0 ) );
02108 }
02109 else if ( theDetUnitID.rawId() == 470062472 )
02110 {
02111 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc2NegAdcCounts);
02112 theHistograms[theHistogramNames.at(216)] = theDetIdHisto;
02113
02114 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02115 currentDataProfiles.GetTECEntry( 1, 0, 4, 1 ) );
02116 }
02117 else if ( theDetUnitID.rawId() == 470078856 )
02118 {
02119 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc3NegAdcCounts);
02120 theHistograms[theHistogramNames.at(217)] = theDetIdHisto;
02121
02122 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02123 currentDataProfiles.GetTECEntry( 1, 0, 4, 2 ) );
02124 }
02125 else if ( theDetUnitID.rawId() == 470095240 )
02126 {
02127 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc4NegAdcCounts);
02128 theHistograms[theHistogramNames.at(218)] = theDetIdHisto;
02129
02130 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02131 currentDataProfiles.GetTECEntry( 1, 0, 4, 3 ) );
02132 }
02133 else if ( theDetUnitID.rawId() == 470111624 )
02134 {
02135 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc5NegAdcCounts);
02136 theHistograms[theHistogramNames.at(219)] = theDetIdHisto;
02137
02138 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02139 currentDataProfiles.GetTECEntry( 1, 0, 4, 4 ) );
02140 }
02141 else if ( theDetUnitID.rawId() == 470128008 )
02142 {
02143 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc6NegAdcCounts);
02144 theHistograms[theHistogramNames.at(220)] = theDetIdHisto;
02145
02146 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02147 currentDataProfiles.GetTECEntry( 1, 0, 4, 5 ) );
02148 }
02149 else if ( theDetUnitID.rawId() == 470144392 )
02150 {
02151 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc7NegAdcCounts);
02152 theHistograms[theHistogramNames.at(221)] = theDetIdHisto;
02153
02154 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02155 currentDataProfiles.GetTECEntry( 1, 0, 4, 6 ) );
02156 }
02157 else if ( theDetUnitID.rawId() == 470160776 )
02158 {
02159 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc8NegAdcCounts);
02160 theHistograms[theHistogramNames.at(222)] = theDetIdHisto;
02161
02162 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02163 currentDataProfiles.GetTECEntry( 1, 0, 4, 7 ) );
02164 }
02165 else if ( theDetUnitID.rawId() == 470177160 )
02166 {
02167 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc9NegAdcCounts);
02168 theHistograms[theHistogramNames.at(223)] = theDetIdHisto;
02169
02170 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02171 currentDataProfiles.GetTECEntry( 1, 0, 4, 8 ) );
02172 }
02173
02174
02175
02176
02177
02178 else if ( theDetUnitID.rawId() == 470046084 )
02179 {
02180 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc1NegTEC2TECAdcCounts);
02181 theHistograms[theHistogramNames.at(224)] = theDetIdHisto;
02182
02183 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02184 currentDataProfiles.GetTEC2TECEntry( 1, 4, 0 ) );
02185 }
02186 else if ( theDetUnitID.rawId() == 470062468 )
02187 {
02188 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc2NegTEC2TECAdcCounts);
02189 theHistograms[theHistogramNames.at(225)] = theDetIdHisto;
02190
02191 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02192 currentDataProfiles.GetTEC2TECEntry( 1, 4, 1 ) );
02193 }
02194 else if ( theDetUnitID.rawId() == 470078852 )
02195 {
02196 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc3NegTEC2TECAdcCounts);
02197 theHistograms[theHistogramNames.at(226)] = theDetIdHisto;
02198
02199 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02200 currentDataProfiles.GetTEC2TECEntry( 1, 4, 2 ) );
02201 }
02202 else if ( theDetUnitID.rawId() == 470095236 )
02203 {
02204 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc4NegTEC2TECAdcCounts);
02205 theHistograms[theHistogramNames.at(227)] = theDetIdHisto;
02206
02207 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02208 currentDataProfiles.GetTEC2TECEntry( 1, 4, 3 ) );
02209 }
02210 else if ( theDetUnitID.rawId() == 470111620 )
02211 {
02212 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring4Disc5NegTEC2TECAdcCounts);
02213 theHistograms[theHistogramNames.at(228)] = theDetIdHisto;
02214
02215 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02216 currentDataProfiles.GetTEC2TECEntry( 1, 4, 4 ) );
02217 }
02218
02219
02220
02221
02222
02223
02224 else if ( theDetUnitID.rawId() == 470046344 )
02225 {
02226 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc1NegAdcCounts);
02227 theHistograms[theHistogramNames.at(229)] = theDetIdHisto;
02228
02229 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02230 currentDataProfiles.GetTECEntry( 1, 0, 5, 0 ) );
02231
02232 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02233 currentDataProfiles.GetTEC2TECEntry( 1, 5, 0 ) );
02234 }
02235 else if ( theDetUnitID.rawId() == 470062728 )
02236 {
02237 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc2NegAdcCounts);
02238 theHistograms[theHistogramNames.at(230)] = theDetIdHisto;
02239
02240 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02241 currentDataProfiles.GetTECEntry( 1, 0, 5, 1 ) );
02242
02243 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02244 currentDataProfiles.GetTEC2TECEntry( 1, 5, 1 ) );
02245 }
02246 else if ( theDetUnitID.rawId() == 470079112 )
02247 {
02248 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc3NegAdcCounts);
02249 theHistograms[theHistogramNames.at(231)] = theDetIdHisto;
02250
02251 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02252 currentDataProfiles.GetTECEntry( 1, 0, 5, 2 ) );
02253
02254 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02255 currentDataProfiles.GetTEC2TECEntry( 1, 5, 2 ) );
02256 }
02257 else if ( theDetUnitID.rawId() == 470095496 )
02258 {
02259 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc4NegAdcCounts);
02260 theHistograms[theHistogramNames.at(232)] = theDetIdHisto;
02261
02262 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02263 currentDataProfiles.GetTECEntry( 1, 0, 5, 3 ) );
02264
02265 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02266 currentDataProfiles.GetTEC2TECEntry( 1, 5, 3 ) );
02267 }
02268 else if ( theDetUnitID.rawId() == 470111880 )
02269 {
02270 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc5NegAdcCounts);
02271 theHistograms[theHistogramNames.at(233)] = theDetIdHisto;
02272
02273 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02274 currentDataProfiles.GetTECEntry( 1, 0, 5, 4 ) );
02275
02276 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02277 currentDataProfiles.GetTEC2TECEntry( 1, 5, 4 ) );
02278 }
02279 else if ( theDetUnitID.rawId() == 470128264 )
02280 {
02281 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc6NegAdcCounts);
02282 theHistograms[theHistogramNames.at(234)] = theDetIdHisto;
02283
02284 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02285 currentDataProfiles.GetTECEntry( 1, 0, 5, 5 ) );
02286 }
02287 else if ( theDetUnitID.rawId() == 470144648 )
02288 {
02289 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc7NegAdcCounts);
02290 theHistograms[theHistogramNames.at(235)] = theDetIdHisto;
02291
02292 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02293 currentDataProfiles.GetTECEntry( 1, 0, 5, 6 ) );
02294 }
02295 else if ( theDetUnitID.rawId() == 470161032 )
02296 {
02297 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc8NegAdcCounts);
02298 theHistograms[theHistogramNames.at(236)] = theDetIdHisto;
02299
02300 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02301 currentDataProfiles.GetTECEntry( 1, 0, 5, 7 ) );
02302 }
02303 else if ( theDetUnitID.rawId() == 470177416 )
02304 {
02305 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring4Disc9NegAdcCounts);
02306 theHistograms[theHistogramNames.at(237)] = theDetIdHisto;
02307
02308 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02309 currentDataProfiles.GetTECEntry( 1, 0, 5, 8 ) );
02310 }
02311
02312
02313
02314
02315
02316 else if ( theDetUnitID.rawId() == 470046600 )
02317 {
02318 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc1NegAdcCounts);
02319 theHistograms[theHistogramNames.at(238)] = theDetIdHisto;
02320
02321 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02322 currentDataProfiles.GetTECEntry( 1, 0, 6, 0 ) );
02323 }
02324 else if ( theDetUnitID.rawId() == 470062984 )
02325 {
02326 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc2NegAdcCounts);
02327 theHistograms[theHistogramNames.at(239)] = theDetIdHisto;
02328
02329 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02330 currentDataProfiles.GetTECEntry( 1, 0, 6, 1 ) );
02331 }
02332 else if ( theDetUnitID.rawId() == 470079368 )
02333 {
02334 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc3NegAdcCounts);
02335 theHistograms[theHistogramNames.at(240)] = theDetIdHisto;
02336
02337 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02338 currentDataProfiles.GetTECEntry( 1, 0, 6, 2 ) );
02339 }
02340 else if ( theDetUnitID.rawId() == 470095752 )
02341 {
02342 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc4NegAdcCounts);
02343 theHistograms[theHistogramNames.at(241)] = theDetIdHisto;
02344
02345 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02346 currentDataProfiles.GetTECEntry( 1, 0, 6, 3 ) );
02347 }
02348 else if ( theDetUnitID.rawId() == 470112136 )
02349 {
02350 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc5NegAdcCounts);
02351 theHistograms[theHistogramNames.at(242)] = theDetIdHisto;
02352
02353 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02354 currentDataProfiles.GetTECEntry( 1, 0, 6, 4 ) );
02355 }
02356 else if ( theDetUnitID.rawId() == 470128520 )
02357 {
02358 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc6NegAdcCounts);
02359 theHistograms[theHistogramNames.at(243)] = theDetIdHisto;
02360
02361 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02362 currentDataProfiles.GetTECEntry( 1, 0, 6, 5 ) );
02363 }
02364 else if ( theDetUnitID.rawId() == 470144904 )
02365 {
02366 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc7NegAdcCounts);
02367 theHistograms[theHistogramNames.at(244)] = theDetIdHisto;
02368
02369 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02370 currentDataProfiles.GetTECEntry( 1, 0, 6, 6 ) );
02371 }
02372 else if ( theDetUnitID.rawId() == 470161288 )
02373 {
02374 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc8NegAdcCounts);
02375 theHistograms[theHistogramNames.at(245)] = theDetIdHisto;
02376
02377 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02378 currentDataProfiles.GetTECEntry( 1, 0, 6, 7 ) );
02379 }
02380 else if ( theDetUnitID.rawId() == 470177672 )
02381 {
02382 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc9NegAdcCounts);
02383 theHistograms[theHistogramNames.at(246)] = theDetIdHisto;
02384
02385 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02386 currentDataProfiles.GetTECEntry( 1, 0, 6, 8 ) );
02387 }
02388
02389
02390
02391
02392 else if ( theDetUnitID.rawId() == 470046596 )
02393 {
02394 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc1NegTEC2TECAdcCounts);
02395 theHistograms[theHistogramNames.at(247)] = theDetIdHisto;
02396
02397 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02398 currentDataProfiles.GetTEC2TECEntry( 1, 6, 0 ) );
02399 }
02400 else if ( theDetUnitID.rawId() == 470062980 )
02401 {
02402 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc2NegTEC2TECAdcCounts);
02403 theHistograms[theHistogramNames.at(248)] = theDetIdHisto;
02404
02405 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02406 currentDataProfiles.GetTEC2TECEntry( 1, 6, 1 ) );
02407 }
02408 else if ( theDetUnitID.rawId() == 470079364 )
02409 {
02410 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc3NegTEC2TECAdcCounts);
02411 theHistograms[theHistogramNames.at(249)] = theDetIdHisto;
02412
02413 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02414 currentDataProfiles.GetTEC2TECEntry( 1, 6, 2 ) );
02415 }
02416 else if ( theDetUnitID.rawId() == 470095748 )
02417 {
02418 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc4NegTEC2TECAdcCounts);
02419 theHistograms[theHistogramNames.at(250)] = theDetIdHisto;
02420
02421 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02422 currentDataProfiles.GetTEC2TECEntry( 1, 6, 3 ) );
02423 }
02424 else if ( theDetUnitID.rawId() == 470112132 )
02425 {
02426 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring4Disc5NegTEC2TECAdcCounts);
02427 theHistograms[theHistogramNames.at(251)] = theDetIdHisto;
02428
02429 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02430 currentDataProfiles.GetTEC2TECEntry( 1, 6, 4 ) );
02431 }
02432
02433
02434
02435
02436
02437 else if ( theDetUnitID.rawId() == 470046856 )
02438 {
02439 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc1NegAdcCounts);
02440 theHistograms[theHistogramNames.at(252)] = theDetIdHisto;
02441
02442 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02443 currentDataProfiles.GetTECEntry( 1, 0, 7, 0 ) );
02444 }
02445 else if ( theDetUnitID.rawId() == 470063240 )
02446 {
02447 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc2NegAdcCounts);
02448 theHistograms[theHistogramNames.at(253)] = theDetIdHisto;
02449
02450 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02451 currentDataProfiles.GetTECEntry( 1, 0, 7, 1 ) );
02452 }
02453 else if ( theDetUnitID.rawId() == 470079624 )
02454 {
02455 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc3NegAdcCounts);
02456 theHistograms[theHistogramNames.at(254)] = theDetIdHisto;
02457
02458 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02459 currentDataProfiles.GetTECEntry( 1, 0, 7, 2 ) );
02460 }
02461 else if ( theDetUnitID.rawId() == 470096008 )
02462 {
02463 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc4NegAdcCounts);
02464 theHistograms[theHistogramNames.at(255)] = theDetIdHisto;
02465
02466 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02467 currentDataProfiles.GetTECEntry( 1, 0, 7, 3 ) );
02468 }
02469 else if ( theDetUnitID.rawId() == 470112392 )
02470 {
02471 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc5NegAdcCounts);
02472 theHistograms[theHistogramNames.at(256)] = theDetIdHisto;
02473
02474 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02475 currentDataProfiles.GetTECEntry( 1, 0, 7, 4 ) );
02476 }
02477 else if ( theDetUnitID.rawId() == 470128776 )
02478 {
02479 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc6NegAdcCounts);
02480 theHistograms[theHistogramNames.at(257)] = theDetIdHisto;
02481
02482 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02483 currentDataProfiles.GetTECEntry( 1, 0, 7, 5 ) );
02484 }
02485 else if ( theDetUnitID.rawId() == 470145160 )
02486 {
02487 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc7NegAdcCounts);
02488 theHistograms[theHistogramNames.at(258)] = theDetIdHisto;
02489
02490 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02491 currentDataProfiles.GetTECEntry( 1, 0, 7, 6 ) );
02492 }
02493 else if ( theDetUnitID.rawId() == 470161544 )
02494 {
02495 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc8NegAdcCounts);
02496 theHistograms[theHistogramNames.at(259)] = theDetIdHisto;
02497
02498 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02499 currentDataProfiles.GetTECEntry( 1, 0, 7, 7 ) );
02500 }
02501 else if ( theDetUnitID.rawId() == 470177928 )
02502 {
02503 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc9NegAdcCounts);
02504 theHistograms[theHistogramNames.at(260)] = theDetIdHisto;
02505
02506 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02507 currentDataProfiles.GetTECEntry( 1, 0, 7, 8 ) );
02508 }
02509
02510
02511
02512
02513 else if ( theDetUnitID.rawId() == 470046860 )
02514 {
02515 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc1NegTEC2TECAdcCounts);
02516 theHistograms[theHistogramNames.at(261)] = theDetIdHisto;
02517
02518 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02519 currentDataProfiles.GetTEC2TECEntry( 1, 7, 0 ) );
02520 }
02521 else if ( theDetUnitID.rawId() == 470063244 )
02522 {
02523 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc2NegTEC2TECAdcCounts);
02524 theHistograms[theHistogramNames.at(262)] = theDetIdHisto;
02525
02526 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02527 currentDataProfiles.GetTEC2TECEntry( 1, 7, 1 ) );
02528 }
02529 else if ( theDetUnitID.rawId() == 470079628 )
02530 {
02531 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc3NegTEC2TECAdcCounts);
02532 theHistograms[theHistogramNames.at(263)] = theDetIdHisto;
02533
02534 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02535 currentDataProfiles.GetTEC2TECEntry( 1, 7, 2 ) );
02536 }
02537 else if ( theDetUnitID.rawId() == 470096012 )
02538 {
02539 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc4NegTEC2TECAdcCounts);
02540 theHistograms[theHistogramNames.at(264)] = theDetIdHisto;
02541
02542 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02543 currentDataProfiles.GetTEC2TECEntry( 1, 7, 3 ) );
02544 }
02545 else if ( theDetUnitID.rawId() == 470112396 )
02546 {
02547 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring4Disc5NegTEC2TECAdcCounts);
02548 theHistograms[theHistogramNames.at(265)] = theDetIdHisto;
02549
02550 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02551 currentDataProfiles.GetTEC2TECEntry( 1, 7, 4 ) );
02552 }
02553
02554
02555
02556
02557
02558 else if ( theDetUnitID.rawId() == 470045128 )
02559 {
02560 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc1NegAdcCounts);
02561 theHistograms[theHistogramNames.at(266)] = theDetIdHisto;
02562
02563 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02564 currentDataProfiles.GetTECEntry( 1, 1, 0, 0 ) );
02565 }
02566 else if ( theDetUnitID.rawId() == 470061512 )
02567 {
02568 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc2NegAdcCounts);
02569 theHistograms[theHistogramNames.at(267)] = theDetIdHisto;
02570
02571 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02572 currentDataProfiles.GetTECEntry( 1, 1, 0, 1 ) );
02573 }
02574 else if ( theDetUnitID.rawId() == 470077896 )
02575 {
02576 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc3NegAdcCounts);
02577 theHistograms[theHistogramNames.at(268)] = theDetIdHisto;
02578
02579 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02580 currentDataProfiles.GetTECEntry( 1, 1, 0, 2 ) );
02581 }
02582 else if ( theDetUnitID.rawId() == 470094280 )
02583 {
02584 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc4NegAdcCounts);
02585 theHistograms[theHistogramNames.at(269)] = theDetIdHisto;
02586
02587 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02588 currentDataProfiles.GetTECEntry( 1, 1, 0, 3 ) );
02589 }
02590 else if ( theDetUnitID.rawId() == 470110664 )
02591 {
02592 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc5NegAdcCounts);
02593 theHistograms[theHistogramNames.at(270)] = theDetIdHisto;
02594
02595 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02596 currentDataProfiles.GetTECEntry( 1, 1, 0, 4 ) );
02597 }
02598 else if ( theDetUnitID.rawId() == 470127048 )
02599 {
02600 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc6NegAdcCounts);
02601 theHistograms[theHistogramNames.at(271)] = theDetIdHisto;
02602
02603 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02604 currentDataProfiles.GetTECEntry( 1, 1, 0, 5 ) );
02605 }
02606 else if ( theDetUnitID.rawId() == 470143432 )
02607 {
02608 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc7NegAdcCounts);
02609 theHistograms[theHistogramNames.at(272)] = theDetIdHisto;
02610
02611 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02612 currentDataProfiles.GetTECEntry( 1, 1, 0, 6 ) );
02613 }
02614 else if ( theDetUnitID.rawId() == 470159816 )
02615 {
02616 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc8NegAdcCounts);
02617 theHistograms[theHistogramNames.at(273)] = theDetIdHisto;
02618
02619 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02620 currentDataProfiles.GetTECEntry( 1, 1, 0, 7 ) );
02621 }
02622 else if ( theDetUnitID.rawId() == 470176200 )
02623 {
02624 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0Ring6Disc9NegAdcCounts);
02625 theHistograms[theHistogramNames.at(274)] = theDetIdHisto;
02626
02627 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02628 currentDataProfiles.GetTECEntry( 1, 1, 0, 8 ) );
02629 }
02630
02631
02632
02633
02634
02635
02636 else if ( theDetUnitID.rawId() == 470045384 )
02637 {
02638 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc1NegAdcCounts);
02639 theHistograms[theHistogramNames.at(275)] = theDetIdHisto;
02640
02641 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02642 currentDataProfiles.GetTECEntry( 1, 1, 1, 0 ) );
02643 }
02644 else if ( theDetUnitID.rawId() == 470061768 )
02645 {
02646 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc2NegAdcCounts);
02647 theHistograms[theHistogramNames.at(276)] = theDetIdHisto;
02648
02649 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02650 currentDataProfiles.GetTECEntry( 1, 1, 1, 1 ) );
02651 }
02652 else if ( theDetUnitID.rawId() == 470078152 )
02653 {
02654 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc3NegAdcCounts);
02655 theHistograms[theHistogramNames.at(277)] = theDetIdHisto;
02656
02657 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02658 currentDataProfiles.GetTECEntry( 1, 1, 1, 2 ) );
02659 }
02660 else if ( theDetUnitID.rawId() == 470094536 )
02661 {
02662 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc4NegAdcCounts);
02663 theHistograms[theHistogramNames.at(278)] = theDetIdHisto;
02664
02665 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02666 currentDataProfiles.GetTECEntry( 1, 1, 1, 3 ) );
02667 }
02668 else if ( theDetUnitID.rawId() == 470110920 )
02669 {
02670 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc5NegAdcCounts);
02671 theHistograms[theHistogramNames.at(279)] = theDetIdHisto;
02672
02673 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02674 currentDataProfiles.GetTECEntry( 1, 1, 1, 4 ) );
02675 }
02676 else if ( theDetUnitID.rawId() == 470127304 )
02677 {
02678 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc6NegAdcCounts);
02679 theHistograms[theHistogramNames.at(280)] = theDetIdHisto;
02680
02681 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02682 currentDataProfiles.GetTECEntry( 1, 1, 1, 5 ) );
02683 }
02684 else if ( theDetUnitID.rawId() == 470143688 )
02685 {
02686 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc7NegAdcCounts);
02687 theHistograms[theHistogramNames.at(281)] = theDetIdHisto;
02688
02689 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02690 currentDataProfiles.GetTECEntry( 1, 1, 1, 6 ) );
02691 }
02692 else if ( theDetUnitID.rawId() == 470160072 )
02693 {
02694 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc8NegAdcCounts);
02695 theHistograms[theHistogramNames.at(282)] = theDetIdHisto;
02696
02697 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02698 currentDataProfiles.GetTECEntry( 1, 1, 1, 7 ) );
02699 }
02700 else if ( theDetUnitID.rawId() == 470176456 )
02701 {
02702 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1Ring6Disc9NegAdcCounts);
02703 theHistograms[theHistogramNames.at(283)] = theDetIdHisto;
02704
02705 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02706 currentDataProfiles.GetTECEntry( 1, 1, 1, 8 ) );
02707 }
02708
02709
02710
02711 else if ( theDetUnitID.rawId() == 470045640 )
02712 {
02713 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc1NegAdcCounts);
02714 theHistograms[theHistogramNames.at(284)] = theDetIdHisto;
02715
02716 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02717 currentDataProfiles.GetTECEntry( 1, 1, 2, 0 ) );
02718 }
02719 else if ( theDetUnitID.rawId() == 470062024 )
02720 {
02721 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc2NegAdcCounts);
02722 theHistograms[theHistogramNames.at(285)] = theDetIdHisto;
02723
02724 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02725 currentDataProfiles.GetTECEntry( 1, 1, 2, 1 ) );
02726 }
02727 else if ( theDetUnitID.rawId() == 470078408 )
02728 {
02729 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc3NegAdcCounts);
02730 theHistograms[theHistogramNames.at(286)] = theDetIdHisto;
02731
02732 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02733 currentDataProfiles.GetTECEntry( 1, 1, 2, 2 ) );
02734 }
02735 else if ( theDetUnitID.rawId() == 470094792 )
02736 {
02737 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc4NegAdcCounts);
02738 theHistograms[theHistogramNames.at(287)] = theDetIdHisto;
02739
02740 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02741 currentDataProfiles.GetTECEntry( 1, 1, 2, 3 ) );
02742 }
02743 else if ( theDetUnitID.rawId() == 470111176 )
02744 {
02745 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc5NegAdcCounts);
02746 theHistograms[theHistogramNames.at(288)] = theDetIdHisto;
02747
02748 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02749 currentDataProfiles.GetTECEntry( 1, 1, 2, 4 ) );
02750 }
02751 else if ( theDetUnitID.rawId() == 470127560 )
02752 {
02753 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc6NegAdcCounts);
02754 theHistograms[theHistogramNames.at(289)] = theDetIdHisto;
02755
02756 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02757 currentDataProfiles.GetTECEntry( 1, 1, 2, 5 ) );
02758 }
02759 else if ( theDetUnitID.rawId() == 470143944 )
02760 {
02761 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc7NegAdcCounts);
02762 theHistograms[theHistogramNames.at(290)] = theDetIdHisto;
02763
02764 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02765 currentDataProfiles.GetTECEntry( 1, 1, 2, 6 ) );
02766 }
02767 else if ( theDetUnitID.rawId() == 470160328 )
02768 {
02769 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc8NegAdcCounts);
02770 theHistograms[theHistogramNames.at(291)] = theDetIdHisto;
02771
02772 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02773 currentDataProfiles.GetTECEntry( 1, 1, 2, 7 ) );
02774 }
02775 else if ( theDetUnitID.rawId() == 470176712 )
02776 {
02777 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2Ring6Disc9NegAdcCounts);
02778 theHistograms[theHistogramNames.at(292)] = theDetIdHisto;
02779
02780 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02781 currentDataProfiles.GetTECEntry( 1, 1, 2, 8 ) );
02782 }
02783
02784
02785
02786
02787
02788
02789 else if ( theDetUnitID.rawId() == 470045896 )
02790 {
02791 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc1NegAdcCounts);
02792 theHistograms[theHistogramNames.at(293)] = theDetIdHisto;
02793
02794 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02795 currentDataProfiles.GetTECEntry( 1, 1, 3, 0 ) );
02796 }
02797 else if ( theDetUnitID.rawId() == 470062280 )
02798 {
02799 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc2NegAdcCounts);
02800 theHistograms[theHistogramNames.at(294)] = theDetIdHisto;
02801
02802 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02803 currentDataProfiles.GetTECEntry( 1, 1, 3, 1 ) );
02804 }
02805 else if ( theDetUnitID.rawId() == 470078664 )
02806 {
02807 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc3NegAdcCounts);
02808 theHistograms[theHistogramNames.at(295)] = theDetIdHisto;
02809
02810 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02811 currentDataProfiles.GetTECEntry( 1, 1, 3, 2 ) );
02812 }
02813 else if ( theDetUnitID.rawId() == 470095048 )
02814 {
02815 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc4NegAdcCounts);
02816 theHistograms[theHistogramNames.at(296)] = theDetIdHisto;
02817
02818 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02819 currentDataProfiles.GetTECEntry( 1, 1, 3, 3 ) );
02820 }
02821 else if ( theDetUnitID.rawId() == 470111432 )
02822 {
02823 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc5NegAdcCounts);
02824 theHistograms[theHistogramNames.at(297)] = theDetIdHisto;
02825
02826 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02827 currentDataProfiles.GetTECEntry( 1, 1, 3, 4 ) );
02828 }
02829 else if ( theDetUnitID.rawId() == 470127816 )
02830 {
02831 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc6NegAdcCounts);
02832 theHistograms[theHistogramNames.at(298)] = theDetIdHisto;
02833
02834 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02835 currentDataProfiles.GetTECEntry( 1, 1, 3, 5 ) );
02836 }
02837 else if ( theDetUnitID.rawId() == 470144200 )
02838 {
02839 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc7NegAdcCounts);
02840 theHistograms[theHistogramNames.at(299)] = theDetIdHisto;
02841
02842 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02843 currentDataProfiles.GetTECEntry( 1, 1, 3, 6 ) );
02844 }
02845 else if ( theDetUnitID.rawId() == 470160584 )
02846 {
02847 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc8NegAdcCounts);
02848 theHistograms[theHistogramNames.at(300)] = theDetIdHisto;
02849
02850 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02851 currentDataProfiles.GetTECEntry( 1, 1, 3, 7 ) );
02852 }
02853 else if ( theDetUnitID.rawId() == 470176968 )
02854 {
02855 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3Ring6Disc9NegAdcCounts);
02856 theHistograms[theHistogramNames.at(301)] = theDetIdHisto;
02857
02858 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02859 currentDataProfiles.GetTECEntry( 1, 1, 3, 8 ) );
02860 }
02861
02862
02863
02864 else if ( theDetUnitID.rawId() == 470046152 )
02865 {
02866 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc1NegAdcCounts);
02867 theHistograms[theHistogramNames.at(302)] = theDetIdHisto;
02868
02869 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02870 currentDataProfiles.GetTECEntry( 1, 1, 4, 0 ) );
02871 }
02872 else if ( theDetUnitID.rawId() == 470062536 )
02873 {
02874 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc2NegAdcCounts);
02875 theHistograms[theHistogramNames.at(303)] = theDetIdHisto;
02876
02877 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02878 currentDataProfiles.GetTECEntry( 1, 1, 4, 1 ) );
02879 }
02880 else if ( theDetUnitID.rawId() == 470078920 )
02881 {
02882 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc3NegAdcCounts);
02883 theHistograms[theHistogramNames.at(304)] = theDetIdHisto;
02884
02885 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02886 currentDataProfiles.GetTECEntry( 1, 1, 4, 2 ) );
02887 }
02888 else if ( theDetUnitID.rawId() == 470095304 )
02889 {
02890 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc4NegAdcCounts);
02891 theHistograms[theHistogramNames.at(305)] = theDetIdHisto;
02892
02893 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02894 currentDataProfiles.GetTECEntry( 1, 1, 4, 3 ) );
02895 }
02896 else if ( theDetUnitID.rawId() == 470111688 )
02897 {
02898 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc5NegAdcCounts);
02899 theHistograms[theHistogramNames.at(306)] = theDetIdHisto;
02900
02901 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02902 currentDataProfiles.GetTECEntry( 1, 1, 4, 4 ) );
02903 }
02904 else if ( theDetUnitID.rawId() == 470128072 )
02905 {
02906 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc6NegAdcCounts);
02907 theHistograms[theHistogramNames.at(307)] = theDetIdHisto;
02908
02909 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02910 currentDataProfiles.GetTECEntry( 1, 1, 4, 5 ) );
02911 }
02912 else if ( theDetUnitID.rawId() == 470144456 )
02913 {
02914 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc7NegAdcCounts);
02915 theHistograms[theHistogramNames.at(308)] = theDetIdHisto;
02916
02917 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02918 currentDataProfiles.GetTECEntry( 1, 1, 4, 6 ) );
02919 }
02920 else if ( theDetUnitID.rawId() == 470160840 )
02921 {
02922 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc8NegAdcCounts);
02923 theHistograms[theHistogramNames.at(309)] = theDetIdHisto;
02924
02925 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02926 currentDataProfiles.GetTECEntry( 1, 1, 4, 7 ) );
02927 }
02928 else if ( theDetUnitID.rawId() == 470177224 )
02929 {
02930 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4Ring6Disc9NegAdcCounts);
02931 theHistograms[theHistogramNames.at(310)] = theDetIdHisto;
02932
02933 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02934 currentDataProfiles.GetTECEntry( 1, 1, 4, 8 ) );
02935 }
02936
02937
02938
02939
02940
02941 else if ( theDetUnitID.rawId() == 470046408 )
02942 {
02943 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc1NegAdcCounts);
02944 theHistograms[theHistogramNames.at(311)] = theDetIdHisto;
02945
02946 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02947 currentDataProfiles.GetTECEntry( 1, 1, 5, 0 ) );
02948 }
02949 else if ( theDetUnitID.rawId() == 470062792 )
02950 {
02951 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc2NegAdcCounts);
02952 theHistograms[theHistogramNames.at(312)] = theDetIdHisto;
02953
02954 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02955 currentDataProfiles.GetTECEntry( 1, 1, 5, 1 ) );
02956 }
02957 else if ( theDetUnitID.rawId() == 470079176 )
02958 {
02959 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc3NegAdcCounts);
02960 theHistograms[theHistogramNames.at(313)] = theDetIdHisto;
02961
02962 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02963 currentDataProfiles.GetTECEntry( 1, 1, 5, 2 ) );
02964 }
02965 else if ( theDetUnitID.rawId() == 470095560 )
02966 {
02967 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc4NegAdcCounts);
02968 theHistograms[theHistogramNames.at(314)] = theDetIdHisto;
02969
02970 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02971 currentDataProfiles.GetTECEntry( 1, 1, 5, 3 ) );
02972 }
02973 else if ( theDetUnitID.rawId() == 470111944 )
02974 {
02975 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc5NegAdcCounts);
02976 theHistograms[theHistogramNames.at(315)] = theDetIdHisto;
02977
02978 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02979 currentDataProfiles.GetTECEntry( 1, 1, 5, 4 ) );
02980 }
02981 else if ( theDetUnitID.rawId() == 470128328 )
02982 {
02983 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc6NegAdcCounts);
02984 theHistograms[theHistogramNames.at(316)] = theDetIdHisto;
02985
02986 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02987 currentDataProfiles.GetTECEntry( 1, 1, 5, 5 ) );
02988 }
02989 else if ( theDetUnitID.rawId() == 470144712 )
02990 {
02991 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc7NegAdcCounts);
02992 theHistograms[theHistogramNames.at(317)] = theDetIdHisto;
02993
02994 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
02995 currentDataProfiles.GetTECEntry( 1, 1, 5, 6 ) );
02996 }
02997 else if ( theDetUnitID.rawId() == 470161096 )
02998 {
02999 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc8NegAdcCounts);
03000 theHistograms[theHistogramNames.at(318)] = theDetIdHisto;
03001
03002 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03003 currentDataProfiles.GetTECEntry( 1, 1, 5, 7 ) );
03004 }
03005 else if ( theDetUnitID.rawId() == 470177480 )
03006 {
03007 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5Ring6Disc9NegAdcCounts);
03008 theHistograms[theHistogramNames.at(319)] = theDetIdHisto;
03009
03010 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03011 currentDataProfiles.GetTECEntry( 1, 1, 5, 8 ) );
03012 }
03013
03014
03015
03016
03017
03018 else if ( theDetUnitID.rawId() == 470046664 )
03019 {
03020 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc1NegAdcCounts);
03021 theHistograms[theHistogramNames.at(320)] = theDetIdHisto;
03022
03023 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03024 currentDataProfiles.GetTECEntry( 1, 1, 6, 0 ) );
03025 }
03026 else if ( theDetUnitID.rawId() == 470063048 )
03027 {
03028 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc2NegAdcCounts);
03029 theHistograms[theHistogramNames.at(321)] = theDetIdHisto;
03030
03031 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03032 currentDataProfiles.GetTECEntry( 1, 1, 6, 1 ) );
03033 }
03034 else if ( theDetUnitID.rawId() == 470079432 )
03035 {
03036 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc3NegAdcCounts);
03037 theHistograms[theHistogramNames.at(322)] = theDetIdHisto;
03038
03039 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03040 currentDataProfiles.GetTECEntry( 1, 1, 6, 2 ) );
03041 }
03042 else if ( theDetUnitID.rawId() == 470095816 )
03043 {
03044 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc4NegAdcCounts);
03045 theHistograms[theHistogramNames.at(323)] = theDetIdHisto;
03046
03047 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03048 currentDataProfiles.GetTECEntry( 1, 1, 6, 3 ) );
03049 }
03050 else if ( theDetUnitID.rawId() == 470112200 )
03051 {
03052 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc5NegAdcCounts);
03053 theHistograms[theHistogramNames.at(324)] = theDetIdHisto;
03054
03055 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03056 currentDataProfiles.GetTECEntry( 1, 1, 6, 4 ) );
03057 }
03058 else if ( theDetUnitID.rawId() == 470128584 )
03059 {
03060 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc6NegAdcCounts);
03061 theHistograms[theHistogramNames.at(325)] = theDetIdHisto;
03062
03063 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03064 currentDataProfiles.GetTECEntry( 1, 1, 6, 5 ) );
03065 }
03066 else if ( theDetUnitID.rawId() == 470144968 )
03067 {
03068 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc7NegAdcCounts);
03069 theHistograms[theHistogramNames.at(326)] = theDetIdHisto;
03070
03071 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03072 currentDataProfiles.GetTECEntry( 1, 1, 6, 6 ) );
03073 }
03074 else if ( theDetUnitID.rawId() == 470161352 )
03075 {
03076 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc8NegAdcCounts);
03077 theHistograms[theHistogramNames.at(327)] = theDetIdHisto;
03078
03079 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03080 currentDataProfiles.GetTECEntry( 1, 1, 6, 7 ) );
03081 }
03082 else if ( theDetUnitID.rawId() == 470177736 )
03083 {
03084 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6Ring6Disc9NegAdcCounts);
03085 theHistograms[theHistogramNames.at(328)] = theDetIdHisto;
03086
03087 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03088 currentDataProfiles.GetTECEntry( 1, 1, 6, 8 ) );
03089 }
03090
03091
03092
03093 else if ( theDetUnitID.rawId() == 470046920 )
03094 {
03095 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc1NegAdcCounts);
03096 theHistograms[theHistogramNames.at(329)] = theDetIdHisto;
03097
03098 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03099 currentDataProfiles.GetTECEntry( 1, 1, 7, 0 ) );
03100 }
03101 else if ( theDetUnitID.rawId() == 470063304 )
03102 {
03103 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc2NegAdcCounts);
03104 theHistograms[theHistogramNames.at(330)] = theDetIdHisto;
03105
03106 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03107 currentDataProfiles.GetTECEntry( 1, 1, 7, 1 ) );
03108 }
03109 else if ( theDetUnitID.rawId() == 470079688 )
03110 {
03111 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc3NegAdcCounts);
03112 theHistograms[theHistogramNames.at(331)] = theDetIdHisto;
03113
03114 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03115 currentDataProfiles.GetTECEntry( 1, 1, 7, 2 ) );
03116 }
03117 else if ( theDetUnitID.rawId() == 470096072 )
03118 {
03119 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc4NegAdcCounts);
03120 theHistograms[theHistogramNames.at(332)] = theDetIdHisto;
03121
03122 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03123 currentDataProfiles.GetTECEntry( 1, 1, 7, 3 ) );
03124 }
03125 else if ( theDetUnitID.rawId() == 470112456 )
03126 {
03127 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc5NegAdcCounts);
03128 theHistograms[theHistogramNames.at(333)] = theDetIdHisto;
03129
03130 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03131 currentDataProfiles.GetTECEntry( 1, 1, 7, 4 ) );
03132 }
03133 else if ( theDetUnitID.rawId() == 470128840 )
03134 {
03135 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc6NegAdcCounts);
03136 theHistograms[theHistogramNames.at(334)] = theDetIdHisto;
03137
03138 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03139 currentDataProfiles.GetTECEntry( 1, 1, 7, 5 ) );
03140 }
03141 else if ( theDetUnitID.rawId() == 470145224 )
03142 {
03143 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc7NegAdcCounts);
03144 theHistograms[theHistogramNames.at(335)] = theDetIdHisto;
03145
03146 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03147 currentDataProfiles.GetTECEntry( 1, 1, 7, 6 ) );
03148 }
03149 else if ( theDetUnitID.rawId() == 470161608 )
03150 {
03151 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc8NegAdcCounts);
03152 theHistograms[theHistogramNames.at(336)] = theDetIdHisto;
03153
03154 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03155 currentDataProfiles.GetTECEntry( 1, 1, 7, 7 ) );
03156 }
03157 else if ( theDetUnitID.rawId() == 470177992 )
03158 {
03159 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7Ring6Disc9NegAdcCounts);
03160 theHistograms[theHistogramNames.at(337)] = theDetIdHisto;
03161
03162 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03163 currentDataProfiles.GetTECEntry( 1, 1, 7, 8 ) );
03164 }
03165
03166
03167
03168
03169
03170
03171
03172 else if ( theDetUnitID.rawId() == 436232314 )
03173 {
03174 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TOBPosition1AdcCounts);
03175 theHistograms[theHistogramNames.at(338)] = theDetIdHisto;
03176
03177 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03178 currentDataProfiles.GetTIBTOBEntry( 3, 0, 0 ) );
03179 }
03180 else if ( theDetUnitID.rawId() == 436232306 )
03181 {
03182 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TOBPosition2AdcCounts);
03183 theHistograms[theHistogramNames.at(339)] = theDetIdHisto;
03184
03185 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03186 currentDataProfiles.GetTIBTOBEntry( 3, 0, 1 ) );
03187 }
03188 else if ( theDetUnitID.rawId() == 436232298 )
03189 {
03190 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TOBPosition3AdcCounts);
03191 theHistograms[theHistogramNames.at(340)] = theDetIdHisto;
03192
03193 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03194 currentDataProfiles.GetTIBTOBEntry( 3, 0, 2 ) );
03195 }
03196 else if ( theDetUnitID.rawId() == 436228198 )
03197 {
03198 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TOBPosition4AdcCounts);
03199 theHistograms[theHistogramNames.at(341)] = theDetIdHisto;
03200
03201 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03202 currentDataProfiles.GetTIBTOBEntry( 3, 0, 3 ) );
03203 }
03204 else if ( theDetUnitID.rawId() == 436228206 )
03205 {
03206 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TOBPosition5AdcCounts);
03207 theHistograms[theHistogramNames.at(342)] = theDetIdHisto;
03208
03209 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03210 currentDataProfiles.GetTIBTOBEntry( 3, 0, 4 ) );
03211 }
03212 else if ( theDetUnitID.rawId() == 436228214 )
03213 {
03214 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TOBPosition6AdcCounts);
03215 theHistograms[theHistogramNames.at(343)] = theDetIdHisto;
03216
03217 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03218 currentDataProfiles.GetTIBTOBEntry( 3, 0, 5 ) );
03219 }
03220
03221
03222
03223 else if ( theDetUnitID.rawId() == 436232506 )
03224 {
03225 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TOBPosition1AdcCounts);
03226 theHistograms[theHistogramNames.at(344)] = theDetIdHisto;
03227
03228 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03229 currentDataProfiles.GetTIBTOBEntry( 3, 1, 0 ) );
03230 }
03231 else if ( theDetUnitID.rawId() == 436232498 )
03232 {
03233 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TOBPosition2AdcCounts);
03234 theHistograms[theHistogramNames.at(345)] = theDetIdHisto;
03235
03236 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03237 currentDataProfiles.GetTIBTOBEntry( 3, 1, 1 ) );
03238 }
03239 else if ( theDetUnitID.rawId() == 436232490 )
03240 {
03241 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TOBPosition3AdcCounts);
03242 theHistograms[theHistogramNames.at(346)] = theDetIdHisto;
03243
03244 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03245 currentDataProfiles.GetTIBTOBEntry( 3, 1, 2 ) );
03246 }
03247 else if ( theDetUnitID.rawId() == 436228390 )
03248 {
03249 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TOBPosition4AdcCounts);
03250 theHistograms[theHistogramNames.at(347)] = theDetIdHisto;
03251
03252 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03253 currentDataProfiles.GetTIBTOBEntry( 3, 1, 3 ) );
03254 }
03255 else if ( theDetUnitID.rawId() == 436228398 )
03256 {
03257 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TOBPosition5AdcCounts);
03258 theHistograms[theHistogramNames.at(348)] = theDetIdHisto;
03259
03260 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03261 currentDataProfiles.GetTIBTOBEntry( 3, 1, 4 ) );
03262 }
03263 else if ( theDetUnitID.rawId() == 436228406 )
03264 {
03265 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TOBPosition6AdcCounts);
03266 theHistograms[theHistogramNames.at(349)] = theDetIdHisto;
03267
03268 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03269 currentDataProfiles.GetTIBTOBEntry( 3, 1, 5 ) );
03270 }
03271
03272
03273
03274 else if ( theDetUnitID.rawId() == 436232634 )
03275 {
03276 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TOBPosition1AdcCounts);
03277 theHistograms[theHistogramNames.at(350)] = theDetIdHisto;
03278
03279 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03280 currentDataProfiles.GetTIBTOBEntry( 3, 2, 0 ) );
03281 }
03282 else if ( theDetUnitID.rawId() == 436232626 )
03283 {
03284 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TOBPosition2AdcCounts);
03285 theHistograms[theHistogramNames.at(351)] = theDetIdHisto;
03286
03287 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03288 currentDataProfiles.GetTIBTOBEntry( 3, 2, 1 ) );
03289 }
03290 else if ( theDetUnitID.rawId() == 436232618 )
03291 {
03292 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TOBPosition3AdcCounts);
03293 theHistograms[theHistogramNames.at(352)] = theDetIdHisto;
03294
03295 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03296 currentDataProfiles.GetTIBTOBEntry( 3, 2, 2 ) );
03297 }
03298 else if ( theDetUnitID.rawId() == 436228518 )
03299 {
03300 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TOBPosition4AdcCounts);
03301 theHistograms[theHistogramNames.at(353)] = theDetIdHisto;
03302
03303 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03304 currentDataProfiles.GetTIBTOBEntry( 3, 2, 3 ) );
03305 }
03306 else if ( theDetUnitID.rawId() == 436228526 )
03307 {
03308 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TOBPosition5AdcCounts);
03309 theHistograms[theHistogramNames.at(354)] = theDetIdHisto;
03310
03311 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03312 currentDataProfiles.GetTIBTOBEntry( 3, 2, 4 ) );
03313 }
03314 else if ( theDetUnitID.rawId() == 436228534 )
03315 {
03316 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TOBPosition6AdcCounts);
03317 theHistograms[theHistogramNames.at(355)] = theDetIdHisto;
03318
03319 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03320 currentDataProfiles.GetTIBTOBEntry( 3, 2, 5 ) );
03321 }
03322
03323
03324
03325 else if ( theDetUnitID.rawId() == 436232826 )
03326 {
03327 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TOBPosition1AdcCounts);
03328 theHistograms[theHistogramNames.at(356)] = theDetIdHisto;
03329
03330 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03331 currentDataProfiles.GetTIBTOBEntry( 3, 3, 0 ) );
03332 }
03333 else if ( theDetUnitID.rawId() == 436232818 )
03334 {
03335 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TOBPosition2AdcCounts);
03336 theHistograms[theHistogramNames.at(357)] = theDetIdHisto;
03337
03338 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03339 currentDataProfiles.GetTIBTOBEntry( 3, 3, 1 ) );
03340 }
03341 else if ( theDetUnitID.rawId() == 436232810 )
03342 {
03343 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TOBPosition3AdcCounts);
03344 theHistograms[theHistogramNames.at(358)] = theDetIdHisto;
03345
03346 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03347 currentDataProfiles.GetTIBTOBEntry( 3, 3, 2 ) );
03348 }
03349 else if ( theDetUnitID.rawId() == 436228710 )
03350 {
03351 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TOBPosition4AdcCounts);
03352 theHistograms[theHistogramNames.at(359)] = theDetIdHisto;
03353
03354 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03355 currentDataProfiles.GetTIBTOBEntry( 3, 3, 3 ) );
03356 }
03357 else if ( theDetUnitID.rawId() == 436228718 )
03358 {
03359 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TOBPosition5AdcCounts);
03360 theHistograms[theHistogramNames.at(360)] = theDetIdHisto;
03361
03362 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03363 currentDataProfiles.GetTIBTOBEntry( 3, 3, 4 ) );
03364 }
03365 else if ( theDetUnitID.rawId() == 436228726 )
03366 {
03367 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TOBPosition6AdcCounts);
03368 theHistograms[theHistogramNames.at(361)] = theDetIdHisto;
03369
03370 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03371 currentDataProfiles.GetTIBTOBEntry( 3, 3, 5 ) );
03372 }
03373
03374
03375
03376 else if ( theDetUnitID.rawId() == 436233018 )
03377 {
03378 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TOBPosition1AdcCounts);
03379 theHistograms[theHistogramNames.at(362)] = theDetIdHisto;
03380
03381 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03382 currentDataProfiles.GetTIBTOBEntry( 3, 4, 0 ) );
03383 }
03384 else if ( theDetUnitID.rawId() == 436233010 )
03385 {
03386 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TOBPosition2AdcCounts);
03387 theHistograms[theHistogramNames.at(363)] = theDetIdHisto;
03388
03389 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03390 currentDataProfiles.GetTIBTOBEntry( 3, 4, 1 ) );
03391 }
03392 else if ( theDetUnitID.rawId() == 436233002 )
03393 {
03394 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TOBPosition3AdcCounts);
03395 theHistograms[theHistogramNames.at(364)] = theDetIdHisto;
03396
03397 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03398 currentDataProfiles.GetTIBTOBEntry( 3, 4, 2 ) );
03399 }
03400 else if ( theDetUnitID.rawId() == 436228902 )
03401 {
03402 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TOBPosition4AdcCounts);
03403 theHistograms[theHistogramNames.at(365)] = theDetIdHisto;
03404
03405 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03406 currentDataProfiles.GetTIBTOBEntry( 3, 4, 3 ) );
03407 }
03408 else if ( theDetUnitID.rawId() == 436228910 )
03409 {
03410 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TOBPosition5AdcCounts);
03411 theHistograms[theHistogramNames.at(366)] = theDetIdHisto;
03412
03413 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03414 currentDataProfiles.GetTIBTOBEntry( 3, 4, 4 ) );
03415 }
03416 else if ( theDetUnitID.rawId() == 436228918 )
03417 {
03418 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TOBPosition6AdcCounts);
03419 theHistograms[theHistogramNames.at(367)] = theDetIdHisto;
03420
03421 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03422 currentDataProfiles.GetTIBTOBEntry( 3, 4, 5 ) );
03423 }
03424
03425
03426
03427 else if ( theDetUnitID.rawId() == 436233146 )
03428 {
03429 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TOBPosition1AdcCounts);
03430 theHistograms[theHistogramNames.at(368)] = theDetIdHisto;
03431
03432 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03433 currentDataProfiles.GetTIBTOBEntry( 3, 5, 0 ) );
03434 }
03435 else if ( theDetUnitID.rawId() == 436233138 )
03436 {
03437 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TOBPosition2AdcCounts);
03438 theHistograms[theHistogramNames.at(369)] = theDetIdHisto;
03439
03440 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03441 currentDataProfiles.GetTIBTOBEntry( 3, 5, 1 ) );
03442 }
03443 else if ( theDetUnitID.rawId() == 436233130 )
03444 {
03445 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TOBPosition3AdcCounts);
03446 theHistograms[theHistogramNames.at(370)] = theDetIdHisto;
03447
03448 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03449 currentDataProfiles.GetTIBTOBEntry( 3, 5, 2 ) );
03450 }
03451 else if ( theDetUnitID.rawId() == 436229030 )
03452 {
03453 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TOBPosition4AdcCounts);
03454 theHistograms[theHistogramNames.at(371)] = theDetIdHisto;
03455
03456 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03457 currentDataProfiles.GetTIBTOBEntry( 3, 5, 3 ) );
03458 }
03459 else if ( theDetUnitID.rawId() == 436229038 )
03460 {
03461 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TOBPosition5AdcCounts);
03462 theHistograms[theHistogramNames.at(372)] = theDetIdHisto;
03463
03464 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03465 currentDataProfiles.GetTIBTOBEntry( 3, 5, 4 ) );
03466 }
03467 else if ( theDetUnitID.rawId() == 436229046 )
03468 {
03469 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TOBPosition6AdcCounts);
03470 theHistograms[theHistogramNames.at(373)] = theDetIdHisto;
03471
03472 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03473 currentDataProfiles.GetTIBTOBEntry( 3, 5, 5 ) );
03474 }
03475
03476
03477
03478 else if ( theDetUnitID.rawId() == 436233338 )
03479 {
03480 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TOBPosition1AdcCounts);
03481 theHistograms[theHistogramNames.at(374)] = theDetIdHisto;
03482
03483 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03484 currentDataProfiles.GetTIBTOBEntry( 3, 6, 0 ) );
03485 }
03486 else if ( theDetUnitID.rawId() == 436233330 )
03487 {
03488 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TOBPosition2AdcCounts);
03489 theHistograms[theHistogramNames.at(375)] = theDetIdHisto;
03490
03491 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03492 currentDataProfiles.GetTIBTOBEntry( 3, 6, 1 ) );
03493 }
03494 else if ( theDetUnitID.rawId() == 436233322 )
03495 {
03496 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TOBPosition3AdcCounts);
03497 theHistograms[theHistogramNames.at(376)] = theDetIdHisto;
03498
03499 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03500 currentDataProfiles.GetTIBTOBEntry( 3, 6, 2 ) );
03501 }
03502 else if ( theDetUnitID.rawId() == 436229222 )
03503 {
03504 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TOBPosition4AdcCounts);
03505 theHistograms[theHistogramNames.at(377)] = theDetIdHisto;
03506
03507 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03508 currentDataProfiles.GetTIBTOBEntry( 3, 6, 3 ) );
03509 }
03510 else if ( theDetUnitID.rawId() == 436229230 )
03511 {
03512 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TOBPosition5AdcCounts);
03513 theHistograms[theHistogramNames.at(378)] = theDetIdHisto;
03514
03515 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03516 currentDataProfiles.GetTIBTOBEntry( 3, 6, 4 ) );
03517 }
03518 else if ( theDetUnitID.rawId() == 436229238 )
03519 {
03520 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TOBPosition6AdcCounts);
03521 theHistograms[theHistogramNames.at(379)] = theDetIdHisto;
03522
03523 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03524 currentDataProfiles.GetTIBTOBEntry( 3, 6, 5 ) );
03525 }
03526
03527
03528
03529 else if ( theDetUnitID.rawId() == 436233466 )
03530 {
03531 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TOBPosition1AdcCounts);
03532 theHistograms[theHistogramNames.at(380)] = theDetIdHisto;
03533
03534 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03535 currentDataProfiles.GetTIBTOBEntry( 3, 7, 0 ) );
03536 }
03537 else if ( theDetUnitID.rawId() == 436233458 )
03538 {
03539 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TOBPosition2AdcCounts);
03540 theHistograms[theHistogramNames.at(381)] = theDetIdHisto;
03541
03542 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03543 currentDataProfiles.GetTIBTOBEntry( 3, 7, 1 ) );
03544 }
03545 else if ( theDetUnitID.rawId() == 436233450 )
03546 {
03547 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TOBPosition3AdcCounts);
03548 theHistograms[theHistogramNames.at(382)] = theDetIdHisto;
03549
03550 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03551 currentDataProfiles.GetTIBTOBEntry( 3, 7, 2 ) );
03552 }
03553 else if ( theDetUnitID.rawId() == 436229350 )
03554 {
03555 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TOBPosition4AdcCounts);
03556 theHistograms[theHistogramNames.at(383)] = theDetIdHisto;
03557
03558 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03559 currentDataProfiles.GetTIBTOBEntry( 3, 7, 3 ) );
03560 }
03561 else if ( theDetUnitID.rawId() == 436229358 )
03562 {
03563 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TOBPosition5AdcCounts);
03564 theHistograms[theHistogramNames.at(384)] = theDetIdHisto;
03565
03566 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03567 currentDataProfiles.GetTIBTOBEntry( 3, 7, 4 ) );
03568 }
03569 else if ( theDetUnitID.rawId() == 436229366 )
03570 {
03571 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TOBPosition6AdcCounts);
03572 theHistograms[theHistogramNames.at(385)] = theDetIdHisto;
03573
03574 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03575 currentDataProfiles.GetTIBTOBEntry( 3, 7, 5 ) );
03576 }
03577
03578
03579
03580
03581 else if ( theDetUnitID.rawId() == 369174604 )
03582 {
03583 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TIBPosition1AdcCounts);
03584 theHistograms[theHistogramNames.at(386)] = theDetIdHisto;
03585
03586 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03587 currentDataProfiles.GetTIBTOBEntry( 2, 0, 0 ) );
03588 }
03589 else if ( theDetUnitID.rawId() == 369174600 )
03590 {
03591 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TIBPosition2AdcCounts);
03592 theHistograms[theHistogramNames.at(387)] = theDetIdHisto;
03593
03594 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03595 currentDataProfiles.GetTIBTOBEntry( 2, 0, 1 ) );
03596 }
03597 else if ( theDetUnitID.rawId() == 369174596 )
03598 {
03599 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TIBPosition3AdcCounts);
03600 theHistograms[theHistogramNames.at(388)] = theDetIdHisto;
03601
03602 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03603 currentDataProfiles.GetTIBTOBEntry( 2, 0, 2 ) );
03604 }
03605 else if ( theDetUnitID.rawId() == 369170500 )
03606 {
03607 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TIBPosition4AdcCounts);
03608 theHistograms[theHistogramNames.at(389)] = theDetIdHisto;
03609
03610 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03611 currentDataProfiles.GetTIBTOBEntry( 2, 0, 3 ) );
03612 }
03613 else if ( theDetUnitID.rawId() == 369170504 )
03614 {
03615 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TIBPosition5AdcCounts);
03616 theHistograms[theHistogramNames.at(390)] = theDetIdHisto;
03617
03618 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03619 currentDataProfiles.GetTIBTOBEntry( 2, 0, 4 ) );
03620 }
03621 else if ( theDetUnitID.rawId() == 369170508 )
03622 {
03623 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam0TIBPosition6AdcCounts);
03624 theHistograms[theHistogramNames.at(391)] = theDetIdHisto;
03625
03626 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03627 currentDataProfiles.GetTIBTOBEntry( 2, 0, 5 ) );
03628 }
03629
03630
03631
03632 else if ( theDetUnitID.rawId() == 369174732 )
03633 {
03634 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TIBPosition1AdcCounts);
03635 theHistograms[theHistogramNames.at(392)] = theDetIdHisto;
03636
03637 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03638 currentDataProfiles.GetTIBTOBEntry( 2, 1, 0 ) );
03639 }
03640 else if ( theDetUnitID.rawId() == 369174728 )
03641 {
03642 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TIBPosition2AdcCounts);
03643 theHistograms[theHistogramNames.at(393)] = theDetIdHisto;
03644
03645 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03646 currentDataProfiles.GetTIBTOBEntry( 2, 1, 1 ) );
03647 }
03648 else if ( theDetUnitID.rawId() == 369174724 )
03649 {
03650 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TIBPosition3AdcCounts);
03651 theHistograms[theHistogramNames.at(394)] = theDetIdHisto;
03652
03653 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03654 currentDataProfiles.GetTIBTOBEntry( 2, 1, 2 ) );
03655 }
03656 else if ( theDetUnitID.rawId() == 369170628 )
03657 {
03658 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TIBPosition4AdcCounts);
03659 theHistograms[theHistogramNames.at(395)] = theDetIdHisto;
03660
03661 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03662 currentDataProfiles.GetTIBTOBEntry( 2, 1, 3 ) );
03663 }
03664 else if ( theDetUnitID.rawId() == 369170632 )
03665 {
03666 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TIBPosition5AdcCounts);
03667 theHistograms[theHistogramNames.at(396)] = theDetIdHisto;
03668
03669 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03670 currentDataProfiles.GetTIBTOBEntry( 2, 1, 4 ) );
03671 }
03672 else if ( theDetUnitID.rawId() == 369170636 )
03673 {
03674 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam1TIBPosition6AdcCounts);
03675 theHistograms[theHistogramNames.at(397)] = theDetIdHisto;
03676
03677 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03678 currentDataProfiles.GetTIBTOBEntry( 2, 1, 5 ) );
03679 }
03680
03681
03682
03683 else if ( theDetUnitID.rawId() == 369174812 )
03684 {
03685 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TIBPosition1AdcCounts);
03686 theHistograms[theHistogramNames.at(398)] = theDetIdHisto;
03687
03688 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03689 currentDataProfiles.GetTIBTOBEntry( 2, 2, 0 ) );
03690 }
03691 else if ( theDetUnitID.rawId() == 369174808 )
03692 {
03693 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TIBPosition2AdcCounts);
03694 theHistograms[theHistogramNames.at(399)] = theDetIdHisto;
03695
03696 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03697 currentDataProfiles.GetTIBTOBEntry( 2, 2, 1 ) );
03698 }
03699 else if ( theDetUnitID.rawId() == 369174804 )
03700 {
03701 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TIBPosition3AdcCounts);
03702 theHistograms[theHistogramNames.at(400)] = theDetIdHisto;
03703
03704 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03705 currentDataProfiles.GetTIBTOBEntry( 2, 2, 2 ) );
03706 }
03707 else if ( theDetUnitID.rawId() == 369170708 )
03708 {
03709 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TIBPosition4AdcCounts);
03710 theHistograms[theHistogramNames.at(401)] = theDetIdHisto;
03711
03712 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03713 currentDataProfiles.GetTIBTOBEntry( 2, 2, 3 ) );
03714 }
03715 else if ( theDetUnitID.rawId() == 369170712 )
03716 {
03717 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TIBPosition5AdcCounts);
03718 theHistograms[theHistogramNames.at(402)] = theDetIdHisto;
03719
03720 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03721 currentDataProfiles.GetTIBTOBEntry( 2, 2, 4 ) );
03722 }
03723 else if ( theDetUnitID.rawId() == 369170716 )
03724 {
03725 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam2TIBPosition6AdcCounts);
03726 theHistograms[theHistogramNames.at(403)] = theDetIdHisto;
03727
03728 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03729 currentDataProfiles.GetTIBTOBEntry( 2, 2, 5 ) );
03730 }
03731
03732
03733
03734 else if ( theDetUnitID.rawId() == 369174940 )
03735 {
03736 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TIBPosition1AdcCounts);
03737 theHistograms[theHistogramNames.at(404)] = theDetIdHisto;
03738
03739 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03740 currentDataProfiles.GetTIBTOBEntry( 2, 3, 0 ) );
03741 }
03742 else if ( theDetUnitID.rawId() == 369174936 )
03743 {
03744 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TIBPosition2AdcCounts);
03745 theHistograms[theHistogramNames.at(405)] = theDetIdHisto;
03746
03747 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03748 currentDataProfiles.GetTIBTOBEntry( 2, 3, 1 ) );
03749 }
03750 else if ( theDetUnitID.rawId() == 369174932 )
03751 {
03752 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TIBPosition3AdcCounts);
03753 theHistograms[theHistogramNames.at(406)] = theDetIdHisto;
03754
03755 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03756 currentDataProfiles.GetTIBTOBEntry( 2, 3, 2 ) );
03757 }
03758 else if ( theDetUnitID.rawId() == 369170836 )
03759 {
03760 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TIBPosition4AdcCounts);
03761 theHistograms[theHistogramNames.at(407)] = theDetIdHisto;
03762
03763 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03764 currentDataProfiles.GetTIBTOBEntry( 2, 3, 3 ) );
03765 }
03766 else if ( theDetUnitID.rawId() == 369170840 )
03767 {
03768 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TIBPosition5AdcCounts);
03769 theHistograms[theHistogramNames.at(408)] = theDetIdHisto;
03770
03771 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03772 currentDataProfiles.GetTIBTOBEntry( 2, 3, 4 ) );
03773 }
03774 else if ( theDetUnitID.rawId() == 369170844 )
03775 {
03776 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam3TIBPosition6AdcCounts);
03777 theHistograms[theHistogramNames.at(409)] = theDetIdHisto;
03778
03779 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03780 currentDataProfiles.GetTIBTOBEntry( 2, 3, 5 ) );
03781 }
03782
03783
03784
03785 else if ( theDetUnitID.rawId() == 369175068 )
03786 {
03787 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TIBPosition1AdcCounts);
03788 theHistograms[theHistogramNames.at(410)] = theDetIdHisto;
03789
03790 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03791 currentDataProfiles.GetTIBTOBEntry( 2, 4, 0 ) );
03792 }
03793 else if ( theDetUnitID.rawId() == 369175064 )
03794 {
03795 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TIBPosition2AdcCounts);
03796 theHistograms[theHistogramNames.at(411)] = theDetIdHisto;
03797
03798 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03799 currentDataProfiles.GetTIBTOBEntry( 2, 4, 1 ) );
03800 }
03801 else if ( theDetUnitID.rawId() == 369175060 )
03802 {
03803 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TIBPosition3AdcCounts);
03804 theHistograms[theHistogramNames.at(412)] = theDetIdHisto;
03805
03806 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03807 currentDataProfiles.GetTIBTOBEntry( 2, 4, 2 ) );
03808 }
03809 else if ( theDetUnitID.rawId() == 369170964 )
03810 {
03811 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TIBPosition4AdcCounts);
03812 theHistograms[theHistogramNames.at(413)] = theDetIdHisto;
03813
03814 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03815 currentDataProfiles.GetTIBTOBEntry( 2, 4, 3 ) );
03816 }
03817 else if ( theDetUnitID.rawId() == 369170968 )
03818 {
03819 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TIBPosition5AdcCounts);
03820 theHistograms[theHistogramNames.at(414)] = theDetIdHisto;
03821
03822 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03823 currentDataProfiles.GetTIBTOBEntry( 2, 4, 4 ) );
03824 }
03825 else if ( theDetUnitID.rawId() == 369170972 )
03826 {
03827 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam4TIBPosition6AdcCounts);
03828 theHistograms[theHistogramNames.at(415)] = theDetIdHisto;
03829
03830 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03831 currentDataProfiles.GetTIBTOBEntry( 2, 4, 5 ) );
03832 }
03833
03834
03835
03836 else if ( theDetUnitID.rawId() == 369175164 )
03837 {
03838 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TIBPosition1AdcCounts);
03839 theHistograms[theHistogramNames.at(416)] = theDetIdHisto;
03840
03841 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03842 currentDataProfiles.GetTIBTOBEntry( 2, 5, 0 ) );
03843 }
03844 else if ( theDetUnitID.rawId() == 369175160 )
03845 {
03846 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TIBPosition2AdcCounts);
03847 theHistograms[theHistogramNames.at(417)] = theDetIdHisto;
03848
03849 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03850 currentDataProfiles.GetTIBTOBEntry( 2, 5, 1 ) );
03851 }
03852 else if ( theDetUnitID.rawId() == 369175156 )
03853 {
03854 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TIBPosition3AdcCounts);
03855 theHistograms[theHistogramNames.at(418)] = theDetIdHisto;
03856
03857 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03858 currentDataProfiles.GetTIBTOBEntry( 2, 5, 2 ) );
03859 }
03860 else if ( theDetUnitID.rawId() == 369171060 )
03861 {
03862 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TIBPosition4AdcCounts);
03863 theHistograms[theHistogramNames.at(419)] = theDetIdHisto;
03864
03865 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03866 currentDataProfiles.GetTIBTOBEntry( 2, 5, 3 ) );
03867 }
03868 else if ( theDetUnitID.rawId() == 369171064 )
03869 {
03870 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TIBPosition5AdcCounts);
03871 theHistograms[theHistogramNames.at(420)] = theDetIdHisto;
03872
03873 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03874 currentDataProfiles.GetTIBTOBEntry( 2, 5, 4 ) );
03875 }
03876 else if ( theDetUnitID.rawId() == 369171068 )
03877 {
03878 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam5TIBPosition6AdcCounts);
03879 theHistograms[theHistogramNames.at(421)] = theDetIdHisto;
03880
03881 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03882 currentDataProfiles.GetTIBTOBEntry( 2, 5, 5 ) );
03883 }
03884
03885
03886
03887 else if ( theDetUnitID.rawId() == 369175292 )
03888 {
03889 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TIBPosition1AdcCounts);
03890 theHistograms[theHistogramNames.at(422)] = theDetIdHisto;
03891
03892 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03893 currentDataProfiles.GetTIBTOBEntry( 2, 6, 0 ) );
03894 }
03895 else if ( theDetUnitID.rawId() == 369175288 )
03896 {
03897 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TIBPosition2AdcCounts);
03898 theHistograms[theHistogramNames.at(423)] = theDetIdHisto;
03899
03900 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03901 currentDataProfiles.GetTIBTOBEntry( 2, 6, 1 ) );
03902 }
03903 else if ( theDetUnitID.rawId() == 369175284 )
03904 {
03905 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TIBPosition3AdcCounts);
03906 theHistograms[theHistogramNames.at(424)] = theDetIdHisto;
03907
03908 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03909 currentDataProfiles.GetTIBTOBEntry( 2, 6, 2 ) );
03910 }
03911 else if ( theDetUnitID.rawId() == 369171188 )
03912 {
03913 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TIBPosition4AdcCounts);
03914 theHistograms[theHistogramNames.at(425)] = theDetIdHisto;
03915
03916 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03917 currentDataProfiles.GetTIBTOBEntry( 2, 6, 3 ) );
03918 }
03919 else if ( theDetUnitID.rawId() == 369171192 )
03920 {
03921 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TIBPosition5AdcCounts);
03922 theHistograms[theHistogramNames.at(426)] = theDetIdHisto;
03923
03924 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03925 currentDataProfiles.GetTIBTOBEntry( 2, 6, 4 ) );
03926 }
03927 else if ( theDetUnitID.rawId() == 369171196 )
03928 {
03929 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam6TIBPosition6AdcCounts);
03930 theHistograms[theHistogramNames.at(427)] = theDetIdHisto;
03931
03932 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03933 currentDataProfiles.GetTIBTOBEntry( 2, 6, 5 ) );
03934 }
03935
03936
03937
03938 else if ( theDetUnitID.rawId() == 369175372 )
03939 {
03940 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TIBPosition1AdcCounts);
03941 theHistograms[theHistogramNames.at(428)] = theDetIdHisto;
03942
03943 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03944 currentDataProfiles.GetTIBTOBEntry( 2, 7, 0 ) );
03945 }
03946 else if ( theDetUnitID.rawId() == 369175368 )
03947 {
03948 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TIBPosition2AdcCounts);
03949 theHistograms[theHistogramNames.at(429)] = theDetIdHisto;
03950
03951 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03952 currentDataProfiles.GetTIBTOBEntry( 2, 7, 1 ) );
03953 }
03954 else if ( theDetUnitID.rawId() == 369175364 )
03955 {
03956 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TIBPosition3AdcCounts);
03957 theHistograms[theHistogramNames.at(430)] = theDetIdHisto;
03958
03959 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03960 currentDataProfiles.GetTIBTOBEntry( 2, 7, 2 ) );
03961 }
03962 else if ( theDetUnitID.rawId() == 369171268 )
03963 {
03964 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TIBPosition4AdcCounts);
03965 theHistograms[theHistogramNames.at(431)] = theDetIdHisto;
03966
03967 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03968 currentDataProfiles.GetTIBTOBEntry( 2, 7, 3 ) );
03969 }
03970 else if ( theDetUnitID.rawId() == 369171272 )
03971 {
03972 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TIBPosition5AdcCounts);
03973 theHistograms[theHistogramNames.at(432)] = theDetIdHisto;
03974
03975 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03976 currentDataProfiles.GetTIBTOBEntry( 2, 7, 4 ) );
03977 }
03978 else if ( theDetUnitID.rawId() == 369171276 )
03979 {
03980 std::pair<DetId, TH1D*> theDetIdHisto(theDetUnitID, theBeam7TIBPosition6AdcCounts);
03981 theHistograms[theHistogramNames.at(433)] = theDetIdHisto;
03982
03983 if (theDigis) fillAdcCounts(theDetIdHisto.second, theDetUnitID, theDigiRangeIterator, theDigiRangeIteratorEnd,
03984 currentDataProfiles.GetTIBTOBEntry( 2, 7, 5 ) );
03985 }
03986
03987 }
03988 }
03989 }