CMS 3D CMS Logo

Functions
HcalDbASCIIIO Namespace Reference

Functions

template<class T >
std::unique_ptr< TcreateObject (std::istream &fInput)
 
template<>
std::unique_ptr< HcalDcsMapcreateObject< HcalDcsMap > (std::istream &fInput)
 
template<>
std::unique_ptr< HcalElectronicsMapcreateObject< HcalElectronicsMap > (std::istream &fInput)
 
template<>
std::unique_ptr< HcalFrontEndMapcreateObject< HcalFrontEndMap > (std::istream &fInput)
 
template<>
std::unique_ptr< HcalSiPMCharacteristicscreateObject< HcalSiPMCharacteristics > (std::istream &fInput)
 
void dumpId (std::ostream &fOutput, DetId id)
 
void dumpIdShort (std::ostream &fOutput, DetId id)
 
bool dumpObject (std::ostream &fOutput, const HcalPedestals &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalPedestalWidths &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalGains &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalGainWidths &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalQIEData &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalCalibrationQIEData &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalQIETypes &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalElectronicsMap &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalChannelQuality &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalRespCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalLUTCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalPFCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalTimeCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalZSThresholds &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalL1TriggerObjects &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalFrontEndMap &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalValidationCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalLutMetadata &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalDcsValues &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalDcsMap &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalRecoParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalLongRecoParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalZDCLowGainFractions &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalTimingParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalMCParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalFlagHFDigiTimeParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalSiPMParameters &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalSiPMCharacteristics &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalTPParameters &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalTPChannelParameters &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalCalibrationsSet &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalCalibrationWidthsSet &fObject)
 
DetId getId (const std::vector< std::string > &items)
 
bool getObject (std::istream &fInput, HcalPedestals *fObject)
 
bool getObject (std::istream &fInput, HcalPedestalWidths *fObject)
 
bool getObject (std::istream &fInput, HcalGains *fObject)
 
bool getObject (std::istream &fInput, HcalGainWidths *fObject)
 
bool getObject (std::istream &fInput, HcalQIEData *fObject)
 
bool getObject (std::istream &fInput, HcalCalibrationQIEData *fObject)
 
bool getObject (std::istream &fInput, HcalQIETypes *fObject)
 
bool getObject (std::istream &fInput, HcalChannelQuality *fObject)
 
bool getObject (std::istream &fInput, HcalRespCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalLUTCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalPFCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalTimeCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalZSThresholds *fObject)
 
bool getObject (std::istream &fInput, HcalL1TriggerObjects *fObject)
 
bool getObject (std::istream &fInput, HcalValidationCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalLutMetadata *fObject)
 
bool getObject (std::istream &fInput, HcalDcsValues *fObject)
 
bool getObject (std::istream &fInput, HcalRecoParams *fObject)
 
bool getObject (std::istream &fInput, HcalLongRecoParams *fObject)
 
bool getObject (std::istream &fInput, HcalZDCLowGainFractions *fObject)
 
bool getObject (std::istream &fInput, HcalTimingParams *fObject)
 
bool getObject (std::istream &fInput, HcalMCParams *fObject)
 
bool getObject (std::istream &fInput, HcalFlagHFDigiTimeParams *fObject)
 
bool getObject (std::istream &fInput, HcalSiPMParameters *fObject)
 
bool getObject (std::istream &fInput, HcalTPParameters *fObject)
 
bool getObject (std::istream &fInput, HcalTPChannelParameters *fObject)
 

Function Documentation

template<class T >
std::unique_ptr<T> HcalDbASCIIIO::createObject ( std::istream &  fInput)

Definition at line 57 of file HcalDbASCIIIO.h.

References createObject< HcalDcsMap >(), createObject< HcalElectronicsMap >(), createObject< HcalFrontEndMap >(), createObject< HcalSiPMCharacteristics >(), dumpId(), dumpIdShort(), dumpObject(), getId(), getObject(), and mps_monitormerge::items.

57  {
58  assert(0); //no general case, relies on specializations defined in cc file
59  return std::make_unique<T>();
60  }
template<>
std::unique_ptr<HcalDcsMap> HcalDbASCIIIO::createObject< HcalDcsMap > ( std::istream &  fInput)

Definition at line 1905 of file HcalDbASCIIIO.cc.

