Skip to content

Commit

Permalink
Implement the Phase 2 HLT configuration for E/Gamma
Browse files Browse the repository at this point in the history
Add E/Gamma-related products to the input event content, and implement
the L1 E/Gamma reconstruction.

Implement the E/Gamma HLT reconstruction and trigger paths.
  • Loading branch information
Sam-Harper authored and fwyzard committed Sep 20, 2021
1 parent ae1e650 commit 1327366
Show file tree
Hide file tree
Showing 516 changed files with 11,517 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
import FWCore.ParameterSet.Config as cms

CaloTPGTranscoder = cms.ESProducer("CaloTPGTranscoderULUTs",
LUTfactor = cms.vint32(1, 2, 5, 0),
RCTLSB = cms.double(0.25),
ZS = cms.vint32(4, 2, 1, 0),
hcalLUT1 = cms.FileInPath('CalibCalorimetry/CaloTPG/data/outputLUTtranscoder_physics.dat'),
hcalLUT2 = cms.FileInPath('CalibCalorimetry/CaloTPG/data/TPGcalcDecompress2.txt'),
ietaLowerBound = cms.vint32(1, 18, 27, 29),
ietaUpperBound = cms.vint32(17, 26, 28, 32),
linearLUTs = cms.bool(True),
nominal_gain = cms.double(0.177),
read_Ascii_Compression_LUTs = cms.bool(False),
read_Ascii_RCT_LUTs = cms.bool(False),
tpScales = cms.PSet(
HBHE = cms.PSet(
LSBQIE11 = cms.double(0.0625),
LSBQIE11Overlap = cms.double(0.0625),
LSBQIE8 = cms.double(0.125)
),
HF = cms.PSet(
NCTShift = cms.int32(2),
RCTShift = cms.int32(3)
)
)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import FWCore.ParameterSet.Config as cms

HcalTrigTowerGeometryESProducer = cms.ESProducer("HcalTrigTowerGeometryESProducer")
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import FWCore.ParameterSet.Config as cms

hltESPBwdElectronPropagator = cms.ESProducer("PropagatorWithMaterialESProducer",
ComponentName = cms.string('hltESPBwdElectronPropagator'),
Mass = cms.double(0.000511),
MaxDPhi = cms.double(1.6),
PropagationDirection = cms.string('oppositeToMomentum'),
SimpleMagneticField = cms.string(''),
ptMin = cms.double(-1.0),
useRungeKutta = cms.bool(False)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import FWCore.ParameterSet.Config as cms

hltESPChi2ChargeMeasurementEstimator2000 = cms.ESProducer("Chi2ChargeMeasurementEstimatorESProducer",
ComponentName = cms.string('hltESPChi2ChargeMeasurementEstimator2000'),
MaxChi2 = cms.double(2000.0),
MaxDisplacement = cms.double(100.0),
MaxSagitta = cms.double(-1.0),
MinPtForHitRecoveryInGluedDet = cms.double(1000000.0),
MinimalTolerance = cms.double(10.0),
appendToDataLabel = cms.string(''),
clusterChargeCut = cms.PSet(
refToPSet_ = cms.string('HLTSiStripClusterChargeCutNone')
),
nSigma = cms.double(3.0),
pTChargeCutThreshold = cms.double(-1.0)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import FWCore.ParameterSet.Config as cms

hltESPFwdElectronPropagator = cms.ESProducer("PropagatorWithMaterialESProducer",
ComponentName = cms.string('hltESPFwdElectronPropagator'),
Mass = cms.double(0.000511),
MaxDPhi = cms.double(1.6),
PropagationDirection = cms.string('alongMomentum'),
SimpleMagneticField = cms.string(''),
ptMin = cms.double(-1.0),
useRungeKutta = cms.bool(False)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
import FWCore.ParameterSet.Config as cms

hltTTRBWR = cms.ESProducer("TkTransientTrackingRecHitBuilderESProducer",
ComponentName = cms.string('hltESPTTRHBWithTrackAngle'),
ComputeCoarseLocalPositionFromDisk = cms.bool(False),
Matcher = cms.string('StandardMatcher'),
Phase2StripCPE = cms.string('Phase2StripCPE'),
PixelCPE = cms.string('PixelCPEGeneric'),
StripCPE = cms.string('StripCPEfromTrackAngle')
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
import FWCore.ParameterSet.Config as cms

HGCalRecHitL1Seeded = cms.EDProducer("HGCalRecHitProducer",
HGCEE_cce = cms.PSet(
refToPSet_ = cms.string('HGCAL_chargeCollectionEfficiencies')
),
HGCEE_fCPerMIP = cms.vdouble(2.06, 3.43, 5.15),
HGCEE_isSiFE = cms.bool(True),
HGCEE_keV2DIGI = cms.double(0.044259),
HGCEE_noise_fC = cms.PSet(
refToPSet_ = cms.string('HGCAL_noise_fC')
),
HGCEErechitCollection = cms.string('HGCEERecHits'),
HGCEEuncalibRecHitCollection = cms.InputTag("HGCalUncalibRecHitL1Seeded","HGCEEUncalibRecHits"),
HGCHEB_isSiFE = cms.bool(True),
HGCHEB_keV2DIGI = cms.double(0.00148148148148),
HGCHEB_noise_MIP = cms.PSet(
refToPSet_ = cms.string('HGCAL_noise_heback')
),
HGCHEBrechitCollection = cms.string('HGCHEBRecHits'),
HGCHEBuncalibRecHitCollection = cms.InputTag("HGCalUncalibRecHitL1Seeded","HGCHEBUncalibRecHits"),
HGCHEF_cce = cms.PSet(
refToPSet_ = cms.string('HGCAL_chargeCollectionEfficiencies')
),
HGCHEF_fCPerMIP = cms.vdouble(2.06, 3.43, 5.15),
HGCHEF_isSiFE = cms.bool(True),
HGCHEF_keV2DIGI = cms.double(0.044259),
HGCHEF_noise_fC = cms.PSet(
refToPSet_ = cms.string('HGCAL_noise_fC')
),
HGCHEFrechitCollection = cms.string('HGCHEFRecHits'),
HGCHEFuncalibRecHitCollection = cms.InputTag("HGCalUncalibRecHitL1Seeded","HGCHEFUncalibRecHits"),
HGCHFNose_cce = cms.PSet(
refToPSet_ = cms.string('HGCAL_chargeCollectionEfficiencies')
),
HGCHFNose_fCPerMIP = cms.vdouble(1.25, 2.57, 3.88),
HGCHFNose_isSiFE = cms.bool(False),
HGCHFNose_keV2DIGI = cms.double(0.044259),
HGCHFNose_noise_fC = cms.PSet(
refToPSet_ = cms.string('HGCAL_noise_fC')
),
HGCHFNoserechitCollection = cms.string('HGCHFNoseRecHits'),
HGCHFNoseuncalibRecHitCollection = cms.InputTag("HGCalUncalibRecHitL1Seeded","HGCHFNoseUncalibRecHits"),
algo = cms.string('HGCalRecHitWorkerSimple'),
constSiPar = cms.double(0.02),
deltasi_index_regemfac = cms.int32(3),
layerNoseWeights = cms.vdouble(
0.0, 39.500245, 39.756638, 39.756638, 39.756638,
39.756638, 66.020266, 92.283895, 92.283895
),
layerWeights = cms.vdouble(
0.0, 8.894541, 10.937907, 10.937907, 10.937907,
10.937907, 10.937907, 10.937907, 10.937907, 10.937907,
10.932882, 10.932882, 10.937907, 10.937907, 10.938169,
10.938169, 10.938169, 10.938169, 10.938169, 10.938169,
10.938169, 10.938169, 10.938169, 10.938169, 10.938169,
10.938169, 10.938169, 10.938169, 32.332097, 51.574301,
51.444192, 51.444192, 51.444192, 51.444192, 51.444192,
51.444192, 51.444192, 51.444192, 51.444192, 51.444192,
69.513118, 87.582044, 87.582044, 87.582044, 87.582044,
87.582044, 87.214571, 86.888309, 86.92952, 86.92952,
86.92952
),
maxValSiPar = cms.double(10000.0),
minValSiPar = cms.double(10.0),
noiseSiPar = cms.double(5.5),
rangeMask = cms.uint32(4294442496),
rangeMatch = cms.uint32(1161838592),
sciThicknessCorrection = cms.double(0.9),
thicknessCorrection = cms.vdouble(
0.77, 0.77, 0.77, 0.84, 0.84,
0.84
),
thicknessNoseCorrection = cms.vdouble(1.132, 1.092, 1.084)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
import FWCore.ParameterSet.Config as cms

HGCalUncalibRecHitL1Seeded = cms.EDProducer("HGCalUncalibRecHitProducer",
HGCEEConfig = cms.PSet(
adcNbits = cms.uint32(10),
adcSaturation = cms.double(100),
fCPerMIP = cms.vdouble(2.06, 3.43, 5.15),
isSiFE = cms.bool(True),
tdcNbits = cms.uint32(12),
tdcOnset = cms.double(60),
tdcSaturation = cms.double(10000),
toaLSB_ns = cms.double(0.0244)
),
HGCEEdigiCollection = cms.InputTag("hgcalDigisL1Seeded","EE"),
HGCEEhitCollection = cms.string('HGCEEUncalibRecHits'),
HGCHEBConfig = cms.PSet(
adcNbits = cms.uint32(10),
adcSaturation = cms.double(68.75),
fCPerMIP = cms.vdouble(1.0, 1.0, 1.0),
isSiFE = cms.bool(True),
tdcNbits = cms.uint32(12),
tdcOnset = cms.double(55),
tdcSaturation = cms.double(1000),
toaLSB_ns = cms.double(0.0244)
),
HGCHEBdigiCollection = cms.InputTag("hgcalDigisL1Seeded","HEback"),
HGCHEBhitCollection = cms.string('HGCHEBUncalibRecHits'),
HGCHEFConfig = cms.PSet(
adcNbits = cms.uint32(10),
adcSaturation = cms.double(100),
fCPerMIP = cms.vdouble(2.06, 3.43, 5.15),
isSiFE = cms.bool(True),
tdcNbits = cms.uint32(12),
tdcOnset = cms.double(60),
tdcSaturation = cms.double(10000),
toaLSB_ns = cms.double(0.0244)
),
HGCHEFdigiCollection = cms.InputTag("hgcalDigisL1Seeded","HEfront"),
HGCHEFhitCollection = cms.string('HGCHEFUncalibRecHits'),
HGCHFNoseConfig = cms.PSet(
adcNbits = cms.uint32(10),
adcSaturation = cms.double(100),
fCPerMIP = cms.vdouble(1.25, 2.57, 3.88),
isSiFE = cms.bool(False),
tdcNbits = cms.uint32(12),
tdcOnset = cms.double(60),
tdcSaturation = cms.double(10000),
toaLSB_ns = cms.double(0.0244)
),
HGCHFNosedigiCollection = cms.InputTag("hfnoseDigis","HFNose"),
HGCHFNosehitCollection = cms.string('HGCHFNoseUncalibRecHits'),
algo = cms.string('HGCalUncalibRecHitWorkerWeights')
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import FWCore.ParameterSet.Config as cms

L1EGammaClusterEmuProducer = cms.EDProducer("L1EGCrystalClusterEmulatorProducer",
calib = cms.PSet(
etaBins = cms.vdouble(
0.087, 0.174, 0.261, 0.348, 0.435,
0.522, 0.609, 0.696, 0.783, 0.87,
0.957, 1.044, 1.131, 1.218, 1.305,
1.392, 1.479
),
ptBins = cms.vdouble(
12, 20, 30, 40, 55,
90, 1000000.0
),
scale = cms.vdouble(
1.298, 1.287, 1.309, 1.298, 1.309,
1.309, 1.309, 1.298, 1.309, 1.298,
1.309, 1.309, 1.309, 1.32, 1.309,
1.32, 1.309, 1.1742, 1.1639, 1.1639,
1.1639, 1.1639, 1.1639, 1.1639, 1.1742,
1.1742, 1.1639, 1.1639, 1.1742, 1.1639,
1.1639, 1.1742, 1.1742, 1.1536, 1.11,
1.11, 1.11, 1.11, 1.11, 1.11,
1.11, 1.11, 1.11, 1.11, 1.11,
1.11, 1.11, 1.11, 1.11, 1.11,
1.1, 1.09, 1.09, 1.09, 1.09,
1.09, 1.09, 1.09, 1.09, 1.09,
1.09, 1.09, 1.09, 1.09, 1.09,
1.09, 1.09, 1.09, 1.07, 1.07,
1.07, 1.07, 1.07, 1.07, 1.07,
1.08, 1.07, 1.07, 1.08, 1.08,
1.07, 1.08, 1.08, 1.08, 1.08,
1.06, 1.06, 1.06, 1.06, 1.05,
1.05, 1.06, 1.06, 1.06, 1.06,
1.06, 1.06, 1.06, 1.06, 1.06,
1.06, 1.06, 1.04, 1.04, 1.04,
1.04, 1.05, 1.04, 1.05, 1.05,
1.05, 1.05, 1.05, 1.05, 1.05,
1.05, 1.05, 1.05, 1.05
)
),
ecalTPEB = cms.InputTag("simEcalEBTriggerPrimitiveDigis"),
hcalTP = cms.InputTag("simHcalTriggerPrimitiveDigis")
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import FWCore.ParameterSet.Config as cms

L1TkEleDouble12Filter = cms.EDFilter("L1TTkEleFilter",
ApplyQual1 = cms.bool(True),
ApplyQual2 = cms.bool(True),
EtaBinsForIsolation = cms.vdouble(0.0, 1.479, 2.4),
MaxEta = cms.double(2.4),
MinEta = cms.double(-2.4),
MinN = cms.int32(2),
MinPt = cms.double(12.0),
Qual1IsMask = cms.bool(True),
Qual2IsMask = cms.bool(False),
Quality1 = cms.int32(2),
Quality2 = cms.int32(5),
Scalings = cms.PSet(
barrel = cms.vdouble(0.805095, 1.18336, 0.0),
endcap = cms.vdouble(0.453144, 1.26205, 0.0)
),
TrkIsolation = cms.vdouble(99999.0, 99999.0),
inputTag1 = cms.InputTag("L1TkElectronsEllipticMatchCrystal","EG"),
inputTag2 = cms.InputTag("L1TkElectronsEllipticMatchHGC","EG"),
saveTags = cms.bool(True)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import FWCore.ParameterSet.Config as cms

L1TkEleSingle25Filter = cms.EDFilter("L1TTkEleFilter",
ApplyQual1 = cms.bool(True),
ApplyQual2 = cms.bool(True),
EtaBinsForIsolation = cms.vdouble(0.0, 1.479, 2.4),
MaxEta = cms.double(2.4),
MinEta = cms.double(-2.4),
MinN = cms.int32(1),
MinPt = cms.double(25.0),
Qual1IsMask = cms.bool(True),
Qual2IsMask = cms.bool(False),
Quality1 = cms.int32(2),
Quality2 = cms.int32(5),
Scalings = cms.PSet(
barrel = cms.vdouble(0.805095, 1.18336, 0.0),
endcap = cms.vdouble(0.453144, 1.26205, 0.0)
),
TrkIsolation = cms.vdouble(99999.0, 99999.0),
inputTag1 = cms.InputTag("L1TkElectronsEllipticMatchCrystal","EG"),
inputTag2 = cms.InputTag("L1TkElectronsEllipticMatchHGC","EG"),
saveTags = cms.bool(True)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import FWCore.ParameterSet.Config as cms

L1TkEleSingle36Filter = cms.EDFilter("L1TTkEleFilter",
ApplyQual1 = cms.bool(True),
ApplyQual2 = cms.bool(True),
EtaBinsForIsolation = cms.vdouble(0.0, 1.479, 2.4),
MaxEta = cms.double(2.4),
MinEta = cms.double(-2.4),
MinN = cms.int32(1),
MinPt = cms.double(36.0),
Qual1IsMask = cms.bool(True),
Qual2IsMask = cms.bool(False),
Quality1 = cms.int32(2),
Quality2 = cms.int32(5),
Scalings = cms.PSet(
barrel = cms.vdouble(0.805095, 1.18336, 0.0),
endcap = cms.vdouble(0.453144, 1.26205, 0.0)
),
TrkIsolation = cms.vdouble(99999.0, 99999.0),
inputTag1 = cms.InputTag("L1TkElectronsEllipticMatchCrystal","EG"),
inputTag2 = cms.InputTag("L1TkElectronsEllipticMatchHGC","EG"),
saveTags = cms.bool(True)
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import FWCore.ParameterSet.Config as cms

L1TkElectronsEllipticMatchCrystal = cms.EDProducer("L1TkElectronTrackProducer",
DRmax = cms.double(0.2),
DRmin = cms.double(0.03),
DeltaZ = cms.double(0.6),
ETmin = cms.double(-1.0),
IsoCut = cms.double(-0.1),
L1EGammaInputTag = cms.InputTag("L1EGammaClusterEmuProducer"),
L1TrackInputTag = cms.InputTag("TTTracksFromTrackletEmulation","Level1TTTracks"),
PTMINTRA = cms.double(2.0),
RelativeIsolation = cms.bool(True),
TrackChi2 = cms.double(10000000000.0),
TrackEGammaDeltaEta = cms.vdouble(0.015, 0.025, 10000000000.0),
TrackEGammaDeltaPhi = cms.vdouble(0.07, 0.0, 0.0),
TrackEGammaDeltaR = cms.vdouble(0.08, 0.0, 0.0),
TrackEGammaMatchType = cms.string('EllipticalCut'),
TrackMinPt = cms.double(10.0),
label = cms.string('EG'),
maxChi2IsoTracks = cms.double(10000000000.0),
minNStubsIsoTracks = cms.int32(0),
useClusterET = cms.bool(False),
useTwoStubsPT = cms.bool(False)
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
import FWCore.ParameterSet.Config as cms

L1TkElectronsEllipticMatchHGC = cms.EDProducer("L1TkElectronTrackProducer",
DRmax = cms.double(0.2),
DRmin = cms.double(0.03),
DeltaZ = cms.double(0.6),
ETmin = cms.double(-1.0),
IsoCut = cms.double(-0.1),
L1EGammaInputTag = cms.InputTag("l1EGammaEEProducer","L1EGammaCollectionBXVWithCuts"),
L1TrackInputTag = cms.InputTag("TTTracksFromTrackletEmulation","Level1TTTracks"),
PTMINTRA = cms.double(2.0),
RelativeIsolation = cms.bool(True),
TrackChi2 = cms.double(10000000000.0),
TrackEGammaDeltaEta = cms.vdouble(0.01, 0.01, 10000000000.0),
TrackEGammaDeltaPhi = cms.vdouble(0.07, 0.0, 0.0),
TrackEGammaDeltaR = cms.vdouble(0.08, 0.0, 0.0),
TrackEGammaMatchType = cms.string('EllipticalCut'),
TrackMinPt = cms.double(10.0),
label = cms.string('EG'),
maxChi2IsoTracks = cms.double(100),
minNStubsIsoTracks = cms.int32(4),
useClusterET = cms.bool(False),
useTwoStubsPT = cms.bool(False)
)

Loading

0 comments on commit 1327366

Please sign in to comment.