Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:34:29

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 digiValid = DQMEDAnalyzer('Phase2TrackerValidateDigi',
0005     Verbosity = cms.bool(False),
0006     TopFolderName = cms.string("Ph2TkPixelDigi"),
0007     PixelPlotFillingFlag = cms.bool(False),
0008     OuterTrackerDigiSource = cms.InputTag("mix", "Tracker"),
0009     OuterTrackerDigiSimLinkSource = cms.InputTag("simSiPixelDigis", "Tracker"),
0010     InnerPixelDigiSource   = cms.InputTag("simSiPixelDigis","Pixel"),                          
0011     InnerPixelDigiSimLinkSource = cms.InputTag("simSiPixelDigis", "Pixel"), 
0012     PSimHitSource  = cms.VInputTag('g4SimHits:TrackerHitsPixelBarrelLowTof',
0013                                    'g4SimHits:TrackerHitsPixelBarrelHighTof',
0014                                    'g4SimHits:TrackerHitsPixelEndcapLowTof',
0015                                    'g4SimHits:TrackerHitsPixelEndcapHighTof',
0016                                    'g4SimHits:TrackerHitsTIBLowTof',
0017                                    'g4SimHits:TrackerHitsTIBHighTof',
0018                                    'g4SimHits:TrackerHitsTIDLowTof',
0019                                    'g4SimHits:TrackerHitsTIDHighTof',
0020                                    'g4SimHits:TrackerHitsTOBLowTof',
0021                                    'g4SimHits:TrackerHitsTOBHighTof',
0022                                    'g4SimHits:TrackerHitsTECLowTof',
0023                                    'g4SimHits:TrackerHitsTECHighTof'),
0024     SimTrackSource = cms.InputTag("g4SimHits"),
0025     SimVertexSource = cms.InputTag("g4SimHits"),
0026     GeometryType = cms.string('idealForDigi'),
0027     PtCutOff      = cms.double(2.0), #9.5
0028     EtaCutOff      = cms.double(3.5),                           
0029     TOFLowerCutOff = cms.double(-12.5),
0030     TOFUpperCutOff = cms.double(12.5),
0031     TrackPtH = cms.PSet(
0032         Nbins  = cms.int32(50),
0033         xmin   = cms.double(0.0),
0034         xmax   = cms.double(100.0),
0035         switch = cms.bool(True)
0036     ),
0037     TrackEtaH = cms.PSet(
0038         Nbins  = cms.int32(45),
0039         xmin   = cms.double(-4.5),
0040         xmax   = cms.double(4.5),
0041         switch = cms.bool(True)
0042     ),
0043     TrackPhiH = cms.PSet(
0044         Nbins  = cms.int32(64),
0045         xmin   = cms.double(-3.2),
0046         xmax   = cms.double(3.2),
0047         switch = cms.bool(True)
0048     ),  
0049     SimHitElossH = cms.PSet(
0050         Nbins  = cms.int32(100),
0051         xmin   = cms.double(0.0),
0052         xmax   = cms.double(100000.0),
0053         switch = cms.bool(True)
0054     ),  
0055     SimHitDxH = cms.PSet(
0056         Nbins  = cms.int32(1000),
0057         xmin   = cms.double(0.0),
0058         xmax   = cms.double(0.1),
0059         switch = cms.bool(True)
0060     ),
0061     SimHitDyH = cms.PSet(
0062         Nbins  = cms.int32(1000),
0063         xmin   = cms.double(0.0),
0064         xmax   = cms.double(0.1),
0065         switch = cms.bool(True)
0066     ),
0067     SimHitDzH = cms.PSet(
0068         Nbins  = cms.int32(150),
0069         xmin   = cms.double(0.0),
0070         xmax   = cms.double(0.03),
0071         switch = cms.bool(True)
0072     ),
0073     XYPositionMapH = cms.PSet(
0074         Nxbins = cms.int32(1250),
0075         xmin   = cms.double(-1250.),
0076         xmax   = cms.double(1250.),
0077         Nybins = cms.int32(1250),
0078         ymin   = cms.double(-1250.),
0079         ymax   = cms.double(1250.),
0080         switch = cms.bool(False)
0081     ),
0082     RZPositionMapH = cms.PSet(
0083         Nxbins = cms.int32(3000),
0084         xmin   = cms.double(-3000.),
0085         xmax   = cms.double(3000.),
0086         Nybins = cms.int32(1250),
0087         ymin   = cms.double(0.),
0088         ymax   = cms.double(1250.),
0089         switch = cms.bool(False)
0090     ),
0091    TOFEtaMapH = cms.PSet(
0092         Nxbins = cms.int32(45),
0093         xmin   = cms.double(-4.5),
0094         xmax   = cms.double(4.5),
0095         Nybins = cms.int32(100),
0096         ymin   = cms.double(0.),
0097         ymax   = cms.double(50.),
0098         switch = cms.bool(False)
0099     ),
0100    TOFPhiMapH = cms.PSet(
0101         Nxbins = cms.int32(64),
0102         xmin   = cms.double(-3.2),
0103         xmax   = cms.double(3.2),
0104         Nybins = cms.int32(100),
0105         ymin   = cms.double(0.),
0106         ymax   = cms.double(50.),
0107         switch = cms.bool(False)
0108     ),
0109    TOFZMapH = cms.PSet(
0110         Nxbins = cms.int32(3000),
0111         xmin   = cms.double(-300.),
0112         xmax   = cms.double(300.),
0113         Nybins = cms.int32(100),
0114         ymin   = cms.double(0.),
0115         ymax   = cms.double(50.),
0116         switch = cms.bool(False)
0117     ),
0118     TOFRMapH = cms.PSet(
0119         Nxbins = cms.int32(1200),
0120         xmin   = cms.double(0.),
0121         xmax   = cms.double(120.),
0122         Nybins = cms.int32(100),
0123         ymin   = cms.double(0.),
0124         ymax   = cms.double(50.),
0125         switch = cms.bool(False)
0126     )
0127 )
0128 
0129 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
0130 premix_stage2.toModify(digiValid,
0131     InnerPixelDigiSource = "mixData:Pixel",
0132     OuterTrackerDigiSource = "mixData:Tracker",
0133     OuterTrackerDigiSimLinkSource = "mixData:Phase2OTDigiSimLink",
0134     InnerPixelDigiSimLinkSource = "mixData:PixelDigiSimLink",
0135 )