References HcalCondObjectContainer< Item >::addValues(), HcalDcsMap::beginById(), edmScanValgrind::buffer, ewkTauDQM_cfi::channels, HcalDcsDetId::DCSUNKNOWN, dumpId(), dumpObject(), HcalDcsMap::endById(), spr::find(), HcalCondObjectContainer< Item >::getAllChannels(), HcalDcsMap::const_iterator::getHcalDcsDetId(), HcalDcsMap::const_iterator::getHcalDetId(), HcalText2DetIdConverter::getId(), getId(), getObject(), HcalCondObjectContainer< Item >::getValues(), HcalCalibration, HcalDcsBarrel, HcalDcsEndcap, HcalDcsForward, HcalDcsOuter, HcalOtherEmpty, HcalFlagHFDigiTimeParam::HFdigiflagCoefficients(), HcalFlagHFDigiTimeParam::HFdigiflagExpectedPeak(), HcalFlagHFDigiTimeParam::HFdigiflagFirstSample(), HcalFlagHFDigiTimeParam::HFdigiflagMinEThreshold(), HcalFlagHFDigiTimeParam::HFdigiflagSamplesToAdd(), triggerObjects_cff::id, HcalText2DetIdConverter::isHcalDetId(), HcalDcsMapAddons::Helper::mapGeomId2DcsId(), HcalDcsDetId::ring(), relativeConstraints::ring, HcalDcsDetId::slice(), mergeAndRegister::slice, splitString(), splitStringToDoubleByComma(), AlCaHLTBitMon_QueryRunRegistry::string, HcalDcsDetId::subchannel(), and x.

Referenced by createObject().

1905  {
1906  char buffer[1024];
1907  HcalDcsMapAddons::Helper fObjectHelper;
1908  while (fInput.getline(buffer, 1024)) {
1909  if (buffer[0] == '#')
1910  continue; //ignore comment
1911  std::vector<std::string> items = splitString(std::string(buffer));
1912  if (items.size() < 8) {
1913  if (items.empty())
1914  continue; // no warning here
1915  else {
1916  edm::LogError("MapFormat")
1917  << "HcalDcsMap-> Bad line: " << buffer
1918  << "\n line must contain 8 items: line side_ring slice subchannel subdet ieta iphi depth";
1919  continue;
1920  }
1921  }
1922  int ring = atoi(items[1].c_str());
1923  unsigned int slice = atoi(items[2].c_str());
1924  unsigned int subchannel = atoi(items[3].c_str());
1927  if (items[4].find("CALIB") != std::string::npos) {
1928  subdet = HcalCalibration;
1929  } else if (items[4].find("HB") != std::string::npos) {
1930  subdet = HcalDcsBarrel;
1931  } else if (items[4].find("HE") != std::string::npos) {
1932  subdet = HcalDcsEndcap;
1933  } else if (items[4].find("HO") != std::string::npos) {
1934  subdet = HcalDcsOuter;
1935  } else if (items[4].find("HF") != std::string::npos) {
1936  subdet = HcalDcsForward;
1937  } else {
1938  edm::LogError("MapFormat") << "HcalDcsMap-> Unknown subdetector, line is not accepted: " << items[5];
1939  continue;
1940  }
1941  HcalDcsDetId dcsId(subdet, ring, slice, type, subchannel);
1942  HcalText2DetIdConverter converter(items[4], items[5], items[6], items[7]);
1943  HcalDetId id(0);
1944  if (converter.isHcalDetId()) {
1945  id = converter.getId();
1946  } else {
1947  edm::LogWarning("Invalid HCAL channel") << "HcalDcsMap-> invalid channel: " << items[4] << '/' << items[5]
1948  << '/' << items[6] << '/' << items[7] << std::endl;
1949  continue;
1950  }
1951  fObjectHelper.mapGeomId2DcsId(id, dcsId);
1952  }
1953  auto fObject = std::make_unique<HcalDcsMap>(fObjectHelper);
1954  return fObject;
1955  }
type
Definition: HCALResponse.h:21
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
std::vector< std::string > splitString(const std::string &fLine)
HcalOtherSubdetector
Definition: HcalAssistant.h:40
bool mapGeomId2DcsId(HcalDetId fId, HcalDcsDetId fDcsId)
Definition: HcalDcsMap.cc:143
template<>
std::unique_ptr<HcalElectronicsMap> HcalDbASCIIIO::createObject< HcalElectronicsMap > ( std::istream &  fInput)

Definition at line 1517 of file HcalDbASCIIIO.cc.

