Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-02-07 14:24:06

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def CaloTowersCreator(*args, **kwargs):
0004   mod = cms.EDProducer('CaloTowersCreator',
0005     EBSumThreshold = cms.double(0.2),
0006     HF2Weight = cms.double(1),
0007     EBWeight = cms.double(1),
0008     EESumThreshold = cms.double(0.45),
0009     HOThreshold0 = cms.double(1.1),
0010     HOThresholdPlus1 = cms.double(3.5),
0011     HOThresholdMinus1 = cms.double(3.5),
0012     HOThresholdPlus2 = cms.double(3.5),
0013     HOThresholdMinus2 = cms.double(3.5),
0014     HBThreshold = cms.double(0.7),
0015     HBThreshold1 = cms.double(0.7),
0016     HBThreshold2 = cms.double(0.7),
0017     HF1Threshold = cms.double(0.5),
0018     HEDWeight = cms.double(1),
0019     EEWeight = cms.double(1),
0020     HESWeight = cms.double(1),
0021     HF1Weight = cms.double(1),
0022     HOWeight = cms.double(1),
0023     EBThreshold = cms.double(0.07),
0024     EEThreshold = cms.double(0.3),
0025     HcalThreshold = cms.double(-1000),
0026     HF2Threshold = cms.double(0.85),
0027     HESThreshold = cms.double(0.8),
0028     HESThreshold1 = cms.double(0.8),
0029     HEDThreshold = cms.double(0.8),
0030     HEDThreshold1 = cms.double(0.8),
0031     EcutTower = cms.double(-1000),
0032     HBWeight = cms.double(1),
0033     MomHBDepth = cms.double(0.2),
0034     MomHEDepth = cms.double(0.4),
0035     MomEBDepth = cms.double(0.3),
0036     MomEEDepth = cms.double(0),
0037     UseHO = cms.bool(True),
0038     UseEtEBTreshold = cms.bool(False),
0039     UseSymEBTreshold = cms.bool(True),
0040     UseEtEETreshold = cms.bool(False),
0041     UseSymEETreshold = cms.bool(True),
0042     UseHcalRecoveredHits = cms.bool(True),
0043     UseEcalRecoveredHits = cms.bool(False),
0044     UseRejectedHitsOnly = cms.bool(False),
0045     UseRejectedRecoveredHcalHits = cms.bool(True),
0046     UseRejectedRecoveredEcalHits = cms.bool(False),
0047     missingHcalRescaleFactorForEcal = cms.double(0),
0048     AllowMissingInputs = cms.bool(False),
0049     HBGrid = cms.vdouble(
0050       -1,
0051       1,
0052       10,
0053       100,
0054       1000
0055     ),
0056     EEWeights = cms.vdouble(
0057       1,
0058       1,
0059       1,
0060       1,
0061       1
0062     ),
0063     HF2Weights = cms.vdouble(
0064       1,
0065       1,
0066       1,
0067       1,
0068       1
0069     ),
0070     HOWeights = cms.vdouble(
0071       1,
0072       1,
0073       1,
0074       1,
0075       1
0076     ),
0077     EEGrid = cms.vdouble(
0078       -1,
0079       1,
0080       10,
0081       100,
0082       1000
0083     ),
0084     HBWeights = cms.vdouble(
0085       1,
0086       1,
0087       1,
0088       1,
0089       1
0090     ),
0091     HF2Grid = cms.vdouble(
0092       -1,
0093       1,
0094       10,
0095       100,
0096       1000
0097     ),
0098     HEDWeights = cms.vdouble(
0099       1,
0100       1,
0101       1,
0102       1,
0103       1
0104     ),
0105     HF1Grid = cms.vdouble(
0106       -1,
0107       1,
0108       10,
0109       100,
0110       1000
0111     ),
0112     EBWeights = cms.vdouble(
0113       1,
0114       1,
0115       1,
0116       1,
0117       1
0118     ),
0119     HF1Weights = cms.vdouble(
0120       1,
0121       1,
0122       1,
0123       1,
0124       1
0125     ),
0126     HESGrid = cms.vdouble(
0127       -1,
0128       1,
0129       10,
0130       100,
0131       1000
0132     ),
0133     HESWeights = cms.vdouble(
0134       1,
0135       1,
0136       1,
0137       1,
0138       1
0139     ),
0140     HEDGrid = cms.vdouble(
0141       -1,
0142       1,
0143       10,
0144       100,
0145       1000
0146     ),
0147     HOGrid = cms.vdouble(
0148       -1,
0149       1,
0150       10,
0151       100,
0152       1000
0153     ),
0154     EBGrid = cms.vdouble(
0155       -1,
0156       1,
0157       10,
0158       100,
0159       1000
0160     ),
0161     hfInput = cms.InputTag('hfreco'),
0162     hbheInput = cms.InputTag('hbhereco'),
0163     hoInput = cms.InputTag('horeco'),
0164     ecalInputs = cms.VInputTag(
0165       'ecalRecHit:EcalRecHitsEB',
0166       'ecalRecHit:EcalRecHitsEE'
0167     ),
0168     MomConstrMethod = cms.int32(1),
0169     HcalAcceptSeverityLevel = cms.uint32(9),
0170     EcalRecHitSeveritiesToBeExcluded = cms.vstring(
0171       'kTime',
0172       'kWeird',
0173       'kBad'
0174     ),
0175     HcalAcceptSeverityLevelForRejectedHit = cms.uint32(9999),
0176     EcalSeveritiesToBeUsedInBadTowers = cms.vstring(),
0177     HcalPhase = cms.int32(0),
0178     usePFThresholdsFromDB = cms.bool(True),
0179     EcalRecHitThresh = cms.bool(False),
0180     mightGet = cms.optional.untracked.vstring
0181   )
0182   for a in args:
0183     mod.update_(a)
0184   mod.update_(kwargs)
0185   return mod