CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoMET/METProducers/python/hcalnoiseinfoproducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 HcalNoiseParameterSet = cms.PSet(
00004     # define hit energy thesholds
00005     minRecHitE = cms.double(1.5),
00006     minLowHitE = cms.double(10.0),
00007     minHighHitE = cms.double(25.0),
00008 
00009     # define energy threshold for "problematic" cuts
00010     pMinERatio = cms.double(25.0),
00011     pMinEZeros = cms.double(5.0),
00012     pMinEEMF = cms.double(10.0),
00013 
00014     # define energy threshold for loose/tight/high level cuts
00015     minERatio = cms.double(50.0),
00016     minEZeros = cms.double(10.0),
00017     minEEMF = cms.double(50.0),
00018 
00019     # define problematic RBX
00020     pMinE = cms.double(40.0),
00021     pMinRatio = cms.double(0.75),
00022     pMaxRatio = cms.double(0.85),
00023     pMinHPDHits = cms.int32(10),
00024     pMinRBXHits = cms.int32(20),
00025     pMinHPDNoOtherHits = cms.int32(7),
00026     pMinZeros = cms.int32(4),
00027     pMinLowEHitTime = cms.double(-6.0),
00028     pMaxLowEHitTime = cms.double(6.0),
00029     pMinHighEHitTime = cms.double(-4.0),
00030     pMaxHighEHitTime = cms.double(5.0),
00031     pMaxHPDEMF = cms.double(0.02),
00032     pMaxRBXEMF = cms.double(0.02),
00033 
00034     # define loose noise cuts
00035     lMinRatio = cms.double(-999.),
00036     lMaxRatio = cms.double(999.),
00037     lMinHPDHits = cms.int32(17),
00038     lMinRBXHits = cms.int32(999),
00039     lMinHPDNoOtherHits = cms.int32(10),
00040     lMinZeros = cms.int32(10),
00041     lMinLowEHitTime = cms.double(-9999.0),
00042     lMaxLowEHitTime = cms.double(9999.0),
00043     lMinHighEHitTime = cms.double(-9999.0),
00044     lMaxHighEHitTime = cms.double(9999.0),
00045 
00046     # define tight noise cuts
00047     tMinRatio = cms.double(-999.),
00048     tMaxRatio = cms.double(999.),
00049     tMinHPDHits = cms.int32(16),
00050     tMinRBXHits = cms.int32(50),
00051     tMinHPDNoOtherHits = cms.int32(9),
00052     tMinZeros = cms.int32(8),
00053     tMinLowEHitTime = cms.double(-9999.0),
00054     tMaxLowEHitTime = cms.double(9999.0),
00055     tMinHighEHitTime = cms.double(-7.0),
00056     tMaxHighEHitTime = cms.double(6.0),
00057 
00058     # define high level noise cuts
00059     hlMaxHPDEMF = cms.double(-9999.0),
00060     hlMaxRBXEMF = cms.double(0.01),
00061 
00062     # RBX-wide TS4TS5 variable
00063     TS4TS5EnergyThreshold = cms.double(50),
00064     TS4TS5UpperThreshold = cms.vdouble(70, 90, 100, 400, 4000),
00065     TS4TS5UpperCut = cms.vdouble(1, 0.8, 0.75, 0.72, 0.72),
00066     TS4TS5LowerThreshold = cms.vdouble(100, 120, 150, 200, 300, 400, 500),
00067     TS4TS5LowerCut = cms.vdouble(-1, -0.7, -0.4, -0.2, -0.08, 0, 0.1)
00068     )
00069 
00070 
00071 hcalnoise = cms.EDProducer(
00072     'HcalNoiseInfoProducer',
00073 
00074     # general noise parameters
00075     HcalNoiseParameterSet,
00076 
00077     # what to fill
00078     fillDigis = cms.bool(True),
00079     fillRecHits = cms.bool(True),
00080     fillCaloTowers = cms.bool(True),
00081     fillTracks = cms.bool(True),
00082 
00083     # maximum number of RBXs to fill
00084     # if you want to record all RBXs above some energy threshold,
00085     # change maxProblemRBXs to 999 and pMinE (above) to the threshold you want
00086     maxProblemRBXs  = cms.int32(20),
00087 
00088     # parameters for calculating summary variables
00089     maxCaloTowerIEta = cms.int32(20),
00090     maxTrackEta = cms.double(2.0),
00091     minTrackPt = cms.double(1.0),
00092 
00093     # collection names
00094     digiCollName = cms.string('hcalDigis'),
00095     recHitCollName = cms.string('hbhereco'),
00096     caloTowerCollName = cms.string('towerMaker'),
00097     trackCollName = cms.string('generalTracks'),
00098 
00099     # severity level
00100     HcalAcceptSeverityLevel = cms.uint32(9),
00101 
00102     # which hcal calo flags to mask (HBHEIsolatedNoise=11, HBHEFlatNoise=12, HBHESpikeNoise=13, HBHETriangleNoise=14, HBHETS4TS5Noise=15)
00103     HcalRecHitFlagsToBeExcluded = cms.vint32(11, 12, 13, 14, 15),
00104 )