References HcalDcsValues::addValue(), HcalCondObjectContainer< Item >::addValues(), HcalElectronicsMap::allElectronicsId(), edmScanValgrind::buffer, ewkTauDQM_cfi::channels, HcalElectronicsId::crateId(), HcalElectronicsId::dccid(), HcalDcsDetId::DcsTypeFromString(), TauDecayModes::dec, CastorDbASCIIIO::dumpId(), dumpObject(), runTauDisplay::eid, HcalElectronicsId::fiberChanId(), HcalElectronicsId::fiberIndex(), HcalCondObjectContainer< Item >::getAllChannels(), HcalDcsValues::getAllSubdetValues(), HcalText2DetIdConverter::getField1(), HcalText2DetIdConverter::getField2(), HcalText2DetIdConverter::getField3(), HcalText2DetIdConverter::getFlavor(), HcalText2DetIdConverter::getId(), getId(), HcalLutMetadatum::getLutGranularity(), HcalLutMetadata::getNominalGain(), getObject(), HcalLutMetadatum::getOutputLutThreshold(), HcalLutMetadatum::getRCalib(), HcalLutMetadata::getRctLsb(), HcalCondObjectContainer< Item >::getValues(), HcalDcsBarrel, HcalDcsEndcap, HcalDcsForward, HcalDcsOuter, HcalDcsValues::HcalHB, HcalDcsValues::HcalHF, HcalElectronicsId::htrSlot(), HcalElectronicsId::htrTopBottom(), mps_fire::i, HcalText2DetIdConverter::isHcalCalibDetId(), HcalText2DetIdConverter::isHcalDetId(), HcalText2DetIdConverter::isHcalTrigTowerDetId(), HcalText2DetIdConverter::isHcalZDCDetId(), HcalElectronicsId::isTriggerChainId(), HcalElectronicsId::isUTCAid(), HcalElectronicsId::isVMEid(), HcalElectronicsMap::lookup(), HcalElectronicsMap::lookupTrigger(), HcalElectronicsMapAddons::Helper::mapEId2chId(), HcalElectronicsMapAddons::Helper::mapEId2tId(), or, DetId::rawId(), HcalElectronicsId::readoutVMECrateId(), HcalElectronicsId::setHTR(), HcalLutMetadata::setNominalGain(), HcalLutMetadata::setRctLsb(), slb(), HcalElectronicsId::slbChannelIndex(), HcalElectronicsId::slbSiteNumber(), mergeAndRegister::slice, HcalElectronicsId::slot(), HcalDcsValues::sortAll(), HcalElectronicsId::spigot(), splitString(), AlCaHLTBitMon_QueryRunRegistry::string, HcalTrigTowerDetId::Undefined, HcalDetId::Undefined, pileupCalc::upper, and heppy_batch::val.

Referenced by createObject().

