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 1610 of file HcalDbASCIIIO.cc.

References HcalCondObjectContainer< Item >::addValues(), HcalDcsMap::beginById(), edmScanValgrind::buffer, 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(), jetUpdater_cfi::sort, splitString(), splitStringToDoubleByComma(), AlCaHLTBitMon_QueryRunRegistry::string, HcalDcsDetId::subchannel(), and x.

Referenced by createObject().

1610  {
1611  char buffer [1024];
1612  HcalDcsMapAddons::Helper fObjectHelper;
1613  while (fInput.getline(buffer, 1024)) {
1614  if (buffer [0] == '#') continue; //ignore comment
1615  std::vector <std::string> items = splitString (std::string (buffer));
1616  if (items.size () < 8) {
1617  if (items.empty()) continue; // no warning here
1618  else {
1619  edm::LogError("MapFormat") << "HcalDcsMap-> Bad line: " << buffer
1620  << "\n line must contain 8 items: line side_ring slice subchannel subdet ieta iphi depth";
1621  continue;
1622  }
1623  }
1624  int ring = atoi(items[1].c_str());
1625  unsigned int slice = atoi (items [2].c_str());
1626  unsigned int subchannel = atoi (items [3].c_str());
1629  if (items[4].find("CALIB")!=std::string::npos){
1630  subdet = HcalCalibration;
1631  }
1632  else if (items[4].find("HB")!=std::string::npos){
1633  subdet = HcalDcsBarrel;
1634  }
1635  else if (items[4].find("HE")!=std::string::npos){
1636  subdet = HcalDcsEndcap;
1637  }
1638  else if (items[4].find("HO")!=std::string::npos){
1639  subdet = HcalDcsOuter;
1640  }
1641  else if (items[4].find("HF")!=std::string::npos){
1642  subdet = HcalDcsForward;
1643  }
1644  else{
1645  edm::LogError("MapFormat") << "HcalDcsMap-> Unknown subdetector, line is not accepted: " << items[5];
1646  continue;
1647  }
1648  HcalDcsDetId dcsId(subdet, ring, slice, type, subchannel);
1649  HcalText2DetIdConverter converter (items [4], items [5], items [6], items [7]);
1650  HcalDetId id(0);
1651  if (converter.isHcalDetId()){
1652  id = converter.getId();
1653  }
1654  else{
1655  edm::LogWarning("Invalid HCAL channel") << "HcalDcsMap-> invalid channel: "
1656  << items [4] << '/'
1657  << items [5] << '/'
1658  << items [6] << '/'
1659  << items [7] << std::endl;
1660  continue;
1661  }
1662  fObjectHelper.mapGeomId2DcsId(id, dcsId);
1663  }
1664  auto fObject = std::make_unique<HcalDcsMap>(fObjectHelper);
1665  return fObject;
1666 }
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:20
std::vector< std::string > splitString(const std::string &fLine)
HcalOtherSubdetector
Definition: HcalAssistant.h:32
bool mapGeomId2DcsId(HcalDetId fId, HcalDcsDetId fDcsId)
Definition: HcalDcsMap.cc:160
template<>
std::unique_ptr<HcalElectronicsMap> HcalDbASCIIIO::createObject< HcalElectronicsMap > ( std::istream &  fInput)

Definition at line 1274 of file HcalDbASCIIIO.cc.

References HcalDcsValues::addValue(), HcalCondObjectContainer< Item >::addValues(), HcalElectronicsMap::allElectronicsId(), edmScanValgrind::buffer, 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(), HcalElectronicsId::slot(), jetUpdater_cfi::sort, HcalDcsValues::sortAll(), HcalElectronicsId::spigot(), splitString(), AlCaHLTBitMon_QueryRunRegistry::string, HcalTrigTowerDetId::Undefined, HcalDetId::Undefined, pileupCalc::upper, heppy_batch::val, and create_public_pileup_plots::vals.

Referenced by createObject().

