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 HcalPFCuts &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, HcalPFCuts *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

◆ createObject()

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

Definition at line 59 of file HcalDbASCIIIO.h.

References cms::cuda::assert().

59  {
60  assert(0); //no general case, relies on specializations defined in cc file
61  return std::make_unique<T>();
62  }
assert(be >=bs)

◆ createObject< HcalDcsMap >()

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

Definition at line 1951 of file HcalDbASCIIIO.cc.

References edmScanValgrind::buffer, HcalDcsDetId::DCSUNKNOWN, spr::find(), HcalCalibration, HcalDcsBarrel, HcalDcsEndcap, HcalDcsForward, HcalDcsOuter, HcalOtherEmpty, l1ctLayer2EG_cff::id, mps_monitormerge::items, HcalDcsMapAddons::Helper::mapGeomId2DcsId(), relativeConstraints::ring, mergeAndRegister::slice, splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.

1951  {
1952  char buffer[1024];
1953  HcalDcsMapAddons::Helper fObjectHelper;
1954  while (fInput.getline(buffer, 1024)) {
1955  if (buffer[0] == '#')
1956  continue; //ignore comment
1957  std::vector<std::string> items = splitString(std::string(buffer));
1958  if (items.size() < 8) {
1959  if (items.empty())
1960  continue; // no warning here
1961  else {
1962  edm::LogError("MapFormat")
1963  << "HcalDcsMap-> Bad line: " << buffer
1964  << "\n line must contain 8 items: line side_ring slice subchannel subdet ieta iphi depth";
1965  continue;
1966  }
1967  }
1968  int ring = atoi(items[1].c_str());
1969  unsigned int slice = atoi(items[2].c_str());
1970  unsigned int subchannel = atoi(items[3].c_str());
1973  if (items[4].find("CALIB") != std::string::npos) {
1974  subdet = HcalCalibration;
1975  } else if (items[4].find("HB") != std::string::npos) {
1976  subdet = HcalDcsBarrel;
1977  } else if (items[4].find("HE") != std::string::npos) {
1978  subdet = HcalDcsEndcap;
1979  } else if (items[4].find("HO") != std::string::npos) {
1980  subdet = HcalDcsOuter;
1981  } else if (items[4].find("HF") != std::string::npos) {
1982  subdet = HcalDcsForward;
1983  } else {
1984  edm::LogError("MapFormat") << "HcalDcsMap-> Unknown subdetector, line is not accepted: " << items[5];
1985  continue;
1986  }
1987  HcalDcsDetId dcsId(subdet, ring, slice, type, subchannel);
1989  HcalDetId id(0);
1990  if (converter.isHcalDetId()) {
1991  id = converter.getId();
1992  } else {
1993  edm::LogWarning("Invalid HCAL channel") << "HcalDcsMap-> invalid channel: " << items[4] << '/' << items[5]
1994  << '/' << items[6] << '/' << items[7] << std::endl;
1995  continue;
1996  }
1997  fObjectHelper.mapGeomId2DcsId(id, dcsId);
1998  }
1999  auto fObject = std::make_unique<HcalDcsMap>(fObjectHelper);
2000  return fObject;
2001  }
Log< level::Error, false > LogError
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
Log< level::Warning, false > LogWarning

◆ createObject< HcalElectronicsMap >()

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

Definition at line 1563 of file HcalDbASCIIIO.cc.

References edmScanValgrind::buffer, mps_monitormerge::items, HcalElectronicsMapAddons::Helper::mapEId2chId(), HcalElectronicsMapAddons::Helper::mapEId2tId(), or, HcalElectronicsId::setHTR(), slb(), splitString(), AlCaHLTBitMon_QueryRunRegistry::string, HcalTrigTowerDetId::Undefined, and HcalDetId::Undefined.

