CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions | Variables
TH2PolyOfflineMaps Namespace Reference

Classes

class  TH2PolyOfflineMaps
 

Functions

def getFileInPath
 

Variables

list barrelLadderShift = [0, 14, 44, 90]
 
list baseRootDirs
 
dictionary baseRootDirsAliases
 
tuple deductedRunNumber = inputFileName.split("_R000")
 
tuple detIDsFileName = getFileInPath('DQM/SiStripMonitorClient/data/detids.dat')
 
int extremeBinsNum = 20
 
list forwardDiskXShift = [25, 75, 125]
 
int forwardDiskYShift = 45
 
string inputFileName = "DQM_V0013_R000292154__StreamExpressCosmics__Commissioning2017-Express-v1__DQMIO.root"
 
list limits
 
string limitsFileName = "limits.dat"
 
int maxPxBarrel = 4
 
int maxPxForward = 3
 
string minMaxFileName = "minmax.out"
 
string outputDirectoryName = "OUT/"
 
tuple plotHeight = int(sys.argv[i])
 
tuple plotWidth = int(sys.argv[i])
 
tuple readerObj = TH2PolyOfflineMaps(inputFileName, outputDirectoryName, minMaxFileName, limits, detIDsFileName, deductedRunNumber, baseRootDirs, baseRootDirsAliases)
 

Function Documentation

def TH2PolyOfflineMaps.getFileInPath (   rfile)

Definition at line 14 of file TH2PolyOfflineMaps.py.

References submitPVValidationJobs.split().

14 
15 def getFileInPath(rfile):
16  import os
17  for dir in os.environ['CMSSW_SEARCH_PATH'].split(":"):
18  if os.path.exists(os.path.join(dir,rfile)): return os.path.join(dir,rfile)
19  return None
20 
21 
# Default values

Variable Documentation

list TH2PolyOfflineMaps.barrelLadderShift = [0, 14, 44, 90]

Definition at line 36 of file TH2PolyOfflineMaps.py.

list TH2PolyOfflineMaps.baseRootDirs
Initial value:
1 = ["DQMData/Run 292154/PixelPhase1/Run summary/Phase1_MechanicalView"
2  ,"DQMData/Run 292154/PixelPhase1/Run summary/Tracks"
3  ]

Definition at line 29 of file TH2PolyOfflineMaps.py.

dictionary TH2PolyOfflineMaps.baseRootDirsAliases
Initial value:
1 = {baseRootDirs[0]:""
2  , baseRootDirs[1]:"T"
3  }

Definition at line 553 of file TH2PolyOfflineMaps.py.

tuple TH2PolyOfflineMaps.deductedRunNumber = inputFileName.split("_R000")

Definition at line 546 of file TH2PolyOfflineMaps.py.

list TH2PolyOfflineMaps.detIDsFileName = getFileInPath('DQM/SiStripMonitorClient/data/detids.dat')

Definition at line 27 of file TH2PolyOfflineMaps.py.

int TH2PolyOfflineMaps.extremeBinsNum = 20

Definition at line 42 of file TH2PolyOfflineMaps.py.

list TH2PolyOfflineMaps.forwardDiskXShift = [25, 75, 125]

Definition at line 38 of file TH2PolyOfflineMaps.py.

int TH2PolyOfflineMaps.forwardDiskYShift = 45

Definition at line 39 of file TH2PolyOfflineMaps.py.

list TH2PolyOfflineMaps.inputFileName = "DQM_V0013_R000292154__StreamExpressCosmics__Commissioning2017-Express-v1__DQMIO.root"

Definition at line 22 of file TH2PolyOfflineMaps.py.

list TH2PolyOfflineMaps.limits
Initial value:
1 = ["num_digis 0.01 90 1 0",
2  "num_clusters 0.01 25 1 0",
3  "Trechitsize_y 0.01 10 0 0",
4  "Trechitsize_x 0.01 10 0 0",
5  "Tresidual_y 0.0000001 0.004 0 1",
6  "Tresidual_x 0.0000001 0.004 0 1",
7  "Tcharge 2000 80000 0 0",
8  "Thitefficiency 0.95 1 0 0",
9  #"Tmissing 0.01 500 0 0",
10  "Tnum_clusters_ontrack 0.01 15 1 0",
11  "Tsize 0.01 15 0 0",
12  #"Tvalid 0.01 90 0 0",
13  "adc 0.01 256 0 0",
14  "charge 2000 80000 0 0",
15  "size 0.01 15 0 0",]

Definition at line 44 of file TH2PolyOfflineMaps.py.

Referenced by OOTPileupCorrData.apply(), PhysicsPerformanceDBWriterTFormula_fromfile_WPandPL.beginJob(), DMRChecker.bookResidualsHistogram(), FWDoubleParameterSetter.build(), FWLongParameterSetter.build(), fastsim::SimplifiedGeometryFactory.createSimplifiedGeometry(), CUDAService.CUDAService(), CUDAService.fillDescriptions(), OOTPileupCorrData.getCorrectionByID(), HBHENegativeEFilter.getEtaIndex(), popcon::EcalDCSHandler.insertHVDataSetToOffline(), popcon::EcalDCSHandler.insertLVDataSetToOffline(), PerformancePayloadFromBinnedTFormula.isOk(), PerformancePayloadFromTFormula.isOk(), CaloTowerHardcodeGeometryLoader.load(), PiecewiseScalingPolynomial.operator()(), PerformancePayloadFromBinnedTFormula.printFormula(), PerformancePayloadFromTFormula.printFormula(), CalibratedHistogramXML.read(), npstat::BoxND< Numeric >.restore(), TrackingMaterialAnalyser.split(), DD4hep_TrackingMaterialAnalyser.split(), MFGrid3D.valueInTesla(), and npstat::BoxND< Numeric >.write().

string TH2PolyOfflineMaps.limitsFileName = "limits.dat"

Definition at line 23 of file TH2PolyOfflineMaps.py.

int TH2PolyOfflineMaps.maxPxBarrel = 4

Definition at line 34 of file TH2PolyOfflineMaps.py.

int TH2PolyOfflineMaps.maxPxForward = 3

Definition at line 35 of file TH2PolyOfflineMaps.py.

string TH2PolyOfflineMaps.minMaxFileName = "minmax.out"

Definition at line 25 of file TH2PolyOfflineMaps.py.

string TH2PolyOfflineMaps.outputDirectoryName = "OUT/"

Definition at line 24 of file TH2PolyOfflineMaps.py.

tuple TH2PolyOfflineMaps.plotHeight = int(sys.argv[i])

Definition at line 539 of file TH2PolyOfflineMaps.py.

tuple TH2PolyOfflineMaps.plotWidth = int(sys.argv[i])

Definition at line 537 of file TH2PolyOfflineMaps.py.

tuple TH2PolyOfflineMaps.readerObj = TH2PolyOfflineMaps(inputFileName, outputDirectoryName, minMaxFileName, limits, detIDsFileName, deductedRunNumber, baseRootDirs, baseRootDirsAliases)

Definition at line 557 of file TH2PolyOfflineMaps.py.