Skip to content

Commit

Permalink
[DQM-GEOMETRY] py2/3 compatibility:drop use of __future__
Browse files Browse the repository at this point in the history
  • Loading branch information
smuzaffar committed Nov 22, 2024
1 parent 92333e3 commit 1926e30
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 6 deletions.
1 change: 0 additions & 1 deletion Validation/Geometry/python/plot_hgcal_utils.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import print_function
from ROOT import TStyle, kWhite, kTRUE
from ROOT import gROOT, gStyle
from ROOT import kGray, kAzure, kMagenta, kOrange, kWhite
Expand Down
1 change: 0 additions & 1 deletion Validation/Geometry/test/MaterialBudget.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Pure trick to start ROOT in batch mode, pass this only option to it
# and the rest of the command line options to this code.
from __future__ import print_function
import sys
oldargv = sys.argv[:]
sys.argv = [ '-b-' ]
Expand Down
1 change: 0 additions & 1 deletion Validation/Geometry/test/MaterialBudgetHGCal.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

# Pure trick to start ROOT in batch mode, pass this only option to it
# and the rest of the command line options to this code.
from __future__ import print_function
import sys
import numpy as np
import pandas as pd
Expand Down
1 change: 0 additions & 1 deletion Validation/Geometry/test/runMaterialMapForReco_fromReco.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import print_function
# Auto generated configuration file
# using:
# Revision: 1.19
Expand Down
1 change: 0 additions & 1 deletion Validation/Geometry/test/runP_HGCal_cfg.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from __future__ import print_function
# In order to produce everything that you need in one go, use the command:
#
# for t in {'BeamPipe','Tracker','PixBar','PixFwdMinus','PixFwdPlus','TIB','TOB','TIDB','TIDF','TEC','TkStrct','InnerServices'}; do cmsRun runP_Tracker_cfg.py geom=XYZ label=$t >& /dev/null &; done
Expand Down
1 change: 0 additions & 1 deletion Validation/Geometry/test/runP_Tracker.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
#
# for t in {'BeamPipe','Tracker','PixBar','PixFwdMinus','PixFwdPlus','TIB','TOB','TIDB','TIDF','TEC','TkStrct','InnerServices'}; do python3 runP_Tracker.py geom=XYZ label=$t >& /dev/null &; done

from __future__ import print_function
import FWCore.ParameterSet.Config as cms
from FWCore.ParameterSet.VarParsing import VarParsing
import sys, re
Expand Down

0 comments on commit 1926e30

Please sign in to comment.