1274  {
1275  HcalElectronicsMapAddons::Helper fObjectHelper;
1276  char buffer [1024];
1277  while (fInput.getline(buffer, 1024)) {
1278  if (buffer [0] == '#') continue; //ignore comment
1279  std::vector <std::string> items = splitString (std::string (buffer));
1280  if (items.size () < 12) {
1281  if (items.empty()) continue; // no warning here
1282  if (items.size()<9) {
1283  edm::LogError("MapFormat") << "HcalElectronicsMap-> line too short: " << buffer;
1284  continue;
1285  }
1286  if (items[8]=="NA" || items[8]=="NT") {
1287  while (items.size()<12) items.push_back(""); // don't worry here
1288  } else if (items[8]=="HT") {
1289  if (items.size()==11) items.push_back("");
1290  else {
1291  edm::LogError("MapFormat") << "HcalElectronicsMap-> Bad line: " << buffer
1292  << "\n HT line must contain at least 11 items: i cr sl tb dcc spigot fiber fiberchan subdet=HT ieta iphi";
1293  continue;
1294  }
1295  } else {
1296  edm::LogError("MapFormat") << "HcalElectronicsMap-> Bad line: " << buffer
1297  << "\n line must contain 12 items: i cr sl tb dcc spigot fiber fiberchan subdet ieta iphi depth";
1298  continue;
1299  }
1300  }
1301  int crate = atoi (items [1].c_str());
1302  int slot = atoi (items [2].c_str());
1303  int top = 1;
1304  if (items [3] == "b") top = 0;
1305  int dcc = atoi (items [4].c_str());
1306  int spigot = atoi (items [5].c_str());
1307  HcalElectronicsId elId;
1308  if (items[3][0] == 'u') { // uTCA!
1309  int fiber = atoi (items [6].c_str());
1310  int fiberCh = atoi (items [7].c_str());
1311  bool isTrig=(items[8] == "HT" || items[8] == "NT");
1312  elId=HcalElectronicsId(crate, slot, fiber, fiberCh,isTrig);
1313  } else if (items[8] == "HT" || items[8] == "NT") {
1314  int slb = atoi (items [6].c_str());
1315  int slbCh = atoi (items [7].c_str());
1316  elId=HcalElectronicsId(slbCh, slb, spigot, dcc,crate,slot,top);
1317  } else {
1318  int fiber = atoi (items [6].c_str());
1319  int fiberCh = atoi (items [7].c_str());
1320 
1321  elId=HcalElectronicsId(fiberCh, fiber, spigot, dcc);
1322  elId.setHTR (crate, slot, top);
1323  }
1324 
1325  // first, handle undefined cases
1326  if (items [8] == "NA") { // undefined channel
1327  fObjectHelper.mapEId2chId (elId, DetId (HcalDetId::Undefined));
1328  } else if (items [8] == "NT") { // undefined trigger channel
1329  fObjectHelper.mapEId2tId (elId, DetId (HcalTrigTowerDetId::Undefined));
1330  } else {
1331  HcalText2DetIdConverter converter (items [8], items [9], items [10], items [11]);
1332  if (converter.isHcalDetId() or converter.isHcalCalibDetId() or converter.isHcalZDCDetId()) {
1333  fObjectHelper.mapEId2chId (elId, converter.getId ());
1334  }
1335  else if (converter.isHcalTrigTowerDetId ()) {
1336  fObjectHelper.mapEId2tId (elId, converter.getId ());
1337  }
1338  else {
1339  edm::LogWarning("Format Error") << "HcalElectronicsMap-> Unknown subdetector: "
1340  << items [8] << '/' << items [9] << '/' << items [10] << '/' << items [11] << std::endl;
1341  }
1342  }
1343  }
1344  auto fObject = std::make_unique<HcalElectronicsMap>(fObjectHelper);
1345  return fObject;
1346 }
constexpr void setHTR(int crate, int slot, int tb)
static const HcalDetId Undefined
Definition: HcalDetId.h:272
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:18
static const HcalTrigTowerDetId Undefined
Readout chain identification for Hcal.
template<>
std::unique_ptr<HcalFrontEndMap> HcalDbASCIIIO::createObject< HcalFrontEndMap > ( std::istream &  fInput)

