File indexing completed on 2025-02-07 14:23:42
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def Phase2ITMonitorCluster(*args, **kwargs):
0004 mod = cms.EDProducer('Phase2ITMonitorCluster',
0005 GlobalNClusters = cms.PSet(
0006 name = cms.string('NumberOfClusters'),
0007 title = cms.string('NumberClusters;Number of Clusters;'),
0008 xmin = cms.double(0),
0009 switch = cms.bool(True),
0010 xmax = cms.double(300000),
0011 NxBins = cms.int32(150)
0012 ),
0013 GlobalPositionRZ_PXB = cms.PSet(
0014 name = cms.string('Global_Position_RZ_IT_barrel'),
0015 title = cms.string('Global_Position_RZ_IT_barrel;z [mm];r [mm]'),
0016 ymax = cms.double(300),
0017 NxBins = cms.int32(1500),
0018 NyBins = cms.int32(300),
0019 switch = cms.bool(True),
0020 xmax = cms.double(3000),
0021 xmin = cms.double(-3000),
0022 ymin = cms.double(0)
0023 ),
0024 GlobalPositionXY_PXB = cms.PSet(
0025 name = cms.string('Global_Position_XY_IT_barrel'),
0026 title = cms.string('Global_Position_XY_IT_barrel;x [mm];y [mm];'),
0027 ymax = cms.double(300),
0028 NxBins = cms.int32(600),
0029 NyBins = cms.int32(600),
0030 switch = cms.bool(True),
0031 xmax = cms.double(300),
0032 xmin = cms.double(-300),
0033 ymin = cms.double(-300)
0034 ),
0035 GlobalPositionRZ_PXEC = cms.PSet(
0036 name = cms.string('Global_Position_RZ_IT_endcap'),
0037 title = cms.string('Global_Position_RZ_IT_endcap;z [mm];r [mm]'),
0038 ymax = cms.double(300),
0039 NxBins = cms.int32(1500),
0040 NyBins = cms.int32(300),
0041 switch = cms.bool(True),
0042 xmax = cms.double(3000),
0043 xmin = cms.double(-3000),
0044 ymin = cms.double(0)
0045 ),
0046 GlobalPositionXY_PXEC = cms.PSet(
0047 name = cms.string('Global_Position_XY_IT_endcap'),
0048 title = cms.string('Global_Position_XY_IT_endcap; x [mm]; y [mm]'),
0049 ymax = cms.double(300),
0050 NxBins = cms.int32(600),
0051 NyBins = cms.int32(600),
0052 switch = cms.bool(True),
0053 xmax = cms.double(300),
0054 xmin = cms.double(-300),
0055 ymin = cms.double(-300)
0056 ),
0057 NClustersLayer = cms.PSet(
0058 name = cms.string('NumberOfClustersLayer'),
0059 title = cms.string('NumberOfClutsers;Number of Clusters;'),
0060 xmin = cms.double(0),
0061 switch = cms.bool(True),
0062 xmax = cms.double(20000),
0063 NxBins = cms.int32(150)
0064 ),
0065 ClusterCharge = cms.PSet(
0066 name = cms.string('ClusterCharge'),
0067 title = cms.string(';Cluster charge;'),
0068 xmin = cms.double(0),
0069 switch = cms.bool(True),
0070 xmax = cms.double(100000),
0071 NxBins = cms.int32(100)
0072 ),
0073 ClusterSize = cms.PSet(
0074 name = cms.string('ClusterSize'),
0075 title = cms.string(';Cluster size;'),
0076 xmin = cms.double(-0.5),
0077 xmax = cms.double(30.5),
0078 NxBins = cms.int32(31),
0079 switch = cms.bool(True)
0080 ),
0081 ClusterSizeY = cms.PSet(
0082 name = cms.string('ClusterSizeY'),
0083 title = cms.string(';Cluster sizeY;'),
0084 xmin = cms.double(-0.5),
0085 switch = cms.bool(True),
0086 xmax = cms.double(30.5),
0087 NxBins = cms.int32(31)
0088 ),
0089 ClusterSizeX = cms.PSet(
0090 name = cms.string('ClusterSizeX'),
0091 title = cms.string(';Cluster sizeX;'),
0092 xmin = cms.double(-0.5),
0093 switch = cms.bool(True),
0094 xmax = cms.double(30.5),
0095 NxBins = cms.int32(31)
0096 ),
0097 LocalPositionXY = cms.PSet(
0098 name = cms.string('Local_ClusterPosition_XY'),
0099 title = cms.string('Local_ClusterPosition_XY; x; y'),
0100 ymax = cms.double(0),
0101 NxBins = cms.int32(500),
0102 NyBins = cms.int32(500),
0103 switch = cms.bool(True),
0104 xmax = cms.double(0),
0105 xmin = cms.double(0),
0106 ymin = cms.double(0)
0107 ),
0108 GlobalPositionXY_perlayer = cms.PSet(
0109 name = cms.string('GlobalPositionXY_perlayer'),
0110 title = cms.string('GlobalClusterPositionXY_perlayer;x [mm];y [mm];'),
0111 ymax = cms.double(300),
0112 NxBins = cms.int32(600),
0113 NyBins = cms.int32(600),
0114 switch = cms.bool(False),
0115 xmax = cms.double(300),
0116 xmin = cms.double(-300),
0117 ymin = cms.double(-300)
0118 ),
0119 TopFolderName = cms.string('TrackerPhase2ITCluster'),
0120 InnerPixelClusterSource = cms.InputTag('siPixelClusters'),
0121 mightGet = cms.optional.untracked.vstring
0122 )
0123 for a in args:
0124 mod.update_(a)
0125 mod.update_(kwargs)
0126 return mod