File indexing completed on 2024-08-27 22:58:57
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def HcalIsoTrackAnalysis(**kwargs):
0004 mod = cms.EDAnalyzer('HcalIsoTrackAnalysis',
0005 trackQuality = cms.string('highPurity'),
0006 minTrackPt = cms.double(1),
0007 maxDxyPV = cms.vdouble(
0008 0.02,
0009 0.01,
0010 0.05,
0011 0.1
0012 ),
0013 maxDzPV = cms.vdouble(
0014 0.02,
0015 0.01,
0016 0.04,
0017 0.5
0018 ),
0019 maxChi2 = cms.vdouble(
0020 5,
0021 2,
0022 10,
0023 20
0024 ),
0025 maxDpOverP = cms.vdouble(
0026 0.1,
0027 0.02,
0028 0.05,
0029 0.4
0030 ),
0031 minOuterHit = cms.vint32(
0032 4,
0033 2,
0034 1,
0035 0
0036 ),
0037 minLayerCrossed = cms.vint32(
0038 8,
0039 4,
0040 2,
0041 0
0042 ),
0043 maxInMiss = cms.vint32(
0044 0,
0045 1,
0046 2,
0047 4
0048 ),
0049 maxOutMiss = cms.vint32(
0050 0,
0051 1,
0052 2,
0053 4
0054 ),
0055 coneRadius = cms.double(34.98),
0056 coneRadiusMIP = cms.double(14),
0057 EBHitEnergyThreshold = cms.double(0.08),
0058 EEHitEnergyThreshold0 = cms.double(0.3),
0059 EEHitEnergyThreshold1 = cms.double(0),
0060 EEHitEnergyThreshold2 = cms.double(0),
0061 EEHitEnergyThreshold3 = cms.double(0),
0062 EEHitEnergyThresholdLow = cms.double(0.3),
0063 EEHitEnergyThresholdHigh = cms.double(0.3),
0064 momentumLow = cms.double(40),
0065 momentumHigh = cms.double(60),
0066 labelTrack = cms.string('generalTracks'),
0067 labelVertex = cms.string('offlinePrimaryVertices'),
0068 labelEBRecHit = cms.string('EcalRecHitsEB'),
0069 labelEERecHit = cms.string('EcalRecHitsEE'),
0070 labelHBHERecHit = cms.string('hbhereco'),
0071 labelBeamSpot = cms.string('offlineBeamSpot'),
0072 useRaw = cms.untracked.int32(0),
0073 dataType = cms.untracked.int32(0),
0074 etaMin = cms.untracked.int32(-1),
0075 etaMax = cms.untracked.int32(10),
0076 usePFThreshold = cms.bool(True),
0077 mightGet = cms.optional.untracked.vstring
0078 )
0079 for k,v in kwargs.items():
0080 setattr(mod, k, v)
0081 return mod