File indexing completed on 2024-08-27 22:59:36
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def Phase2OTValidateCluster(**kwargs):
0004 mod = cms.EDProducer('Phase2OTValidateCluster',
0005 Delta_X_Pixel = cms.PSet(
0006 name = cms.string('Delta_X_Pixel'),
0007 title = cms.string('#Delta X macro-pixel sensor;Cluster resolution X coordinate [#mum]'),
0008 switch = cms.bool(True),
0009 xmax = cms.double(250),
0010 xmin = cms.double(-250),
0011 NxBins = cms.int32(100)
0012 ),
0013 Delta_Y_Pixel = cms.PSet(
0014 name = cms.string('Delta_Y_Pixel'),
0015 title = cms.string('#Delta Y macro-pixel sensor;Cluster resolution Y coordinate [#mum]'),
0016 switch = cms.bool(True),
0017 xmin = cms.double(-1500),
0018 xmax = cms.double(1500),
0019 NxBins = cms.int32(100)
0020 ),
0021 Delta_X_Pixel_Primary = cms.PSet(
0022 name = cms.string('Delta_X_Pixel_Primary'),
0023 title = cms.string('#Delta X macro-pixel sensor;cluster resolution X coordinate [#mum]'),
0024 switch = cms.bool(True),
0025 xmin = cms.double(-250),
0026 xmax = cms.double(250),
0027 NxBins = cms.int32(100)
0028 ),
0029 Delta_Y_Pixel_Primary = cms.PSet(
0030 name = cms.string('Delta_Y_Pixel_Primary'),
0031 title = cms.string('#Delta Y macro-pixel sensor;cluster resolution Y coordinate [#mum]'),
0032 switch = cms.bool(True),
0033 xmin = cms.double(-1500),
0034 xmax = cms.double(1500),
0035 NxBins = cms.int32(100)
0036 ),
0037 Delta_X_Strip = cms.PSet(
0038 name = cms.string('Delta_X_Strip'),
0039 title = cms.string('#Delta X strip sensor;Cluster resolution X coordinate [#mum]'),
0040 switch = cms.bool(True),
0041 xmin = cms.double(-250),
0042 xmax = cms.double(250),
0043 NxBins = cms.int32(100)
0044 ),
0045 Delta_Y_Strip = cms.PSet(
0046 name = cms.string('Delta_Y_Strip'),
0047 title = cms.string('#Delta Y strip sensor;Cluster resolution Y coordinate [cm]'),
0048 xmin = cms.double(-5),
0049 switch = cms.bool(True),
0050 xmax = cms.double(5),
0051 NxBins = cms.int32(100)
0052 ),
0053 Delta_X_Strip_Primary = cms.PSet(
0054 name = cms.string('Delta_X_Strip_Primary'),
0055 title = cms.string('#Delta X strip sensor;Cluster resolution X coordinate [#mum]'),
0056 switch = cms.bool(True),
0057 xmin = cms.double(-250),
0058 xmax = cms.double(250),
0059 NxBins = cms.int32(100)
0060 ),
0061 Delta_Y_Strip_Primary = cms.PSet(
0062 name = cms.string('Delta_Y_Strip_Primary'),
0063 title = cms.string('#Delta Y strip sensor;Cluster resolution Y coordinate [cm]'),
0064 xmin = cms.double(-5),
0065 switch = cms.bool(True),
0066 xmax = cms.double(5),
0067 NxBins = cms.int32(100)
0068 ),
0069 TopFolderName = cms.string('TrackerPhase2OTClusterV'),
0070 ClusterSource = cms.InputTag('siPhase2Clusters'),
0071 OuterTrackerDigiSimLinkSource = cms.InputTag('simSiPixelDigis', 'Tracker'),
0072 simtracks = cms.InputTag('g4SimHits'),
0073 SimTrackMinPt = cms.double(0),
0074 PSimHitSource = cms.VInputTag(
0075 'g4SimHits:TrackerHitsTIBLowTof',
0076 'g4SimHits:TrackerHitsTIBHighTof',
0077 'g4SimHits:TrackerHitsTIDLowTof',
0078 'g4SimHits:TrackerHitsTIDHighTof',
0079 'g4SimHits:TrackerHitsTOBLowTof',
0080 'g4SimHits:TrackerHitsTOBHighTof',
0081 'g4SimHits:TrackerHitsTECLowTof',
0082 'g4SimHits:TrackerHitsTECHighTof',
0083 'g4SimHits:TrackerHitsPixelBarrelLowTof',
0084 'g4SimHits:TrackerHitsPixelBarrelHighTof',
0085 'g4SimHits:TrackerHitsPixelEndcapLowTof',
0086 'g4SimHits:TrackerHitsPixelEndcapHighTof'
0087 ),
0088 mightGet = cms.optional.untracked.vstring
0089 )
0090 for k,v in kwargs.items():
0091 setattr(mod, k, v)
0092 return mod