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

◆ createObject()

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

Definition at line 57 of file HcalDbASCIIIO.h.

References cms::cuda::assert().

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

◆ createObject< HcalDcsMap >()

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

Definition at line 1902 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.

1902  {
1903  char buffer[1024];
1904  HcalDcsMapAddons::Helper fObjectHelper;
1905  while (fInput.getline(buffer, 1024)) {
1906  if (buffer[0] == '#')
1907  continue; //ignore comment
1908  std::vector<std::string> items = splitString(std::string(buffer));
1909  if (items.size() < 8) {
1910  if (items.empty())
1911  continue; // no warning here
1912  else {
1913  edm::LogError("MapFormat")
1914  << "HcalDcsMap-> Bad line: " << buffer
1915  << "\n line must contain 8 items: line side_ring slice subchannel subdet ieta iphi depth";
1916  continue;
1917  }
1918  }
1919  int ring = atoi(items[1].c_str());
1920  unsigned int slice = atoi(items[2].c_str());
1921  unsigned int subchannel = atoi(items[3].c_str());
1924  if (items[4].find("CALIB") != std::string::npos) {
1925  subdet = HcalCalibration;
1926  } else if (items[4].find("HB") != std::string::npos) {
1927  subdet = HcalDcsBarrel;
1928  } else if (items[4].find("HE") != std::string::npos) {
1929  subdet = HcalDcsEndcap;
1930  } else if (items[4].find("HO") != std::string::npos) {
1931  subdet = HcalDcsOuter;
1932  } else if (items[4].find("HF") != std::string::npos) {
1933  subdet = HcalDcsForward;
1934  } else {
1935  edm::LogError("MapFormat") << "HcalDcsMap-> Unknown subdetector, line is not accepted: " << items[5];
1936  continue;
1937  }
1938  HcalDcsDetId dcsId(subdet, ring, slice, type, subchannel);
1940  HcalDetId id(0);
1941  if (converter.isHcalDetId()) {
1942  id = converter.getId();
1943  } else {
1944  edm::LogWarning("Invalid HCAL channel") << "HcalDcsMap-> invalid channel: " << items[4] << '/' << items[5]
1945  << '/' << items[6] << '/' << items[7] << std::endl;
1946  continue;
1947  }
1948  fObjectHelper.mapGeomId2DcsId(id, dcsId);
1949  }
1950  auto fObject = std::make_unique<HcalDcsMap>(fObjectHelper);
1951  return fObject;
1952  }
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 1514 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.

1514  {
1515  HcalElectronicsMapAddons::Helper fObjectHelper;
1516  char buffer[1024];
1517  while (fInput.getline(buffer, 1024)) {
1518  if (buffer[0] == '#')
1519  continue; //ignore comment
1520  std::vector<std::string> items = splitString(std::string(buffer));
1521  if (items.size() < 12) {
1522  if (items.empty())
1523  continue; // no warning here
1524  if (items.size() < 9) {
1525  edm::LogError("MapFormat") << "HcalElectronicsMap-> line too short: " << buffer;
1526  continue;
1527  }
1528  if (items[8] == "NA" || items[8] == "NT") {
1529  while (items.size() < 12)
1530  items.push_back(""); // don't worry here
1531  } else if (items[8] == "HT") {
1532  if (items.size() == 11)
1533  items.push_back("");
1534  else {
1535  edm::LogError("MapFormat") << "HcalElectronicsMap-> Bad line: " << buffer
1536  << "\n HT line must contain at least 11 items: i cr sl tb dcc spigot fiber "
1537  "fiberchan subdet=HT ieta iphi";
1538  continue;
1539  }
1540  } else {
1541  edm::LogError("MapFormat")
1542  << "HcalElectronicsMap-> Bad line: " << buffer
1543  << "\n line must contain 12 items: i cr sl tb dcc spigot fiber fiberchan subdet ieta iphi depth";
1544  continue;
1545  }
1546  }
1547  int crate = atoi(items[1].c_str());
1548  int slot = atoi(items[2].c_str());
1549  int top = 1;
1550  if (items[3] == "b")
1551  top = 0;
1552  int dcc = atoi(items[4].c_str());
1553  int spigot = atoi(items[5].c_str());
1554  HcalElectronicsId elId;
1555  if (items[3][0] == 'u') { // uTCA!
1556  int fiber = atoi(items[6].c_str());
1557  int fiberCh = atoi(items[7].c_str());
1558  bool isTrig = (items[8] == "HT" || items[8] == "NT");
1559  elId = HcalElectronicsId(crate, slot, fiber, fiberCh, isTrig);
1560  } else if (items[8] == "HT" || items[8] == "NT") {
1561  int slb = atoi(items[6].c_str());
1562  int slbCh = atoi(items[7].c_str());
1563  elId = HcalElectronicsId(slbCh, slb, spigot, dcc, crate, slot, top);
1564  } else {
1565  int fiber = atoi(items[6].c_str());
1566  int fiberCh = atoi(items[7].c_str());
1567 
1568  elId = HcalElectronicsId(fiberCh, fiber, spigot, dcc);
1569  elId.setHTR(crate, slot, top);
1570  }
1571 
1572  // first, handle undefined cases
1573  if (items[8] == "NA") { // undefined channel
1574  fObjectHelper.mapEId2chId(elId, DetId(HcalDetId::Undefined));
1575  } else if (items[8] == "NT") { // undefined trigger channel
1576  fObjectHelper.mapEId2tId(elId, DetId(HcalTrigTowerDetId::Undefined));
1577  } else {
1579  if (converter.isHcalDetId() or converter.isHcalCalibDetId() or converter.isHcalZDCDetId()) {
1580  fObjectHelper.mapEId2chId(elId, converter.getId());
1581  } else if (converter.isHcalTrigTowerDetId()) {
1582  fObjectHelper.mapEId2tId(elId, converter.getId());
1583  } else {
1584  edm::LogWarning("Format Error") << "HcalElectronicsMap-> Unknown subdetector: " << items[8] << '/' << items[9]
1585  << '/' << items[10] << '/' << items[11] << std::endl;
1586  }
1587  }
1588  }
1589  auto fObject = std::make_unique<HcalElectronicsMap>(fObjectHelper);
1590  return fObject;
1591  }
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 2074 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.