1517  {
1518  HcalElectronicsMapAddons::Helper fObjectHelper;
1519  char buffer[1024];
1520  while (fInput.getline(buffer, 1024)) {
1521  if (buffer[0] == '#')
1522  continue; //ignore comment
1523  std::vector<std::string> items = splitString(std::string(buffer));
1524  if (items.size() < 12) {
1525  if (items.empty())
1526  continue; // no warning here
1527  if (items.size() < 9) {
1528  edm::LogError("MapFormat") << "HcalElectronicsMap-> line too short: " << buffer;
1529  continue;
1530  }
1531  if (items[8] == "NA" || items[8] == "NT") {
1532  while (items.size() < 12)
1533  items.push_back(""); // don't worry here
1534  } else if (items[8] == "HT") {
1535  if (items.size() == 11)
1536  items.push_back("");
1537  else {
1538  edm::LogError("MapFormat") << "HcalElectronicsMap-> Bad line: " << buffer
1539  << "\n HT line must contain at least 11 items: i cr sl tb dcc spigot fiber "
1540  "fiberchan subdet=HT ieta iphi";
1541  continue;
1542  }
1543  } else {
1544  edm::LogError("MapFormat")
1545  << "HcalElectronicsMap-> Bad line: " << buffer
1546  << "\n line must contain 12 items: i cr sl tb dcc spigot fiber fiberchan subdet ieta iphi depth";
1547  continue;
1548  }
1549  }
1550  int crate = atoi(items[1].c_str());
1551  int slot = atoi(items[2].c_str());
1552  int top = 1;
1553  if (items[3] == "b")
1554  top = 0;
1555  int dcc = atoi(items[4].c_str());
1556  int spigot = atoi(items[5].c_str());
1557  HcalElectronicsId elId;
1558  if (items[3][0] == 'u') { // uTCA!
1559  int fiber = atoi(items[6].c_str());
1560  int fiberCh = atoi(items[7].c_str());
1561  bool isTrig = (items[8] == "HT" || items[8] == "NT");
1562  elId = HcalElectronicsId(crate, slot, fiber, fiberCh, isTrig);
1563  } else if (items[8] == "HT" || items[8] == "NT") {
1564  int slb = atoi(items[6].c_str());
1565  int slbCh = atoi(items[7].c_str());
1566  elId = HcalElectronicsId(slbCh, slb, spigot, dcc, crate, slot, top);
1567  } else {
1568  int fiber = atoi(items[6].c_str());
1569  int fiberCh = atoi(items[7].c_str());
1570 
1571  elId = HcalElectronicsId(fiberCh, fiber, spigot, dcc);
1572  elId.setHTR(crate, slot, top);
1573  }
1574 
1575  // first, handle undefined cases
1576  if (items[8] == "NA") { // undefined channel
1577  fObjectHelper.mapEId2chId(elId, DetId(HcalDetId::Undefined));
1578  } else if (items[8] == "NT") { // undefined trigger channel
1579  fObjectHelper.mapEId2tId(elId, DetId(HcalTrigTowerDetId::Undefined));
1580  } else {
1581  HcalText2DetIdConverter converter(items[8], items[9], items[10], items[11]);
1582  if (converter.isHcalDetId() or converter.isHcalCalibDetId() or converter.isHcalZDCDetId()) {
1583  fObjectHelper.mapEId2chId(elId, converter.getId());
1584  } else if (converter.isHcalTrigTowerDetId()) {
1585  fObjectHelper.mapEId2tId(elId, converter.getId());
1586  } else {
1587  edm::LogWarning("Format Error") << "HcalElectronicsMap-> Unknown subdetector: " << items[8] << '/' << items[9]
1588  << '/' << items[10] << '/' << items[11] << std::endl;
1589  }
1590  }
1591  }
1592  auto fObject = std::make_unique<HcalElectronicsMap>(fObjectHelper);
1593  return fObject;
1594  }
constexpr void setHTR(int crate, int slot, int tb)
static const HcalDetId Undefined
Definition: HcalDetId.h:273
bool mapEId2chId(HcalElectronicsId fElectronicsId, DetId fId)
static int slb(const HcalTriggerPrimitiveSample &theSample)
std::vector< std::string > splitString(const std::string &fLine)
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
Definition: Activities.doc:12
bool mapEId2tId(HcalElectronicsId fElectronicsId, HcalTrigTowerDetId fTriggerId)
Definition: DetId.h:17
static const HcalTrigTowerDetId Undefined
Readout chain identification for Hcal.
template<>
std::unique_ptr<HcalFrontEndMap> HcalDbASCIIIO::createObject< HcalFrontEndMap > ( std::istream &  fInput)

Definition at line 2077 of file HcalDbASCIIIO.cc.

References HcalCondObjectContainer< Item >::addValues(), Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), HcalFrontEndMap::allDetIds(), edmScanValgrind::buffer, ewkTauDQM_cfi::channels, CastorDbASCIIIO::dumpId(), dumpId(), dumpObject(), HcalCondObjectContainer< Item >::getAllChannels(), HcalSiPMParameter::getauxi1(), HcalSiPMParameter::getauxi2(), HcalSiPMParameter::getDarkCurrent(), HcalSiPMParameter::getFCByPE(), getId(), getObject(), HcalSiPMParameter::getType(), HcalCondObjectContainer< Item >::getValues(), HcalFrontEndMapAddons::Helper::loadObject(), HcalFrontEndMap::lookupRBX(), HcalFrontEndMap::lookupRM(), getGTfromDQMFile::obj, submit::rm, splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by createObject().

