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 Phase2OTValidateTrackingParticles(**kwargs):
0004   mod = cms.EDProducer('Phase2OTValidateTrackingParticles',
0005     TH1TrackParts_Eta = cms.PSet(
0006       Nbinsx = cms.int32(45),
0007       xmax = cms.double(3),
0008       xmin = cms.double(-3)
0009     ),
0010     TH1TrackParts_Phi = cms.PSet(
0011       Nbinsx = cms.int32(60),
0012       xmax = cms.double(3.1415926535897931),
0013       xmin = cms.double(-3.1415926535897931)
0014     ),
0015     TH1TrackParts_Pt = cms.PSet(
0016       Nbinsx = cms.int32(45),
0017       xmax = cms.double(100),
0018       xmin = cms.double(0)
0019     ),
0020     TH1Res_ptRel = cms.PSet(
0021       Nbinsx = cms.int32(200),
0022       xmax = cms.double(0.5),
0023       xmin = cms.double(-0.5)
0024     ),
0025     TH1Effic_pt = cms.PSet(
0026       Nbinsx = cms.int32(50),
0027       xmax = cms.double(100),
0028       xmin = cms.double(0)
0029     ),
0030     TH1Effic_pt_zoom = cms.PSet(
0031       Nbinsx = cms.int32(50),
0032       xmax = cms.double(10),
0033       xmin = cms.double(0)
0034     ),
0035     TH1Effic_eta = cms.PSet(
0036       Nbinsx = cms.int32(50),
0037       xmax = cms.double(2.5),
0038       xmin = cms.double(-2.5)
0039     ),
0040     TH1Effic_d0 = cms.PSet(
0041       Nbinsx = cms.int32(50),
0042       xmax = cms.double(2),
0043       xmin = cms.double(-2)
0044     ),
0045     TH1Effic_VtxR = cms.PSet(
0046       Nbinsx = cms.int32(50),
0047       xmax = cms.double(5),
0048       xmin = cms.double(-5)
0049     ),
0050     TH1Effic_VtxZ = cms.PSet(
0051       Nbinsx = cms.int32(50),
0052       xmax = cms.double(30),
0053       xmin = cms.double(-30)
0054     ),
0055     TH1Res_pt = cms.PSet(
0056       Nbinsx = cms.int32(100),
0057       xmax = cms.double(0.2),
0058       xmin = cms.double(-0.2)
0059     ),
0060     TH1Res_eta = cms.PSet(
0061       Nbinsx = cms.int32(100),
0062       xmax = cms.double(0.01),
0063       xmin = cms.double(-0.01)
0064     ),
0065     TH1Res_phi = cms.PSet(
0066       Nbinsx = cms.int32(100),
0067       xmax = cms.double(0.01),
0068       xmin = cms.double(-0.01)
0069     ),
0070     TH1Res_VtxZ = cms.PSet(
0071       Nbinsx = cms.int32(100),
0072       xmax = cms.double(1),
0073       xmin = cms.double(-1)
0074     ),
0075     TH1Res_d0 = cms.PSet(
0076       Nbinsx = cms.int32(100),
0077       xmax = cms.double(0.05),
0078       xmin = cms.double(-0.05)
0079     ),
0080     TopFolderName = cms.string('TrackerPhase2OTL1TrackV'),
0081     trackingParticleToken = cms.InputTag('mix', 'MergedTrackTruth'),
0082     MCTruthStubInputTag = cms.InputTag('TTStubAssociatorFromPixelDigis', 'StubAccepted'),
0083     MCTruthTrackInputTag = cms.InputTag('TTTrackAssociatorFromPixelDigis', 'Level1TTTracks'),
0084     MCTruthClusterInputTag = cms.InputTag('TTClusterAssociatorFromPixelDigis', 'ClusterAccepted'),
0085     L1Tk_minNStub = cms.int32(4),
0086     L1Tk_maxChi2dof = cms.double(25),
0087     TP_minNStub = cms.int32(4),
0088     TP_minNLayersStub = cms.int32(4),
0089     TP_minPt = cms.double(2),
0090     TP_maxEta = cms.double(2.4),
0091     TP_maxVtxZ = cms.double(15),
0092     mightGet = cms.optional.untracked.vstring
0093   )
0094   for k,v in kwargs.items():
0095     setattr(mod, k, v)
0096   return mod