2074  {
2075  char buffer[1024];
2076  HcalFrontEndMapAddons::Helper fObjectHelper;
2077  unsigned int all(0), good(0);
2078  while (fInput.getline(buffer, 1024)) {
2079  ++all;
2080  if (buffer[0] == '#')
2081  continue; //ignore comment
2082  std::vector<std::string> items = splitString(std::string(buffer));
2083  if (items.size() != 6) {
2084  edm::LogError("Format Error") << "HcalFrontEndMap-> line ignored: " << buffer;
2085  continue;
2086  }
2087  ++good;
2089  int rm = atoi(items[5].c_str());
2090  fObjectHelper.loadObject(id, rm, items[4]);
2091  }
2092  edm::LogInfo("MapFormat") << "HcalFrontEndMap:: processed " << good << " records in " << all << " record"
2093  << std::endl;
2094  auto fObject = std::make_unique<HcalFrontEndMap>(fObjectHelper);
2095  return fObject;
2096  }
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 2179 of file HcalDbASCIIIO.cc.

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

2179  {
2180  char buffer[1024];
2182  unsigned int all(0), good(0);
2183  while (fInput.getline(buffer, 1024)) {
2184  ++all;
2185  if (buffer[0] == '#')
2186  continue; //ignore comment
2187  std::vector<std::string> items = splitString(std::string(buffer));
2188  if (items.size() != 8) {
2189  edm::LogError("MapFormat") << "HcalSiPMCharacteristics-> line ignored: " << buffer;
2190  continue;
2191  }
2192  ++good;
2193  // std::cout << "HcalSiPMCharacteristics-> processing line: " << buffer << std::endl;
2194  int type = atoi(items[0].c_str());
2195  int pixels = atoi(items[1].c_str());
2196  float parL0 = atof(items[2].c_str());
2197  float parL1 = atof(items[3].c_str());
2198  float parL2 = atof(items[4].c_str());
2199  float cTalk = atof(items[5].c_str());
2200  int auxi1 = atoi(items[6].c_str());
2201  float auxi2 = atof(items[7].c_str());
2202  fObjectHelper.loadObject(type, pixels, parL0, parL1, parL2, cTalk, auxi1, auxi2);
2203  }
2204  edm::LogInfo("MapFormat") << "HcalSiPMCharacteristics:: processed " << good << " records in " << all << " record"
2205  << std::endl;
2206  auto fObject = std::make_unique<HcalSiPMCharacteristics>(fObjectHelper);
2207  return fObject;
2208  }
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 
)

Definition at line 73 of file CastorDbASCIIIO.cc.

References edmScanValgrind::buffer.

Referenced by CastorDbASCIIIO::dumpCastorObject(), CastorDbASCIIIO::dumpCastorSingleFloatObject(), CastorDbASCIIIO::dumpCastorSingleIntObject(), dumpHcalMatrixObject(), dumpHcalObject(), dumpHcalSingleFloatObject(), dumpHcalSingleIntObject(), and CastorDbASCIIIO::dumpObject().

73  {
75  char buffer[1024];
76  sprintf(buffer,
77  " %15s %15s %15s %15s",
78  converter.getField1().c_str(),
79  converter.getField2().c_str(),
80  converter.getField3().c_str(),
81  converter.getFlavor().c_str());
82  fOutput << buffer;
83  }

◆ dumpIdShort()

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

◆ dumpObject() [1/32]

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

◆ dumpObject() [2/32]

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

◆ dumpObject() [3/32]

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

Definition at line 386 of file HcalDbASCIIIO.cc.

