Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-09-14 22:43:13

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from L1Trigger.Phase2L1ParticleFlow.l1tPFClustersFromCombinedCalo_cfi import l1tPFClustersFromCombinedCalo
0004 
0005 # Using phase2_hgcalV10 to customize the config for all 106X samples, since there's no other modifier for it
0006 from Configuration.Eras.Modifier_phase2_hgcalV10_cff import phase2_hgcalV10
0007 from Configuration.Eras.Modifier_phase2_hgcalV11_cff import phase2_hgcalV11
0008 
0009 # Calorimeter part: ecal + hcal + hf only
0010 l1tPFClustersFromCombinedCaloHCal = l1tPFClustersFromCombinedCalo.clone(
0011     hcalHGCTowers = [], hcalDigis = [],
0012     hcalDigisBarrel = True, hcalDigisHF = False,
0013     hadCorrector = cms.string("L1Trigger/Phase2L1ParticleFlow/data/hadcorr_barrel.root"),
0014     resol = cms.PSet(
0015             etaBins = cms.vdouble( 0.700,  1.200,  1.600),
0016             offset  = cms.vdouble( 2.582,  2.191, -0.077),
0017             scale   = cms.vdouble( 0.122,  0.143,  0.465),
0018             kind    = cms.string('calo'),
0019     ))
0020 phase2_hgcalV10.toModify(l1tPFClustersFromCombinedCaloHCal,
0021     hadCorrector  = "L1Trigger/Phase2L1ParticleFlow/data/hadcorr_barrel_106X.root",
0022     resol = cms.PSet(
0023             etaBins = cms.vdouble( 0.700,  1.200,  1.600),
0024             offset  = cms.vdouble( 3.084,  2.715,  0.107),
0025             scale   = cms.vdouble( 0.118,  0.130,  0.442),
0026             kind    = cms.string('calo'),
0027     )
0028 )
0029 phase2_hgcalV11.toModify(l1tPFClustersFromCombinedCaloHCal,
0030     hadCorrector  = "L1Trigger/Phase2L1ParticleFlow/data/hadcorr_barrel_110X.root",
0031     resol = cms.PSet(
0032             etaBins = cms.vdouble( 0.700,  1.200,  1.600),
0033             offset  = cms.vdouble( 2.909,  2.864,  0.294),
0034             scale   = cms.vdouble( 0.119,  0.127,  0.442),
0035             kind    = cms.string('calo'),
0036     )
0037 )
0038 
0039 l1tPFClustersFromCombinedCaloHF = l1tPFClustersFromCombinedCalo.clone(
0040     ecalCandidates = [], hcalHGCTowers = [],
0041     phase2barrelCaloTowers = [],
0042     hadCorrector = cms.string("L1Trigger/Phase2L1ParticleFlow/data/hfcorr.root"),
0043     resol = cms.PSet(
0044             etaBins = cms.vdouble( 3.500,  4.000,  4.500,  5.000),
0045             offset  = cms.vdouble( 1.099,  0.930,  1.009,  1.369),
0046             scale   = cms.vdouble( 0.152,  0.151,  0.144,  0.179),
0047             kind    = cms.string('calo'),
0048     ))
0049 phase2_hgcalV10.toModify(l1tPFClustersFromCombinedCaloHF,
0050     hcalCandidates = cms.VInputTag(cms.InputTag("l1tHGCalBackEndLayer2Producer","HGCalBackendLayer2Processor3DClustering")),
0051     hadCorrector  = "L1Trigger/Phase2L1ParticleFlow/data/hfcorr_106X.root",
0052     resol = cms.PSet(
0053             etaBins = cms.vdouble( 3.500,  4.000,  4.500,  5.000),
0054             offset  = cms.vdouble(-0.846,  0.696,  1.313,  1.044),
0055             scale   = cms.vdouble( 0.815,  0.164,  0.146,  0.192),
0056             kind    = cms.string('calo'),
0057     )
0058 )
0059 phase2_hgcalV11.toModify(l1tPFClustersFromCombinedCaloHF,
0060     hcalCandidates = cms.VInputTag(cms.InputTag("l1tHGCalBackEndLayer2Producer","HGCalBackendLayer2Processor3DClustering")),
0061     hadCorrector  = "L1Trigger/Phase2L1ParticleFlow/data/hfcorr_110X.root",
0062     resol = cms.PSet(
0063             etaBins = cms.vdouble( 3.500,  4.000,  4.500,  5.000),
0064             offset  = cms.vdouble(-1.125,  1.220,  1.514,  1.414),
0065             scale   = cms.vdouble( 0.868,  0.159,  0.148,  0.194),
0066             kind    = cms.string('calo'),
0067     )
0068 )