Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-11-23 03:28:26

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def PFClusterTimeSelector(*args, **kwargs):
0004   mod = cms.EDProducer('PFClusterTimeSelector',
0005     src = cms.InputTag('particleFlowClusterECALWithTimeUncorrected'),
0006     cuts = cms.VPSet(
0007       cms.PSet(
0008         depth = cms.double(1),
0009         endcap = cms.bool(False),
0010         maxEnergy = cms.double(1),
0011         maxTime = cms.double(12),
0012         minEnergy = cms.double(0),
0013         minTime = cms.double(-12)
0014       ),
0015       cms.PSet(
0016         depth = cms.double(1),
0017         endcap = cms.bool(True),
0018         maxEnergy = cms.double(1),
0019         maxTime = cms.double(31.5),
0020         minEnergy = cms.double(0),
0021         minTime = cms.double(-31.5)
0022       ),
0023       cms.PSet(
0024         depth = cms.double(1),
0025         endcap = cms.bool(False),
0026         maxEnergy = cms.double(2),
0027         maxTime = cms.double(6),
0028         minEnergy = cms.double(1),
0029         minTime = cms.double(-6)
0030       ),
0031       cms.PSet(
0032         depth = cms.double(1),
0033         endcap = cms.bool(True),
0034         maxEnergy = cms.double(2),
0035         maxTime = cms.double(20.5),
0036         minEnergy = cms.double(1),
0037         minTime = cms.double(-20.5)
0038       ),
0039       cms.PSet(
0040         depth = cms.double(1),
0041         endcap = cms.bool(False),
0042         maxEnergy = cms.double(5),
0043         maxTime = cms.double(4),
0044         minEnergy = cms.double(2),
0045         minTime = cms.double(-4)
0046       ),
0047       cms.PSet(
0048         depth = cms.double(1),
0049         endcap = cms.bool(True),
0050         maxEnergy = cms.double(5),
0051         maxTime = cms.double(12),
0052         minEnergy = cms.double(2),
0053         minTime = cms.double(-12)
0054       ),
0055       cms.PSet(
0056         depth = cms.double(1),
0057         endcap = cms.bool(False),
0058         maxEnergy = cms.double(20),
0059         maxTime = cms.double(4),
0060         minEnergy = cms.double(5),
0061         minTime = cms.double(-4)
0062       ),
0063       cms.PSet(
0064         depth = cms.double(1),
0065         endcap = cms.bool(True),
0066         maxEnergy = cms.double(20),
0067         maxTime = cms.double(5),
0068         minEnergy = cms.double(5),
0069         minTime = cms.double(-5)
0070       ),
0071       cms.PSet(
0072         depth = cms.double(1),
0073         endcap = cms.bool(False),
0074         maxEnergy = cms.double(1e+24),
0075         maxTime = cms.double(4),
0076         minEnergy = cms.double(20),
0077         minTime = cms.double(-4)
0078       ),
0079       cms.PSet(
0080         depth = cms.double(1),
0081         endcap = cms.bool(True),
0082         maxEnergy = cms.double(1e+24),
0083         maxTime = cms.double(5),
0084         minEnergy = cms.double(20),
0085         minTime = cms.double(-5)
0086       )
0087     ),
0088     mightGet = cms.optional.untracked.vstring
0089   )
0090   for a in args:
0091     mod.update_(a)
0092   mod.update_(kwargs)
0093   return mod