File indexing completed on 2024-08-27 22:58:55
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def EopTreeWriter(**kwargs):
0004 mod = cms.EDAnalyzer('EopTreeWriter',
0005 src = cms.InputTag('generalTracks'),
0006 TrackAssociatorParameters = cms.PSet(
0007 accountForTrajectoryChangeCalo = cms.bool(False),
0008 propagateAllDirections = cms.bool(True),
0009 truthMatch = cms.bool(False),
0010 useCalo = cms.bool(False),
0011 useEcal = cms.bool(True),
0012 useGEM = cms.bool(False),
0013 useHO = cms.bool(True),
0014 useHcal = cms.bool(True),
0015 useME0 = cms.bool(False),
0016 useMuon = cms.bool(True),
0017 usePreshower = cms.bool(False),
0018 preselectMuonTracks = cms.bool(False),
0019 dREcal = cms.double(9999),
0020 dREcalPreselection = cms.double(0.05),
0021 dRHcal = cms.double(9999),
0022 dRHcalPreselection = cms.double(0.2),
0023 dRMuon = cms.double(9999),
0024 dRMuonPreselection = cms.double(0.2),
0025 dRPreshowerPreselection = cms.double(0.2),
0026 muonMaxDistanceSigmaX = cms.double(0),
0027 muonMaxDistanceSigmaY = cms.double(0),
0028 muonMaxDistanceX = cms.double(5),
0029 muonMaxDistanceY = cms.double(5),
0030 trajectoryUncertaintyTolerance = cms.double(-1),
0031 CSCSegmentCollectionLabel = cms.InputTag('cscSegments'),
0032 CaloTowerCollectionLabel = cms.InputTag('towerMaker'),
0033 DTRecSegment4DCollectionLabel = cms.InputTag('dt4DSegments'),
0034 EBRecHitCollectionLabel = cms.InputTag('ecalRecHit', 'EcalRecHitsEB'),
0035 EERecHitCollectionLabel = cms.InputTag('ecalRecHit', 'EcalRecHitsEE'),
0036 GEMSegmentCollectionLabel = cms.InputTag('gemSegments'),
0037 HBHERecHitCollectionLabel = cms.InputTag('hbreco'),
0038 HORecHitCollectionLabel = cms.InputTag('horeco'),
0039 ME0SegmentCollectionLabel = cms.InputTag('me0Segments'),
0040 RPCHitCollectionLabel = cms.InputTag('rpcRecHits'),
0041 GEMHitCollectionLabel = cms.InputTag('gemRecHits'),
0042 ME0HitCollectionLabel = cms.InputTag('me0RecHits')
0043 ),
0044 mightGet = cms.optional.untracked.vstring
0045 )
0046 for k,v in kwargs.items():
0047 setattr(mod, k, v)
0048 return mod