CMS 3D CMS Logo

Variables
overlapValidationTemplates Namespace Reference

Variables

string overlapPlottingTemplate
 
string overlapTemplate
 
string overlapValidationSequence = "process.analysis"
 

Variable Documentation

◆ overlapPlottingTemplate

string overlapValidationTemplates.overlapPlottingTemplate
Initial value:
1 = """
2 
3 import os
4 import ROOT
5 from Alignment.OfflineValidation.TkAlStyle import TkAlStyle
6 
7 TkAlStyle.legendheader = ".oO[legendheader]Oo."
8 TkAlStyle.set(ROOT..oO[publicationstatus]Oo., ROOT..oO[era]Oo., ".oO[customtitle]Oo.", ".oO[customrighttitle]Oo.")
9 
10 try:
11  os.makedirs(".oO[datadir]Oo./.oO[PlotsDirName]Oo./")
12 except OSError:
13  pass
14 try:
15  os.makedirs(".oO[datadir]Oo./.oO[PlotsDirName]Oo./Profiles")
16 except OSError:
17  pass
18 
19 from Alignment.OfflineValidation.overlapValidationPlot import plot
20 
21 subdet_ids=[True,True,True,True,True,True]#(BPIX,FPIX,TIB,TID,TOB,TEC)
22 module_directions=[True,True,True]#(z,r,phi)
23 overlap_directions=[True,True,True]#(z,r,phi)
24 profile_directions=[True,True,True,True]#(histogtam,z-profiles,r-profiles,phi-profiles)
25 
26 
27 plot(".oO[datadir]Oo./.oO[PlotsDirName]Oo./",subdet_ids,module_directions,overlap_directions,profile_directions,.oO[PlottingInstantiation]Oo.)
28 
29 
30 """

Definition at line 33 of file overlapValidationTemplates.py.

◆ overlapTemplate

string overlapValidationTemplates.overlapTemplate
Initial value:
1 = """
2 # Use compressions settings of TFile
3 # see https://root.cern.ch/root/html534/TFile.html#TFile:SetCompressionSettings
4 # settings = 100 * algorithm + level
5 # level is from 1 (small) to 9 (large compression)
6 # algo: 1 (ZLIB), 2 (LMZA)
7 # see more about compression & performance: https://root.cern.ch/root/html534/guides/users-guide/InputOutput.html#compression-and-performance
8 compressionSettings = 207
9 process.analysis = cms.EDAnalyzer("OverlapValidation",
10  usePXB = cms.bool(True),
11  usePXF = cms.bool(True),
12  useTIB = cms.bool(True),
13  useTOB = cms.bool(True),
14  useTID = cms.bool(True),
15  useTEC = cms.bool(True),
16  compressionSettings = cms.untracked.int32(compressionSettings),
17  ROUList = cms.vstring('TrackerHitsTIBLowTof',
18  'TrackerHitsTIBHighTof',
19  'TrackerHitsTOBLowTof',
20  'TrackerHitsTOBHighTof'),
21  trajectories = cms.InputTag("FinalTrackRefitter"),
22  associatePixel = cms.bool(False),
23  associateStrip = cms.bool(False),
24  associateRecoTracks = cms.bool(False),
25  tracks = cms.InputTag("FinalTrackRefitter"),
26  barrelOnly = cms.bool(False)
27 )
28 
29 """

Definition at line 1 of file overlapValidationTemplates.py.

◆ overlapValidationSequence

string overlapValidationTemplates.overlapValidationSequence = "process.analysis"

Definition at line 31 of file overlapValidationTemplates.py.