2 process.analysis = cms.EDAnalyzer("OverlapValidation",
3 usePXB = cms.bool(True),
4 usePXF = cms.bool(True),
5 useTIB = cms.bool(True),
6 useTOB = cms.bool(True),
7 useTID = cms.bool(True),
8 useTEC = cms.bool(True),
9 ROUList = cms.vstring('TrackerHitsTIBLowTof',
10 'TrackerHitsTIBHighTof',
11 'TrackerHitsTOBLowTof',
12 'TrackerHitsTOBHighTof'),
13 trajectories = cms.InputTag("FinalTrackRefitter"),
14 associatePixel = cms.bool(False),
15 associateStrip = cms.bool(False),
16 associateRecoTracks = cms.bool(False),
17 tracks = cms.InputTag("FinalTrackRefitter"),
18 barrelOnly = cms.bool(False)
23 overlapValidationSequence =
"process.analysis"
25 overlapPlottingTemplate =
"""
29 from Alignment.OfflineValidation.TkAlStyle import TkAlStyle
31 TkAlStyle.legendheader = ".oO[legendheader]Oo."
32 TkAlStyle.set(ROOT..oO[publicationstatus]Oo., ROOT..oO[era]Oo., ".oO[customtitle]Oo.", ".oO[customrighttitle]Oo.")
35 os.makedirs(".oO[datadir]Oo./.oO[PlotsDirName]Oo./")
39 os.makedirs(".oO[datadir]Oo./.oO[PlotsDirName]Oo./Profiles")
43 from Alignment.OfflineValidation.overlapValidationPlot import plot
45 subdet_ids=[True,True,True,True,True,True]#(BPIX,FPIX,TIB,TID,TOB,TEC)
46 module_directions=[True,True,True]#(z,r,phi)
47 overlap_directions=[True,True,True]#(z,r,phi)
48 profile_directions=[True,True,True,True]#(histogtam,z-profiles,r-profiles,phi-profiles)
51 plot(".oO[datadir]Oo./.oO[PlotsDirName]Oo./",subdet_ids,module_directions,overlap_directions,profile_directions,.oO[PlottingInstantiation]Oo.)