Definition at line 1772 of file HcalDbASCIIIO.cc.

References HcalCondObjectContainer< Item >::addValues(), Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), HcalFrontEndMap::allDetIds(), edmScanValgrind::buffer, 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(), hgcalPlots::obj, submit::rm, jetUpdater_cfi::sort, splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.

Referenced by createObject().

1772  {
1773  char buffer [1024];
1774  HcalFrontEndMapAddons::Helper fObjectHelper;
1775  unsigned int all(0), good(0);
1776  while (fInput.getline(buffer, 1024)) {
1777  ++all;
1778  if (buffer [0] == '#') continue; //ignore comment
1779  std::vector <std::string> items = splitString (std::string (buffer));
1780  if (items.size () != 6) {
1781  edm::LogError("Format Error") << "HcalFrontEndMap-> line ignored: " << buffer;
1782  continue;
1783  }
1784  ++good;
1785  DetId id = HcalDbASCIIIO::getId (items);
1786  int rm = atoi (items [5].c_str());
1787  fObjectHelper.loadObject (id, rm, items[4]);
1788  }
1789  edm::LogInfo("MapFormat") << "HcalFrontEndMap:: processed " << good << " records in " << all << " record" << std::endl;
1790  auto fObject = std::make_unique<HcalFrontEndMap>(fObjectHelper);
1791  return fObject;
1792 }
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:18
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 1868 of file HcalDbASCIIIO.cc.

References HcalCondObjectContainer< Item >::addValues(), Vispa.Plugins.EdmBrowser.EdmDataAccessor::all(), edmScanValgrind::buffer, 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(), gen::k, HcalTPParameters::loadObject(), HcalSiPMCharacteristicsAddons::Helper::loadObject(), RecoTauDiscriminantConfiguration::mask, hgcalPlots::obj, RecoTauPiZeroBuilderPlugins_cfi::par0, RecoTauPiZeroBuilderPlugins_cfi::par1, HcalCalibrationWidths::pedestal(), HcalCalibrations::pedestal(), HcalCalibrations::respcorrgain(), findQualityFiles::size, jetUpdater_cfi::sort, splitString(), AlCaHLTBitMon_QueryRunRegistry::string, MuonErrorMatrixValues_cff::values, and jets_cff::version.

Referenced by createObject().

1868  {
1869  char buffer [1024];
1871  unsigned int all(0), good(0);
1872  while (fInput.getline(buffer, 1024)) {
1873  ++all;
1874  if (buffer [0] == '#') continue; //ignore comment
1875  std::vector <std::string> items = splitString (std::string (buffer));
1876  if (items.size () != 8) {
1877  edm::LogError("MapFormat") << "HcalSiPMCharacteristics-> line ignored: " << buffer;
1878  continue;
1879  }
1880  ++good;
1881  // std::cout << "HcalSiPMCharacteristics-> processing line: " << buffer << std::endl;
1882  int type = atoi (items [0].c_str());
1883  int pixels = atoi (items [1].c_str());
1884  float parL0 = atof (items [2].c_str());
1885  float parL1 = atof (items [3].c_str());
1886  float parL2 = atof (items [4].c_str());
1887  float cTalk = atof (items [5].c_str());
1888  int auxi1 = atoi (items [6].c_str());
1889  float auxi2 = atof (items [7].c_str());
1890  fObjectHelper.loadObject (type, pixels, parL0, parL1, parL2, cTalk, auxi1, auxi2);
1891  }
1892  edm::LogInfo("MapFormat") << "HcalSiPMCharacteristics:: processed " << good << " records in " << all << " record" << std::endl;
1893  auto fObject = std::make_unique<HcalSiPMCharacteristics>(fObjectHelper);
1894  return fObject;
1895 }
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 337 of file HcalDbASCIIIO.cc.

