Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-08-27 22:59:30

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PPSFilteredProtonProducer(**kwargs):
0004   mod = cms.EDProducer('PPSFilteredProtonProducer',
0005     verbosity = cms.untracked.bool(False),
0006     tracks_all = cms.PSet(
0007       local_angle_x_max = cms.double(0.02),
0008       local_angle_y_max = cms.double(0.02)
0009     ),
0010     tracks_pixel = cms.PSet(
0011       forbidden_RecoInfo_values = cms.vuint32(
0012         1,
0013         3
0014       ),
0015       number_of_hits_min = cms.uint32(0),
0016       normalised_chi_sq_max = cms.double(1e+100)
0017     ),
0018     protons_single_rp = cms.PSet(
0019       include = cms.bool(True),
0020       input_tag = cms.InputTag('ctppsProtons', 'singleRP'),
0021       output_label = cms.string('singleRP')
0022     ),
0023     protons_multi_rp = cms.PSet(
0024       include = cms.bool(True),
0025       input_tag = cms.InputTag('ctppsProtons', 'multiRP'),
0026       output_label = cms.string('multiRP'),
0027       check_valid_fit = cms.bool(True),
0028       chi_sq_max = cms.double(0.0001),
0029       normalised_chi_sq_max = cms.double(1e+100)
0030     ),
0031     mightGet = cms.optional.untracked.vstring
0032   )
0033   for k,v in kwargs.items():
0034     setattr(mod, k, v)
0035   return mod