1563  {
1564  HcalElectronicsMapAddons::Helper fObjectHelper;
1565  char buffer[1024];
1566  while (fInput.getline(buffer, 1024)) {
1567  if (buffer[0] == '#')
1568  continue; //ignore comment
1569  std::vector<std::string> items = splitString(std::string(buffer));
1570  if (items.size() < 12) {
1571  if (items.empty())
1572  continue; // no warning here
1573  if (items.size() < 9) {
1574  edm::LogError("MapFormat") << "HcalElectronicsMap-> line too short: " << buffer;
1575  continue;
1576  }
1577  if (items[8] == "NA" || items[8] == "NT") {
1578  while (items.size() < 12)
1579  items.push_back(""); // don't worry here
1580  } else if (items[8] == "HT") {
1581  if (items.size() == 11)
1582  items.push_back("");
1583  else {
1584  edm::LogError("MapFormat") << "HcalElectronicsMap-> Bad line: " << buffer
1585  << "\n HT line must contain at least 11 items: i cr sl tb dcc spigot fiber "
1586  "fiberchan subdet=HT ieta iphi";
1587  continue;
1588  }
1589  } else {
1590  edm::LogError("MapFormat")
1591  << "HcalElectronicsMap-> Bad line: " << buffer
1592  << "\n line must contain 12 items: i cr sl tb dcc spigot fiber fiberchan subdet ieta iphi depth";
1593  continue;
1594  }
1595  }
1596  int crate = atoi(items[1].c_str());
1597  int slot = atoi(items[2].c_str());
1598  int top = 1;
1599  if (items[3] == "b")
1600  top = 0;
1601  int dcc = atoi(items[4].c_str());
1602  int spigot = atoi(items[5].c_str());
1603  HcalElectronicsId elId;
1604  if (items[3][0] == 'u') { // uTCA!
1605  int fiber = atoi(items[6].c_str());
1606  int fiberCh = atoi(items[7].c_str());
1607  bool isTrig = (items[8] == "HT" || items[8] == "NT");
1608  elId = HcalElectronicsId(crate, slot, fiber, fiberCh, isTrig);
1609  } else if (items[8] == "HT" || items[8] == "NT") {
1610  int slb = atoi(items[6].c_str());
1611  int slbCh = atoi(items[7].c_str());
1612  elId = HcalElectronicsId(slbCh, slb, spigot, dcc, crate, slot, top);
1613  } else {
1614  int fiber = atoi(items[6].c_str());
1615  int fiberCh = atoi(items[7].c_str());
1616 
1617  elId = HcalElectronicsId(fiberCh, fiber, spigot, dcc);
1618  elId.setHTR(crate, slot, top);
1619  }
1620 
1621  // first, handle undefined cases
1622  if (items[8] == "NA") { // undefined channel
1623  fObjectHelper.mapEId2chId(elId, DetId(HcalDetId::Undefined));
1624  } else if (items[8] == "NT") { // undefined trigger channel
1625  fObjectHelper.mapEId2tId(elId, DetId(HcalTrigTowerDetId::Undefined));
1626  } else {
1628  if (converter.isHcalDetId() or converter.isHcalCalibDetId() or converter.isHcalZDCDetId()) {
1629  fObjectHelper.mapEId2chId(elId, converter.getId());
1630  } else if (converter.isHcalTrigTowerDetId()) {
1631  fObjectHelper.mapEId2tId(elId, converter.getId());
1632  } else {
1633  edm::LogWarning("Format Error") << "HcalElectronicsMap-> Unknown subdetector: " << items[8] << '/' << items[9]
1634  << '/' << items[10] << '/' << items[11] << std::endl;
1635  }
1636  }
1637  }
1638  auto fObject = std::make_unique<HcalElectronicsMap>(fObjectHelper);
1639  return fObject;
1640  }
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)
Log< level::Error, false > LogError
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
Log< level::Warning, false > LogWarning
Readout chain identification for Hcal.

◆ createObject< HcalFrontEndMap >()

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

Definition at line 2123 of file HcalDbASCIIIO.cc.

