Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:09:05

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.TrackingMonitor.TrackingMonitor_cfi import *
0004 TrackerCollisionTrackMon = TrackMon.clone(
0005     # Update specific parameters
0006 
0007     # input tags
0008     TrackProducer = "generalTracks",
0009     SeedProducer = "initialStepSeeds",
0010     TCProducer = "initialStepTrackCandidates",
0011     ClusterLabels = ('Tot','Strip','Pix',), # to decide which Seeds-Clusters correlation plots to have default is Total other options 'Strip', 'Pix'
0012     beamSpot = "offlineBeamSpot",
0013     primaryVertex = 'offlinePrimaryVertices',
0014     primaryVertexInputTags = ('offlinePrimaryVertices',),    
0015     selPrimaryVertexInputTags = ('goodOfflinePrimaryVertices',),
0016     pvLabels = ('offline',),
0017 
0018     # output parameters
0019     AlgoName = 'GenTk',
0020     Quality = '',
0021     FolderName = 'Tracking/GlobalParameters',
0022     BSFolderName = 'Tracking/ParametersVsBeamSpot',
0023 
0024     # determines where to evaluate track parameters
0025     # 'ImpactPoint'  --> evalutate at impact point
0026     MeasurementState = 'ImpactPoint',
0027 
0028     # which plots to do
0029     doAllPlots = False,
0030     doGoodTrackPlots = cms.bool(True),
0031     doTrackerSpecific = True,
0032     doHitPropertiesPlots = True,
0033     doGeneralPropertiesPlots = True,
0034     doBeamSpotPlots = True,
0035     doSeedParameterHistos = False,
0036     doRecHitVsPhiVsEtaPerTrack = True,
0037     doGoodTrackRecHitVsPhiVsEtaPerTrack = cms.bool(True),
0038     doLayersVsPhiVsEtaPerTrack = True,
0039     doGoodTrackLayersVsPhiVsEtaPerTrack = cms.bool(True),
0040     doPUmonitoring = False,
0041     doPlotsVsBXlumi = False,
0042     doPlotsVsGoodPVtx = True,
0043     doEffFromHitPatternVsPU = True,
0044     doEffFromHitPatternVsBX = True,
0045     doEffFromHitPatternVsLUMI = True,
0046 
0047     # LS analysis
0048     doLumiAnalysis = True,     
0049     doProfilesVsLS = True,
0050 
0051     doSeedNumberHisto = False,
0052     doSeedETAHisto = False,
0053     doSeedVsClusterHisto = False,
0054 
0055     # Number of Tracks per Event
0056     TkSizeBin = 600,
0057     TkSizeMax = 2999.5,
0058     TkSizeMin = -0.5,
0059 
0060     # chi2 dof
0061     Chi2NDFBin = 80,
0062     Chi2NDFMax = 79.5,
0063     Chi2NDFMin = -0.5,
0064 
0065     # Number of seeds per Event
0066     TkSeedSizeBin = 100,
0067     TkSeedSizeMax = 499.5,
0068     TkSeedSizeMin = -0.5,
0069 
0070     # Number of Track Cadidates per Event
0071     TCSizeBin = 100,
0072     TCSizeMax = 499.5,
0073     TCSizeMin = -0.5,
0074 
0075     GoodPVtx = TrackMon.GoodPVtx.clone(
0076         GoodPVtxBin = 60,
0077         GoodPVtxMin = 0.,
0078         GoodPVtxMax = 60.
0079     )
0080 )
0081 
0082 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0083 run3_common.toModify(TrackerCollisionTrackMon, GoodPVtx=dict(GoodPVtxBin = 150, GoodPVtxMax = 150.))
0084 run3_common.toModify(TrackerCollisionTrackMon, NTrkPVtx=dict(NTrkPVtxMax = 200.))
0085 run3_common.toModify(TrackerCollisionTrackMon, NClusStrMax = 299999.5)
0086 run3_common.toModify(TrackerCollisionTrackMon, NTrk2D=dict(NTrk2DBin = 100, NTrk2DMax = 5999.5))
0087 run3_common.toModify(TrackerCollisionTrackMon, PVBin = 75, PVMax = 149.5)
0088 run3_common.toModify(TrackerCollisionTrackMon, TkSizeMax = 5999.5)
0089