Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:01:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def Phase2OTValidateTrackingRecHit(**kwargs):
0004   mod = cms.EDProducer('Phase2OTValidateTrackingRecHit',
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(-500),
0034       xmax = cms.double(500),
0035       NxBins = cms.int32(100)
0036     ),
0037     Delta_X_vs_eta_Pixel = cms.PSet(
0038       name = cms.string('Delta_X_vs_Eta_Pixel'),
0039       title = cms.string(';|#eta|;#Delta x [#mum]'),
0040       NyBins = cms.int32(250),
0041       ymin = cms.double(-250),
0042       ymax = cms.double(250),
0043       NxBins = cms.int32(41),
0044       switch = cms.bool(True),
0045       xmax = cms.double(4.1),
0046       xmin = cms.double(0)
0047     ),
0048     Delta_Y_vs_eta_Pixel = cms.PSet(
0049       name = cms.string('Delta_Y_vs_Eta_Pixel'),
0050       title = cms.string(';|#eta|;#Delta y [#mum]'),
0051       NyBins = cms.int32(300),
0052       ymin = cms.double(-1500),
0053       ymax = cms.double(1500),
0054       NxBins = cms.int32(41),
0055       switch = cms.bool(True),
0056       xmax = cms.double(4.1),
0057       xmin = cms.double(0)
0058     ),
0059     Delta_X_vs_phi_Pixel = cms.PSet(
0060       name = cms.string('Delta_X_vs_Phi_Pixel'),
0061       title = cms.string(';#phi;#Delta x [#mum]'),
0062       NyBins = cms.int32(250),
0063       ymin = cms.double(-250),
0064       ymax = cms.double(250),
0065       NxBins = cms.int32(36),
0066       switch = cms.bool(True),
0067       xmax = cms.double(3.1415926535897931),
0068       xmin = cms.double(-3.1415926535897931)
0069     ),
0070     Delta_Y_vs_phi_Pixel = cms.PSet(
0071       name = cms.string('Delta_Y_vs_Phi_Pixel'),
0072       title = cms.string(';#phi;#Delta y [#mum]'),
0073       NyBins = cms.int32(300),
0074       ymin = cms.double(-1500),
0075       ymax = cms.double(1500),
0076       NxBins = cms.int32(35),
0077       switch = cms.bool(True),
0078       xmax = cms.double(3.1415926535897931),
0079       xmin = cms.double(-3.1415926535897931)
0080     ),
0081     Pull_X_Pixel = cms.PSet(
0082       name = cms.string('Pull_X_Pixel'),
0083       title = cms.string(';pull x;'),
0084       xmin = cms.double(-4),
0085       switch = cms.bool(True),
0086       xmax = cms.double(4),
0087       NxBins = cms.int32(100)
0088     ),
0089     Pull_Y_Pixel = cms.PSet(
0090       name = cms.string('Pull_Y_Pixel'),
0091       title = cms.string(';pull y;'),
0092       xmin = cms.double(-4),
0093       switch = cms.bool(True),
0094       xmax = cms.double(4),
0095       NxBins = cms.int32(100)
0096     ),
0097     Pull_X_Pixel_Primary = cms.PSet(
0098       name = cms.string('Pull_X_Pixel_Primary'),
0099       title = cms.string(';pull x;'),
0100       xmin = cms.double(-4),
0101       switch = cms.bool(True),
0102       xmax = cms.double(4),
0103       NxBins = cms.int32(100)
0104     ),
0105     Pull_Y_Pixel_Primary = cms.PSet(
0106       name = cms.string('Pull_Y_Pixel_Primary'),
0107       title = cms.string(';pull y;'),
0108       xmin = cms.double(-4),
0109       switch = cms.bool(True),
0110       xmax = cms.double(4),
0111       NxBins = cms.int32(100)
0112     ),
0113     Pull_X_vs_eta_Pixel = cms.PSet(
0114       name = cms.string('Pull_X_vs_Eta'),
0115       title = cms.string(';#eta;pull x'),
0116       ymax = cms.double(4),
0117       NxBins = cms.int32(82),
0118       switch = cms.bool(True),
0119       xmax = cms.double(4.1),
0120       xmin = cms.double(-4.1),
0121       ymin = cms.double(-4)
0122     ),
0123     Pull_Y_vs_eta_Pixel = cms.PSet(
0124       name = cms.string('Pull_Y_vs_Eta'),
0125       title = cms.string(';#eta;pull y'),
0126       ymax = cms.double(4),
0127       NxBins = cms.int32(82),
0128       switch = cms.bool(True),
0129       xmax = cms.double(4.1),
0130       xmin = cms.double(-4.1),
0131       ymin = cms.double(-4)
0132     ),
0133     nRecHits_Pixel_primary = cms.PSet(
0134       name = cms.string('Number_RecHits_matched_PrimarySimTrack'),
0135       title = cms.string('Number of RecHits matched to primary SimTrack;;'),
0136       xmin = cms.double(0),
0137       switch = cms.bool(True),
0138       xmax = cms.double(10000),
0139       NxBins = cms.int32(100)
0140     ),
0141     Delta_X_Strip = cms.PSet(
0142       name = cms.string('Delta_X_Strip'),
0143       title = cms.string('#Delta X strip sensor;Cluster resolution X coordinate [#mum]'),
0144       switch = cms.bool(True),
0145       xmin = cms.double(-250),
0146       xmax = cms.double(250),
0147       NxBins = cms.int32(100)
0148     ),
0149     Delta_Y_Strip = cms.PSet(
0150       name = cms.string('Delta_Y_Strip'),
0151       title = cms.string('#Delta Y strip sensor;Cluster resolution Y coordinate [cm]'),
0152       xmin = cms.double(-5),
0153       switch = cms.bool(True),
0154       xmax = cms.double(5),
0155       NxBins = cms.int32(100)
0156     ),
0157     Delta_X_Strip_Primary = cms.PSet(
0158       name = cms.string('Delta_X_Strip_Primary'),
0159       title = cms.string('#Delta X strip sensor;Cluster resolution X coordinate [#mum]'),
0160       switch = cms.bool(True),
0161       xmin = cms.double(-250),
0162       xmax = cms.double(250),
0163       NxBins = cms.int32(100)
0164     ),
0165     Delta_Y_Strip_Primary = cms.PSet(
0166       name = cms.string('Delta_Y_Strip_Primary'),
0167       title = cms.string('#Delta Y strip sensor;Cluster resolution Y coordinate [cm]'),
0168       xmin = cms.double(-5),
0169       switch = cms.bool(True),
0170       xmax = cms.double(5),
0171       NxBins = cms.int32(100)
0172     ),
0173     Delta_X_vs_eta_Strip = cms.PSet(
0174       name = cms.string('Delta_X_vs_Eta_Strip'),
0175       title = cms.string(';|#eta|;#Delta x [#mum]'),
0176       NyBins = cms.int32(250),
0177       ymin = cms.double(-250),
0178       ymax = cms.double(250),
0179       NxBins = cms.int32(41),
0180       switch = cms.bool(True),
0181       xmax = cms.double(4.1),
0182       xmin = cms.double(0)
0183     ),
0184     Delta_Y_vs_eta_Strip = cms.PSet(
0185       name = cms.string('Delta_Y_vs_Eta_Strip'),
0186       title = cms.string(';|#eta|;#Delta y [cm]'),
0187       NyBins = cms.int32(100),
0188       ymin = cms.double(-5),
0189       ymax = cms.double(5),
0190       NxBins = cms.int32(41),
0191       switch = cms.bool(True),
0192       xmax = cms.double(4.1),
0193       xmin = cms.double(0)
0194     ),
0195     Delta_X_vs_phi_Strip = cms.PSet(
0196       name = cms.string('Delta_X_vs_Phi_Strip'),
0197       title = cms.string(';#phi;#Delta x [#mum]'),
0198       NyBins = cms.int32(250),
0199       ymin = cms.double(-250),
0200       ymax = cms.double(250),
0201       NxBins = cms.int32(36),
0202       switch = cms.bool(True),
0203       xmax = cms.double(3.1415926535897931),
0204       xmin = cms.double(-3.1415926535897931)
0205     ),
0206     Delta_Y_vs_phi_Strip = cms.PSet(
0207       name = cms.string('Delta_Y_vs_Phi_Strip'),
0208       title = cms.string(';#phi;#Delta y [cm]'),
0209       NyBins = cms.int32(100),
0210       ymin = cms.double(-5),
0211       ymax = cms.double(5),
0212       NxBins = cms.int32(36),
0213       switch = cms.bool(True),
0214       xmax = cms.double(3.1415926535897931),
0215       xmin = cms.double(-3.1415926535897931)
0216     ),
0217     Pull_X_Strip = cms.PSet(
0218       name = cms.string('Pull_X_Strip'),
0219       title = cms.string(';pull x;'),
0220       xmin = cms.double(-4),
0221       switch = cms.bool(True),
0222       xmax = cms.double(4),
0223       NxBins = cms.int32(100)
0224     ),
0225     Pull_Y_Strip = cms.PSet(
0226       name = cms.string('Pull_Y_Strip'),
0227       title = cms.string(';pull y;'),
0228       xmin = cms.double(-4),
0229       switch = cms.bool(True),
0230       xmax = cms.double(4),
0231       NxBins = cms.int32(100)
0232     ),
0233     Pull_X_Strip_Primary = cms.PSet(
0234       name = cms.string('Pull_X_Strip_Primary'),
0235       title = cms.string(';pull x;'),
0236       xmin = cms.double(-4),
0237       switch = cms.bool(True),
0238       xmax = cms.double(4),
0239       NxBins = cms.int32(100)
0240     ),
0241     Pull_Y_Strip_Primary = cms.PSet(
0242       name = cms.string('Pull_Y_Strip_Primary'),
0243       title = cms.string(';pull y;'),
0244       xmin = cms.double(-4),
0245       switch = cms.bool(True),
0246       xmax = cms.double(4),
0247       NxBins = cms.int32(100)
0248     ),
0249     Pull_X_vs_eta_Strip = cms.PSet(
0250       name = cms.string('Pull_X_vs_Eta_Strip'),
0251       title = cms.string(';#eta;pull x'),
0252       ymax = cms.double(4),
0253       NxBins = cms.int32(82),
0254       switch = cms.bool(True),
0255       xmax = cms.double(4.1),
0256       xmin = cms.double(-4.1),
0257       ymin = cms.double(-4)
0258     ),
0259     Pull_Y_vs_eta_Strip = cms.PSet(
0260       name = cms.string('Pull_Y_vs_Eta_Strip'),
0261       title = cms.string(';#eta;pull y'),
0262       ymax = cms.double(4),
0263       NxBins = cms.int32(82),
0264       switch = cms.bool(True),
0265       xmax = cms.double(4.1),
0266       xmin = cms.double(-4.1),
0267       ymin = cms.double(-4)
0268     ),
0269     nRecHits_Strip_primary = cms.PSet(
0270       name = cms.string('Number_RecHits_matched_PrimarySimTrack'),
0271       title = cms.string('Number of RecHits matched to primary SimTrack;;'),
0272       xmin = cms.double(0),
0273       switch = cms.bool(True),
0274       xmax = cms.double(10000),
0275       NxBins = cms.int32(100)
0276     ),
0277     SimVertexSource = cms.InputTag('g4SimHits'),
0278     associatePixel = cms.bool(False),
0279     associateHitbySimTrack = cms.bool(True),
0280     Verbosity = cms.bool(False),
0281     associateStrip = cms.bool(True),
0282     phase2TrackerSimLinkSrc = cms.InputTag('simSiPixelDigis', 'Tracker'),
0283     associateRecoTracks = cms.bool(False),
0284     pixelSimLinkSrc = cms.InputTag('simSiPixelDigis', 'Pixel'),
0285     usePhase2Tracker = cms.bool(True),
0286     rechitsSrc = cms.InputTag('siPhase2RecHits'),
0287     simTracksSrc = cms.InputTag('g4SimHits'),
0288     SimTrackMinPt = cms.double(2),
0289     PSimHitSource = cms.VInputTag(
0290       'g4SimHits:TrackerHitsTIBLowTof',
0291       'g4SimHits:TrackerHitsTIBHighTof',
0292       'g4SimHits:TrackerHitsTIDLowTof',
0293       'g4SimHits:TrackerHitsTIDHighTof',
0294       'g4SimHits:TrackerHitsTOBLowTof',
0295       'g4SimHits:TrackerHitsTOBHighTof',
0296       'g4SimHits:TrackerHitsTECLowTof',
0297       'g4SimHits:TrackerHitsTECHighTof',
0298       'g4SimHits:TrackerHitsPixelBarrelLowTof',
0299       'g4SimHits:TrackerHitsPixelBarrelHighTof',
0300       'g4SimHits:TrackerHitsPixelEndcapLowTof',
0301       'g4SimHits:TrackerHitsPixelEndcapHighTof'
0302     ),
0303     ROUList = cms.vstring(
0304       'TrackerHitsPixelBarrelLowTof',
0305       'TrackerHitsPixelBarrelHighTof',
0306       'TrackerHitsTIBLowTof',
0307       'TrackerHitsTIBHighTof',
0308       'TrackerHitsTIDLowTof',
0309       'TrackerHitsTIDHighTof',
0310       'TrackerHitsTOBLowTof',
0311       'TrackerHitsTOBHighTof',
0312       'TrackerHitsPixelEndcapLowTof',
0313       'TrackerHitsPixelEndcapHighTof',
0314       'TrackerHitsTECLowTof',
0315       'TrackerHitsTECHighTof'
0316     ),
0317     tracksSrc = cms.InputTag('generalTracks'),
0318     TopFolderName = cms.string('TrackerPhase2OTTrackingRecHitV'),
0319     mightGet = cms.optional.untracked.vstring
0320   )
0321   for k,v in kwargs.items():
0322     setattr(mod, k, v)
0323   return mod