Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 def HcalHitReconstructor(*args, **kwargs):
0004   mod = cms.EDProducer('HcalHitReconstructor',
0005     correctForTimeslew = cms.bool(False),
0006     correctForPhaseContainment = cms.bool(False),
0007     correctionPhaseNS = cms.double(13),
0008     digiLabel = cms.InputTag('hcalDigis'),
0009     correctTiming = cms.bool(True),
0010     dropZSmarkedPassed = cms.bool(True),
0011     firstAuxTS = cms.int32(1),
0012     firstSample = cms.int32(2),
0013     samplesToAdd = cms.int32(1),
0014     tsFromDB = cms.bool(True),
0015     useLeakCorrection = cms.bool(False),
0016     recoParamsFromDB = cms.bool(True),
0017     setNegativeFlags = cms.bool(False),
0018     saturationParameters = cms.PSet(
0019       maxADCvalue = cms.int32(127)
0020     ),
0021     setSaturationFlags = cms.bool(True),
0022     Subdetector = cms.string('HF'),
0023     digiTimeFromDB = cms.bool(False),
0024     hfTimingTrustParameters = cms.PSet(
0025       hfTimingTrustLevel1 = cms.int32(1),
0026       hfTimingTrustLevel2 = cms.int32(4)
0027     ),
0028     setTimingTrustFlags = cms.bool(True),
0029     setNoiseFlags = cms.bool(True),
0030     digistat = cms.PSet(
0031       HFdigiflagFirstSample = cms.int32(1),
0032       HFdigiflagSamplesToAdd = cms.int32(1),
0033       HFdigiflagExpectedPeak = cms.int32(2),
0034       HFdigiflagMinEthreshold = cms.double(40),
0035       HFdigiflagCoef = cms.vdouble(
0036         0.93,
0037         -0.38275,
0038         -0.012667
0039       )
0040     ),
0041     HFInWindowStat = cms.PSet(
0042       hflongMinWindowTime = cms.vdouble(-10),
0043       hflongMaxWindowTime = cms.vdouble(10),
0044       hflongEthresh = cms.double(40),
0045       hfshortMinWindowTime = cms.vdouble(-12),
0046       hfshortMaxWindowTime = cms.vdouble(10),
0047       hfshortEthresh = cms.double(40)
0048     ),
0049     S9S1stat = cms.PSet(
0050       short_optimumSlope = cms.vdouble(
0051         -99999,
0052         0.0164905,
0053         0.0238698,
0054         0.0321383,
0055         0.041296,
0056         0.0513428,
0057         0.0622789,
0058         0.0741041,
0059         0.0868186,
0060         0.100422,
0061         0.135313,
0062         0.136289,
0063         0.0589927
0064       ),
0065       shortEnergyParams = cms.vdouble(
0066         35.1773,
0067         35.37,
0068         35.7933,
0069         36.4472,
0070         37.3317,
0071         38.4468,
0072         39.7925,
0073         41.3688,
0074         43.1757,
0075         45.2132,
0076         47.4813,
0077         49.98,
0078         52.7093
0079       ),
0080       shortETParams = cms.vdouble(
0081         0,
0082         0,
0083         0,
0084         0,
0085         0,
0086         0,
0087         0,
0088         0,
0089         0,
0090         0,
0091         0,
0092         0,
0093         0
0094       ),
0095       long_optimumSlope = cms.vdouble(
0096         -99999,
0097         0.0164905,
0098         0.0238698,
0099         0.0321383,
0100         0.041296,
0101         0.0513428,
0102         0.0622789,
0103         0.0741041,
0104         0.0868186,
0105         0.100422,
0106         0.135313,
0107         0.136289,
0108         0.0589927
0109       ),
0110       longEnergyParams = cms.vdouble(
0111         43.5,
0112         45.7,
0113         48.32,
0114         51.36,
0115         54.82,
0116         58.7,
0117         63,
0118         67.72,
0119         72.86,
0120         78.42,
0121         84.4,
0122         90.8,
0123         97.62
0124       ),
0125       longETParams = cms.vdouble(
0126         0,
0127         0,
0128         0,
0129         0,
0130         0,
0131         0,
0132         0,
0133         0,
0134         0,
0135         0,
0136         0,
0137         0,
0138         0
0139       ),
0140       HcalAcceptSeverityLevel = cms.int32(9),
0141       isS8S1 = cms.bool(False)
0142     ),
0143     S8S1stat = cms.PSet(
0144       short_optimumSlope = cms.vdouble(
0145         0.3,
0146         0.1,
0147         0.1,
0148         0.1,
0149         0.1,
0150         0.1,
0151         0.1,
0152         0.1,
0153         0.1,
0154         0.1,
0155         0.1,
0156         0.1,
0157         0.1
0158       ),
0159       shortEnergyParams = cms.vdouble(
0160         40,
0161         100,
0162         100,
0163         100,
0164         100,
0165         100,
0166         100,
0167         100,
0168         100,
0169         100,
0170         100,
0171         100,
0172         100
0173       ),
0174       shortETParams = cms.vdouble(
0175         0,
0176         0,
0177         0,
0178         0,
0179         0,
0180         0,
0181         0,
0182         0,
0183         0,
0184         0,
0185         0,
0186         0,
0187         0
0188       ),
0189       long_optimumSlope = cms.vdouble(
0190         0.3,
0191         0.1,
0192         0.1,
0193         0.1,
0194         0.1,
0195         0.1,
0196         0.1,
0197         0.1,
0198         0.1,
0199         0.1,
0200         0.1,
0201         0.1,
0202         0.1
0203       ),
0204       longEnergyParams = cms.vdouble(
0205         40,
0206         100,
0207         100,
0208         100,
0209         100,
0210         100,
0211         100,
0212         100,
0213         100,
0214         100,
0215         100,
0216         100,
0217         100
0218       ),
0219       longETParams = cms.vdouble(
0220         0,
0221         0,
0222         0,
0223         0,
0224         0,
0225         0,
0226         0,
0227         0,
0228         0,
0229         0,
0230         0,
0231         0,
0232         0
0233       ),
0234       HcalAcceptSeverityLevel = cms.int32(9),
0235       isS8S1 = cms.bool(True)
0236     ),
0237     PETstat = cms.PSet(
0238       short_R = cms.vdouble(0.8),
0239       shortEnergyParams = cms.vdouble(
0240         35.1773,
0241         35.37,
0242         35.7933,
0243         36.4472,
0244         37.3317,
0245         38.4468,
0246         39.7925,
0247         41.3688,
0248         43.1757,
0249         45.2132,
0250         47.4813,
0251         49.98,
0252         52.7093
0253       ),
0254       shortETParams = cms.vdouble(
0255         0,
0256         0,
0257         0,
0258         0,
0259         0,
0260         0,
0261         0,
0262         0,
0263         0,
0264         0,
0265         0,
0266         0,
0267         0
0268       ),
0269       long_R = cms.vdouble(0.98),
0270       longEnergyParams = cms.vdouble(
0271         43.5,
0272         45.7,
0273         48.32,
0274         51.36,
0275         54.82,
0276         58.7,
0277         63,
0278         67.72,
0279         72.86,
0280         78.42,
0281         84.4,
0282         90.8,
0283         97.62
0284       ),
0285       longETParams = cms.vdouble(
0286         0,
0287         0,
0288         0,
0289         0,
0290         0,
0291         0,
0292         0,
0293         0,
0294         0,
0295         0,
0296         0,
0297         0,
0298         0
0299       ),
0300       short_R_29 = cms.vdouble(0.8),
0301       long_R_29 = cms.vdouble(0.8),
0302       HcalAcceptSeverityLevel = cms.int32(9)
0303     ),
0304     dataOOTCorrectionName = cms.string(''),
0305     dataOOTCorrectionCategory = cms.string('Data'),
0306     mcOOTCorrectionName = cms.string(''),
0307     mcOOTCorrectionCategory = cms.string('MC'),
0308     mightGet = cms.optional.untracked.vstring
0309   )
0310   for a in args:
0311     mod.update_(a)
0312   mod.update_(kwargs)
0313   return mod