Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsunanda:Run2-alca61 Give hardcoded #'s for TP parameters #15646

Merged
merged 3 commits into from Aug 30, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions CalibCalorimetry/HcalAlgos/src/HcalDbHardcode.cc
Expand Up @@ -792,9 +792,10 @@ void HcalDbHardcode::makeHardcodeSiPMCharacteristics (HcalSiPMCharacteristics& s
}

HcalTPChannelParameter HcalDbHardcode::makeHardcodeTPChannelParameter (HcalGenericDetId fId) {
return HcalTPChannelParameter(fId.rawId(), 0, 0, 0, 0);
uint32_t bitInfo = ((44 << 16) | 30);
return HcalTPChannelParameter(fId.rawId(), 0, bitInfo, 0, 0);
}

void HcalDbHardcode::makeHardcodeTPParameters (HcalTPParameters& tppar) {
tppar.loadObject(0,0,0,0,0,0);
tppar.loadObject(0,0,0xFFFFFFFF,0,0,0);
}
Expand Up @@ -123,7 +123,12 @@
'L1TriggerObjects',
'PFCorrs',
'ElectronicsMap',
'FrontEndMap',
'CovarianceMatrices',
'SiPMParameters',
'SiPMCharacteristics',
'TPChannelParameters',
'TPParameters',
'FlagHFDigiTimeParams'
),
GainWidthsForTrigPrims = cms.bool(True),
Expand Down
5 changes: 5 additions & 0 deletions SLHCUpgradeSimulations/Configuration/python/HCalCustoms.py
Expand Up @@ -42,7 +42,12 @@ def load_HcalHardcode(process):
'L1TriggerObjects',
'PFCorrs',
'ElectronicsMap',
'FrontEndMap',
'CovarianceMatrices',
'SiPMParameters',
'SiPMCharacteristics',
'TPChannelParameters',
'TPParameters',
'FlagHFDigiTimeParams',
)

Expand Down