References dumpHcalObject().

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

◆ dumpObject() [4/32]

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

Definition at line 390 of file HcalDbASCIIIO.cc.

References dumpHcalObject().

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

◆ dumpObject() [5/32]

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

◆ dumpObject() [6/32]

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

◆ dumpObject() [7/32]

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

Definition at line 444 of file HcalDbASCIIIO.cc.

References dumpHcalSingleIntObject().

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

◆ dumpObject() [8/32]

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

◆ dumpObject() [9/32]

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

◆ dumpObject() [10/32]

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

Definition at line 395 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

395  {
396  return dumpHcalSingleFloatObject(fOutput, fObject);
397  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [11/32]

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

Definition at line 402 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

402  {
403  return dumpHcalSingleFloatObject(fOutput, fObject);
404  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [12/32]

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

Definition at line 409 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

409  {
410  return dumpHcalSingleFloatObject(fOutput, fObject);
411  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [13/32]

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

Definition at line 416 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

416  {
417  return dumpHcalSingleFloatObject(fOutput, fObject);
418  }
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [14/32]

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

Definition at line 423 of file HcalDbASCIIIO.cc.

References dumpHcalSingleIntObject().

423  {
424  return dumpHcalSingleIntObject(fOutput, fObject);
425  }
bool dumpHcalSingleIntObject(std::ostream &fOutput, const T &fObject)

◆ dumpObject() [15/32]

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

◆ dumpObject() [16/32]

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

◆ dumpObject() [17/32]

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

Definition at line 437 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

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

◆ dumpObject() [18/32]

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

◆ dumpObject() [19/32]

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

◆ dumpObject() [20/32]

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

◆ dumpObject() [21/32]

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

◆ dumpObject() [22/32]

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

◆ dumpObject() [23/32]

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

Definition at line 430 of file HcalDbASCIIIO.cc.

References dumpHcalSingleFloatObject().

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

◆ dumpObject() [24/32]

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

◆ dumpObject() [25/32]

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

◆ dumpObject() [26/32]

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

◆ dumpObject() [27/32]

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

◆ dumpObject() [28/32]

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

◆ dumpObject() [29/32]

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

◆ dumpObject() [30/32]

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

◆ dumpObject() [31/32]

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

◆ dumpObject() [32/32]

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

◆ getId()

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

◆ getObject() [1/26]

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

◆ getObject() [2/26]

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

◆ getObject() [3/26]

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

Definition at line 385 of file HcalDbASCIIIO.cc.

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

◆ getObject() [4/26]

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

Definition at line 387 of file HcalDbASCIIIO.cc.

387  {
388  return getHcalObject<HcalGainWidth>(fInput, fObject);
389  }

◆ getObject() [5/26]

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

◆ getObject() [6/26]

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

◆ getObject() [7/26]

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

Definition at line 441 of file HcalDbASCIIIO.cc.

441  {
442  return getHcalSingleObject<int, HcalQIEType>(fInput, fObject);
443  }

◆ getObject() [8/26]

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

◆ getObject() [9/26]

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

Definition at line 392 of file HcalDbASCIIIO.cc.

392  {
393  return getHcalSingleObject<float, HcalRespCorr>(fInput, fObject);
394  }

◆ getObject() [10/26]

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

Definition at line 399 of file HcalDbASCIIIO.cc.

399  {
400  return getHcalSingleObject<float, HcalLUTCorr>(fInput, fObject);
401  }

◆ getObject() [11/26]

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

Definition at line 406 of file HcalDbASCIIIO.cc.

406  {
407  return getHcalSingleObject<float, HcalPFCorr>(fInput, fObject);
408  }

◆ getObject() [12/26]

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

Definition at line 413 of file HcalDbASCIIIO.cc.

413  {
414  return getHcalSingleObject<float, HcalTimeCorr>(fInput, fObject);
415  }

◆ getObject() [13/26]

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

Definition at line 420 of file HcalDbASCIIIO.cc.

420  {
421  return getHcalSingleObject<int, HcalZSThreshold>(fInput, fObject);
422  }

◆ getObject() [14/26]

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

◆ getObject() [15/26]

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

Definition at line 434 of file HcalDbASCIIIO.cc.

434  {
435  return getHcalSingleObject<float, HcalValidationCorr>(fInput, fObject);
436  }

◆ getObject() [16/26]

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

◆ getObject() [17/26]

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

◆ getObject() [18/26]

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

◆ getObject() [19/26]

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

◆ getObject() [20/26]

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

Definition at line 427 of file HcalDbASCIIIO.cc.

427  {
428  return getHcalSingleObject<float, HcalZDCLowGainFraction>(fInput, fObject);
429  }

◆ getObject() [21/26]

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

◆ getObject() [22/26]

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

◆ getObject() [23/26]

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

◆ getObject() [24/26]

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

◆ getObject() [25/26]

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

◆ getObject() [26/26]

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