Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-20 03:45:01

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def MCMisalignmentScaler(*args, **kwargs):
0004   mod = cms.EDAnalyzer('MCMisalignmentScaler',
0005     scalers = cms.VPSet(
0006       cms.PSet(),
0007       template = cms.PSetTemplate(
0008         subDetector = cms.untracked.string('Tracker'),
0009         factor = cms.untracked.double(1)
0010       )
0011     ),
0012     pullBadModulesToIdeal = cms.untracked.bool(False),
0013     outlierPullToIdealCut = cms.untracked.double(-1),
0014     mightGet = cms.optional.untracked.vstring
0015   )
0016   for a in args:
0017     mod.update_(a)
0018   mod.update_(kwargs)
0019   return mod