2077  {
2078  char buffer[1024];
2079  HcalFrontEndMapAddons::Helper fObjectHelper;
2080  unsigned int all(0), good(0);
2081  while (fInput.getline(buffer, 1024)) {
2082  ++all;
2083  if (buffer[0] == '#')
2084  continue; //ignore comment
2085  std::vector<std::string> items = splitString(std::string(buffer));
2086  if (items.size() != 6) {
2087  edm::LogError("Format Error") << "HcalFrontEndMap-> line ignored: " << buffer;
2088  continue;
2089  }
2090  ++good;
2091  DetId id = HcalDbASCIIIO::getId(items);
2092  int rm = atoi(items[5].c_str());
2093  fObjectHelper.loadObject(id, rm, items[4]);
2094  }
2095  edm::LogInfo("MapFormat") << "HcalFrontEndMap:: processed " << good << " records in " << all << " record"
2096  << std::endl;
2097  auto fObject = std::make_unique<HcalFrontEndMap>(fObjectHelper);
2098  return fObject;
2099  }
bool loadObject(DetId fId, int rm, std::string rbx)
load a new entry
std::vector< std::string > splitString(const std::string &fLine)
Definition: DetId.h:17
DetId getId(const std::vector< std::string > &items)
rm
Definition: submit.py:77
template<>
std::unique_ptr<HcalSiPMCharacteristics> HcalDbASCIIIO::createObject< HcalSiPMCharacteristics > ( std::istream &  fInput)

Definition at line 2182 of file HcalDbASCIIIO.cc.

References HcalCondObjectContainer< Item >::addValues(), Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), edmScanValgrind::buffer, ewkTauDQM_cfi::channels, CastorDbASCIIIO::dumpId(), dumpId(), dumpObject(), HcalCalibrationWidths::effpedestal(), HcalCalibrations::effpedestal(), HcalCalibrationWidths::gain(), HcalTPParameters::getADCThresholdHF(), HcalCalibrationsSet::getAllChannels(), HcalCalibrationWidthsSet::getAllChannels(), HcalCondObjectContainer< Item >::getAllChannels(), HcalTPChannelParameter::getauxi1(), HcalTPParameters::getAuxi1(), HcalSiPMCharacteristics::getAuxi1(), HcalTPChannelParameter::getauxi2(), HcalTPParameters::getAuxi2(), HcalSiPMCharacteristics::getAuxi2(), HcalCalibrationsSet::getCalibrations(), HcalCalibrationWidthsSet::getCalibrationWidths(), HcalSiPMCharacteristics::getCrossTalk(), HcalTPChannelParameter::getFGBitInfo(), HcalTPParameters::getFGVersionHBHE(), HcalTPParameters::getHFTriggerInfo(), getId(), HcalTPChannelParameter::getMask(), HcalSiPMCharacteristics::getNonLinearities(), getObject(), HcalSiPMCharacteristics::getPixels(), HcalTPParameters::getTDCMaskHF(), HcalSiPMCharacteristics::getType(), HcalSiPMCharacteristics::getTypes(), HcalCondObjectContainer< Item >::getValues(), dqmdumpme::k, HcalTPParameters::loadObject(), HcalSiPMCharacteristicsAddons::Helper::loadObject(), getGTfromDQMFile::obj, fitWZ::par0, pfMETCorrectionType0_cfi::par1, pfMETCorrectionType0_cfi::par2, HcalCalibrationWidths::pedestal(), HcalCalibrations::pedestal(), HcalCalibrations::respcorrgain(), findQualityFiles::size, splitString(), AlCaHLTBitMon_QueryRunRegistry::string, contentValuesCheck::values, and BeamSplash_cfg::version.

Referenced by createObject().

2182  {
2183  char buffer[1024];
2185  unsigned int all(0), good(0);
2186  while (fInput.getline(buffer, 1024)) {
2187  ++all;
2188  if (buffer[0] == '#')
2189  continue; //ignore comment
2190  std::vector<std::string> items = splitString(std::string(buffer));
2191  if (items.size() != 8) {
2192  edm::LogError("MapFormat") << "HcalSiPMCharacteristics-> line ignored: " << buffer;
2193  continue;
2194  }
2195  ++good;
2196  // std::cout << "HcalSiPMCharacteristics-> processing line: " << buffer << std::endl;
2197  int type = atoi(items[0].c_str());
2198  int pixels = atoi(items[1].c_str());
2199  float parL0 = atof(items[2].c_str());
2200  float parL1 = atof(items[3].c_str());
2201  float parL2 = atof(items[4].c_str());
2202  float cTalk = atof(items[5].c_str());
2203  int auxi1 = atoi(items[6].c_str());
2204  float auxi2 = atof(items[7].c_str());
2205  fObjectHelper.loadObject(type, pixels, parL0, parL1, parL2, cTalk, auxi1, auxi2);
2206  }
2207  edm::LogInfo("MapFormat") << "HcalSiPMCharacteristics:: processed " << good << " records in " << all << " record"
2208  << std::endl;
2209  auto fObject = std::make_unique<HcalSiPMCharacteristics>(fObjectHelper);
2210  return fObject;
2211  }
type
Definition: HCALResponse.h:21
std::vector< std::string > splitString(const std::string &fLine)
bool loadObject(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1=0, float auxi2=0)
void HcalDbASCIIIO::dumpId ( std::ostream &  fOutput,
DetId  id 
)
void HcalDbASCIIIO::dumpIdShort ( std::ostream &  fOutput,
DetId  id 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalPedestals fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalPedestalWidths fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalGains fObject 
)

