Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
168 changes: 110 additions & 58 deletions dqmgui/layouts/btag_T0_layouts.py
Original file line number Diff line number Diff line change
@@ -1,18 +1,34 @@
def btaglayout(i, p, *rows): i["Btag/Layouts/" + p] = DQMItem(layout=rows)

btaglayout(dqmitems, "00 - Jet Property",
[{ 'path': "Btag/deepCSV_BvsAll_GLOBAL/jetMultiplicity_deepCSV_BvsAll_GLOBALALL",
btaglayout(dqmitems, "00 - Jet Properties",
[{ 'path': "Btag/DeepFlavour_BvsAll_GLOBAL/jetMultiplicity_DeepFlavour_BvsAll_GLOBALALL",
'description': "Jet Multiplicity ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/deepCSV_BvsAll_GLOBAL/jetPt_deepCSV_BvsAll_GLOBALALL",
{ 'path': "Btag/DeepFlavour_BvsAll_GLOBAL/jetEta_DeepFlavour_BvsAll_GLOBALALL",
'description': "Jet Eta",
'draw': { 'withref': "no" }},
{ 'path': "Btag/DeepCSV_BvsAll_GLOBAL/jetEta_diffEff_DeepCSV_BvsAll_GLOBALALL",
'description': "DeepCSV Jet Eta efficiency",
'draw': { 'withref': "no", 'ymin': '0', 'ymax': '1' }},
{ 'path': "Btag/DeepFlavour_BvsAll_GLOBAL/jetEta_diffEff_DeepFlavour_BvsAll_GLOBALALL",
'description': "DeepFlavour Jet Eta efficiency",
'draw': { 'withref': "no", 'ymin': '0', 'ymax': '1' }}
],

[{ 'path': "Btag/DeepFlavour_BvsAll_GLOBAL/jetPt_DeepFlavour_BvsAll_GLOBALALL",
'description': "Jet Pt ",
'draw': { 'withref': "no" }}],
[{ 'path': "Btag/deepCSV_BvsAll_GLOBAL/jetEta_deepCSV_BvsAll_GLOBALALL",
'description': "Jet Eta ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/deepCSV_BvsAll_GLOBAL/jetPhi_deepCSV_BvsAll_GLOBALALL",
'description': "Jet Phi ",
'draw': { 'withref': "no" }}])
{ 'path': "Btag/DeepFlavour_BvsAll_GLOBAL/jetPhi_DeepFlavour_BvsAll_GLOBALALL",
'description': "Jet Phi",
'draw': { 'withref': "no" }},
{ 'path': "Btag/DeepCSV_BvsAll_GLOBAL/jetPhi_diffEff_DeepCSV_BvsAll_GLOBALALL",
'description': "DeepCSV Jet Phi efficiency",
'draw': { 'withref': "no", 'ymin': '0', 'ymax': '1' }},
{ 'path': "Btag/DeepFlavour_BvsAll_GLOBAL/jetPhi_diffEff_DeepFlavour_BvsAll_GLOBALALL",
'description': "DeepFlavour Jet Phi efficiency",
'draw': { 'withref': "no", 'ymin': '0', 'ymax': '1' }}
])


btaglayout(dqmitems, "01 - Tracks in Jet",
[{ 'path': "Btag/IPTag_GLOBAL/selectedTrackMultVsJetPt_IPTag_GLOBALALL",
Expand All @@ -21,75 +37,89 @@ def btaglayout(i, p, *rows): i["Btag/Layouts/" + p] = DQMItem(layout=rows)
{ 'path': "Btag/IPTag_GLOBAL/trackMultVsJetPt_IPTag_GLOBALALL",
'description': "Track Multiplicity vs Jet Pt for Tracks Associated to Jets",
'draw': { 'withref': "no", 'xmin': '25', 'drawopts': "colz" }}],

[{ 'path': "Btag/IPTag_GLOBAL/selectedTrackQual_IPTag_GLOBALALL",
'description': "Track Quality of Selected Tracks Associated to Jets",
'draw': { 'withref': "no" }},
{ 'path': "Btag/IPTag_GLOBAL/trackQual_IPTag_GLOBALALL",
'description': "Track Quality of Tracks Associated to Jets",
'draw': { 'withref': "no" }}])

btaglayout(dqmitems, "02 - Vertex Property",
[{ 'path': "Btag/CSVTag_GLOBAL/vertexCategory_CSVTag_GLOBALALL",
'description': "Category of Secondary Vertex (Reco, Pseudo, No) ",

btaglayout(dqmitems, "02 - Secondary Vertex Properties",
[{ 'path': "Btag/SV/n_sv",
'description': "Number of secondary vertices in jet",
'draw': { 'withref': "no" }},
{ 'path': "Btag/CSVTag_GLOBAL/vertexMass_CSVTag_GLOBALALL",
'description': "Mass of Track sum at Secondary Vertex ",
{ 'path': "Btag/SV/sv_ntracks",
'description': "Number of tracks at secondary vertex ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/SV/sv_mass",
'description': "Mass of the secondary vertex ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/SV/sv_pt",
'description': "Transverse momentum of the secondary vertex",
'draw': { 'withref': "no" }}],
[{ 'path': "Btag/CSVTag_GLOBAL/vertexEnergyRatio_CSVTag_GLOBALALL",
'description': "Ratio of Energy at secondary vertex over Total Energy ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/CSVTag_GLOBAL/vertexNTracks_CSVTag_GLOBALALL",
'description': "Number of Tracks at Secondary Vertex ",

[ { 'path': "Btag/SV/sv_ptrel",
'description': "Ratio of transverse momentum at secondary vertex over total jet transverse momentum",
'draw': { 'withref': "no" }},
{ 'path': "Btag/CSVTag_GLOBAL/vertexJetDeltaR_CSVTag_GLOBALALL",
{ 'path': "Btag/SV/sv_energyratio",
'description': "Ratio of energy at secondary vertex over total jet energy",
'draw': { 'withref': "no" }},
{ 'path': "Btag/SV/sv_deltaR",
'description': "Pseudoangular Distance between Jet Axis and Secondary Vertex Direction",
'draw': { 'withref': "no" }},
#{ 'path': "Btag/SV/sv_chi2norm",
#'description': "Normalized Chi2 value of the secondary vertex",
#'draw': { 'withref': "no" }},
{ 'path': "Btag/SV/sv_chi2prob",
'description': "Chi2 probability of the secondary vertex",
'draw': { 'withref': "no" }}])


btaglayout(dqmitems, "03 - Flight Distance Summary",
[{ 'path': "Btag/CSVTag_GLOBAL/flightDistance2dVal_CSVTag_GLOBALALL",
[{ 'path': "Btag/SV/sv_dxy",
'description': "Transverse Distance between Primary and Secondary Vertex ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/CSVTag_GLOBAL/flightDistance3dVal_CSVTag_GLOBALALL",
{ 'path': "Btag/SV/sv_d3d",
'description': "Distance between Primary and Secondary Vertex ",
'draw': { 'withref': "no" }}],
[{ 'path': "Btag/CSVTag_GLOBAL/flightDistance2dSig_CSVTag_GLOBALALL",

[{ 'path': "Btag/SV/sv_dxysig",
'description': "Transverse Distance Significance between Primary and Secondary vertex all jets",
'draw': { 'withref': "no" }},
{ 'path': "Btag/CSVTag_GLOBAL/flightDistance3dSig_CSVTag_GLOBALALL",
'description': "distance significance between primary and secondary vertex all jets ",
{ 'path': "Btag/SV/sv_d3dsig",
'description': "Distance significance between primary and secondary vertex all jets ",
'draw': { 'withref': "no" }}])

btaglayout(dqmitems, "04 - Discriminator Summary",
[{ 'path': "Btag/CSVv2_GLOBAL/discr_CSVv2_GLOBALALL",
'description': "Discriminator for CombinedSecondaryVertex Version 2 ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/deepCSV_BvsAll_GLOBAL/discr_deepCSV_BvsAll_GLOBALALL",
'description': "Discriminator for deepCSV BvsAll ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/JBP_GLOBAL/discr_JBP_GLOBALALL",
'description': "Discriminator for jetBProbabilityBJetTags ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/JP_GLOBAL/discr_JP_GLOBALALL",
[{ 'path': "Btag/JP_GLOBAL/discr_JP_GLOBALALL",
'description': "Discriminator for JetProbability ",
'draw': { 'withref': "no" }}
],

[{ 'path': "Btag/DeepCSV_BvsAll_GLOBAL/discr_DeepCSV_BvsAll_GLOBALALL",
'description': "Discriminator for DeepCSV BvsAll ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/SSVHE_GLOBAL/discr_SSVHE_GLOBALALL",
'description': "Discriminator for SimpleSecondaryVertexHighEff ",
'draw': { 'withref': "no" }}],
[{ 'path': "Btag/TCHE_GLOBAL/discr_TCHE_GLOBALALL",
'description': "Discriminator for TrackCountingHighEff ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/TCHP_GLOBAL/discr_TCHP_GLOBALALL",
'description': "Discriminator for TrackCountingHighPur ",
{ 'path': "Btag/DeepCSV_CvsB_GLOBAL/discr_DeepCSV_CvsB_GLOBALALL",
'description': "Discriminator for DeepCSV CvsB ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/SMT_GLOBAL/discr_SMT_GLOBALALL",
'description': "Discriminator for SoftMuonB ",
{ 'path': "Btag/DeepCSV_CvsL_GLOBAL/discr_DeepCSV_CvsL_GLOBALALL",
'description': "Discriminator for DeepCSV CvsL ",
'draw': { 'withref': "no" }}
],

[{ 'path': "Btag/DeepFlavour_BvsAll_GLOBAL/discr_DeepFlavour_BvsAll_GLOBALALL",
'description': "Discriminator for DeepFlavour BvsAll ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/deepCSV_CvsB_GLOBAL/discr_deepCSV_CvsB_GLOBALALL",
'description': "Discriminator for deepCSV CvsB ",
{ 'path': "Btag/DeepFlavour_CvsB_GLOBAL/discr_DeepFlavour_CvsB_GLOBALALL",
'description': "Discriminator for DeepFlavour CvsB ",
'draw': { 'withref': "no" }},
{ 'path': "Btag/deepCSV_CvsL_GLOBAL/discr_deepCSV_CvsL_GLOBALALL",
'description': "Discriminator for deepCSV CvsL ",
'draw': { 'withref': "no" }}])
{ 'path': "Btag/DeepFlavour_CvsL_GLOBAL/discr_DeepFlavour_CvsL_GLOBALALL",
'description': "Discriminator for DeepFlavour CvsL ",
'draw': { 'withref': "no" }}
])


btaglayout(dqmitems, "05 - 2D-Impact Parameter",
[{ 'path': "Btag/IPTag_GLOBAL/ip_2D_IPTag_GLOBALALL",
Expand All @@ -101,6 +131,7 @@ def btaglayout(i, p, *rows): i["Btag/Layouts/" + p] = DQMItem(layout=rows)
{ 'path': "Btag/IPTag_GLOBAL/prob_2D_IPTag_GLOBALALL",
'description': "2D Impact Parameter Probability",
'draw': { 'withref': "no" }}],

[{ 'path': "Btag/IPTag_GLOBAL/tkNHits_2D_IPTag_GLOBALALL",
'description': "# of Hits in Tracks used in 2D Impact Parameter",
'draw': { 'withref': "no" }},
Expand All @@ -114,6 +145,7 @@ def btaglayout(i, p, *rows): i["Btag/Layouts/" + p] = DQMItem(layout=rows)
'description': "2D Jet Distance",
'draw': { 'withref': "no" }}])


btaglayout(dqmitems, "06 - 3D-Impact Parameter",
[{ 'path': "Btag/IPTag_GLOBAL/ip_3D_IPTag_GLOBALALL",
'description': "3D Impact Parameter Value",
Expand All @@ -130,6 +162,7 @@ def btaglayout(i, p, *rows): i["Btag/Layouts/" + p] = DQMItem(layout=rows)
{ 'path': "Btag/IPTag_GLOBAL/ips1_3D_IPTag_GLOBALALL",
'description': "3D Impact Parameter Significance 1-Track",
'draw': { 'withref': "no" }}],

[{ 'path': "Btag/IPTag_GLOBAL/tkPt_3D_IPTag_GLOBALALL",
'description': "Pt 3D of Tracks used in 3D Impact Parameter",
'draw': { 'withref': "no" }},
Expand All @@ -146,13 +179,32 @@ def btaglayout(i, p, *rows): i["Btag/Layouts/" + p] = DQMItem(layout=rows)
'description': "3D Jet Distance",
'draw': { 'withref': "no" }}])


btaglayout(dqmitems, "07 - ROC Curves",
[{ 'path': "Btag/deepCSV_BvsAll_GLOBAL/FlavEffVsBEff_DUSG_discr_deepCSV_BvsAll_GLOBAL",
'overlays': ["Btag/deepCSV_BvsAll_GLOBAL/FlavEffVsBEff_C_discr_deepCSV_BvsAll_GLOBAL"],
[{ 'path': "Btag/DeepCSV_BvsAll_GLOBAL/FlavEffVsBEff_DUSG_discr_DeepCSV_BvsAll_GLOBAL",
'overlays': ["Btag/DeepCSV_BvsAll_GLOBAL/FlavEffVsBEff_C_discr_DeepCSV_BvsAll_GLOBAL"],
'description': "DeepCSV ROC Curve BvsAll",
'draw': {'withref': "no", 'xmin': '0.2', 'xmax': '1', 'xtype': 'log', 'ytype': 'log'}},
{ 'path': "Btag/Ctagger_CvsB_GLOBAL/FlavEffVsCEff_DUSG_discr_Ctagger_CvsB_GLOBAL",
'overlays': ["Btag/Ctagger_CvsB_GLOBAL/FlavEffVsCEff_B_discr_Ctagger_CvsB_GLOBAL"],
'description': "CTagger ROC Curve CvsAll",
'draw': {'withref': "no", 'xmin': '0.2', 'xmax': '1', 'xtype': 'log', 'ytype': 'log'}},
])
'draw': {'withref': "no", 'xmin': '0.1', 'xmax': '1', 'xtype': 'log', 'ytype': 'log'}},
{ 'path': "Btag/DeepCSV_CvsB_GLOBAL/FlavEffVsCEff_DUSG_discr_DeepCSV_CvsB_GLOBAL",
'overlays': ["Btag/DeepCSV_CvsB_GLOBAL/FlavEffVsCEff_B_discr_DeepCSV_CvsB_GLOBAL"],
'description': "DeepCSV ROC Curve CvsB",
'draw': {'withref': "no", 'xmin': '0.1', 'xmax': '1', 'xtype': 'log', 'ytype': 'log'}},
{ 'path': "Btag/DeepCSV_CvsL_GLOBAL/FlavEffVsCEff_DUSG_discr_DeepCSV_CvsL_GLOBAL",
'overlays': ["Btag/DeepCSV_CvsL_GLOBAL/FlavEffVsCEff_B_discr_DeepCSV_CvsL_GLOBAL"],
'description': "DeepCSV ROC Curve CvsL",
'draw': {'withref': "no", 'xmin': '0.1', 'xmax': '1', 'xtype': 'log', 'ytype': 'log'}},
],

[{ 'path': "Btag/DeepFlavour_BvsAll_GLOBAL/FlavEffVsBEff_DUSG_discr_DeepFlavour_BvsAll_GLOBAL",
'overlays': ["Btag/DeepFlavour_BvsAll_GLOBAL/FlavEffVsBEff_C_discr_DeepFlavour_BvsAll_GLOBAL"],
'description': "DeepFlavour ROC Curve BvsAll",
'draw': {'withref': "no", 'xmin': '0.1', 'xmax': '1', 'xtype': 'log', 'ytype': 'log'}},
{ 'path': "Btag/DeepFlavour_CvsB_GLOBAL/FlavEffVsCEff_DUSG_discr_DeepFlavour_CvsB_GLOBAL",
'overlays': ["Btag/DeepFlavour_CvsB_GLOBAL/FlavEffVsCEff_B_discr_DeepFlavour_CvsB_GLOBAL"],
'description': "DeepFlavour ROC Curve CvsB",
'draw': {'withref': "no", 'xmin': '0.1', 'xmax': '1', 'xtype': 'log', 'ytype': 'log'}},
{ 'path': "Btag/DeepFlavour_CvsL_GLOBAL/FlavEffVsCEff_DUSG_discr_DeepFlavour_CvsL_GLOBAL",
'overlays': ["Btag/DeepFlavour_CvsL_GLOBAL/FlavEffVsCEff_B_discr_DeepFlavour_CvsL_GLOBAL"],
'description': "DeepFlavour ROC Curve CvsL",
'draw': {'withref': "no", 'xmin': '0.1', 'xmax': '1', 'xtype': 'log', 'ytype': 'log'}},
])
4 changes: 2 additions & 2 deletions dqmgui/workspaces-offline.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,9 +239,9 @@
server.workspace('DQMContent', 62, 'POG', 'EGamma', '^Egamma/', '')

server.workspace('DQMContent', 63, 'POG', 'Btag', '^Btag/', '',
'Btag/Layouts/00 - Jet Property',
'Btag/Layouts/00 - Jet Properties',
'Btag/Layouts/01 - Tracks in Jet',
'Btag/Layouts/02 - Vertex Property',
'Btag/Layouts/02 - Secondary Vertex Properties',
'Btag/Layouts/03 - Flight Distance Summary',
'Btag/Layouts/04 - Discriminator Summary',
'Btag/Layouts/05 - 2D-Impact Parameter',
Expand Down