Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-21 01:09:41

0001 // makePlots.C makes plots from root file output of CSCValidation
0002 
0003 // Original author: Andy Kubik (NWU)
0004 // - Updated by many people over the past 15 years
0005 // - This version from Sicheng Wang (UCSB) - Jul 2022
0006 // - but with addition of rechit and segment positions from Andy's version
0007 // - Please contact CSC DPG for current status - 12.07.2022
0008 
0009 #include "myFunctions.C"
0010 
0011 void makePlots(std::string input_file) {
0012   extern TFile* OpenFiles(std::string path);
0013   extern void makeCSCOccupancy(std::string histoname, TFile * f1, std::string histotitle, std::string savename);
0014   extern void Draw2DTempPlot(
0015       std::string histo, TFile * f1, bool includeME11, std::string savename, bool hasLabels = false);
0016   extern void make1DPlot(
0017       std::string histoname, TFile * f1, std::string histotitle, int statoption, std::string savename);
0018   extern void make1DPlot(std::string histoname,
0019                          TFile * f1,
0020                          std::string histotitle,
0021                          std::string xtitle,
0022                          std::string ytitle,
0023                          int statoption,
0024                          std::string savename);
0025   extern void printEmptyChambers(std::string histoname, std::string oname, TFile * f);
0026   extern void GlobalPosfromTree(
0027       std::string graphname, TFile * f1, int endcap, int station, std::string type, std::string savename);
0028   extern void NikolaiPlots(TFile * f_in, int flag);
0029   extern void makeEffGif(std::string histoname, TFile * f1, std::string histotitle, std::string savename);
0030   extern void Draw2DEfficiency(std::string histo, TFile * f1, std::string title, std::string savename);
0031   extern void make2DPlot(
0032       std::string histoname, TFile * f1, std::string histotitle, int statoption, std::string savename);
0033   extern void make2DPlot(std::string histoname,
0034                          TFile * f1,
0035                          std::string histotitle,
0036                          std::string xtitle,
0037                          std::string ytitle,
0038                          int statoption,
0039                          std::string savename);
0040   extern void makeProfile(
0041       std::string histoname, TFile * f1, std::string histotitle, int statoption, std::string savename);
0042   extern void makeProfile(std::string histoname,
0043                           TFile * f1,
0044                           std::string histotitle,
0045                           std::string xtitle,
0046                           std::string ytitle,
0047                           int statoption,
0048                           std::string savename);
0049 
0050   TFile* f1;
0051   f1 = OpenFiles(input_file);
0052 
0053   //produce occupancy plots
0054   makeCSCOccupancy("GeneralHists/hCSCOccupancy", f1, "CSC Occupancy", "CSCOccupancy.png");
0055   Draw2DTempPlot("Digis/hOWires", f1, true, "hOWires.png");
0056   Draw2DTempPlot("Digis/hOStrips", f1, true, "hOStrips.png");
0057   Draw2DTempPlot("recHits/hORecHits", f1, true, "hORecHits.png");
0058   Draw2DTempPlot("Segments/hOSegments", f1, true, "hOSegments.png");
0059   make1DPlot("Digis/hOStripSerial", f1, "Strip Occupancy by Chamber Serial", 10, "hOStripSerial.png");
0060   make1DPlot("Digis/hOWireSerial", f1, "Wire Occupancy by Chamber Serial", 10, "hOWireSerial.png");
0061   make1DPlot("Segments/hOSegmentsSerial", f1, "Segment Occupancy by Chamber Serial", 10, "hOSegmentsSerial.png");
0062   make1DPlot("recHits/hORecHitsSerial", f1, "recHit Occupancy by Chamber Serial", 10, "hORecHitsSerial.png");
0063   make1DPlot("Trigger/hltBits", f1, "HLT Bits Fired", 0, "hltTriggerBits.png");
0064 
0065   //Print dead chamber lists
0066   printEmptyChambers("Digis/hOWires", "wire digis", f1);
0067   printEmptyChambers("Digis/hOStrips", "strip digis", f1);
0068   printEmptyChambers("recHits/hORecHits", "rechits", f1);
0069 
0070   //Make global position graphs from trees
0071   GlobalPosfromTree("Global recHit positions ME+1", f1, 1, 1, "rechit", "rHglobal_station_+1.png");
0072   GlobalPosfromTree("Global recHit positions ME+2", f1, 1, 2, "rechit", "rHglobal_station_+2.png");
0073   GlobalPosfromTree("Global recHit positions ME+3", f1, 1, 3, "rechit", "rHglobal_station_+3.png");
0074   GlobalPosfromTree("Global recHit positions ME+4", f1, 1, 4, "rechit", "rHglobal_station_+4.png");
0075   GlobalPosfromTree("Global recHit positions ME-1", f1, 2, 1, "rechit", "rHglobal_station_-1.png");
0076   GlobalPosfromTree("Global recHit positions ME-2", f1, 2, 2, "rechit", "rHglobal_station_-2.png");
0077   GlobalPosfromTree("Global recHit positions ME-3", f1, 2, 3, "rechit", "rHglobal_station_-3.png");
0078   GlobalPosfromTree("Global recHit positions ME-4", f1, 2, 4, "rechit", "rHglobal_station_-4.png");
0079   GlobalPosfromTree("Global Segment positions ME+1", f1, 1, 1, "segment", "Sglobal_station_+1.png");
0080   GlobalPosfromTree("Global Segment positions ME+2", f1, 1, 2, "segment", "Sglobal_station_+2.png");
0081   GlobalPosfromTree("Global Segment positions ME+3", f1, 1, 3, "segment", "Sglobal_station_+3.png");
0082   GlobalPosfromTree("Global Segment positions ME+4", f1, 1, 4, "segment", "Sglobal_station_+4.png");
0083   GlobalPosfromTree("Global Segment positions ME-1", f1, 2, 1, "segment", "Sglobal_station_-1.png");
0084   GlobalPosfromTree("Global Segment positions ME-2", f1, 2, 2, "segment", "Sglobal_station_-2.png");
0085   GlobalPosfromTree("Global Segment positions ME-3", f1, 2, 3, "segment", "Sglobal_station_-3.png");
0086   GlobalPosfromTree("Global Segment positions ME-4", f1, 2, 4, "segment", "Sglobal_station_-4.png");
0087 
0088   //Nikolai's plots
0089   NikolaiPlots(f1, 1);
0090   NikolaiPlots(f1, 2);
0091   NikolaiPlots(f1, 3);
0092   NikolaiPlots(f1, 4);
0093 
0094   //produce number of X per event plots
0095   make1DPlot("Digis/hStripNFired", f1, "Fired Strips per Event", 111110, "Digis_hStripNFired.png");
0096   make1DPlot("Digis/hWirenGroupsTotal", f1, "Fired Wires per Event", 111110, "Digis_hWirenGroupsTotal.png");
0097   make1DPlot("recHits/hRHnrechits", f1, "RecHits per Event", 111110, "recHits_hRHnrechits.png");
0098   make1DPlot("Segments/hSnSegments", f1, "Segments per Event", 111110, "Segments_hSnSegments.png");
0099 
0100   //produce wire timing plots
0101   make1DPlot("Digis/hWireTBin+11", f1, "Wire TimeBin Fired ME+1/1", 111110, "Digis_hWireTBin+11.png");
0102   make1DPlot("Digis/hWireTBin+12", f1, "Wire TimeBin Fired ME+1/2", 111110, "Digis_hWireTBin+12.png");
0103   make1DPlot("Digis/hWireTBin+13", f1, "Wire TimeBin Fired ME+1/3", 111110, "Digis_hWireTBin+13.png");
0104   make1DPlot("Digis/hWireTBin+21", f1, "Wire TimeBin Fired ME+2/1", 111110, "Digis_hWireTBin+21.png");
0105   make1DPlot("Digis/hWireTBin+22", f1, "Wire TimeBin Fired ME+2/2", 111110, "Digis_hWireTBin+22.png");
0106   make1DPlot("Digis/hWireTBin+31", f1, "Wire TimeBin Fired ME+3/1", 111110, "Digis_hWireTBin+31.png");
0107   make1DPlot("Digis/hWireTBin+32", f1, "Wire TimeBin Fired ME+3/2", 111110, "Digis_hWireTBin+32.png");
0108   make1DPlot("Digis/hWireTBin+41", f1, "Wire TimeBin Fired ME+4/1", 111110, "Digis_hWireTBin+41.png");
0109   make1DPlot("Digis/hWireTBin+42", f1, "Wire TimeBin Fired ME+4/2", 111110, "Digis_hWireTBin+42.png");
0110   make1DPlot("Digis/hWireTBin-11", f1, "Wire TimeBin Fired ME-1/1", 111110, "Digis_hWireTBin-11.png");
0111   make1DPlot("Digis/hWireTBin-12", f1, "Wire TimeBin Fired ME-1/2", 111110, "Digis_hWireTBin-12.png");
0112   make1DPlot("Digis/hWireTBin-13", f1, "Wire TimeBin Fired ME-1/3", 111110, "Digis_hWireTBin-13.png");
0113   make1DPlot("Digis/hWireTBin-21", f1, "Wire TimeBin Fired ME-2/1", 111110, "Digis_hWireTBin-21.png");
0114   make1DPlot("Digis/hWireTBin-22", f1, "Wire TimeBin Fired ME-2/2", 111110, "Digis_hWireTBin-22.png");
0115   make1DPlot("Digis/hWireTBin-31", f1, "Wire TimeBin Fired ME-3/1", 111110, "Digis_hWireTBin-31.png");
0116   make1DPlot("Digis/hWireTBin-32", f1, "Wire TimeBin Fired ME-3/2", 111110, "Digis_hWireTBin-32.png");
0117   make1DPlot("Digis/hWireTBin-41", f1, "Wire TimeBin Fired ME-4/1", 111110, "Digis_hWireTBin-41.png");
0118   make1DPlot("Digis/hWireTBin-42", f1, "Wire TimeBin Fired ME-4/2", 111110, "Digis_hWireTBin-42.png");
0119 
0120   //produce pedestal noise plots
0121   make1DPlot("PedestalNoise/hStripPedME+11",
0122              f1,
0123              "Pedestal Noise Distribution ME+1/1b",
0124              111110,
0125              "PedestalNoise_hStripPedME+11.png");
0126   make1DPlot("PedestalNoise/hStripPedME+14",
0127              f1,
0128              "Pedestal Noise Distribution ME+1/1a",
0129              111110,
0130              "PedestalNoise_hStripPedME+11a.png");
0131   make1DPlot("PedestalNoise/hStripPedME+12",
0132              f1,
0133              "Pedestal Noise Distribution ME+1/2",
0134              111110,
0135              "PedestalNoise_hStripPedME+12.png");
0136   make1DPlot("PedestalNoise/hStripPedME+13",
0137              f1,
0138              "Pedestal Noise Distribution ME+1/3",
0139              111110,
0140              "PedestalNoise_hStripPedME+13.png");
0141   make1DPlot("PedestalNoise/hStripPedME+21",
0142              f1,
0143              "Pedestal Noise Distribution ME+2/1",
0144              111110,
0145              "PedestalNoise_hStripPedME+21.png");
0146   make1DPlot("PedestalNoise/hStripPedME+22",
0147              f1,
0148              "Pedestal Noise Distribution ME+2/2",
0149              111110,
0150              "PedestalNoise_hStripPedME+22.png");
0151   make1DPlot("PedestalNoise/hStripPedME+31",
0152              f1,
0153              "Pedestal Noise Distribution ME+3/1",
0154              111110,
0155              "PedestalNoise_hStripPedME+31.png");
0156   make1DPlot("PedestalNoise/hStripPedME+32",
0157              f1,
0158              "Pedestal Noise Distribution ME+3/2",
0159              111110,
0160              "PedestalNoise_hStripPedME+32.png");
0161   make1DPlot("PedestalNoise/hStripPedME+41",
0162              f1,
0163              "Pedestal Noise Distribution ME+4/1",
0164              111110,
0165              "PedestalNoise_hStripPedME+41.png");
0166   make1DPlot("PedestalNoise/hStripPedME+42",
0167              f1,
0168              "Pedestal Noise Distribution ME+4/2",
0169              111110,
0170              "PedestalNoise_hStripPedME+42.png");
0171   make1DPlot("PedestalNoise/hStripPedME-11",
0172              f1,
0173              "Pedestal Noise Distribution ME-1/1b",
0174              111110,
0175              "PedestalNoise_hStripPedME-11.png");
0176   make1DPlot("PedestalNoise/hStripPedME-14",
0177              f1,
0178              "Pedestal Noise Distribution ME-1/1a",
0179              111110,
0180              "PedestalNoise_hStripPedME-11a.png");
0181   make1DPlot("PedestalNoise/hStripPedME-12",
0182              f1,
0183              "Pedestal Noise Distribution ME-1/2",
0184              111110,
0185              "PedestalNoise_hStripPedME-12.png");
0186   make1DPlot("PedestalNoise/hStripPedME-13",
0187              f1,
0188              "Pedestal Noise Distribution ME-1/3",
0189              111110,
0190              "PedestalNoise_hStripPedME-13.png");
0191   make1DPlot("PedestalNoise/hStripPedME-21",
0192              f1,
0193              "Pedestal Noise Distribution ME-2/1",
0194              111110,
0195              "PedestalNoise_hStripPedME-21.png");
0196   make1DPlot("PedestalNoise/hStripPedME-22",
0197              f1,
0198              "Pedestal Noise Distribution ME-2/2",
0199              111110,
0200              "PedestalNoise_hStripPedME-22.png");
0201   make1DPlot("PedestalNoise/hStripPedME-31",
0202              f1,
0203              "Pedestal Noise Distribution ME-3/1",
0204              111110,
0205              "PedestalNoise_hStripPedME-31.png");
0206   make1DPlot("PedestalNoise/hStripPedME-32",
0207              f1,
0208              "Pedestal Noise Distribution ME-3/2",
0209              111110,
0210              "PedestalNoise_hStripPedME-32.png");
0211   make1DPlot("PedestalNoise/hStripPedME-41",
0212              f1,
0213              "Pedestal Noise Distribution ME-4/1",
0214              111110,
0215              "PedestalNoise_hStripPedME-41.png");
0216   make1DPlot("PedestalNoise/hStripPedME-42",
0217              f1,
0218              "Pedestal Noise Distribution ME-4/2",
0219              111110,
0220              "PedestalNoise_hStripPedME-42.png");
0221 
0222   // resolution
0223   make1DPlot("Resolution/hSResid+11",
0224              f1,
0225              "Expected Position from Fit - Reconstructed, ME+1/1b",
0226              111110,
0227              "Resolution_hSResid+11.png");
0228   make1DPlot("Resolution/hSResid+12",
0229              f1,
0230              "Expected Position from Fit - Reconstructed, ME+1/2",
0231              111110,
0232              "Resolution_hSResid+12.png");
0233   make1DPlot("Resolution/hSResid+13",
0234              f1,
0235              "Expected Position from Fit - Reconstructed, ME+1/3",
0236              111110,
0237              "Resolution_hSResid+13.png");
0238   make1DPlot("Resolution/hSResid+14",
0239              f1,
0240              "Expected Position from Fit - Reconstructed, ME+1/1a",
0241              111110,
0242              "Resolution_hSResid+11a.png");
0243   make1DPlot("Resolution/hSResid+21",
0244              f1,
0245              "Expected Position from Fit - Reconstructed, ME+2/1",
0246              111110,
0247              "Resolution_hSResid+21.png");
0248   make1DPlot("Resolution/hSResid+22",
0249              f1,
0250              "Expected Position from Fit - Reconstructed, ME+2/2",
0251              111110,
0252              "Resolution_hSResid+22.png");
0253   make1DPlot("Resolution/hSResid+31",
0254              f1,
0255              "Expected Position from Fit - Reconstructed, ME+3/1",
0256              111110,
0257              "Resolution_hSResid+31.png");
0258   make1DPlot("Resolution/hSResid+32",
0259              f1,
0260              "Expected Position from Fit - Reconstructed, ME+3/2",
0261              111110,
0262              "Resolution_hSResid+32.png");
0263   make1DPlot("Resolution/hSResid+41",
0264              f1,
0265              "Expected Position from Fit - Reconstructed, ME+4/1",
0266              111110,
0267              "Resolution_hSResid+41.png");
0268   make1DPlot("Resolution/hSResid+42",
0269              f1,
0270              "Expected Position from Fit - Reconstructed, ME+4/2",
0271              111110,
0272              "Resolution_hSResid+42.png");
0273   make1DPlot("Resolution/hSResid-11",
0274              f1,
0275              "Expected Position from Fit - Reconstructed, ME-1/1b",
0276              111110,
0277              "Resolution_hSResid-11.png");
0278   make1DPlot("Resolution/hSResid-12",
0279              f1,
0280              "Expected Position from Fit - Reconstructed, ME-1/2",
0281              111110,
0282              "Resolution_hSResid-12.png");
0283   make1DPlot("Resolution/hSResid-13",
0284              f1,
0285              "Expected Position from Fit - Reconstructed, ME-1/3",
0286              111110,
0287              "Resolution_hSResid-13.png");
0288   make1DPlot("Resolution/hSResid-14",
0289              f1,
0290              "Expected Position from Fit - Reconstructed, ME-1/1a",
0291              111110,
0292              "Resolution_hSResid-11a.png");
0293   make1DPlot("Resolution/hSResid-21",
0294              f1,
0295              "Expected Position from Fit - Reconstructed, ME-2/1",
0296              111110,
0297              "Resolution_hSResid-21.png");
0298   make1DPlot("Resolution/hSResid-22",
0299              f1,
0300              "Expected Position from Fit - Reconstructed, ME-2/2",
0301              111110,
0302              "Resolution_hSResid-22.png");
0303   make1DPlot("Resolution/hSResid-31",
0304              f1,
0305              "Expected Position from Fit - Reconstructed, ME-3/1",
0306              111110,
0307              "Resolution_hSResid-31.png");
0308   make1DPlot("Resolution/hSResid-32",
0309              f1,
0310              "Expected Position from Fit - Reconstructed, ME-3/2",
0311              111110,
0312              "Resolution_hSResid-32.png");
0313   make1DPlot("Resolution/hSResid-41",
0314              f1,
0315              "Expected Position from Fit - Reconstructed, ME-4/1",
0316              111110,
0317              "Resolution_hSResid-41.png");
0318   make1DPlot("Resolution/hSResid-42",
0319              f1,
0320              "Expected Position from Fit - Reconstructed, ME-4/2",
0321              111110,
0322              "Resolution_hSResid-42.png");
0323 
0324   // rechit strip position
0325   make1DPlot("recHits/hRHstpos+11", f1, "Strip Position (ME+1/1b)", 1110, "recHits_hRHstpos+11.png");
0326   make1DPlot("recHits/hRHstpos+14", f1, "Strip Position (ME+1/1a)", 1110, "recHits_hRHstpos+11a.png");
0327   make1DPlot("recHits/hRHstpos+12", f1, "Strip Position (ME+1/2)", 1110, "recHits_hRHstpos+12.png");
0328   make1DPlot("recHits/hRHstpos+13", f1, "Strip Position (ME+1/3)", 1110, "recHits_hRHstpos+13.png");
0329   make1DPlot("recHits/hRHstpos+21", f1, "Strip Position (ME+2/1)", 1110, "recHits_hRHstpos+21.png");
0330   make1DPlot("recHits/hRHstpos+22", f1, "Strip Position (ME+2/2)", 1110, "recHits_hRHstpos+22.png");
0331   make1DPlot("recHits/hRHstpos+31", f1, "Strip Position (ME+3/1)", 1110, "recHits_hRHstpos+31.png");
0332   make1DPlot("recHits/hRHstpos+32", f1, "Strip Position (ME+3/2)", 1110, "recHits_hRHstpos+32.png");
0333   make1DPlot("recHits/hRHstpos+41", f1, "Strip Position (ME+4/1)", 1110, "recHits_hRHstpos+41.png");
0334   make1DPlot("recHits/hRHstpos+42", f1, "Strip Position (ME+4/2)", 1110, "recHits_hRHstpos+42.png");
0335   make1DPlot("recHits/hRHstpos-11", f1, "Strip Position (ME-1/1b)", 1110, "recHits_hRHstpos-11.png");
0336   make1DPlot("recHits/hRHstpos-14", f1, "Strip Position (ME-1/1a)", 1110, "recHits_hRHstpos-11a.png");
0337   make1DPlot("recHits/hRHstpos-12", f1, "Strip Position (ME-1/2)", 1110, "recHits_hRHstpos-12.png");
0338   make1DPlot("recHits/hRHstpos-13", f1, "Strip Position (ME-1/3)", 1110, "recHits_hRHstpos-13.png");
0339   make1DPlot("recHits/hRHstpos-21", f1, "Strip Position (ME-2/1)", 1110, "recHits_hRHstpos-21.png");
0340   make1DPlot("recHits/hRHstpos-22", f1, "Strip Position (ME-2/2)", 1110, "recHits_hRHstpos-22.png");
0341   make1DPlot("recHits/hRHstpos-31", f1, "Strip Position (ME-3/1)", 1110, "recHits_hRHstpos-31.png");
0342   make1DPlot("recHits/hRHstpos-32", f1, "Strip Position (ME-3/2)", 1110, "recHits_hRHstpos-32.png");
0343   make1DPlot("recHits/hRHstpos-41", f1, "Strip Position (ME-4/1)", 1110, "recHits_hRHstpos-41.png");
0344   make1DPlot("recHits/hRHstpos-42", f1, "Strip Position (ME-4/2)", 1110, "recHits_hRHstpos-42.png");
0345 
0346   // rechit timing
0347   make1DPlot("recHits/hRHTiming+11", f1, "RecHit Timing ME+1/1b", 111110, "recHits_hRHTiming+11.png");
0348   make1DPlot("recHits/hRHTiming+14", f1, "RecHit Timing ME+1/1a", 111110, "recHits_hRHTiming+11a.png");
0349   make1DPlot("recHits/hRHTiming+12", f1, "RecHit Timing ME+1/2", 111110, "recHits_hRHTiming+12.png");
0350   make1DPlot("recHits/hRHTiming+13", f1, "RecHit Timing ME+1/3", 111110, "recHits_hRHTiming+13.png");
0351   make1DPlot("recHits/hRHTiming+21", f1, "RecHit Timing ME+2/1", 111110, "recHits_hRHTiming+21.png");
0352   make1DPlot("recHits/hRHTiming+22", f1, "RecHit Timing ME+2/2", 111110, "recHits_hRHTiming+22.png");
0353   make1DPlot("recHits/hRHTiming+31", f1, "RecHit Timing ME+3/1", 111110, "recHits_hRHTiming+31.png");
0354   make1DPlot("recHits/hRHTiming+32", f1, "RecHit Timing ME+3/2", 111110, "recHits_hRHTiming+32.png");
0355   make1DPlot("recHits/hRHTiming+41", f1, "RecHit Timing ME+4/1", 111110, "recHits_hRHTiming+41.png");
0356   make1DPlot("recHits/hRHTiming+42", f1, "RecHit Timing ME+4/2", 111110, "recHits_hRHTiming+42.png");
0357   make1DPlot("recHits/hRHTiming-11", f1, "RecHit Timing ME-1/1b", 111110, "recHits_hRHTiming-11.png");
0358   make1DPlot("recHits/hRHTiming-14", f1, "RecHit Timing ME-1/1a", 111110, "recHits_hRHTiming-11a.png");
0359   make1DPlot("recHits/hRHTiming-12", f1, "RecHit Timing ME-1/2", 111110, "recHits_hRHTiming-12.png");
0360   make1DPlot("recHits/hRHTiming-13", f1, "RecHit Timing ME-1/3", 111110, "recHits_hRHTiming-13.png");
0361   make1DPlot("recHits/hRHTiming-21", f1, "RecHit Timing ME-2/1", 111110, "recHits_hRHTiming-21.png");
0362   make1DPlot("recHits/hRHTiming-22", f1, "RecHit Timing ME-2/2", 111110, "recHits_hRHTiming-22.png");
0363   make1DPlot("recHits/hRHTiming-31", f1, "RecHit Timing ME-3/1", 111110, "recHits_hRHTiming-31.png");
0364   make1DPlot("recHits/hRHTiming-32", f1, "RecHit Timing ME-3/2", 111110, "recHits_hRHTiming-32.png");
0365   make1DPlot("recHits/hRHTiming-41", f1, "RecHit Timing ME-4/1", 111110, "recHits_hRHTiming-41.png");
0366   make1DPlot("recHits/hRHTiming-42", f1, "RecHit Timing ME-4/2", 111110, "recHits_hRHTiming-42.png");
0367 
0368   // rechit charge
0369   make1DPlot("recHits/hRHSumQ+11", f1, "Sum 3x3 RecHit Charge ME+1/1b", 111110, "recHits_hRHSumQ+11.png");
0370   make1DPlot("recHits/hRHSumQ+14", f1, "Sum 3x3 RecHit Charge ME+1/1a", 111110, "recHits_hRHSumQ+11a.png");
0371   make1DPlot("recHits/hRHSumQ+12", f1, "Sum 3x3 RecHit Charge ME+1/2", 111110, "recHits_hRHSumQ+12.png");
0372   make1DPlot("recHits/hRHSumQ+13", f1, "Sum 3x3 RecHit Charge ME+1/3", 111110, "recHits_hRHSumQ+13.png");
0373   make1DPlot("recHits/hRHSumQ+21", f1, "Sum 3x3 RecHit Charge ME+2/1", 111110, "recHits_hRHSumQ+21.png");
0374   make1DPlot("recHits/hRHSumQ+22", f1, "Sum 3x3 RecHit Charge ME+2/2", 111110, "recHits_hRHSumQ+22.png");
0375   make1DPlot("recHits/hRHSumQ+31", f1, "Sum 3x3 RecHit Charge ME+3/1", 111110, "recHits_hRHSumQ+31.png");
0376   make1DPlot("recHits/hRHSumQ+32", f1, "Sum 3x3 RecHit Charge ME+3/2", 111110, "recHits_hRHSumQ+32.png");
0377   make1DPlot("recHits/hRHSumQ+41", f1, "Sum 3x3 RecHit Charge ME+4/1", 111110, "recHits_hRHSumQ+41.png");
0378   make1DPlot("recHits/hRHSumQ+42", f1, "Sum 3x3 RecHit Charge ME+4/2", 111110, "recHits_hRHSumQ+42.png");
0379   make1DPlot("recHits/hRHSumQ-11", f1, "Sum 3x3 RecHit Charge ME-1/1b", 111110, "recHits_hRHSumQ-11.png");
0380   make1DPlot("recHits/hRHSumQ-14", f1, "Sum 3x3 RecHit Charge ME-1/1a", 111110, "recHits_hRHSumQ-11a.png");
0381   make1DPlot("recHits/hRHSumQ-12", f1, "Sum 3x3 RecHit Charge ME-1/2", 111110, "recHits_hRHSumQ-12.png");
0382   make1DPlot("recHits/hRHSumQ-13", f1, "Sum 3x3 RecHit Charge ME-1/3", 111110, "recHits_hRHSumQ-13.png");
0383   make1DPlot("recHits/hRHSumQ-21", f1, "Sum 3x3 RecHit Charge ME-2/1", 111110, "recHits_hRHSumQ-21.png");
0384   make1DPlot("recHits/hRHSumQ-22", f1, "Sum 3x3 RecHit Charge ME-2/2", 111110, "recHits_hRHSumQ-22.png");
0385   make1DPlot("recHits/hRHSumQ-31", f1, "Sum 3x3 RecHit Charge ME-3/1", 111110, "recHits_hRHSumQ-31.png");
0386   make1DPlot("recHits/hRHSumQ-32", f1, "Sum 3x3 RecHit Charge ME-3/2", 111110, "recHits_hRHSumQ-32.png");
0387   make1DPlot("recHits/hRHSumQ-41", f1, "Sum 3x3 RecHit Charge ME-4/1", 111110, "recHits_hRHSumQ-41.png");
0388   make1DPlot("recHits/hRHSumQ-42", f1, "Sum 3x3 RecHit Charge ME-4/2", 111110, "recHits_hRHSumQ-42.png");
0389 
0390   make1DPlot("recHits/hRHRatioQ+11", f1, "Charge Ratio (Ql_Qr)/Qt ME+1/1b", 111110, "recHits_hRHRatioQ+11.png");
0391   make1DPlot("recHits/hRHRatioQ+14", f1, "Charge Ratio (Ql_Qr)/Qt ME+1/1a", 111110, "recHits_hRHRatioQ+11a.png");
0392   make1DPlot("recHits/hRHRatioQ+12", f1, "Charge Ratio (Ql_Qr)/Qt ME+1/2", 111110, "recHits_hRHRatioQ+12.png");
0393   make1DPlot("recHits/hRHRatioQ+13", f1, "Charge Ratio (Ql_Qr)/Qt ME+1/3", 111110, "recHits_hRHRatioQ+13.png");
0394   make1DPlot("recHits/hRHRatioQ+21", f1, "Charge Ratio (Ql_Qr)/Qt ME+2/1", 111110, "recHits_hRHRatioQ+21.png");
0395   make1DPlot("recHits/hRHRatioQ+22", f1, "Charge Ratio (Ql_Qr)/Qt ME+2/2", 111110, "recHits_hRHRatioQ+22.png");
0396   make1DPlot("recHits/hRHRatioQ+31", f1, "Charge Ratio (Ql_Qr)/Qt ME+3/1", 111110, "recHits_hRHRatioQ+31.png");
0397   make1DPlot("recHits/hRHRatioQ+32", f1, "Charge Ratio (Ql_Qr)/Qt ME+3/2", 111110, "recHits_hRHRatioQ+32.png");
0398   make1DPlot("recHits/hRHRatioQ+41", f1, "Charge Ratio (Ql_Qr)/Qt ME+4/1", 111110, "recHits_hRHRatioQ+41.png");
0399   make1DPlot("recHits/hRHRatioQ+42", f1, "Charge Ratio (Ql_Qr)/Qt ME+4/2", 111110, "recHits_hRHRatioQ+42.png");
0400   make1DPlot("recHits/hRHRatioQ-11", f1, "Charge Ratio (Ql_Qr)/Qt ME-1/1b", 111110, "recHits_hRHRatioQ-11.png");
0401   make1DPlot("recHits/hRHRatioQ-14", f1, "Charge Ratio (Ql_Qr)/Qt ME-1/1a", 111110, "recHits_hRHRatioQ-11a.png");
0402   make1DPlot("recHits/hRHRatioQ-12", f1, "Charge Ratio (Ql_Qr)/Qt ME-1/2", 111110, "recHits_hRHRatioQ-12.png");
0403   make1DPlot("recHits/hRHRatioQ-13", f1, "Charge Ratio (Ql_Qr)/Qt ME-1/3", 111110, "recHits_hRHRatioQ-13.png");
0404   make1DPlot("recHits/hRHRatioQ-21", f1, "Charge Ratio (Ql_Qr)/Qt ME-2/1", 111110, "recHits_hRHRatioQ-21.png");
0405   make1DPlot("recHits/hRHRatioQ-22", f1, "Charge Ratio (Ql_Qr)/Qt ME-2/2", 111110, "recHits_hRHRatioQ-22.png");
0406   make1DPlot("recHits/hRHRatioQ-31", f1, "Charge Ratio (Ql_Qr)/Qt ME-3/1", 111110, "recHits_hRHRatioQ-31.png");
0407   make1DPlot("recHits/hRHRatioQ-32", f1, "Charge Ratio (Ql_Qr)/Qt ME-3/2", 111110, "recHits_hRHRatioQ-32.png");
0408   make1DPlot("recHits/hRHRatioQ-41", f1, "Charge Ratio (Ql_Qr)/Qt ME-4/1", 111110, "recHits_hRHRatioQ-41.png");
0409   make1DPlot("recHits/hRHRatioQ-42", f1, "Charge Ratio (Ql_Qr)/Qt ME-4/2", 111110, "recHits_hRHRatioQ-42.png");
0410 
0411   //hits on a segment
0412   make1DPlot("Segments/hSnHits+11", f1, "N Hits on Segments ME+1/1b", 1110, "Segments_hSnHits+11.png");
0413   make1DPlot("Segments/hSnHits+14", f1, "N Hits on Segments ME+1/1a", 1110, "Segments_hSnHits+11a.png");
0414   make1DPlot("Segments/hSnHits+12", f1, "N Hits on Segments ME+1/2", 1110, "Segments_hSnHits+12.png");
0415   make1DPlot("Segments/hSnHits+13", f1, "N Hits on Segments ME+1/3", 1110, "Segments_hSnHits+13.png");
0416   make1DPlot("Segments/hSnHits+21", f1, "N Hits on Segments ME+2/1", 1110, "Segments_hSnHits+21.png");
0417   make1DPlot("Segments/hSnHits+22", f1, "N Hits on Segments ME+2/2", 1110, "Segments_hSnHits+22.png");
0418   make1DPlot("Segments/hSnHits+31", f1, "N Hits on Segments ME+3/1", 1110, "Segments_hSnHits+31.png");
0419   make1DPlot("Segments/hSnHits+32", f1, "N Hits on Segments ME+3/2", 1110, "Segments_hSnHits+32.png");
0420   make1DPlot("Segments/hSnHits+41", f1, "N Hits on Segments ME+4/1", 1110, "Segments_hSnHits+41.png");
0421   make1DPlot("Segments/hSnHits+42", f1, "N Hits on Segments ME+4/2", 1110, "Segments_hSnHits+42.png");
0422   make1DPlot("Segments/hSnHits-11", f1, "N Hits on Segments ME-1/1b", 1110, "Segments_hSnHits-11.png");
0423   make1DPlot("Segments/hSnHits-14", f1, "N Hits on Segments ME-1/1a", 1110, "Segments_hSnHits-11a.png");
0424   make1DPlot("Segments/hSnHits-12", f1, "N Hits on Segments ME-1/2", 1110, "Segments_hSnHits-12.png");
0425   make1DPlot("Segments/hSnHits-13", f1, "N Hits on Segments ME-1/3", 1110, "Segments_hSnHits-13.png");
0426   make1DPlot("Segments/hSnHits-21", f1, "N Hits on Segments ME-2/1", 1110, "Segments_hSnHits-21.png");
0427   make1DPlot("Segments/hSnHits-22", f1, "N Hits on Segments ME-2/2", 1110, "Segments_hSnHits-22.png");
0428   make1DPlot("Segments/hSnHits-31", f1, "N Hits on Segments ME-3/1", 1110, "Segments_hSnHits-31.png");
0429   make1DPlot("Segments/hSnHits-32", f1, "N Hits on Segments ME-3/2", 1110, "Segments_hSnHits-32.png");
0430   make1DPlot("Segments/hSnHits-41", f1, "N Hits on Segments ME-4/1", 1110, "Segments_hSnHits-41.png");
0431   make1DPlot("Segments/hSnHits-42", f1, "N Hits on Segments ME-4/2", 1110, "Segments_hSnHits-42.png");
0432 
0433   // segment chi2
0434   make1DPlot("Segments/hSChiSq+11", f1, "Segment Chi2/ndof ME+1/1b", 111110, "Segments_hSChiSq+11.png");
0435   make1DPlot("Segments/hSChiSq+14", f1, "Segment Chi2/ndof ME+1/1a", 111110, "Segments_hSChiSq+11a.png");
0436   make1DPlot("Segments/hSChiSq+12", f1, "Segment Chi2/ndof ME+1/2", 111110, "Segments_hSChiSq+12.png");
0437   make1DPlot("Segments/hSChiSq+13", f1, "Segment Chi2/ndof ME+1/3", 111110, "Segments_hSChiSq+13.png");
0438   make1DPlot("Segments/hSChiSq+21", f1, "Segment Chi2/ndof ME+2/1", 111110, "Segments_hSChiSq+21.png");
0439   make1DPlot("Segments/hSChiSq+22", f1, "Segment Chi2/ndof ME+2/2", 111110, "Segments_hSChiSq+22.png");
0440   make1DPlot("Segments/hSChiSq+31", f1, "Segment Chi2/ndof ME+3/1", 111110, "Segments_hSChiSq+31.png");
0441   make1DPlot("Segments/hSChiSq+32", f1, "Segment Chi2/ndof ME+3/2", 111110, "Segments_hSChiSq+32.png");
0442   make1DPlot("Segments/hSChiSq+41", f1, "Segment Chi2/ndof ME+4/1", 111110, "Segments_hSChiSq+41.png");
0443   make1DPlot("Segments/hSChiSq+42", f1, "Segment Chi2/ndof ME+4/2", 111110, "Segments_hSChiSq+42.png");
0444   make1DPlot("Segments/hSChiSq-11", f1, "Segment Chi2/ndof ME-1/1b", 111110, "Segments_hSChiSq-11.png");
0445   make1DPlot("Segments/hSChiSq-14", f1, "Segment Chi2/ndof ME-1/1a", 111110, "Segments_hSChiSq-11a.png");
0446   make1DPlot("Segments/hSChiSq-12", f1, "Segment Chi2/ndof ME-1/2", 111110, "Segments_hSChiSq-12.png");
0447   make1DPlot("Segments/hSChiSq-13", f1, "Segment Chi2/ndof ME-1/3", 111110, "Segments_hSChiSq-13.png");
0448   make1DPlot("Segments/hSChiSq-21", f1, "Segment Chi2/ndof ME-2/1", 111110, "Segments_hSChiSq-21.png");
0449   make1DPlot("Segments/hSChiSq-22", f1, "Segment Chi2/ndof ME-2/2", 111110, "Segments_hSChiSq-22.png");
0450   make1DPlot("Segments/hSChiSq-31", f1, "Segment Chi2/ndof ME-3/1", 111110, "Segments_hSChiSq-31.png");
0451   make1DPlot("Segments/hSChiSq-32", f1, "Segment Chi2/ndof ME-3/2", 111110, "Segments_hSChiSq-32.png");
0452   make1DPlot("Segments/hSChiSq-41", f1, "Segment Chi2/ndof ME-4/1", 111110, "Segments_hSChiSq-41.png");
0453   make1DPlot("Segments/hSChiSq-42", f1, "Segment Chi2/ndof ME-4/2", 111110, "Segments_hSChiSq-42.png");
0454 
0455   //miscellaneous
0456   make1DPlot("Segments/hSGlobalPhi", f1, "Segment Global Phi", 1110, "Segments_hSGlobalPhi.png");
0457   make1DPlot("Segments/hSGlobalTheta", f1, "Segment Global Theta", 1110, "Segments_hSGlobalTheta.png");
0458 
0459   //STA muons
0460   make1DPlot("STAMuons/trNSAMuons", f1, "Number STA Muons per Event", 111110, "STAMuons_nMuons.png");
0461   make1DPlot("STAMuons/trLength", f1, "Length along Z of STA Muons", 111110, "STAMuons_zLength.png");
0462   make1DPlot("STAMuons/trN", f1, "Number hits per STA Muons", 111110, "STAMuons_nHits.png");
0463   make1DPlot("STAMuons/trNCSC", f1, "Number CSC hits per STA Muons", 111110, "STAMuons_nCSCHits.png");
0464   make1DPlot("STAMuons/trNp", f1, "Number hits per STA Muons (plus side)", 111110, "STAMuons_nHits_plus.png");
0465   make1DPlot("STAMuons/trNCSCm", f1, "Number CSC hits per STA Muons (plus side)", 111110, "STAMuons_nCSCHits_plus.png");
0466   make1DPlot("STAMuons/trNm", f1, "Number hits per STA Muons (minus side)", 111110, "STAMuons_nHits_minus.png");
0467   make1DPlot(
0468       "STAMuons/trNCSCp", f1, "Number CSC hits per STA Muons (minus side)", 111110, "STAMuons_nCSCHits_minus.png");
0469   make1DPlot("STAMuons/trNormChi2", f1, "Normalized Chi^2 of STA Muons", 111110, "STAMuons_chi2.png");
0470   make1DPlot("STAMuons/trP", f1, "Momentum of STA Muons", 111110, "STAMuons_p.png");
0471   make1DPlot("STAMuons/trPT", f1, "Transverse Momentum of STA Muons", 111110, "STAMuons_pt.png");
0472 
0473   //Nikolai's plots
0474   NikolaiPlots(f1, 1);
0475   NikolaiPlots(f1, 2);
0476   NikolaiPlots(f1, 3);
0477   NikolaiPlots(f1, 4);
0478 
0479   //efficiency plots
0480   //TODO: change how this is done (here rather than in CSCValidation.cc)
0481   makeEffGif("Efficiency/hRHSTE", f1, "RecHit Efficiency", "Efficiency_hRHEff.png");
0482   makeEffGif("Efficiency/hSSTE", f1, "Segment Efficiency", "Efficiency_hSEff.png");
0483   Draw2DEfficiency("Efficiency/hRHSTE2", f1, "RecHit Efficiency 2D", "Efficiency_hRHEff2.png");
0484   Draw2DEfficiency("Efficiency/hSSTE2", f1, "Segment Efficiency 2D", "Efficiency_hSEff2.png");
0485   Draw2DEfficiency("Efficiency/hWireSTE2", f1, "Wire Efficiency 2D", "Efficiency_hWireEff2.png");
0486   Draw2DEfficiency("Efficiency/hStripSTE2", f1, "Strip Efficiency 2D", "Efficiency_hStripEff2.png");
0487   //Draw2DTempPlot("Efficiency/hSensitiveAreaEvt", f1, false, "Efficiency_hEvts2.png");
0488   Draw2DEfficiency("Efficiency/hSensitiveAreaEvt", f1, "Events in Sensitive Area", "Efficiency_hEvts2.png");
0489 
0490   makeEffGif("Efficiency/hRHSTETight", f1, "RecHit Efficiency Tight", "Efficiency_hRHEff_tight.png");
0491   makeEffGif("Efficiency/hSSTETight", f1, "Segment Efficiency Tight", "Efficiency_hSEff_tight.png");
0492   Draw2DEfficiency("Efficiency/hRHSTE2Tight", f1, "RecHit Efficiency 2D Tight", "Efficiency_hRHEff2_tight.png");
0493   Draw2DEfficiency("Efficiency/hSSTE2Tight", f1, "Segment Efficiency 2D Tight", "Efficiency_hSEff2_tight.png");
0494   Draw2DEfficiency("Efficiency/hWireSTE2Tight", f1, "Wire Efficiency 2D Tight", "Efficiency_hWireEff2_tight.png");
0495   Draw2DEfficiency("Efficiency/hStripSTE2Tight", f1, "Strip Efficiency 2D Tight", "Efficiency_hStripEff2_tight.png");
0496 
0497   //Draw2DTempPlot2("Efficiency/hRHSTE2", f1, true, "Efficiency_hRHEff2.png");
0498   //Draw2DTempPlot2("Efficiency/hSSTE2", f1, true, "Efficiency_hSEff2.png");
0499   //Draw2DTempPlot2("Efficiency/hWireSTE2", f1, true, "Efficiency_hWireEff2.png");
0500   //Draw2DTempPlot2("Efficiency/hWireSTE2", f1, true, "Efficiency_hStripEff2.png");
0501 
0502   //Timing Monitor
0503   make1DPlot("TimeMonitoring/ALCT_getBX",
0504              f1,
0505              "ALCT position in L1A window",
0506              "CSCALCTDigi.getBX()",
0507              "",
0508              111110,
0509              "ALCT_getBX.png");
0510   make1DPlot("TimeMonitoring/ALCT_getFullBX",
0511              f1,
0512              "BXN l1a_delay clocks ago from L1A",
0513              "CSCALCTDigi.getFullBX()",
0514              "",
0515              111110,
0516              "ALCT_getFullBX.png");
0517   make1DPlot("TimeMonitoring/BX_L1CSCCand", f1, "BX of L1GMT CSC Cand", 111110, "BX_L1CSCCand.png");
0518   make1DPlot("TimeMonitoring/BX_L1CSCCand_w_beamHalo",
0519              f1,
0520              "BX of L1GMT CSC Cand (quality=1)",
0521              111110,
0522              "BX_L1CSCCand_w_beamHalo.png");
0523   make1DPlot(
0524       "TimeMonitoring/CLCT_getBX", f1, "Last two bits of CLCT bxn", "CSCCLCTDigi.getBX()", "", 111110, "CLCT_getBX.png");
0525   make1DPlot("TimeMonitoring/CLCT_getFullBX",
0526              f1,
0527              "CLCT bxn at pretrigger",
0528              "CSCCLCTDigi.getFullBX()",
0529              "",
0530              111110,
0531              "CLCT_getFullBX.png");
0532   make1DPlot("TimeMonitoring/CorrelatedLCTS_getBX", f1, "CorrelatedLCT.getBX()", 111110, "CorrelatedLCTS_getBX.png");
0533   make1DPlot("TimeMonitoring/TMB_ALCTMatchTime",
0534              f1,
0535              "ALCTMatchTime (all chambers)",
0536              "ALCT position in CLCT window (bx)",
0537              "",
0538              1110,
0539              "TMB_ALCTMatchTime.png");
0540   make1DPlot("TimeMonitoring/TMB_ALCTMatchTime+1", f1, "TMB_ALCTMatchTime (ME +1)", 1110, "TMB_ALCTMatchTime+1.png");
0541   make1DPlot("TimeMonitoring/TMB_ALCTMatchTime+2", f1, "TMB_ALCTMatchTime (ME +2)", 1110, "TMB_ALCTMatchTime+2.png");
0542   make1DPlot("TimeMonitoring/TMB_ALCTMatchTime+3", f1, "TMB_ALCTMatchTime (ME +3)", 1110, "TMB_ALCTMatchTime+3.png");
0543   make1DPlot("TimeMonitoring/TMB_ALCTMatchTime+4", f1, "TMB_ALCTMatchTime (ME +4)", 1110, "TMB_ALCTMatchTime+4.png");
0544   make1DPlot("TimeMonitoring/TMB_ALCTMatchTime-1", f1, "TMB_ALCTMatchTime (ME -1)", 1110, "TMB_ALCTMatchTime-1.png");
0545   make1DPlot("TimeMonitoring/TMB_ALCTMatchTime-2", f1, "TMB_ALCTMatchTime (ME -2)", 1110, "TMB_ALCTMatchTime-2.png");
0546   make1DPlot("TimeMonitoring/TMB_ALCTMatchTime-3", f1, "TMB_ALCTMatchTime (ME -3)", 1110, "TMB_ALCTMatchTime-3.png");
0547   make1DPlot("TimeMonitoring/TMB_ALCTMatchTime-4", f1, "TMB_ALCTMatchTime (ME -4)", 1110, "TMB_ALCTMatchTime-4.png");
0548   make1DPlot(
0549       "TimeMonitoring/TMB_ALCTMatchTime+11", f1, "TMB_ALCTMatchTime (ME +1/1b)", 1110, "TMB_ALCTMatchTime+11b.png");
0550   make1DPlot(
0551       "TimeMonitoring/TMB_ALCTMatchTime+12", f1, "TMB_ALCTMatchTime (ME +1/2)", 1110, "TMB_ALCTMatchTime+12.png");
0552   make1DPlot(
0553       "TimeMonitoring/TMB_ALCTMatchTime+13", f1, "TMB_ALCTMatchTime (ME +1/3)", 1110, "TMB_ALCTMatchTime+13.png");
0554   make1DPlot(
0555       "TimeMonitoring/TMB_ALCTMatchTime+14", f1, "TMB_ALCTMatchTime (ME +1/1a)", 1110, "TMB_ALCTMatchTime+11a.png");
0556   make1DPlot(
0557       "TimeMonitoring/TMB_ALCTMatchTime+21", f1, "TMB_ALCTMatchTime (ME +2/1)", 1110, "TMB_ALCTMatchTime+21.png");
0558   make1DPlot(
0559       "TimeMonitoring/TMB_ALCTMatchTime+22", f1, "TMB_ALCTMatchTime (ME +2/2)", 1110, "TMB_ALCTMatchTime+23.png");
0560   make1DPlot(
0561       "TimeMonitoring/TMB_ALCTMatchTime+31", f1, "TMB_ALCTMatchTime (ME +3/1)", 1110, "TMB_ALCTMatchTime+31.png");
0562   make1DPlot(
0563       "TimeMonitoring/TMB_ALCTMatchTime+32", f1, "TMB_ALCTMatchTime (ME +3/2)", 1110, "TMB_ALCTMatchTime+33.png");
0564   make1DPlot(
0565       "TimeMonitoring/TMB_ALCTMatchTime+41", f1, "TMB_ALCTMatchTime (ME +4/1)", 1110, "TMB_ALCTMatchTime+41.png");
0566   make1DPlot(
0567       "TimeMonitoring/TMB_ALCTMatchTime+42", f1, "TMB_ALCTMatchTime (ME +4/2)", 1110, "TMB_ALCTMatchTime+43.png");
0568   make1DPlot(
0569       "TimeMonitoring/TMB_ALCTMatchTime-11", f1, "TMB_ALCTMatchTime (ME -1/1b)", 1110, "TMB_ALCTMatchTime-11b.png");
0570   make1DPlot(
0571       "TimeMonitoring/TMB_ALCTMatchTime-12", f1, "TMB_ALCTMatchTime (ME -1/2)", 1110, "TMB_ALCTMatchTime-12.png");
0572   make1DPlot(
0573       "TimeMonitoring/TMB_ALCTMatchTime-13", f1, "TMB_ALCTMatchTime (ME -1/3)", 1110, "TMB_ALCTMatchTime-13.png");
0574   make1DPlot(
0575       "TimeMonitoring/TMB_ALCTMatchTime-14", f1, "TMB_ALCTMatchTime (ME -1/1a)", 1110, "TMB_ALCTMatchTime-11a.png");
0576   make1DPlot(
0577       "TimeMonitoring/TMB_ALCTMatchTime-21", f1, "TMB_ALCTMatchTime (ME -2/1)", 1110, "TMB_ALCTMatchTime-21.png");
0578   make1DPlot(
0579       "TimeMonitoring/TMB_ALCTMatchTime-22", f1, "TMB_ALCTMatchTime (ME -2/2)", 1110, "TMB_ALCTMatchTime-22.png");
0580   make1DPlot(
0581       "TimeMonitoring/TMB_ALCTMatchTime-31", f1, "TMB_ALCTMatchTime (ME -3/1)", 1110, "TMB_ALCTMatchTime-31.png");
0582   make1DPlot(
0583       "TimeMonitoring/TMB_ALCTMatchTime-32", f1, "TMB_ALCTMatchTime (ME -3/2)", 1110, "TMB_ALCTMatchTime-32.png");
0584   make1DPlot(
0585       "TimeMonitoring/TMB_ALCTMatchTime-41", f1, "TMB_ALCTMatchTime (ME -4/1)", 1110, "TMB_ALCTMatchTime-41.png");
0586   make1DPlot(
0587       "TimeMonitoring/TMB_ALCTMatchTime-42", f1, "TMB_ALCTMatchTime (ME -4/2)", 1110, "TMB_ALCTMatchTime-42.png");
0588   make1DPlot("TimeMonitoring/TMB_BXNCount",
0589              f1,
0590              "TMB BXN count at L1A arrival",
0591              "TMBHeader.BXNCount()",
0592              "",
0593              1110,
0594              "TMB_BXNCount.png");
0595   make1DPlot("TimeMonitoring/TMB_BXNCount+1",
0596              f1,
0597              "TMB BXN count at L1A arrival  (Station +1)",
0598              "TMBHeader.BXNCount()",
0599              "",
0600              1110,
0601              "TMB_BXNCount+1.png");
0602   make1DPlot("TimeMonitoring/TMB_BXNCount+2",
0603              f1,
0604              "TMB BXN count at L1A arrival  (Station +2)",
0605              "TMBHeader.BXNCount()",
0606              "",
0607              1110,
0608              "TMB_BXNCount+2.png");
0609   make1DPlot("TimeMonitoring/TMB_BXNCount+3",
0610              f1,
0611              "TMB BXN count at L1A arrival  (Station +3)",
0612              "TMBHeader.BXNCount()",
0613              "",
0614              1110,
0615              "TMB_BXNCount+3.png");
0616   make1DPlot("TimeMonitoring/TMB_BXNCount+4",
0617              f1,
0618              "TMB BXN count at L1A arrival  (Station +4)",
0619              "TMBHeader.BXNCount()",
0620              "",
0621              1110,
0622              "TMB_BXNCount+4.png");
0623   make1DPlot("TimeMonitoring/TMB_BXNCount-1",
0624              f1,
0625              "TMB BXN count at L1A arrival  (Station -1)",
0626              "TMBHeader.BXNCount()",
0627              "",
0628              1110,
0629              "TMB_BXNCount-1.png");
0630   make1DPlot("TimeMonitoring/TMB_BXNCount-2",
0631              f1,
0632              "TMB BXN count at L1A arrival  (Station -2)",
0633              "TMBHeader.BXNCount()",
0634              "",
0635              1110,
0636              "TMB_BXNCount-2.png");
0637   make1DPlot("TimeMonitoring/TMB_BXNCount-3",
0638              f1,
0639              "TMB BXN count at L1A arrival  (Station -3)",
0640              "TMBHeader.BXNCount()",
0641              "",
0642              1110,
0643              "TMB_BXNCount-3.png");
0644   make1DPlot("TimeMonitoring/TMB_BXNCount-4",
0645              f1,
0646              "TMB BXN count at L1A arrival  (Station -4)",
0647              "TMBHeader.BXNCount()",
0648              "",
0649              1110,
0650              "TMB_BXNCount-4.png");
0651   make1DPlot("TimeMonitoring/diff_opposite_endcaps",
0652              f1,
0653              "#Delta t [ME+]-[ME-] for chambers in the same station and ring",
0654              "ns",
0655              "",
0656              1110,
0657              "diff_opposite_endcaps.png");
0658   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+11",
0659              f1,
0660              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +1/1b)",
0661              "ns",
0662              "",
0663              1110,
0664              "diff_opposite_endcaps_byType+11b.png");
0665   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+12",
0666              f1,
0667              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +1/2)",
0668              "ns",
0669              "",
0670              1110,
0671              "diff_opposite_endcaps_byType+12.png");
0672   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+13",
0673              f1,
0674              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +1/3)",
0675              "ns",
0676              "",
0677              1110,
0678              "diff_opposite_endcaps_byType+13.png");
0679   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+14",
0680              f1,
0681              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +1/1a)",
0682              "ns",
0683              "",
0684              1110,
0685              "diff_opposite_endcaps_byType+11a.png");
0686   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+21",
0687              f1,
0688              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +2/1)",
0689              "ns",
0690              "",
0691              1110,
0692              "diff_opposite_endcaps_byType+21.png");
0693   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+22",
0694              f1,
0695              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +2/2)",
0696              "ns",
0697              "",
0698              1110,
0699              "diff_opposite_endcaps_byType+22.png");
0700   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+31",
0701              f1,
0702              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +3/1)",
0703              "ns",
0704              "",
0705              1110,
0706              "diff_opposite_endcaps_byType+31.png");
0707   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+32",
0708              f1,
0709              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +3/2)",
0710              "ns",
0711              "",
0712              1110,
0713              "diff_opposite_endcaps_byType+32.png");
0714   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+41",
0715              f1,
0716              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +4/1)",
0717              "ns",
0718              "",
0719              1110,
0720              "diff_opposite_endcaps_byType+41.png");
0721   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType+42",
0722              f1,
0723              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME +4/2)",
0724              "ns",
0725              "",
0726              1110,
0727              "diff_opposite_endcaps_byType+42.png");
0728   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-11",
0729              f1,
0730              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -1/1b)",
0731              "ns",
0732              "",
0733              1110,
0734              "diff_opposite_endcaps_byType-11b.png");
0735   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-12",
0736              f1,
0737              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -1/2)",
0738              "ns",
0739              "",
0740              1110,
0741              "diff_opposite_endcaps_byType-12.png");
0742   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-13",
0743              f1,
0744              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -1/3)",
0745              "ns",
0746              "",
0747              1110,
0748              "diff_opposite_endcaps_byType-13.png");
0749   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-14",
0750              f1,
0751              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -1/1a)",
0752              "ns",
0753              "",
0754              1110,
0755              "diff_opposite_endcaps_byType-11a.png");
0756   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-21",
0757              f1,
0758              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -2/1)",
0759              "ns",
0760              "",
0761              1110,
0762              "diff_opposite_endcaps_byType-21.png");
0763   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-22",
0764              f1,
0765              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -2/2)",
0766              "ns",
0767              "",
0768              1110,
0769              "diff_opposite_endcaps_byType-22.png");
0770   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-31",
0771              f1,
0772              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -3/1)",
0773              "ns",
0774              "",
0775              1110,
0776              "diff_opposite_endcaps_byType-31.png");
0777   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-32",
0778              f1,
0779              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -3/2)",
0780              "ns",
0781              "",
0782              1110,
0783              "diff_opposite_endcaps_byType-32.png");
0784   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-41",
0785              f1,
0786              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -4/1)",
0787              "ns",
0788              "",
0789              1110,
0790              "diff_opposite_endcaps_byType-41.png");
0791   make1DPlot("TimeMonitoring/diff_opposite_endcaps_byType-42",
0792              f1,
0793              "#Delta t [ME+]-[ME-] for chambers in the same station and ring (ME -4/2)",
0794              "ns",
0795              "",
0796              1110,
0797              "diff_opposite_endcaps_byType-42.png");
0798   make1DPlot("TimeMonitoring/h1D_TMB_ALCT_rel_L1A", f1, "h1D_TMB_ALCT_rel_L1A", 1110, "h1D_TMB_ALCT_rel_L1A.png");
0799   make2DPlot("TimeMonitoring/h2D_TMB_ALCT_rel_L1A", f1, "h2D_TMB_ALCT_rel_L1A", 1110, "h2D_TMB_ALCT_rel_L1A.png");
0800   make2DPlot("TimeMonitoring/h2D_TMB_ALCT_rel_L1A_by_ring",
0801              f1,
0802              "h2D_TMB_ALCT_rel_L1A_by_ring",
0803              1110,
0804              "h2D_TMB_ALCT_rel_L1A_by_ring.png");
0805   make2DPlot("TimeMonitoring/h2D_TMB_ALCT_rel_L1A_v_ALCTT0KeyWG",
0806              f1,
0807              "h2D_TMB_ALCT_rel_L1A_v_ALCTT0KeyWG",
0808              1110,
0809              "h2D_TMB_ALCT_rel_L1A_v_ALCTT0KeyWG.png");
0810   make2DPlot("TimeMonitoring/n_ALCTs_v_BX_L1CSCCand",
0811              f1,
0812              "Number of ALCTs vs. BX of L1GMT CSC Cand",
0813              "bxn",
0814              "",
0815              1110,
0816              "n_ALCTs_v_BX_L1CSCCand.png");
0817   make2DPlot("TimeMonitoring/n_ALCTs_v_BX_L1CSCCand_w_beamHalo",
0818              f1,
0819              "Number of ALCTs vs. BX of L1GMT CSC Cand (quality = 1)",
0820              "bxn",
0821              "",
0822              1110,
0823              "n_ALCTs_v_BX_L1CSCCand_w_beamHalo.png");
0824   make2DPlot("TimeMonitoring/n_CLCTs_v_BX_L1CSCCand",
0825              f1,
0826              "Number of CLCTs vs. BX of L1GMT CSC Cand",
0827              "bxn",
0828              "",
0829              1110,
0830              "n_CLCTs_v_BX_L1CSCCand.png");
0831   make2DPlot("TimeMonitoring/n_CLCTs_v_BX_L1CSCCand_w_beamHalo",
0832              f1,
0833              "Number of CLCTs vs. BX of L1GMT CSC Cand (quality = 1)",
0834              "bxn",
0835              "",
0836              1110,
0837              "n_CLCTs_v_BX_L1CSCCand_w_beamHalo.png");
0838   make2DPlot("TimeMonitoring/n_CorrelatedLCTs_v_BX_L1CSCCand",
0839              f1,
0840              "Number of CorrelatedLCTs vs. BX of L1GMT CSC Cand",
0841              "bxn",
0842              "",
0843              1110,
0844              "n_CorrelatedLCTs_v_BX_L1CSCCand.png");
0845   make2DPlot("TimeMonitoring/n_CorrelatedLCTs_v_BX_L1CSCCand_w_beamHalo",
0846              f1,
0847              "Number of CorrelatedLCTs vs. BX of L1GMT CSC Cand (quality = 1)",
0848              "bxn",
0849              "",
0850              1110,
0851              "n_CorrelatedLCTs_v_BX_L1CSCCand_w_beamHalo.png");
0852   make2DPlot("TimeMonitoring/n_RecHits_v_BX_L1CSCCand",
0853              f1,
0854              "Number of RecHits vs. BX of L1GMT CSC Cand",
0855              "bxn",
0856              "",
0857              1110,
0858              "n_RecHits_v_BX_L1CSCCand.png");
0859   make2DPlot("TimeMonitoring/n_RecHits_v_BX_L1CSCCand_w_beamHalo",
0860              f1,
0861              "Number of RecHits vs. BX of L1GMT CSC Cand (quality = 1)",
0862              "bxn",
0863              "",
0864              1110,
0865              "n_RecHits_v_BX_L1CSCCand_w_beamHalo.png");
0866   make2DPlot("TimeMonitoring/n_Segments_v_BX_L1CSCCand",
0867              f1,
0868              "Number of Segments vs. BX of L1GMT CSC Cand",
0869              "bxn",
0870              "",
0871              1110,
0872              "n_Segments_v_BX_L1CSCCand.png");
0873   make2DPlot("TimeMonitoring/n_Segments_v_BX_L1CSCCand_w_beamHalo",
0874              f1,
0875              "Number of Segments vs. BX of L1GMT CSC Cand (quality = 1)",
0876              "bxn",
0877              "",
0878              1110,
0879              "n_Segments_v_BX_L1CSCCand_w_beamHalo.png");
0880   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+11",
0881               f1,
0882               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +1/1b)",
0883               1110,
0884               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+11b.png");
0885   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+12",
0886               f1,
0887               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +1/2)",
0888               1110,
0889               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+12.png");
0890   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+13",
0891               f1,
0892               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +1/3)",
0893               1110,
0894               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+13.png");
0895   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+14",
0896               f1,
0897               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +1/1a)",
0898               1110,
0899               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+11a.png");
0900   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+21",
0901               f1,
0902               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +2/1)",
0903               1110,
0904               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+21.png");
0905   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+22",
0906               f1,
0907               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +2/2)",
0908               1110,
0909               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+22.png");
0910   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+31",
0911               f1,
0912               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +3/1)",
0913               1110,
0914               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+31.png");
0915   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+32",
0916               f1,
0917               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +3/2)",
0918               1110,
0919               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+32.png");
0920   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+41",
0921               f1,
0922               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +4/1)",
0923               1110,
0924               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+41.png");
0925   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+42",
0926               f1,
0927               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME +4/2)",
0928               1110,
0929               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG+42.png");
0930   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-11",
0931               f1,
0932               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -1/1b)",
0933               1110,
0934               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-11b.png");
0935   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-12",
0936               f1,
0937               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -1/2)",
0938               1110,
0939               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-12.png");
0940   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-13",
0941               f1,
0942               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -1/3)",
0943               1110,
0944               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-13.png");
0945   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-14",
0946               f1,
0947               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -1/1a)",
0948               1110,
0949               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-11a.png");
0950   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-21",
0951               f1,
0952               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -2/1)",
0953               1110,
0954               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-21.png");
0955   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-22",
0956               f1,
0957               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -2/2)",
0958               1110,
0959               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-23.png");
0960   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-31",
0961               f1,
0962               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -3/1)",
0963               1110,
0964               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-31.png");
0965   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-32",
0966               f1,
0967               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -3/2)",
0968               1110,
0969               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-32.png");
0970   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-41",
0971               f1,
0972               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -4/1)",
0973               1110,
0974               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-41.png");
0975   makeProfile("TimeMonitoring/prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-42",
0976               f1,
0977               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG (ME -4/2)",
0978               1110,
0979               "prf_TMB_ALCTMatchTime_v_ALCT0KeyWG-42.png");
0980   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+11",
0981               f1,
0982               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +1/1b)",
0983               1110,
0984               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+11b.png");
0985   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+12",
0986               f1,
0987               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +1/2)",
0988               1110,
0989               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+12.png");
0990   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+13",
0991               f1,
0992               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +1/3)",
0993               1110,
0994               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+13.png");
0995   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+14",
0996               f1,
0997               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +1/1a)",
0998               1110,
0999               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+11a.png");
1000   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+21",
1001               f1,
1002               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +2/1)",
1003               1110,
1004               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+21.png");
1005   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+22",
1006               f1,
1007               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +2/2)",
1008               1110,
1009               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+22.png");
1010   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+31",
1011               f1,
1012               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +3/1)",
1013               1110,
1014               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+31.png");
1015   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+32",
1016               f1,
1017               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +3/2)",
1018               1110,
1019               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+32.png");
1020   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+41",
1021               f1,
1022               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +4/1)",
1023               1110,
1024               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+41.png");
1025   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+42",
1026               f1,
1027               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME +4/2)",
1028               1110,
1029               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG+42.png");
1030   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-11",
1031               f1,
1032               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -1/1b)",
1033               1110,
1034               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-11b.png");
1035   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-12",
1036               f1,
1037               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -1/2)",
1038               1110,
1039               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-12.png");
1040   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-13",
1041               f1,
1042               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -1/3)",
1043               1110,
1044               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-13.png");
1045   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-14",
1046               f1,
1047               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -1/1a)",
1048               1110,
1049               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-11a.png");
1050   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-21",
1051               f1,
1052               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -2/1)",
1053               1110,
1054               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-21.png");
1055   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-22",
1056               f1,
1057               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -2/2)",
1058               1110,
1059               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-22.png");
1060   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-31",
1061               f1,
1062               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -3/1)",
1063               1110,
1064               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-31.png");
1065   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-32",
1066               f1,
1067               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -3/2)",
1068               1110,
1069               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-32.png");
1070   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-41",
1071               f1,
1072               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -4/1)",
1073               1110,
1074               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-41.png");
1075   makeProfile("TimeMonitoring/prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-42",
1076               f1,
1077               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG (ME -4/2)",
1078               1110,
1079               "prf_TMB_ALCT_rel_L1A_v_ALCT0KeyWG-42.png");
1080   makeProfile("TimeMonitoring/prof_TMB_ALCTMatchTime",
1081               f1,
1082               "Mean ALCTMatchTime by chamber",
1083               "serialized chamber number",
1084               "ALCT position in CLCT window [bx]",
1085               1110,
1086               "prof_TMB_ALCTMatchTime.png");
1087   makeProfile("TimeMonitoring/prof_TMB_ALCTMatchTime_v_ALCT0KeyWG",
1088               f1,
1089               "Mean ALCTMatchTime by ALCT0KeyWG",
1090               "wire group",
1091               "ALCT position in CLCT window [bx]",
1092               1110,
1093               "prof_TMB_ALCTMatchTime_v_ALCT0KeyWG.png");
1094   makeProfile("TimeMonitoring/prof_TMB_ALCT_rel_L1A",
1095               f1,
1096               "Mean (L1A - ALCT) at TMB by chamber",
1097               "serialized chamber number",
1098               "L1A - ALCT at TMB [bx]",
1099               1110,
1100               "prof_TMB_ALCT_rel_L1A.png");
1101   makeProfile("TimeMonitoring/prof_TMB_ALCT_rel_L1A_by_ring",
1102               f1,
1103               "Mean (L1A - ALCT) at TMB by ring",
1104               "ring number",
1105               "L1A - ALCT at TMB [bx]",
1106               1110,
1107               "prof_TMB_ALCT_rel_L1A_by_ring.png");
1108   makeProfile("TimeMonitoring/prof_TMB_ALCT_rel_L1A_v_ALCT0KeyWG",
1109               f1,
1110               "Mean (L1A - ALCT) at TMB by ALCT0KeyWG",
1111               "wire group",
1112               "L1A - ALCT at TMB [bx]",
1113               1110,
1114               "prof_TMB_ALCT_rel_L1A_v_ALCT0KeyWG.png");
1115   make2DPlot("TimeMonitoring/seg_time_vs_absglobZ",
1116              f1,
1117              "Segment time vs. abs(z position)",
1118              "|z| of segment [cm]",
1119              "ns",
1120              1110,
1121              "seg_time_vs_absglobZ.png");
1122   make2DPlot("TimeMonitoring/seg_time_vs_distToIP",
1123              f1,
1124              "Segment time vs. distance to IP",
1125              " distance of segment to IP [cm]",
1126              "ns",
1127              1110,
1128              "seg_time_vs_distToIP.png");
1129   make2DPlot("TimeMonitoring/seg_time_vs_globZ",
1130              f1,
1131              "Segment time vs. z position",
1132              "z of segment [cm]",
1133              "ns",
1134              1110,
1135              "seg_time_vs_globZ.png");
1136   makeProfile("TimeMonitoring/timeChamber",
1137               f1,
1138               "Mean segment time by chamber",
1139               "serialized chamber number",
1140               "ns",
1141               1110,
1142               "timeChamber.png");
1143   makeProfile("TimeMonitoring/timeChamberByType+11",
1144               f1,
1145               "Segment mean time by chamber (ME +1/1b)",
1146               "chamber number",
1147               "ns",
1148               1110,
1149               "timeChamberByType+11b.png");
1150   makeProfile("TimeMonitoring/timeChamberByType+12",
1151               f1,
1152               "Segment mean time by chamber (ME +1/3)",
1153               "chamber number",
1154               "ns",
1155               1110,
1156               "timeChamberByType+12.png");
1157   makeProfile("TimeMonitoring/timeChamberByType+13",
1158               f1,
1159               "Segment mean time by chamber (ME +1/3)",
1160               "chamber number",
1161               "ns",
1162               1110,
1163               "timeChamberByType+13.png");
1164   makeProfile("TimeMonitoring/timeChamberByType+14",
1165               f1,
1166               "Segment mean time by chamber (ME +1/1a)",
1167               "chamber number",
1168               "ns",
1169               1110,
1170               "timeChamberByType+11a.png");
1171   makeProfile("TimeMonitoring/timeChamberByType+21",
1172               f1,
1173               "Segment mean time by chamber (ME +2/1)",
1174               "chamber number",
1175               "ns",
1176               1110,
1177               "timeChamberByType+21.png");
1178   makeProfile("TimeMonitoring/timeChamberByType+22",
1179               f1,
1180               "Segment mean time by chamber (ME +2/2)",
1181               "chamber number",
1182               "ns",
1183               1110,
1184               "timeChamberByType+22.png");
1185   makeProfile("TimeMonitoring/timeChamberByType+31",
1186               f1,
1187               "Segment mean time by chamber (ME +3/1)",
1188               "chamber number",
1189               "ns",
1190               1110,
1191               "timeChamberByType+31.png");
1192   makeProfile("TimeMonitoring/timeChamberByType+32",
1193               f1,
1194               "Segment mean time by chamber (ME +3/2)",
1195               "chamber number",
1196               "ns",
1197               1110,
1198               "timeChamberByType+32.png");
1199   makeProfile("TimeMonitoring/timeChamberByType+41",
1200               f1,
1201               "Segment mean time by chamber (ME +4/1)",
1202               "chamber number",
1203               "ns",
1204               1110,
1205               "timeChamberByType+41.png");
1206   makeProfile("TimeMonitoring/timeChamberByType+42",
1207               f1,
1208               "Segment mean time by chamber (ME +4/2)",
1209               "chamber number",
1210               "ns",
1211               1110,
1212               "timeChamberByType+42.png");
1213   makeProfile("TimeMonitoring/timeChamberByType-11",
1214               f1,
1215               "Segment mean time by chamber (ME -1/1b)",
1216               "chamber number",
1217               "ns",
1218               1110,
1219               "timeChamberByType-11b.png");
1220   makeProfile("TimeMonitoring/timeChamberByType-12",
1221               f1,
1222               "Segment mean time by chamber (ME -1/2)",
1223               "chamber number",
1224               "ns",
1225               1110,
1226               "timeChamberByType-12.png");
1227   makeProfile("TimeMonitoring/timeChamberByType-13",
1228               f1,
1229               "Segment mean time by chamber (ME -1/3)",
1230               "chamber number",
1231               "ns",
1232               1110,
1233               "timeChamberByType-13.png");
1234   makeProfile("TimeMonitoring/timeChamberByType-14",
1235               f1,
1236               "Segment mean time by chamber (ME -1/1a)",
1237               "chamber number",
1238               "ns",
1239               1110,
1240               "timeChamberByType-11a.png");
1241   makeProfile("TimeMonitoring/timeChamberByType-21",
1242               f1,
1243               "Segment mean time by chamber (ME -2/1)",
1244               "chamber number",
1245               "ns",
1246               1110,
1247               "timeChamberByType-21.png");
1248   makeProfile("TimeMonitoring/timeChamberByType-22",
1249               f1,
1250               "Segment mean time by chamber (ME -2/2)",
1251               "chamber number",
1252               "ns",
1253               1110,
1254               "timeChamberByType-22.png");
1255   makeProfile("TimeMonitoring/timeChamberByType-31",
1256               f1,
1257               "Segment mean time by chamber (ME -3/1)",
1258               "chamber number",
1259               "ns",
1260               1110,
1261               "timeChamberByType-31.png");
1262   makeProfile("TimeMonitoring/timeChamberByType-32",
1263               f1,
1264               "Segment mean time by chamber (ME -3/2)",
1265               "chamber number",
1266               "ns",
1267               1110,
1268               "timeChamberByType-32.png");
1269   makeProfile("TimeMonitoring/timeChamberByType-41",
1270               f1,
1271               "Segment mean time by chamber (ME -4/1)",
1272               "chamber number",
1273               "ns",
1274               1110,
1275               "timeChamberByType-41.png");
1276   makeProfile("TimeMonitoring/timeChamberByType-42",
1277               f1,
1278               "Segment mean time by chamber (ME -4/2)",
1279               "chamber number",
1280               "ns",
1281               1110,
1282               "timeChamberByType-42.png");
1283 }