38 const std::vector<HcalGenericDetId>& allCells (
const HcalTopology& hcaltopology,
bool killHE =
false) {
39 static std::vector<HcalGenericDetId>
result;
43 std::cout << std::endl <<
"HcalHardcodeCalibrations: maxDepth = " 44 << maxDepth << std::endl;
55 if (hcaltopology.
valid(cell)) {
56 result.push_back (cell);
58 std::cout <<
" HcalHardcodedCalibrations: det|eta|phi|depth = " 59 << det <<
"|" <<
eta <<
"|" <<
phi <<
"|" 60 <<
depth << std::endl;
72 if(zdctopology.
valid(zcell)) result.push_back(zcell);
74 if(zdctopology.
valid(zcell)) result.push_back(zcell);
79 if(zdctopology.
valid(zcell)) result.push_back(zcell);
81 if(zdctopology.
valid(zcell)) result.push_back(zcell);
86 if(zdctopology.
valid(zcell)) result.push_back(zcell);
88 if(zdctopology.
valid(zcell)) result.push_back(zcell);
93 if(zdctopology.
valid(zcell)) result.push_back(zcell);
95 if(zdctopology.
valid(zcell)) result.push_back(zcell);
109 if (hcaltopology.
validHT(cell)) {
110 result.push_back (cell);
112 std::cout <<
" HcalHardcodedCalibrations: eta|phi|depth|vers = " 113 <<
eta <<
"|" <<
phi <<
"|" <<
depth <<
"|" << vers
130 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::HcalHardcodeCalibrations->...";
132 if ( iConfig.
exists(
"GainWidthsForTrigPrims") )
160 bool hb_recalib = iConfig.
getParameter<
bool>(
"HBRecalibration");
161 bool he_recalib = iConfig.
getParameter<
bool>(
"HERecalibration");
162 bool hf_recalib = iConfig.
getParameter<
bool>(
"HFRecalibration");
184 std::cout <<
" HcalHardcodeCalibrations: iLumi = " << iLumi << std::endl;
196 findingRecord <HcalPedestalsRcd> ();
200 findingRecord <HcalPedestalWidthsRcd> ();
204 findingRecord <HcalPedestalsRcd> ();
208 findingRecord <HcalPedestalWidthsRcd> ();
212 findingRecord <HcalGainsRcd> ();
216 findingRecord <HcalGainWidthsRcd> ();
220 findingRecord <HcalQIEDataRcd> ();
224 findingRecord <HcalQIETypesRcd> ();
228 findingRecord <HcalChannelQualityRcd> ();
232 findingRecord <HcalElectronicsMapRcd> ();
236 findingRecord <HcalZSThresholdsRcd> ();
240 findingRecord <HcalRespCorrsRcd> ();
244 findingRecord <HcalLUTCorrsRcd> ();
248 findingRecord <HcalPFCorrsRcd> ();
252 findingRecord <HcalTimeCorrsRcd> ();
256 findingRecord <HcalL1TriggerObjectsRcd> ();
260 findingRecord <HcalValidationCorrsRcd> ();
264 findingRecord <HcalLutMetadataRcd> ();
268 findingRecord <HcalDcsRcd> ();
272 findingRecord <HcalDcsMapRcd> ();
276 findingRecord <HcalRecoParamsRcd> ();
280 findingRecord <HcalLongRecoParamsRcd> ();
284 findingRecord <HcalZDCLowGainFractionsRcd> ();
288 findingRecord <HcalMCParamsRcd> ();
292 findingRecord <HcalFlagHFDigiTimeParamsRcd> ();
296 findingRecord <HcalFrontEndMapRcd> ();
300 findingRecord <HcalSiPMParametersRcd> ();
304 findingRecord <HcalSiPMCharacteristicsRcd> ();
308 findingRecord <HcalTPChannelParametersRcd> ();
312 findingRecord <HcalTPParametersRcd> ();
328 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::setIntervalFor-> key: " << record <<
" time: " << iTime.
eventID() <<
'/' << iTime.
time ().
value ();
334 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produce" << seff <<
"Pedestals-> ...";
339 auto result = std::make_unique<HcalPedestals>(topo,
false);
341 for (
auto cell : cells) {
343 result->addValues(item);
350 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produce" << seff <<
"PedestalWidths-> ...";
355 auto result = std::make_unique<HcalPedestalWidths>(topo,
false);
357 for (
auto cell : cells) {
359 result->addValues(item);
381 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceGains-> ...";
386 auto result = std::make_unique<HcalGains>(topo);
388 for (
auto cell : cells) {
390 result->addValues(item);
396 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceGainWidths-> ...";
401 auto result = std::make_unique<HcalGainWidths>(topo);
403 for (
auto cell : cells) {
408 result->addValues(item);
409 }
else if (!cell.isHcalTrigTowerDetId()) {
411 result->addValues(item);
418 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceQIEData-> ...";
429 auto result = std::make_unique<HcalQIEData>(topo);
431 for (
auto cell : cells) {
433 result->addCoder (coder);
439 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceQIETypes-> ...";
444 auto result = std::make_unique<HcalQIETypes>(topo);
446 for (
auto cell : cells) {
448 result->addValues(item);
454 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceChannelQuality-> ...";
459 auto result = std::make_unique<HcalChannelQuality>(topo);
461 for (
auto cell : cells) {
470 if ( !(cell.isHcalZDCDetId())) {
473 int iphi = hid.
iphi();
474 int ieta = hid.
ieta();
479 bool isHEP17 = (iphi >= 63) && (iphi <= 66) && (ieta > 0);
481 bool is18d1 = (absieta == 18) && (depth ==1);
490 result->addValues(item);
500 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceRespCorrs-> ...";
507 std::vector<std::vector<int>> m_segmentation;
509 m_segmentation.resize(maxEta);
527 auto result = std::make_unique<HcalRespCorrs>(topo);
529 for (
const auto& cell : cells) {
551 std::cout <<
"HB ieta, depth = " << ieta_ <<
", " << depth_ <<
" corr = " << corr << std::endl;
559 std::cout <<
"HE ieta, depth = " << ieta_ <<
", " << depth_ <<
" corr = " << corr << std::endl;
567 std::cout <<
"HF ieta, depth = " << ieta_ <<
", " << depth_ <<
" corr = " << corr << std::endl;
572 result->addValues(item);
578 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceLUTCorrs-> ...";
583 auto result = std::make_unique<HcalLUTCorrs>(topo);
585 for (
auto cell : cells) {
587 result->addValues(item);
593 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::producePFCorrs-> ...";
598 auto result = std::make_unique<HcalPFCorrs>(topo);
600 for (
auto cell : cells) {
602 result->addValues(item);
608 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceTimeCorrs-> ...";
613 auto result = std::make_unique<HcalTimeCorrs>(topo);
615 for (
auto cell : cells) {
617 result->addValues(item);
623 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceZSThresholds-> ...";
628 auto result = std::make_unique<HcalZSThresholds>(topo);
630 for (
auto cell : cells) {
632 result->addValues(item);
639 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceL1TriggerObjects-> ...";
644 auto result = std::make_unique<HcalL1TriggerObjects>(topo);
646 for (
auto cell : cells) {
648 result->addValues(item);
651 result->setTagString(
"hardcoded");
652 result->setAlgoString(
"hardcoded");
658 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceElectronicsMap-> ...";
668 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceValidationCorrs-> ...";
673 auto result = std::make_unique<HcalValidationCorrs>(topo);
675 for (
auto cell : cells) {
677 result->addValues(item);
683 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceLutMetadata-> ...";
688 auto result = std::make_unique<HcalLutMetadata>(topo);
690 result->setRctLsb( 0.5 );
691 result->setNominalGain(0.177);
694 for (
const auto& cell: cells) {
699 if (cell.isHcalTrigTowerDetId()) {
704 result->addValues(item);
711 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceDcsValues-> ...";
712 auto result = std::make_unique<HcalDcsValues>();
717 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceDcsMap-> ...";
723 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceRecoParams-> ...";
728 auto result = std::make_unique<HcalRecoParams>(topo);
730 for (
auto cell : cells) {
732 result->addValues(item);
738 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceTimingParams-> ...";
743 auto result = std::make_unique<HcalTimingParams>(topo);
745 for (
auto cell : cells) {
747 result->addValues(item);
753 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceLongRecoParams-> ...";
758 auto result = std::make_unique<HcalLongRecoParams>(topo);
760 std::vector <unsigned int> mSignal;
761 mSignal.push_back(4);
762 mSignal.push_back(5);
763 mSignal.push_back(6);
764 std::vector <unsigned int> mNoise;
768 for (
auto cell : cells) {
769 if (cell.isHcalZDCDetId())
772 result->addValues(item);
779 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceZDCLowGainFractions-> ...";
784 auto result = std::make_unique<HcalZDCLowGainFractions>(topo);
786 for (
auto cell : cells) {
788 result->addValues(item);
798 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceMCParams-> ...";
802 auto result = std::make_unique<HcalMCParams>(topo);
804 for (
auto cell : cells) {
806 result->addValues(item);
813 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceFlagHFDigiTimeParams-> ...";
818 auto result = std::make_unique<HcalFlagHFDigiTimeParams>(topo);
821 std::vector<double> coef;
822 coef.push_back(0.93);
823 coef.push_back(-0.38275);
824 coef.push_back(-0.012667);
826 for (
auto cell : cells) {
834 result->addValues(item);
841 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceFrontEndMap-> ...";
852 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceSiPMParameters-> ...";
857 auto result = std::make_unique<HcalSiPMParameters>(topo);
859 for (
auto cell : cells) {
861 result->addValues(item);
867 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceSiPMCharacteristics-> ...";
874 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceTPChannelParameters-> ...";
879 auto result = std::make_unique<HcalTPChannelParameters>(topo);
881 for (
auto cell : cells) {
883 result->addValues(item);
889 edm::LogInfo(
"HCAL") <<
"HcalHardcodeCalibrations::produceTPParameters-> ...";
891 auto result = std::make_unique<HcalTPParameters>();
898 desc.
add<
double>(
"iLumi",-1.);
899 desc.
add<
bool>(
"HBRecalibration",
false);
900 desc.
add<
double>(
"HBreCalibCutoff",20.);
902 desc.
add<
bool>(
"HERecalibration",
false);
903 desc.
add<
double>(
"HEreCalibCutoff",20.);
905 desc.
add<
bool>(
"HFRecalibration",
false);
906 desc.
add<
bool>(
"GainWidthsForTrigPrims",
false);
907 desc.
add<
bool>(
"useHBUpgrade",
false);
908 desc.
add<
bool>(
"useHEUpgrade",
false);
909 desc.
add<
bool>(
"useHFUpgrade",
false);
910 desc.
add<
bool>(
"useHOUpgrade",
true);
911 desc.
add<
bool>(
"testHFQIE10",
false);
912 desc.
add<
bool>(
"testHEPlan1",
false);
913 desc.
add<
bool>(
"killHE",
false);
914 desc.
add<
bool>(
"useLayer0Weight",
false);
915 desc.
add<
bool>(
"useIeta18depth1",
true);
916 desc.
addUntracked<std::vector<std::string> >(
"toGet",std::vector<std::string>());
920 desc_hb.
add<std::vector<double>>(
"gain", std::vector<double>({0.19}));
921 desc_hb.add<std::vector<double>>(
"gainWidth", std::vector<double>({0.0}));
922 desc_hb.add<
double>(
"pedestal", 3.0);
923 desc_hb.add<
double>(
"pedestalWidth", 0.55);
924 desc_hb.add<
int>(
"zsThreshold", 8);
925 desc_hb.add<std::vector<double>>(
"qieOffset", std::vector<double>({-0.49, 1.8, 7.2, 37.9}));
926 desc_hb.add<std::vector<double>>(
"qieSlope", std::vector<double>({0.912, 0.917, 0.922, 0.923}));
927 desc_hb.add<
int>(
"qieType", 0);
928 desc_hb.add<
int>(
"mcShape",125);
929 desc_hb.add<
int>(
"recoShape",105);
930 desc_hb.add<
double>(
"photoelectronsToAnalog",0.0);
931 desc_hb.add<std::vector<double>>(
"darkCurrent",std::vector<double>({0.0}));
932 desc_hb.add<
bool>(
"doRadiationDamage",
false);
936 desc_hbRaddam.
add<
double>(
"temperatureBase",20.0);
937 desc_hbRaddam.add<
double>(
"temperatureNew",-5.0);
938 desc_hbRaddam.add<
double>(
"intlumiOffset",150);
939 desc_hbRaddam.add<
double>(
"depVsTemp",0.0631);
940 desc_hbRaddam.add<
double>(
"intlumiToNeutrons",3.67e8);
941 desc_hbRaddam.add<std::vector<double>>(
"depVsNeutrons",{5.69e-11,7.90e-11});
944 desc_hbUpgrade.
add<std::vector<double>>(
"gain", std::vector<double>({0.00111111111111}));
945 desc_hbUpgrade.add<std::vector<double>>(
"gainWidth", std::vector<double>({0}));
946 desc_hbUpgrade.add<
double>(
"pedestal", 18.0);
947 desc_hbUpgrade.add<
double>(
"pedestalWidth", 5.0);
948 desc_hbUpgrade.add<
int>(
"zsThreshold", 3);
949 desc_hbUpgrade.add<std::vector<double>>(
"qieOffset", std::vector<double>({0.0, 0.0, 0.0, 0.0}));
950 desc_hbUpgrade.add<std::vector<double>>(
"qieSlope", std::vector<double>({0.333, 0.333, 0.333, 0.333}));
951 desc_hbUpgrade.add<
int>(
"qieType", 2);
952 desc_hbUpgrade.add<
int>(
"mcShape",206);
953 desc_hbUpgrade.add<
int>(
"recoShape",206);
954 desc_hbUpgrade.add<
double>(
"photoelectronsToAnalog",57.5);
955 desc_hbUpgrade.add<std::vector<double>>(
"darkCurrent", std::vector<double>({0.055}));
956 desc_hbUpgrade.add<
bool>(
"doRadiationDamage",
true);
961 desc_he.
add<std::vector<double>>(
"gain", std::vector<double>({0.23}));
962 desc_he.add<std::vector<double>>(
"gainWidth", std::vector<double>({0}));
963 desc_he.add<
double>(
"pedestal", 3.0);
964 desc_he.add<
double>(
"pedestalWidth", 0.79);
965 desc_he.add<
int>(
"zsThreshold", 9);
966 desc_he.add<std::vector<double>>(
"qieOffset", std::vector<double>({-0.38, 2.0, 7.6, 39.6}));
967 desc_he.add<std::vector<double>>(
"qieSlope", std::vector<double>({0.912, 0.916, 0.92, 0.922}));
968 desc_he.add<
int>(
"qieType", 0);
969 desc_he.add<
int>(
"mcShape",125);
970 desc_he.add<
int>(
"recoShape",105);
971 desc_he.add<
double>(
"photoelectronsToAnalog",0.0);
972 desc_he.add<std::vector<double>>(
"darkCurrent",std::vector<double>({0.0}));
973 desc_he.add<
bool>(
"doRadiationDamage",
false);
977 desc_heRaddam.
add<
double>(
"temperatureBase",20.0);
978 desc_heRaddam.add<
double>(
"temperatureNew",5.0);
979 desc_heRaddam.add<
double>(
"intlumiOffset",75);
980 desc_heRaddam.add<
double>(
"depVsTemp",0.0631);
981 desc_heRaddam.add<
double>(
"intlumiToNeutrons",2.92e8);
982 desc_heRaddam.add<std::vector<double>>(
"depVsNeutrons",{5.69e-11,7.90e-11});
985 desc_heUpgrade.
add<std::vector<double>>(
"gain", std::vector<double>({0.00111111111111}));
986 desc_heUpgrade.add<std::vector<double>>(
"gainWidth", std::vector<double>({0}));
987 desc_heUpgrade.add<
double>(
"pedestal", 18.0);
988 desc_heUpgrade.add<
double>(
"pedestalWidth", 5.0);
989 desc_heUpgrade.add<
int>(
"zsThreshold", 3);
990 desc_heUpgrade.add<std::vector<double>>(
"qieOffset", std::vector<double>({0.0, 0.0, 0.0, 0.0}));
991 desc_heUpgrade.add<std::vector<double>>(
"qieSlope", std::vector<double>({0.333, 0.333, 0.333, 0.333}));
992 desc_heUpgrade.add<
int>(
"qieType", 2);
993 desc_heUpgrade.add<
int>(
"mcShape",206);
994 desc_heUpgrade.add<
int>(
"recoShape",206);
995 desc_heUpgrade.add<
double>(
"photoelectronsToAnalog",57.5);
996 desc_heUpgrade.add<std::vector<double>>(
"darkCurrent", std::vector<double>({0.055}));
997 desc_heUpgrade.add<
bool>(
"doRadiationDamage",
true);
1002 desc_hf.
add<std::vector<double>>(
"gain", std::vector<double>({0.14, 0.135}));
1003 desc_hf.add<std::vector<double>>(
"gainWidth", std::vector<double>({0.0, 0.0}));
1004 desc_hf.add<
double>(
"pedestal", 3.0);
1005 desc_hf.add<
double>(
"pedestalWidth", 0.84);
1006 desc_hf.add<
int>(
"zsThreshold", -9999);
1007 desc_hf.add<std::vector<double>>(
"qieOffset", std::vector<double>({-0.87, 1.4, 7.8, -29.6}));
1008 desc_hf.add<std::vector<double>>(
"qieSlope", std::vector<double>({0.359, 0.358, 0.36, 0.367}));
1009 desc_hf.add<
int>(
"qieType", 0);
1010 desc_hf.add<
int>(
"mcShape",301);
1011 desc_hf.add<
int>(
"recoShape",301);
1012 desc_hf.add<
double>(
"photoelectronsToAnalog",0.0);
1013 desc_hf.add<std::vector<double>>(
"darkCurrent",std::vector<double>({0.0}));
1014 desc_hf.add<
bool>(
"doRadiationDamage",
false);
1018 desc_hfUpgrade.
add<std::vector<double>>(
"gain", std::vector<double>({0.14, 0.135}));
1019 desc_hfUpgrade.add<std::vector<double>>(
"gainWidth", std::vector<double>({0.0, 0.0}));
1020 desc_hfUpgrade.add<
double>(
"pedestal", 13.33);
1021 desc_hfUpgrade.add<
double>(
"pedestalWidth", 3.33);
1022 desc_hfUpgrade.add<
int>(
"zsThreshold", -9999);
1023 desc_hfUpgrade.add<std::vector<double>>(
"qieOffset", std::vector<double>({0.0697, -0.7405, 12.38, -671.9}));
1024 desc_hfUpgrade.add<std::vector<double>>(
"qieSlope", std::vector<double>({0.297, 0.298, 0.298, 0.313}));
1025 desc_hfUpgrade.add<
int>(
"qieType", 1);
1026 desc_hfUpgrade.add<
int>(
"mcShape",301);
1027 desc_hfUpgrade.add<
int>(
"recoShape",301);
1028 desc_hfUpgrade.add<
double>(
"photoelectronsToAnalog",0.0);
1029 desc_hfUpgrade.add<std::vector<double>>(
"darkCurrent",std::vector<double>({0.0}));
1030 desc_hfUpgrade.add<
bool>(
"doRadiationDamage",
false);
1034 desc_hfrecal.
add<std::vector<double>>(
"HFdepthOneParameterA", std::vector<double>());
1035 desc_hfrecal.add<std::vector<double>>(
"HFdepthOneParameterB", std::vector<double>());
1036 desc_hfrecal.add<std::vector<double>>(
"HFdepthTwoParameterA", std::vector<double>());
1037 desc_hfrecal.add<std::vector<double>>(
"HFdepthTwoParameterB", std::vector<double>());
1041 desc_ho.
add<std::vector<double>>(
"gain", std::vector<double>({0.006, 0.0087}));
1042 desc_ho.add<std::vector<double>>(
"gainWidth", std::vector<double>({0.0, 0.0}));
1043 desc_ho.add<
double>(
"pedestal", 11.0);
1044 desc_ho.add<
double>(
"pedestalWidth", 0.57);
1045 desc_ho.add<
int>(
"zsThreshold", 24);
1046 desc_ho.add<std::vector<double>>(
"qieOffset", std::vector<double>({-0.44, 1.4, 7.1, 38.5}));
1047 desc_ho.add<std::vector<double>>(
"qieSlope", std::vector<double>({0.907, 0.915, 0.92, 0.921}));
1048 desc_ho.add<
int>(
"qieType", 0);
1049 desc_ho.add<
int>(
"mcShape",201);
1050 desc_ho.add<
int>(
"recoShape",201);
1051 desc_ho.add<
double>(
"photoelectronsToAnalog",4.0);
1052 desc_ho.add<std::vector<double>>(
"darkCurrent",std::vector<double>({0.0}));
1053 desc_ho.add<
bool>(
"doRadiationDamage",
false);
1057 validator_sipm.
add<
int>(
"pixels",1);
1058 validator_sipm.add<
double>(
"crosstalk",0);
1059 validator_sipm.add<
double>(
"nonlin1",1);
1060 validator_sipm.add<
double>(
"nonlin2",0);
1061 validator_sipm.add<
double>(
"nonlin3",0);
1062 std::vector<edm::ParameterSet> default_sipm(1);
1063 desc.
addVPSet(
"SiPMCharacteristics",validator_sipm,default_sipm);
std::unique_ptr< HcalPedestals > producePedestals(const HcalPedestalsRcd &rcd)
static const int kHcalVersMask
T getParameter(std::string const &) const
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
HcalMCParam makeMCParam(HcalGenericDetId fId) const
T getUntrackedParameter(std::string const &, T const &) const
std::unique_ptr< HcalPedestals > producePedestals_(const HcalPedestalsRcd &rcd, bool eff)
std::unique_ptr< HcalGains > produceGains(const HcalGainsRcd &rcd)
void useHBUpgrade(bool b)
void getDepthSegmentation(const unsigned ring, std::vector< int > &readoutDepths, const bool flag=false) const
HcalHardcodeCalibrations(const edm::ParameterSet &)
const bool killHE() const
std::unique_ptr< HcalPedestalWidths > produceEffectivePedestalWidths(const HcalPedestalWidthsRcd &rcd)
ParameterDescriptionBase * addVPSet(U const &iLabel, ParameterSetDescription const &validator, std::vector< ParameterSet > const &defaults)
std::unique_ptr< HcalPFCorrs > producePFCorrs(const HcalPFCorrsRcd &rcd)
std::unique_ptr< HcalQIEData > produceQIEData(const HcalQIEDataRcd &rcd)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void setHBUpgrade(HcalHardcodeParameters p)
const EventID & eventID() const
bool valid(const DetId &id) const override
static uint32_t kHcalEtaMask2
std::unique_ptr< HcalTimeCorrs > produceTimeCorrs(const HcalTimeCorrsRcd &rcd)
void useHFUpgrade(bool b)
std::unique_ptr< HcalLongRecoParams > produceLongRecoParams(const HcalLongRecoParamsRcd &rcd)
std::unique_ptr< HcalPedestals > produceEffectivePedestals(const HcalPedestalsRcd &rcd)
std::unique_ptr< HcalSiPMCharacteristics > produceSiPMCharacteristics(const HcalSiPMCharacteristicsRcd &rcd)
std::unique_ptr< HcalElectronicsMap > produceElectronicsMap(const HcalElectronicsMapRcd &rcd)
std::unique_ptr< HcalElectronicsMap > makeHardcodeMap(const std::vector< HcalGenericDetId > &cells) const
void setHF(HcalHardcodeParameters p)
static const IOVSyncValue & endOfTime()
bool exists(std::string const ¶meterName) const
checks if a parameter exists
std::pair< Time_t, Time_t > ValidityInterval
std::unique_ptr< HcalPedestalWidths > producePedestalWidths_(const HcalPedestalWidthsRcd &rcd, bool eff)
std::unique_ptr< HcalDcsValues > produceDcsValues(const HcalDcsRcd &rcd)
static const int kHcalEtaMask
void setIntervalFor(const edm::eventsetup::EventSetupRecordKey &, const edm::IOVSyncValue &, edm::ValidityInterval &) override
std::unique_ptr< HcalPedestalWidths > producePedestalWidths(const HcalPedestalWidthsRcd &rcd)
HcalTimingParam makeTimingParam(HcalGenericDetId fId) const
HcalDbHardcode dbHardcode
HcalRecoParam makeRecoParam(HcalGenericDetId fId) const
int depth() const
get the tower depth
void makeHardcodeFrontEndMap(HcalFrontEndMap &emap, const std::vector< HcalGenericDetId > &cells) const
virtual bool valid(const HcalZDCDetId &id) const
void addDefault(ParameterSetDescription const &psetDescription)
std::unique_ptr< HFRecalibration > hf_recalibration
std::unique_ptr< HcalRespCorrs > produceRespCorrs(const HcalRespCorrsRcd &rcd)
HcalQIECoder makeQIECoder(HcalGenericDetId fId) const
std::unique_ptr< HcalLutMetadata > produceLutMetadata(const HcalLutMetadataRcd &rcd)
void setHO(HcalHardcodeParameters p)
static const IOVSyncValue & beginOfTime()
const DepRecordT getRecord() const
void setHFUpgrade(HcalHardcodeParameters p)
void setHE(HcalHardcodeParameters p)
std::unique_ptr< HcalDcsMap > makeHardcodeDcsMap() const
int ieta() const
get the cell ieta
std::unique_ptr< HcalFlagHFDigiTimeParams > produceFlagHFDigiTimeParams(const HcalFlagHFDigiTimeParamsRcd &rcd)
const char * name() const
std::unique_ptr< HcalFrontEndMap > produceFrontEndMap(const HcalFrontEndMapRcd &rcd)
void makeHardcodeTPParameters(HcalTPParameters &tppar) const
std::unique_ptr< HBHERecalibration > hb_recalibration
static const int kHcalDepthMask
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void useHOUpgrade(bool b)
std::unique_ptr< HcalSiPMParameters > produceSiPMParameters(const HcalSiPMParametersRcd &rcd)
std::unique_ptr< HBHERecalibration > he_recalibration
static const int kHcalPhiMask
int ietaAbs() const
get the absolute value of the cell ieta
Namespace of DDCMS conversion namespace.
~HcalHardcodeCalibrations() override
HcalTPChannelParameter makeHardcodeTPChannelParameter(HcalGenericDetId fId) const
std::unique_ptr< HcalRecoParams > produceRecoParams(const HcalRecoParamsRcd &rcd)
void setHB(HcalHardcodeParameters p)
int iphi() const
get the cell iphi
std::unique_ptr< HcalTPParameters > produceTPParameters(const HcalTPParametersRcd &rcd)
HcalGainWidth makeGainWidth(HcalGenericDetId fId) const
std::unique_ptr< HcalSiPMCharacteristics > makeHardcodeSiPMCharacteristics() const
HcalGain makeGain(HcalGenericDetId fId, bool fSmear=false) const
static uint32_t kHcalPhiMask2
std::unique_ptr< HcalGainWidths > produceGainWidths(const HcalGainWidthsRcd &rcd)
std::unique_ptr< HcalTPChannelParameters > produceTPChannelParameters(const HcalTPChannelParametersRcd &rcd)
std::unique_ptr< HcalL1TriggerObjects > produceL1TriggerObjects(const HcalL1TriggerObjectsRcd &rcd)
bool switchGainWidthsForTrigPrims
std::unique_ptr< HcalZSThresholds > produceZSThresholds(const HcalZSThresholdsRcd &rcd)
HcalQIEType makeQIEType(HcalGenericDetId fId) const
std::unique_ptr< HcalZDCLowGainFractions > produceZDCLowGainFractions(const HcalZDCLowGainFractionsRcd &rcd)
void setSiPMCharacteristics(std::vector< edm::ParameterSet > vps)
std::unique_ptr< HcalMCParams > produceMCParams(const HcalMCParamsRcd &rcd)
void useHEUpgrade(bool b)
std::unique_ptr< HcalTimingParams > produceTimingParams(const HcalTimingParamsRcd &rcd)
std::unique_ptr< HcalQIETypes > produceQIETypes(const HcalQIETypesRcd &rcd)
int getLayersInDepth(int ieta, int depth, const HcalTopology *topo)
std::unique_ptr< HcalChannelQuality > produceChannelQuality(const HcalChannelQualityRcd &rcd)
HcalPedestal makePedestal(HcalGenericDetId fId, bool fSmear, bool eff, const HcalTopology *topo, double intlumi)
std::string fullPath() const
const Timestamp & time() const
HcalSiPMParameter makeHardcodeSiPMParameter(HcalGenericDetId fId, const HcalTopology *topo, double intlumi)
void setHEUpgrade(HcalHardcodeParameters p)
std::unique_ptr< HcalDcsMap > produceDcsMap(const HcalDcsMapRcd &rcd)
TimeValue_t value() const
HcalZSThreshold makeZSThreshold(HcalGenericDetId fId) const
std::unique_ptr< HcalLUTCorrs > produceLUTCorrs(const HcalLUTCorrsRcd &rcd)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HcalPedestalWidth makePedestalWidth(HcalGenericDetId fId, bool eff, const HcalTopology *topo, double intlumi)
std::unique_ptr< HcalValidationCorrs > produceValidationCorrs(const HcalValidationCorrsRcd &rcd)
bool validHT(const HcalTrigTowerDetId &id) const