Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-17 03:23:37

0001 import os
0002 import collections
0003 
0004 _sampleName = {
0005     "RelValCloseByParticleGun_CE_H_Fine_300um" : "CloseByParticleGun in CE-H Fine section with 300 um",
0006     "RelValCloseByParticleGun_CE_H_Fine_200um" : "CloseByParticleGun in CE-H Fine section with 200 um",
0007     "RelValCloseByParticleGun_CE_H_Fine_120um" : "CloseByParticleGun in CE-H Fine section with 120 um",
0008     "RelValCloseByParticleGun_CE_H_Coarse_Scint" : "CloseByParticleGun in CE-H Coarse section with scintillator",
0009     "RelValCloseByParticleGun_CE_H_Coarse_300um" : "CloseByParticleGun in CE-H Coarse section with 300 um",
0010     "RelValCloseByParticleGun_CE_E_Front_300um" : "CloseByParticleGun in CE-E Front section with 300 um",
0011     "RelValCloseByParticleGun_CE_E_Front_200um" : "CloseByParticleGun in CE-E Front section with 200 um",
0012     "RelValCloseByPGun_CE_E_Front_120um" : "CloseByParticleGun in CE-E Front section with 120 um",
0013     "RelValCloseByPGun_CE_H_Fine_300um" : "CloseByParticleGun in CE-H Fine section with 300 um",
0014     "RelValCloseByPGun_CE_H_Fine_200um" : "CloseByParticleGun in CE-H Fine section with 200 um",
0015     "RelValCloseByPGun_CE_H_Fine_120um" : "CloseByParticleGun in CE-H Fine section with 120 um",
0016     "RelValCloseByPGun_CE_H_Coarse_Scint" : "CloseByParticleGun in CE-H Coarse section with scintillator",
0017     "RelValCloseByPGun_CE_H_Coarse_300um" : "CloseByParticleGun in CE-H Coarse section with 300 um",
0018     "RelValCloseByPGun_CE_E_Front_300um" : "CloseByParticleGun in CE-E Front section with 300 um",
0019     "RelValCloseByPGun_CE_E_Front_200um" : "CloseByParticleGun in CE-E Front section with 200 um",
0020     "RelValCloseByPGun_CE_E_Front_120um" : "CloseByParticleGun in CE-E Front section with 120 um",
0021     "RelValTTbar" : "TTbar",
0022     "RelValSingleGammaFlatPt8To150" : "Single Gamma Pt 8 GeV to 150 GeV ",
0023     "RelValSingleMuPt10" : "Single Muon Pt 10 GeV",
0024     "RelValSingleMuPt100" : "Single Muon Pt 100 GeV",
0025     "RelValSingleMuPt1000" : "Single Muon Pt 1000 GeV",
0026     "RelValSingleMuFlatPt2To100" : "Single Muon Pt 2 GeV to 100 GeV",
0027     "RelValSingleMuFlatPt0p7To10" : "Single Muon Pt 0.7 GeV to 10 GeV",
0028     "RelValSingleEFlatPt2To100" : "Single Electron Pt 2 GeV to 100 GeV",
0029     "RelValSingleTauFlatPt2To150" : "Single Tau Pt 2 GeV to 150 GeV",
0030     "RelValSinglePiFlatPt0p7To10" : "Single Pion Pt 0.7 GeV to 10 GeV",
0031     "RelValQCD_Pt20toInfMuEnrichPt15" : "QCD Pt 20 GeV to Inf with Muon Pt 15 GeV",
0032     "RelValQCD_Pt15To7000_Flat" : "QCD Pt 15 GeV to 7 TeV",
0033     "RelValZTT" : "ZTauTau",
0034     "RelValZMM" : "ZMuMu",
0035     "RelValZEE" : "ZEleEle",
0036     "RelValB0ToKstarMuMu" : "B0 To Kstar Muon Muon",
0037     "RelValBsToEleEle" : "Bs To Electron Electron",
0038     "RelValBsToMuMu" : "Bs To Muon Muon",
0039     "RelValBsToJpsiGamma" : "Bs To Jpsi Gamma",
0040     "RelValBsToJpsiPhi_mumuKK" : "Bs To JpsiPhi_mumuKK",
0041     "RelValBsToPhiPhi_KKKK" : "Bs To PhiPhi_KKKK",
0042     "RelValDisplacedMuPt30To100" : "Displaced Muon Pt 30 GeV to 100 GeV",
0043     "RelValDisplacedMuPt2To10" : "Displaced Muon Pt 2 GeV to 10 GeV",
0044     "RelValDisplacedMuPt10To30" : "Displaced Muon Pt 10 GeV to 30 GeV",
0045     "RelValTauToMuMuMu" : "Tau To Muon Muon Muon",
0046     "RelValMinBias" : "Min Bias",
0047     "RelValH125GGgluonfusion" : "Higgs to gamma gamma",
0048     "RelValNuGun" : "Neutrino gun",
0049     "RelValZpTT_1500" : "Z prime with 1500 GeV nominal mass",
0050     "RelValTenTau_15_500_Eta3p1" : "Ten Taus with energy from 15 GeV to 500 GeV"
0051 }
0052 
0053 _sampleFileName = {
0054     "RelValCloseByParticleGun_CE_H_Fine_300um" : "closebycehf300",
0055     "RelValCloseByParticleGun_CE_H_Fine_200um" : "closebycehf200",
0056     "RelValCloseByParticleGun_CE_H_Fine_120um" : "closebycehf120",
0057     "RelValCloseByParticleGun_CE_H_Coarse_Scint" : "closebycehcscint",
0058     "RelValCloseByParticleGun_CE_H_Coarse_300um" : "closebycehc300",
0059     "RelValCloseByParticleGun_CE_E_Front_300um" : "closebyceef300",
0060     "RelValCloseByParticleGun_CE_E_Front_200um" : "closebyceef200",
0061     "RelValCloseByParticleGun_CE_E_Front_120um" : "closebyceef120",
0062     "RelValTTbar" : "ttbar",
0063     "RelValSingleGammaFlatPt8To150" : "gam8",
0064     "RelValSingleMuPt10" : "m10",
0065     "RelValSingleMuPt100" : "m100",
0066     "RelValSingleMuPt1000" : "m1000",
0067     "RelValSingleMuFlatPt2To100" : "mflat2t100",
0068     "RelValSingleMuFlatPt0p7To10" : "mflat0p7t10",
0069     "RelValSingleEFlatPt2To100" : "eflat2t100",
0070     "RelValSingleTauFlatPt2To150" : "tauflat2t150",
0071     "RelValSinglePiFlatPt0p7To10" : "piflat0p7t10",
0072     "RelValQCD_Pt20toInfMuEnrichPt15" : "qcd20enmu15",
0073     "RelValQCD_Pt15To7000_Flat" : "qcdflat15",
0074     "RelValZTT" : "ztautau",
0075     "RelValZMM" : "zmm",
0076     "RelValZEE" : "zee",
0077     "RelValB0ToKstarMuMu" : "b0kstmm",
0078     "RelValBsToEleEle" : "bsee",
0079     "RelValBsToMuMu" : "bsmm",
0080     "RelValBsToJpsiGamma" : "bsjpsg",
0081     "RelValBsToJpsiPhi_mumuKK" : "bsjpspmmkk",
0082     "RelValBsToPhiPhi_KKKK" : "bsjpsppkkkk",
0083     "RelValDisplacedMuPt30To100" : "dm30",
0084     "RelValDisplacedMuPt2To10" : "dm2",
0085     "RelValDisplacedMuPt10To30" : "dm10",
0086     "RelValTauToMuMuMu" : "taummm",
0087     "RelValMinBias" : "minbias",
0088     "RelValH125GGgluonfusion" : "hgg",
0089     "RelValNuGun" : "nug",
0090     "RelValZpTT_1500" : "zp1500tautau",
0091     "RelValTenTau_15_500" : "tentaus15to1500"
0092 
0093 }
0094 
0095 
0096 _pageNameMap = {
0097     "summary": "Summary",
0098     "hitCalibration": "Reconstructed hits calibration",
0099     "hitValidation" : "Simulated hits, digis, reconstructed hits validation" , 
0100     "layerClusters": "Layer clusters",
0101     "tracksters":"Tracksters", 
0102     "Tracksters":"Tracksters",
0103     "Test-TICL":"Tracksters Linking",
0104     "TICL-patternRecognition":"Tracksters Pattern Recognition",
0105     "ticlMultiClustersFromTrackstersEM": "Electromagnetic multiclusters",
0106     "ticlMultiClustersFromTrackstersHAD": "Hadronic multiclusters",
0107     "hgcalMultiClusters" : "Old multiclusters",
0108     "standalone" : "Standalone study on simulated hits, digis, reconstructed hits"   
0109 }
0110 
0111 _sectionNameMapOrder = collections.OrderedDict([
0112     # These are for the summary page
0113     # Will add later
0114     # layerClusters
0115     ("layerClusters", "Layer clusters"),
0116     # ticlMultiClustersFromTrackstersEM
0117     ("ticlMultiClustersFromTrackstersEM","Electromagnetic multiclusters"),
0118     # ticlMultiClustersFromTrackstersHAD
0119     ("ticlMultiClustersFromTrackstersHAD","Hadronic multiclusters"),
0120     ("tracksters","Tracksters"),
0121     ("Tracksters","Tracksters"),
0122     ("Test-TICL","Tracksters Linking"),
0123     ("TICL-patternRecognition","Tracksters Pattern Recognition"),
0124     # hgcalMultiClusters
0125     ("hgcalMultiClusters","Old multiclusters"),
0126 ])
0127 
0128 #This is the summary section, where we define which plots will be shown in the summary page. 
0129 _summary = {}
0130 
0131 #Objects to keep in summary
0132 #_summobj = ['hitCalibration','hitValidation', 'hgcalLayerClusters','ticlMultiClustersFromTrackstersEM','ticlMultiClustersFromTrackstersHAD']
0133 _summobj = ['hitCalibration','hitValidation', 'layerClusters','Tracksters','Test-TICL','TICL-patternRecognition']
0134 #_summobj = ['hitCalibration','hitValidation', 'layerClusters']
0135 
0136 #Plots to keep in summary from hitCalibration
0137 summhitcalib=[
0138     'Layer_Occupancy/LayerOccupancy/LayerOccupancy.png',
0139     'ReconstructableEnergyOverCPenergy/ReconstructableEnergyOverCPenergy/h_EoP_CPene_300_calib_fraction.png',
0140     'ReconstructableEnergyOverCPenergy/ReconstructableEnergyOverCPenergy/h_EoP_CPene_200_calib_fraction.png',
0141     'ReconstructableEnergyOverCPenergy/ReconstructableEnergyOverCPenergy/h_EoP_CPene_100_calib_fraction.png',
0142     'ReconstructableEnergyOverCPenergy/ReconstructableEnergyOverCPenergy/h_EoP_CPene_scint_calib_fraction.png'
0143     ]
0144 
0145 #Plots to keep in summary from hitValidation
0146 summhitvalid = [
0147     'SimHits_Validation/HitValidation/heeEnSim.png',
0148     'SimHits_Validation/HitValidation/hebEnSim.png',
0149     'SimHits_Validation/HitValidation/hefEnSim.png']
0150                           
0151 #Plots to keep in summary from layer clusters
0152 summlc = [
0153     'hgcalLayerClusters_Z-minus: LC_CP association/Efficiencies_vs_layer/globalEfficiencies.png' ,
0154     'hgcalLayerClusters_Z-plus: LC_CP association/Efficiencies_vs_layer/globalEfficiencies.png' ,
0155     'hgcalLayerClusters_Z-minus: LC_CP association/Duplicates_vs_layer/globalEfficiencies.png' ,
0156     'hgcalLayerClusters_Z-plus: LC_CP association/Duplicates_vs_layer/globalEfficiencies.png' ,
0157     'hgcalLayerClusters_Z-minus: LC_CP association/FakeRate_vs_layer/globalEfficiencies.png' ,
0158     'hgcalLayerClusters_Z-plus: LC_CP association/FakeRate_vs_layer/globalEfficiencies.png' ,
0159     'hgcalLayerClusters_Z-minus: LC_CP association/MergeRate_vs_layer/globalEfficiencies.png' ,
0160     'hgcalLayerClusters_Z-plus: LC_CP association/MergeRate_vs_layer/globalEfficiencies.png'
0161     #'SelectedCaloParticles_Photons/SelectedCaloParticles_num_caloparticle_eta.png',
0162     #'SelectedCaloParticles_Photons/SelectedCaloParticles_caloparticle_pt.png',
0163     #'SelectedCaloParticles_Photons/SelectedCaloParticles_caloparticle_phi.png',
0164     #'SelectedCaloParticles_Photons/SelectedCaloParticles_caloparticle_energy.png',
0165     #'SelectedCaloParticles_Photons/SelectedCaloParticles_Eta vs Zorigin.png'
0166     ]
0167 
0168 #Plots to keep in summary from Tracksters
0169 summmcEM = [
0170     'ticlTrackstersEM/EtaPhiPtEnergy/trackster_eta.png' ,
0171     'ticlTrackstersEM/EtaPhiPtEnergy/trackster_pt.png' ,
0172     'ticlTrackstersEM/TotalNumberofTracksters/tottracksternum.png', 
0173     'ticlTrackstersEM/NumberofLayerClustersinTrackster/clusternum_in_trackster.png' 
0174 ]
0175 
0176 #Plots to keep in summary from ticlMultiClustersFromTrackstersEM
0177 summmcEM_Link = [
0178     'ticlTrackstersEM/Purities_Link/globalEfficiencies.png' ,
0179     'ticlTrackstersEM/Duplicates_Link/globalEfficiencies.png' ,
0180     'ticlTrackstersEM/FakeRate_Link/globalEfficiencies.png' ,
0181     'ticlTrackstersEM/MergeRate_Link/globalEfficiencies.png'
0182 ]
0183 
0184 summmcEM_PR = [
0185     'ticlTrackstersEM/Purities_PR/globalEfficiencies.png' ,
0186     'ticlTrackstersEM/Duplicates_PR/globalEfficiencies.png' ,
0187     'ticlTrackstersEM/FakeRate_PR/globalEfficiencies.png' ,
0188     'ticlTrackstersEM/MergeRate_PR/globalEfficiencies.png'
0189 ]
0190 
0191 #Plots to keep in summary from ticlMultiClustersFromTrackstersHAD
0192 summmcHAD = [
0193     'ticlTrackstersHAD/EtaPhiPtEnergy/trackster_eta.png' ,
0194     'ticlTrackstersHAD/EtaPhiPtEnergy/trackster_pt.png' ,
0195     'ticlTrackstersHAD/TotalNumberofTracksters/tottracksternum.png',
0196     'ticlTrackstersHAD/NumberofLayerClustersinTrackster/clusternum_in_trackster.png'
0197 ]
0198 
0199 summmcHAD_Link = [
0200     'ticlTrackstersHAD/Purities_Link/globalEfficiencies.png' ,
0201     'ticlTrackstersHAD/Duplicates_Link/globalEfficiencies.png' ,
0202     'ticlTrackstersHAD/FakeRate_Link/globalEfficiencies.png' ,
0203     'ticlTrackstersHAD/MergeRate_Link/globalEfficiencies.png'
0204 ]
0205 
0206 summmcHAD_PR = [
0207     'ticlTrackstersHAD/Purities_PR/globalEfficiencies.png' ,
0208     'ticlTrackstersHAD/Duplicates_PR/globalEfficiencies.png' ,
0209     'ticlTrackstersHAD/FakeRate_PR/globalEfficiencies.png' ,
0210     'ticlTrackstersHAD/MergeRate_PR/globalEfficiencies.png'
0211 ]
0212 
0213 summmcTICL = summmcEM + summmcHAD
0214 summmcTICL_Link = summmcEM_Link + summmcHAD_Link
0215 summmcTICL_PR = summmcEM_PR + summmcHAD_PR
0216 
0217 #Plots to keep in summary from standalone analysis
0218 summstandalone = [
0219     'hgcalSimHitStudy/RZ_AllDetectors.png'                          
0220 ]
0221 
0222 #Let's save the above for later
0223 for obj in _summobj: 
0224     _summary[obj] = {}
0225 _summary['hitCalibration'] = summhitcalib
0226 _summary['hitValidation'] = summhitvalid
0227 _summary['layerClusters'] = summlc
0228 _summary['Tracksters'] = summmcTICL
0229 _summary['Test-TICL'] = summmcTICL_Link
0230 _summary['TICL-patternRecognition'] = summmcTICL_PR
0231 
0232 #_summary['allTiclMultiClusters'] = summmcTICL
0233 #_summary['ticlMultiClustersFromTrackstersEM'] = summmcEM
0234 #_summary['ticlMultiClustersFromTrackstersHAD'] = summmcHAD                          
0235 
0236 #Entering the geometry section 
0237 #_MatBudSections = ["allhgcal","zminus","zplus","indimat","fromvertex"]
0238 _MatBudSections = ["allhgcal","indimat","fromvertex"]
0239 
0240 _geoPageNameMap = {
0241  "allhgcal": "All materials",
0242 # "zminus" : "Zminus",
0243 # "zplus"  : "Zplus",
0244  "indimat" : "Individual materials",
0245  "fromvertex": "From vertex up to in front of muon stations"    
0246 }
0247 
0248 _individualmaterials =['Air','Aluminium','Cables','Copper','Epoxy','HGC_G10-FR4','Kapton','Lead','Other','Scintillator','Silicon','Stainless_Steel','WCu','Polystyrene','HGC_EEConnector','HGC_HEConnector']
0249 
0250 _matPageNameMap = {
0251  'Air': 'Air',
0252  'Aluminium': 'Aluminium',
0253  'Cables': 'Cables',
0254  'Copper': 'Copper',
0255  'Epoxy': 'Epoxy',
0256  'HGC_G10-FR4': 'HGC_G10-FR4',
0257  'Kapton': 'Kapton',
0258  'Lead': 'Lead',
0259  'Other': 'Other',
0260  'Scintillator': 'Scintillator',
0261  'Silicon': 'Silicon',
0262  'Stainless_Steel': 'Stainless Steel',
0263  'WCu': 'WCu',
0264  'Polystyrene' : 'Polystyrene',
0265  'HGC_EEConnector': 'CE-E Connector',   
0266  'HGC_HEConnector': 'CE-H Connector'      
0267 }
0268 
0269 _individualmatplots = {"HGCal_x_vs_z_vs_Rsum","HGCal_l_vs_z_vs_Rsum","HGCal_x_vs_z_vs_Rsumcos","HGCal_l_vs_z_vs_Rsumcos","HGCal_x_vs_z_vs_Rloc","HGCal_l_vs_z_vs_Rloc"}
0270 
0271 _allmaterialsplots = {"HGCal_x_vs_eta","HGCal_l_vs_eta","HGCal_x_vs_phi","HGCal_l_vs_phi","HGCal_x_vs_R","HGCal_l_vs_R","HGCal_x_vs_eta_vs_phi","HGCal_l_vs_eta_vs_phi","HGCal_x_vs_z_vs_Rsum","HGCal_l_vs_z_vs_Rsum","HGCal_x_vs_z_vs_Rsumcos","HGCal_l_vs_z_vs_Rsumcos","HGCal_x_vs_z_vs_Rloc","HGCal_l_vs_z_vs_Rloc"}
0272 
0273 _fromvertexplots = {"HGCal_l_vs_eta","HGCal_l_vs_z_vs_Rsum","HGCal_l_vs_z_vs_Rsum_Zpluszoom"}
0274 
0275 _individualMatPlotsDesc = {
0276 "HGCal_x_vs_z_vs_Rsum" : "The plots below shows the 2D profile histogram for THEMAT in all HGCAL that displays the mean value of the material budget in units of radiation length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the accumulated material budget as seen by the track, as the track travels throughout the detector.",
0277 "HGCal_l_vs_z_vs_Rsum" : "The plots below shows the 2D profile histogram for THEMAT in all HGCAL that displays the mean value of the material budget in units of interaction length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the accumulated material budget as seen by the track, as the track travels throughout the detector.",
0278 "HGCal_x_vs_z_vs_Rsumcos" : "The plots below shows the 2D profile histogram for THEMAT in all HGCAL that displays the mean value of the material budget in units of radiation length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the orthogonal accumulated material budget, that is cos(theta) what the track sees. ",
0279 "HGCal_l_vs_z_vs_Rsumcos" : "The plots below shows the 2D profile histogram for THEMAT in all HGCAL that displays the mean value of the material budget in units of interaction length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the orthogonal accumulated material budget, that is cos(theta) what the track sees. ",
0280 "HGCal_x_vs_z_vs_Rloc" : "The plots below shows the 2D profile histogram for THEMAT in all HGCAL that displays the local mean value of the material budget in units of radiation length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the local material budget as seen by the track, as the track travels throughout the detector. ",
0281 "HGCal_l_vs_z_vs_Rloc" : "The plots below shows the 2D profile histogram for THEMAT in all HGCAL that displays the local mean value of the material budget in units of interaction length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the local material budget as seen by the track, as the track travels throughout the detector. "
0282 }
0283 
0284 _allmaterialsPlotsDesc= {
0285     "HGCal_x_vs_eta" : "The plot on the left shows the stacked profile histograms of all materials in HGCal geometry. These profile histograms display the mean value of the material budget in units of radiation length in each eta bin. 250 bins in eta (-5,5), so eta is divided in 0.04 width bins. ",
0286 
0287     "HGCal_l_vs_eta" : "The plot on the left shows the stacked profile histograms of all materials in HGCal geometry. These profile histograms display the mean value of the material budget in units of interaction length in each eta bin. 250 bins in eta (-5,5), so eta is divided in 0.04 width bins. ",
0288 
0289     "HGCal_x_vs_phi" : "The plot on the left shows the stacked profile histograms of all materials in HGCal geometry. These profile histograms display the mean value of the material budget in units of radiation length in each phi bin. 180 bins in phi (-3.2,3.2), so phi is divided in 0.036 rad width bins or 2.038 degrees width bins. ",
0290 
0291     "HGCal_l_vs_phi" : "The plot on the left shows the stacked profile histograms of all materials in HGCal geometry. These profile histograms display the mean value of the material budget in units of interaction length in each phi bin. 180 bins in phi -3.2,3.2), so phi is divided in 0.036 rad width bins or 2.038 degrees width bins. ",
0292 
0293     "HGCal_x_vs_R" : "The plot on the left shows the stacked profile histograms of all materials in HGCal geometry. These profile histograms display the mean value of the material budget in units of radiation length in each radius bin. 300 bins in radius (0,3000 mm), so radius is defined in 1 cm width bins. Both endcaps are in this histogram. Entries are huge since the radius is filled for each step of the track. Statistics in the HEB part above 1565 mm is smaller (although non visible, error is small), since in most part nothing is infront to keep account of the step. ",
0294 
0295     "HGCal_l_vs_R" : "The plot on the left shows the stacked profile histograms of all materials in HGCal geometry. These profile histograms display the mean value of the material budget in units of interaction length in each radius bin. 300 bins in radius (0,3000 mm), so radius is defined in 1 cm width bins. Both endcaps are in this histogram. Entries are huge since the radius is filled for each step of the track. Statistics in the HEB part above 1565 mm is smaller (although non visible, error is small), since in most part nothing is in front to keep account of the step. ", 
0296 
0297     "HGCal_x_vs_eta_vs_phi" : "The plot on the left shows the 2D profile histogram that displays the mean value of the material budget in units of radiation length in each eta-phi cell. 180 bins in phi (-3.2,3.2), so phi is divided in 0.036 rad width bins or 2.038 degrees width bins. 250 bins in eta -5., 5., so eta is divided in 0.04 width bins. Therefore, eta-phi cell is 2.038 degrees x 0.04 . ",
0298 
0299     "HGCal_l_vs_eta_vs_phi" : "The plot on the left shows the 2D profile histogram that displays the mean value of the material budget in units of interaction length in each eta-phi cell. 180 bins in phi (-3.2,3.2), so phi is divided in 0.036 rad width bins or 2.038 degrees width bins. 250 bins in eta -5., 5., so eta is divided in 0.04 width bins. Therefore, eta-phi cell is 2.038 degrees x 0.04 . ",
0300     
0301     "HGCal_x_vs_z_vs_Rsum" : "The plots below shows the 2D profile histogram that displays the mean value of the material budget in units of radiation length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the accumulated material budget as seen by the track, as the track travels throughout the detector.",
0302     
0303     "HGCal_l_vs_z_vs_Rsum" : "The plots below shows the 2D profile histogram that displays the mean value of the material budget in units of interaction length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the accumulated material budget as seen by the track, as the track travels throughout the detector.",
0304     
0305     "HGCal_x_vs_z_vs_Rsumcos" : "The plots below shows the 2D profile histogram that displays the mean value of the material budget in units of radiation length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the orthogonal accumulated material budget, that is cos(theta) what the track sees. ",
0306     
0307     "HGCal_l_vs_z_vs_Rsumcos" : "The plots below shows the 2D profile histogram that displays the mean value of the material budget in units of interaction length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the orthogonal accumulated material budget, that is cos(theta) what the track sees. " ,   
0308     
0309     "HGCal_x_vs_z_vs_Rloc" : "The plots below shows the 2D profile histogram that displays the local mean value of the material budget in units of radiation length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the local material budget as seen by the track, as the track travels throughout the detector. ",
0310     
0311     "HGCal_l_vs_z_vs_Rloc" : "The plots below shows the 2D profile histogram that displays the local mean value of the material budget in units of interaction length in each R-z cell. R-z cell is 1 cm x 1 mm. The plots depict the local material budget as seen by the track, as the track travels throughout the detector. "
0312 
0313 
0314 }
0315 
0316 _fromVertexPlotsDesc = {
0317    "HGCal_x_vs_eta" : "The plot below shows the stacked profile histogram of all sub detectors in front of muon stations. This profile histogram displays the mean value of the material budget in units of radiation length in each eta bin. 250 bins in eta (-5,5), so eta is divided in 0.04 width bins. ",
0318    
0319    "HGCal_l_vs_eta" : "The plots below shows the stacked profile histogram of all sub detectors in front of muon stations. This profile histogram displays the mean value of the material budget in units of interaction length in each eta bin. 250 bins in eta (-5,5), so eta is divided in 0.04 width bins. ",
0320 
0321    "HGCal_l_vs_z_vs_Rsum" : "The plots below shows the detectors that are taken into account in the calculation of the material budget. Keep in mind that coloured regions that depicts each sub-detector area may contain Air as material.",
0322 
0323    "HGCal_l_vs_z_vs_Rsum_Zpluszoom" : "The zoomed plots below shows the detectors that are taken into account in the calculation of the material budget. Keep in mind that coloured regions that depicts each sub-detector area may contain Air as material."
0324    
0325 
0326 
0327 }
0328 
0329 _hideShowFun = { 
0330      "thestyle" : "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"> \n <style> \n body {font-family: Arial;} \n.tab { \n  overflow: hidden; \n  border: 1px solid #ccc; \n  background-color: #f1f1f1;} \n .tab button {  background-color: inherit; \n  float: left; \n  border: none; \n  outline: none; \n  cursor: pointer; \n  padding: 14px 16px; \n  transition: 0.3s; \n  font-size: 17px; } \n .tab button:hover {  background-color: #ddd; } \n .tab button.active {  background-color: #ccc; } \n .tabcontent {  display: none; \n  padding: 6px 12px; \n  border: 1px solid #ccc; \n  border-top: none; \n} \n </style>",
0331      "buttonandFunction" : "<script> \n function openRegion(evt, regionName) { \n  var i, tabcontent, tablinks;\n  tabcontent = document.getElementsByClassName(\"tabcontent\"); \n  for (i = 0; i < tabcontent.length; i++) {\n    tabcontent[i].style.display = \"none\";\n  }\n  tablinks = document.getElementsByClassName(\"tablinks\"); \n  for (i = 0; i < tablinks.length; i++) {\n    tablinks[i].className = tablinks[i].className.replace(\" active\", \"\"); \n  }\n  document.getElementById(regionName).style.display = \"block\";\n  evt.currentTarget.className += \" active\"; \n}\n</script>\n",
0332      "divTabs" : "<div class=\"tab\">\n   <button class=\"tablinks\" onclick=\"openRegion(event, \'_AllHGCAL\')\">All HGCAL</button>\n   <button class=\"tablinks\" onclick=\"openRegion(event, \'_ZminusZoom\')\">Zminus</button>\n   <button class=\"tablinks\" onclick=\"openRegion(event, \'_ZplusZoom\')\">Zplus</button>\n </div>\n "
0333 } 
0334 
0335 
0336 
0337 
0338 
0339 
0340