Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:00:20

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def Phase2OTMonitorTTStub(**kwargs):
0004   mod = cms.EDProducer('Phase2OTMonitorTTStub',
0005     TH2TTStub_Position = cms.PSet(
0006       Nbinsx = cms.int32(960),
0007       xmax = cms.double(120),
0008       xmin = cms.double(-120),
0009       Nbinsy = cms.int32(960),
0010       ymax = cms.double(120),
0011       ymin = cms.double(-120)
0012     ),
0013     TH2TTStub_RZ = cms.PSet(
0014       Nbinsx = cms.int32(900),
0015       xmax = cms.double(300),
0016       xmin = cms.double(-300),
0017       Nbinsy = cms.int32(900),
0018       ymax = cms.double(120),
0019       ymin = cms.double(0)
0020     ),
0021     TH1TTStub_Eta = cms.PSet(
0022       Nbinsx = cms.int32(45),
0023       xmin = cms.double(-5),
0024       xmax = cms.double(5)
0025     ),
0026     TH1TTStub_Phi = cms.PSet(
0027       Nbinsx = cms.int32(60),
0028       xmin = cms.double(-3.5),
0029       xmax = cms.double(3.5)
0030     ),
0031     TH1TTStub_R = cms.PSet(
0032       Nbinsx = cms.int32(45),
0033       xmin = cms.double(0),
0034       xmax = cms.double(120)
0035     ),
0036     TH1TTStub_bend = cms.PSet(
0037       Nbinsx = cms.int32(69),
0038       xmin = cms.double(-8.625),
0039       xmax = cms.double(8.625)
0040     ),
0041     TH1TTStub_isPS = cms.PSet(
0042       Nbinsx = cms.int32(2),
0043       xmin = cms.double(0),
0044       xmax = cms.double(2)
0045     ),
0046     TH1TTStub_Layers = cms.PSet(
0047       Nbinsx = cms.int32(7),
0048       xmin = cms.double(0.5),
0049       xmax = cms.double(7.5)
0050     ),
0051     TH1TTStub_Discs = cms.PSet(
0052       Nbinsx = cms.int32(6),
0053       xmin = cms.double(0.5),
0054       xmax = cms.double(6.5)
0055     ),
0056     TH1TTStub_Rings = cms.PSet(
0057       Nbinsx = cms.int32(16),
0058       xmin = cms.double(0.5),
0059       xmax = cms.double(16.5)
0060     ),
0061     TH2TTStub_DisOf_Layer = cms.PSet(
0062       Nbinsx = cms.int32(6),
0063       xmax = cms.double(6.5),
0064       xmin = cms.double(0.5),
0065       Nbinsy = cms.int32(43),
0066       ymax = cms.double(10.75),
0067       ymin = cms.double(-10.75)
0068     ),
0069     TH2TTStub_DisOf_Disc = cms.PSet(
0070       Nbinsx = cms.int32(5),
0071       xmax = cms.double(5.5),
0072       xmin = cms.double(0.5),
0073       Nbinsy = cms.int32(43),
0074       ymax = cms.double(10.75),
0075       ymin = cms.double(-10.75)
0076     ),
0077     TH2TTStub_DisOf_Ring = cms.PSet(
0078       Nbinsx = cms.int32(16),
0079       xmax = cms.double(16.5),
0080       xmin = cms.double(0.5),
0081       Nbinsy = cms.int32(43),
0082       ymax = cms.double(10.75),
0083       ymin = cms.double(-10.75)
0084     ),
0085     TopFolderName = cms.string('TrackerPhase2OTStub'),
0086     TTStubs = cms.InputTag('TTStubsFromPhase2TrackerDigis', 'StubAccepted'),
0087     mightGet = cms.optional.untracked.vstring
0088   )
0089   for k,v in kwargs.items():
0090     setattr(mod, k, v)
0091   return mod