Definition at line 389 of file HcalDbASCIIIO.cc.

References dumpHcalObject().

389 { return dumpHcalObject(fOutput, fObject); }
bool dumpHcalObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalGainWidths fObject 
)

Definition at line 393 of file HcalDbASCIIIO.cc.

References dumpHcalObject().

393 { return dumpHcalObject(fOutput, fObject); }
bool dumpHcalObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalQIEData fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalCalibrationQIEData fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalQIETypes fObject 
)

Definition at line 447 of file HcalDbASCIIIO.cc.

References HcalCalibrationQIEData::addCoder(), HcalQIEData::addCoder(), HcalCondObjectContainer< Item >::addValues(), newFWLiteAna::bin, HcalMCParam::binOfMaximum(), edmScanValgrind::buffer, ewkTauDQM_cfi::channels, HcalRecoParam::correctForLeadingEdge(), HcalRecoParam::correctForPhaseContainment(), HcalRecoParam::correctForTimeslew(), HcalRecoParam::correctionPhaseNS(), HcalRecoParam::correctTiming(), dumpHcalSingleIntObject(), CastorDbASCIIIO::dumpId(), dumpId(), dumpIdShort(), dumpObject(), HcalRecoParam::firstAuxTS(), HcalRecoParam::firstSample(), HcalL1TriggerObjects::getAlgoString(), HcalCondObjectContainer< Item >::getAllChannels(), HcalCalibrationQIEData::getCoder(), HcalQIEData::getCoder(), HcalL1TriggerObject::getFlag(), getId(), getId(), getObject(), HcalL1TriggerObject::getPedestal(), HcalL1TriggerObject::getRespGain(), HcalPedestalWidth::getSigma(), HcalL1TriggerObjects::getTagString(), HcalChannelStatus::getValue(), HcalPedestal::getValues(), HcalCondObjectContainer< Item >::getValues(), mps_fire::i, HcalPedestals::isADC(), HcalPedestalWidths::isADC(), HcalGenericDetId::isHcalZDCDetId(), B2GTnPMonitor_cfi::item, dqmiolumiharvest::j, HcalRecoParam::leakCorrectionID(), HcalCalibrationQIECoder::minCharges(), HcalTimingParam::nhits(), HcalRecoParam::noiseFlaggingID(), HcalLongRecoParam::noiseTS(), HcalQIECoder::offset(), HcalMCParam::packingScheme(), HcalRecoParam::packingScheme(), HcalRecoParam::param1(), HcalMCParam::param1(), HcalRecoParam::param2(), HcalTimingParam::phase(), HLT_2018_cff::phase, HcalRecoParam::pileupCleaningID(), HcalRecoParam::pulseShapeID(), FastTimerService_cff::range, HcalTimingParam::rms(), HcalRecoParam::samplesToAdd(), HcalL1TriggerObjects::setAlgoString(), HcalCalibrationQIECoder::setMinCharges(), HcalQIECoder::setOffset(), HcalPedestalWidth::setSigma(), HcalQIECoder::setSlope(), HcalL1TriggerObjects::setTagString(), HcalPedestals::setUnitADC(), HcalPedestalWidths::setUnitADC(), HcalMCParam::signalShape(), HcalLongRecoParam::signalTS(), HcalQIECoder::slope(), HcalCalibrationQIEData::sort(), HcalQIEData::sort(), HcalRecoParam::specialCaseID(), splitString(), splitStringToIntByComma(), AlCaHLTBitMon_QueryRunRegistry::string, HcalMCParam::syncPhase(), HcalMCParam::timePhase(), HcalRecoParam::timeslewCorrectionID(), HcalMCParam::timeSmearing(), HcalRecoParam::useLeakCorrection(), and contentValuesCheck::values.