References dumpHcalObject().

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

Definition at line 339 of file HcalDbASCIIIO.cc.

References dumpHcalObject().

339 {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 363 of file HcalDbASCIIIO.cc.

References HcalCalibrationQIEData::addCoder(), HcalQIEData::addCoder(), HcalCondObjectContainer< Item >::addValues(), stringResolutionProvider_cfi::bin, HcalMCParam::binOfMaximum(), edmScanValgrind::buffer, 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, HcalPedestalWidths::isADC(), HcalPedestals::isADC(), HcalGenericDetId::isHcalZDCDetId(), HcalRecoParam::leakCorrectionID(), HcalCalibrationQIECoder::minCharges(), HcalTimingParam::nhits(), HcalRecoParam::noiseFlaggingID(), HcalLongRecoParam::noiseTS(), HcalQIECoder::offset(), HcalRecoParam::packingScheme(), HcalMCParam::packingScheme(), HcalRecoParam::param1(), HcalMCParam::param1(), HcalRecoParam::param2(), HcalTimingParam::phase(), runGCPTkAlMap::phase, HcalRecoParam::pileupCleaningID(), HcalRecoParam::pulseShapeID(), HcalTimingParam::rms(), HcalRecoParam::samplesToAdd(), HcalL1TriggerObjects::setAlgoString(), HcalCalibrationQIECoder::setMinCharges(), HcalQIECoder::setOffset(), HcalPedestalWidth::setSigma(), HcalQIECoder::setSlope(), HcalL1TriggerObjects::setTagString(), HcalPedestalWidths::setUnitADC(), HcalPedestals::setUnitADC(), HcalMCParam::signalShape(), HcalLongRecoParam::signalTS(), HcalQIECoder::slope(), jetUpdater_cfi::sort, HcalCalibrationQIEData::sort(), HcalQIEData::sort(), HcalRecoParam::specialCaseID(), splitString(), splitStringToIntByComma(), AlCaHLTBitMon_QueryRunRegistry::string, HcalMCParam::syncPhase(), HcalMCParam::timePhase(), HcalRecoParam::timeslewCorrectionID(), HcalMCParam::timeSmearing(), HcalRecoParam::useLeakCorrection(), and MuonErrorMatrixValues_cff::values.

363 {return dumpHcalSingleIntObject (fOutput, fObject); }
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 342 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

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

Definition at line 345 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

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

Definition at line 348 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

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

Definition at line 351 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

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

Definition at line 354 of file HcalDbASCIIIO.cc.

References dumpHcalSingleIntObject().

354 {return dumpHcalSingleIntObject (fOutput, fObject); }
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 360 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

360 {return dumpHcalSingleFloatObject (fOutput, fObject); }
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 357 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

357 {return dumpHcalSingleFloatObject (fOutput, fObject); }
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 336 of file HcalDbASCIIIO.cc.

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

Definition at line 338 of file HcalDbASCIIIO.cc.

338 {return getHcalObject<HcalGainWidth> (fInput, fObject);}
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 362 of file HcalDbASCIIIO.cc.

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

Definition at line 341 of file HcalDbASCIIIO.cc.

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

Definition at line 344 of file HcalDbASCIIIO.cc.

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

Definition at line 347 of file HcalDbASCIIIO.cc.

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

Definition at line 350 of file HcalDbASCIIIO.cc.

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

Definition at line 353 of file HcalDbASCIIIO.cc.

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

Definition at line 359 of file HcalDbASCIIIO.cc.

359 {return getHcalSingleObject<float,HcalValidationCorr> (fInput, fObject); }
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 356 of file HcalDbASCIIIO.cc.

356 {return getHcalSingleObject<float,HcalZDCLowGainFraction> (fInput, fObject); }
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 
)