References python.cmstools::all(), edmScanValgrind::buffer, getId(), caHitNtupletGeneratorKernels::good, mps_monitormerge::items, HcalFrontEndMapAddons::Helper::loadObject(), eostools::rm(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.

2123  {
2124  char buffer[1024];
2125  HcalFrontEndMapAddons::Helper fObjectHelper;
2126  unsigned int all(0), good(0);
2127  while (fInput.getline(buffer, 1024)) {
2128  ++all;
2129  if (buffer[0] == '#')
2130  continue; //ignore comment
2131  std::vector<std::string> items = splitString(std::string(buffer));
2132  if (items.size() != 6) {
2133  edm::LogError("Format Error") << "HcalFrontEndMap-> line ignored: " << buffer;
2134  continue;
2135  }
2136  ++good;
2138  int rm = atoi(items[5].c_str());
2139  fObjectHelper.loadObject(id, rm, items[4]);
2140  }
2141  edm::LogInfo("MapFormat") << "HcalFrontEndMap:: processed " << good << " records in " << all << " record"
2142  << std::endl;
2143  auto fObject = std::make_unique<HcalFrontEndMap>(fObjectHelper);
2144  return fObject;
2145  }
def rm(path, rec=False)
Definition: eostools.py:363
bool loadObject(DetId fId, int rm, std::string rbx)
load a new entry
def all(container)
workaround iterator generators for ROOT classes
Definition: cmstools.py:25
Log< level::Error, false > LogError
std::vector< std::string > splitString(const std::string &fLine)
Log< level::Info, false > LogInfo
Definition: DetId.h:17
DetId getId(const std::vector< std::string > &items)

◆ createObject< HcalSiPMCharacteristics >()

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

Definition at line 2228 of file HcalDbASCIIIO.cc.

References python.cmstools::all(), edmScanValgrind::buffer, caHitNtupletGeneratorKernels::good, mps_monitormerge::items, HcalSiPMCharacteristicsAddons::Helper::loadObject(), splitString(), and AlCaHLTBitMon_QueryRunRegistry::string.

2228  {
2229  char buffer[1024];
2231  unsigned int all(0), good(0);
2232  while (fInput.getline(buffer, 1024)) {
2233  ++all;
2234  if (buffer[0] == '#')
2235  continue; //ignore comment
2236  std::vector<std::string> items = splitString(std::string(buffer));
2237  if (items.size() != 8) {
2238  edm::LogError("MapFormat") << "HcalSiPMCharacteristics-> line ignored: " << buffer;
2239  continue;
2240  }
2241  ++good;
2242  // std::cout << "HcalSiPMCharacteristics-> processing line: " << buffer << std::endl;
2243  int type = atoi(items[0].c_str());
2244  int pixels = atoi(items[1].c_str());
2245  float parL0 = atof(items[2].c_str());
2246  float parL1 = atof(items[3].c_str());
2247  float parL2 = atof(items[4].c_str());
2248  float cTalk = atof(items[5].c_str());
2249  int auxi1 = atoi(items[6].c_str());
2250  float auxi2 = atof(items[7].c_str());
2251  fObjectHelper.loadObject(type, pixels, parL0, parL1, parL2, cTalk, auxi1, auxi2);
2252  }
2253  edm::LogInfo("MapFormat") << "HcalSiPMCharacteristics:: processed " << good << " records in " << all << " record"
2254  << std::endl;
2255  auto fObject = std::make_unique<HcalSiPMCharacteristics>(fObjectHelper);
2256  return fObject;
2257  }
def all(container)
workaround iterator generators for ROOT classes
Definition: cmstools.py:25
Log< level::Error, false > LogError
std::vector< std::string > splitString(const std::string &fLine)
Log< level::Info, false > LogInfo
bool loadObject(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1=0, float auxi2=0)

◆ dumpId()

void HcalDbASCIIIO::dumpId ( std::ostream &  fOutput,
DetId  id 
)

◆ dumpIdShort()

void HcalDbASCIIIO::dumpIdShort ( std::ostream &  fOutput,
DetId  id 
)

◆ dumpObject() [1/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalPedestals fObject 
)

◆ dumpObject() [2/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalPedestalWidths fObject 
)

◆ dumpObject() [3/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalGains fObject 
)

Definition at line 428 of file HcalDbASCIIIO.cc.

References dumpHcalObject().

428 { return dumpHcalObject(fOutput, fObject); }
bool dumpHcalObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [4/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalGainWidths fObject 
)

Definition at line 432 of file HcalDbASCIIIO.cc.

References dumpHcalObject().

432 { return dumpHcalObject(fOutput, fObject); }
bool dumpHcalObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [5/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalPFCuts fObject 
)

Definition at line 437 of file HcalDbASCIIIO.cc.

References dumpHcalDoubleFloatObject().

437  {
438  return dumpHcalDoubleFloatObject(fOutput, fObject);
439  }
bool dumpHcalDoubleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [6/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalQIEData fObject 
)

◆ dumpObject() [7/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalCalibrationQIEData fObject 
)

◆ dumpObject() [8/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalQIETypes fObject 
)

Definition at line 493 of file HcalDbASCIIIO.cc.

References dumpHcalSingleIntObject().

493  {
494  return dumpHcalSingleIntObject(fOutput, fObject);
495  }
bool dumpHcalSingleIntObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [9/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalElectronicsMap fObject 
)

◆ dumpObject() [10/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalChannelQuality fObject 
)

◆ dumpObject() [11/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalRespCorrs fObject 
)

Definition at line 444 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

444  {
445  return dumpHcalSingleFloatObject(fOutput, fObject);
446  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [12/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalLUTCorrs fObject 
)

Definition at line 451 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

451  {
452  return dumpHcalSingleFloatObject(fOutput, fObject);
453  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [13/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalPFCorrs fObject 
)

Definition at line 458 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

458  {
459  return dumpHcalSingleFloatObject(fOutput, fObject);
460  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [14/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalTimeCorrs fObject 
)

Definition at line 465 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

465  {
466  return dumpHcalSingleFloatObject(fOutput, fObject);
467  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [15/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalZSThresholds fObject 
)

Definition at line 472 of file HcalDbASCIIIO.cc.

References dumpHcalSingleIntObject().

472  {
473  return dumpHcalSingleIntObject(fOutput, fObject);
474  }
bool dumpHcalSingleIntObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [16/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalL1TriggerObjects fObject 
)

◆ dumpObject() [17/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalFrontEndMap fObject 
)

◆ dumpObject() [18/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalValidationCorrs fObject 
)

Definition at line 486 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

486  {
487  return dumpHcalSingleFloatObject(fOutput, fObject);
488  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [19/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalLutMetadata fObject 
)

◆ dumpObject() [20/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalDcsValues fObject 
)

◆ dumpObject() [21/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalDcsMap fObject 
)

◆ dumpObject() [22/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalRecoParams fObject 
)

◆ dumpObject() [23/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalLongRecoParams fObject 
)

◆ dumpObject() [24/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalZDCLowGainFractions fObject 
)

Definition at line 479 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

479  {
480  return dumpHcalSingleFloatObject(fOutput, fObject);
481  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [25/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalTimingParams fObject 
)

◆ dumpObject() [26/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalMCParams fObject 
)

◆ dumpObject() [27/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalFlagHFDigiTimeParams fObject 
)

◆ dumpObject() [28/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalSiPMParameters fObject 
)

◆ dumpObject() [29/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalSiPMCharacteristics fObject 
)

◆ dumpObject() [30/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalTPParameters fObject 
)

◆ dumpObject() [31/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalTPChannelParameters fObject 
)

◆ dumpObject() [32/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalCalibrationsSet fObject 
)

◆ dumpObject() [33/33]

bool HcalDbASCIIIO::dumpObject ( std::ostream &  fOutput,
const HcalCalibrationWidthsSet fObject 
)

◆ getId()

DetId HcalDbASCIIIO::getId ( const std::vector< std::string > &  items)

◆ getObject() [1/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalPedestals fObject 
)

◆ getObject() [2/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalPedestalWidths fObject 
)

◆ getObject() [3/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalGains fObject 
)

Definition at line 427 of file HcalDbASCIIIO.cc.

427 { return getHcalObject<HcalGain>(fInput, fObject); }

◆ getObject() [4/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalGainWidths fObject 
)

Definition at line 429 of file HcalDbASCIIIO.cc.

429  {
430  return getHcalObject<HcalGainWidth>(fInput, fObject);
431  }

◆ getObject() [5/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalPFCuts fObject 
)

Definition at line 434 of file HcalDbASCIIIO.cc.

434  {
435  return getHcalDoubleFloatObject<HcalPFCut>(fInput, fObject);
436  }

◆ getObject() [6/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalQIEData fObject 
)

◆ getObject() [7/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalCalibrationQIEData fObject 
)

◆ getObject() [8/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalQIETypes fObject 
)

Definition at line 490 of file HcalDbASCIIIO.cc.

490  {
491  return getHcalSingleObject<int, HcalQIEType>(fInput, fObject);
492  }

◆ getObject() [9/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalChannelQuality fObject 
)

◆ getObject() [10/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalRespCorrs fObject 
)

Definition at line 441 of file HcalDbASCIIIO.cc.

441  {
442  return getHcalSingleObject<float, HcalRespCorr>(fInput, fObject);
443  }

◆ getObject() [11/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalLUTCorrs fObject 
)

Definition at line 448 of file HcalDbASCIIIO.cc.

448  {
449  return getHcalSingleObject<float, HcalLUTCorr>(fInput, fObject);
450  }

◆ getObject() [12/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalPFCorrs fObject 
)

Definition at line 455 of file HcalDbASCIIIO.cc.

455  {
456  return getHcalSingleObject<float, HcalPFCorr>(fInput, fObject);
457  }

◆ getObject() [13/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalTimeCorrs fObject 
)

Definition at line 462 of file HcalDbASCIIIO.cc.

462  {
463  return getHcalSingleObject<float, HcalTimeCorr>(fInput, fObject);
464  }

◆ getObject() [14/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalZSThresholds fObject 
)

Definition at line 469 of file HcalDbASCIIIO.cc.

469  {
470  return getHcalSingleObject<int, HcalZSThreshold>(fInput, fObject);
471  }

◆ getObject() [15/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalL1TriggerObjects fObject 
)

◆ getObject() [16/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalValidationCorrs fObject 
)

Definition at line 483 of file HcalDbASCIIIO.cc.

483  {
484  return getHcalSingleObject<float, HcalValidationCorr>(fInput, fObject);
485  }

◆ getObject() [17/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalLutMetadata fObject 
)

◆ getObject() [18/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalDcsValues fObject 
)

◆ getObject() [19/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalRecoParams fObject 
)

◆ getObject() [20/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalLongRecoParams fObject 
)

◆ getObject() [21/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalZDCLowGainFractions fObject 
)

Definition at line 476 of file HcalDbASCIIIO.cc.

476  {
477  return getHcalSingleObject<float, HcalZDCLowGainFraction>(fInput, fObject);
478  }

◆ getObject() [22/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalTimingParams fObject 
)

◆ getObject() [23/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalMCParams fObject 
)

◆ getObject() [24/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalFlagHFDigiTimeParams fObject 
)

◆ getObject() [25/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalSiPMParameters fObject 
)

◆ getObject() [26/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalTPParameters fObject 
)

◆ getObject() [27/27]

bool HcalDbASCIIIO::getObject ( std::istream &  fInput,
HcalTPChannelParameters fObject 
)