447  {
448  return dumpHcalSingleIntObject(fOutput, fObject);
449  }
bool dumpHcalSingleIntObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalElectronicsMap fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalChannelQuality fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalRespCorrs fObject 
)

Definition at line 398 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

398  {
399  return dumpHcalSingleFloatObject(fOutput, fObject);
400  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalLUTCorrs fObject 
)

Definition at line 405 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

405  {
406  return dumpHcalSingleFloatObject(fOutput, fObject);
407  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalPFCorrs fObject 
)

Definition at line 412 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

412  {
413  return dumpHcalSingleFloatObject(fOutput, fObject);
414  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalTimeCorrs fObject 
)

Definition at line 419 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

419  {
420  return dumpHcalSingleFloatObject(fOutput, fObject);
421  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalZSThresholds fObject 
)

Definition at line 426 of file HcalDbASCIIIO.cc.

References dumpHcalSingleIntObject().

426  {
427  return dumpHcalSingleIntObject(fOutput, fObject);
428  }
bool dumpHcalSingleIntObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalL1TriggerObjects fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalFrontEndMap fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalValidationCorrs fObject 
)

Definition at line 440 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

440  {
441  return dumpHcalSingleFloatObject(fOutput, fObject);
442  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalLutMetadata fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalDcsValues fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalDcsMap fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalRecoParams fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalLongRecoParams fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalZDCLowGainFractions fObject 
)

Definition at line 433 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

433  {
434  return dumpHcalSingleFloatObject(fOutput, fObject);
435  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalTimingParams fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalMCParams fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalFlagHFDigiTimeParams fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalSiPMParameters fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalSiPMCharacteristics fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalTPParameters fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalTPChannelParameters fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalCalibrationsSet fObject 
)
bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalCalibrationWidthsSet fObject 
)
DetId HcalDbASCIIIO::getId ( const std::vector< std::string > &  items)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalPedestals fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalPedestalWidths fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalGains fObject 
)

Definition at line 388 of file HcalDbASCIIIO.cc.

388 { return getHcalObject<HcalGain>(fInput, fObject); }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalGainWidths fObject 
)

Definition at line 390 of file HcalDbASCIIIO.cc.

390  {
391  return getHcalObject<HcalGainWidth>(fInput, fObject);
392  }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalQIEData fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalCalibrationQIEData fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalQIETypes fObject 
)

Definition at line 444 of file HcalDbASCIIIO.cc.

444  {
445  return getHcalSingleObject<int, HcalQIEType>(fInput, fObject);
446  }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalChannelQuality fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalRespCorrs fObject 
)

Definition at line 395 of file HcalDbASCIIIO.cc.

395  {
396  return getHcalSingleObject<float, HcalRespCorr>(fInput, fObject);
397  }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalLUTCorrs fObject 
)

Definition at line 402 of file HcalDbASCIIIO.cc.

402  {
403  return getHcalSingleObject<float, HcalLUTCorr>(fInput, fObject);
404  }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalPFCorrs fObject 
)

Definition at line 409 of file HcalDbASCIIIO.cc.

409  {
410  return getHcalSingleObject<float, HcalPFCorr>(fInput, fObject);
411  }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalTimeCorrs fObject 
)

Definition at line 416 of file HcalDbASCIIIO.cc.

416  {
417  return getHcalSingleObject<float, HcalTimeCorr>(fInput, fObject);
418  }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalZSThresholds fObject 
)

Definition at line 423 of file HcalDbASCIIIO.cc.

423  {
424  return getHcalSingleObject<int, HcalZSThreshold>(fInput, fObject);
425  }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalL1TriggerObjects fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalValidationCorrs fObject 
)

Definition at line 437 of file HcalDbASCIIIO.cc.

437  {
438  return getHcalSingleObject<float, HcalValidationCorr>(fInput, fObject);
439  }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalLutMetadata fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalDcsValues fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalRecoParams fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalLongRecoParams fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalZDCLowGainFractions fObject 
)

Definition at line 430 of file HcalDbASCIIIO.cc.

430  {
431  return getHcalSingleObject<float, HcalZDCLowGainFraction>(fInput, fObject);
432  }
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalTimingParams fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalMCParams fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalFlagHFDigiTimeParams fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalSiPMParameters fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalTPParameters fObject 
)
bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalTPChannelParameters fObject 
)