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 HcalCalibrationQIEData &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalCalibrationsSet &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalCalibrationWidthsSet &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalChannelQuality &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalDcsMap &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalDcsValues &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalElectronicsMap &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalFlagHFDigiTimeParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalFrontEndMap &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalGains &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalGainWidths &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalL1TriggerObjects &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalLongRecoParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalLUTCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalLutMetadata &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalMCParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalPedestals &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalPedestalWidths &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalPFCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalQIEData &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalQIETypes &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalRecoParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalRespCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalSiPMCharacteristics &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalSiPMParameters &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalTimeCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalTimingParams &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalTPChannelParameters &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalTPParameters &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalValidationCorrs &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalZDCLowGainFractions &fObject)
 
bool dumpObject (std::ostream &fOutput, const HcalZSThresholds &fObject)
 
DetId getId (const std::vector< std::string > &items)
 
bool getObject (std::istream &fInput, HcalCalibrationQIEData *fObject)
 
bool getObject (std::istream &fInput, HcalChannelQuality *fObject)
 
bool getObject (std::istream &fInput, HcalDcsValues *fObject)
 
bool getObject (std::istream &fInput, HcalFlagHFDigiTimeParams *fObject)
 
bool getObject (std::istream &fInput, HcalGains *fObject)
 
bool getObject (std::istream &fInput, HcalGainWidths *fObject)
 
bool getObject (std::istream &fInput, HcalL1TriggerObjects *fObject)
 
bool getObject (std::istream &fInput, HcalLongRecoParams *fObject)
 
bool getObject (std::istream &fInput, HcalLUTCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalLutMetadata *fObject)
 
bool getObject (std::istream &fInput, HcalMCParams *fObject)
 
bool getObject (std::istream &fInput, HcalPedestals *fObject)
 
bool getObject (std::istream &fInput, HcalPedestalWidths *fObject)
 
bool getObject (std::istream &fInput, HcalPFCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalQIEData *fObject)
 
bool getObject (std::istream &fInput, HcalQIETypes *fObject)
 
bool getObject (std::istream &fInput, HcalRecoParams *fObject)
 
bool getObject (std::istream &fInput, HcalRespCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalSiPMParameters *fObject)
 
bool getObject (std::istream &fInput, HcalTimeCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalTimingParams *fObject)
 
bool getObject (std::istream &fInput, HcalTPChannelParameters *fObject)
 
bool getObject (std::istream &fInput, HcalTPParameters *fObject)
 
bool getObject (std::istream &fInput, HcalValidationCorrs *fObject)
 
bool getObject (std::istream &fInput, HcalZDCLowGainFractions *fObject)
 
bool getObject (std::istream &fInput, HcalZSThresholds *fObject)
 

Function Documentation

◆ createObject()

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

Definition at line 57 of file HcalDbASCIIIO.h.

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

References cms::cuda::assert().

◆ createObject< HcalDcsMap >()

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

Definition at line 1905 of file HcalDbASCIIIO.cc.

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);
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  }

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

◆ createObject< HcalElectronicsMap >()

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

Definition at line 1517 of file HcalDbASCIIIO.cc.

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 {
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  }

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.

◆ createObject< HcalFrontEndMap >()

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

Definition at line 2077 of file HcalDbASCIIIO.cc.

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;
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  }

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

◆ createObject< HcalSiPMCharacteristics >()

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

Definition at line 2182 of file HcalDbASCIIIO.cc.

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  }

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

◆ dumpId()

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

Definition at line 76 of file CastorDbASCIIIO.cc.

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

References edmScanValgrind::buffer.

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

◆ dumpIdShort()

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

◆ dumpObject() [1/32]

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

◆ dumpObject() [2/32]

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

◆ dumpObject() [3/32]

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

◆ dumpObject() [4/32]

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

◆ dumpObject() [5/32]

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

◆ dumpObject() [6/32]

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

◆ dumpObject() [7/32]

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

◆ dumpObject() [8/32]

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

◆ dumpObject() [9/32]

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

◆ dumpObject() [10/32]

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

Definition at line 389 of file HcalDbASCIIIO.cc.

389 { return dumpHcalObject(fOutput, fObject); }

References dumpHcalObject().

◆ dumpObject() [11/32]

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

Definition at line 393 of file HcalDbASCIIIO.cc.

393 { return dumpHcalObject(fOutput, fObject); }

References dumpHcalObject().

◆ dumpObject() [12/32]

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

◆ dumpObject() [13/32]

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

◆ dumpObject() [14/32]

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

Definition at line 405 of file HcalDbASCIIIO.cc.

405  {
406  return dumpHcalSingleFloatObject(fOutput, fObject);
407  }

References dumpHcalSingleFloatObject().

◆ dumpObject() [15/32]

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

◆ dumpObject() [16/32]

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

◆ dumpObject() [17/32]

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

◆ dumpObject() [18/32]

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

◆ dumpObject() [19/32]

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

Definition at line 412 of file HcalDbASCIIIO.cc.

412  {
413  return dumpHcalSingleFloatObject(fOutput, fObject);
414  }

References dumpHcalSingleFloatObject().

◆ dumpObject() [20/32]

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

◆ dumpObject() [21/32]

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

Definition at line 447 of file HcalDbASCIIIO.cc.

447  {
448  return dumpHcalSingleIntObject(fOutput, fObject);
449  }

References dumpHcalSingleIntObject().

◆ dumpObject() [22/32]

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

◆ dumpObject() [23/32]

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

Definition at line 398 of file HcalDbASCIIIO.cc.

398  {
399  return dumpHcalSingleFloatObject(fOutput, fObject);
400  }

References dumpHcalSingleFloatObject().

◆ dumpObject() [24/32]

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

◆ dumpObject() [25/32]

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

◆ dumpObject() [26/32]

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

Definition at line 419 of file HcalDbASCIIIO.cc.

419  {
420  return dumpHcalSingleFloatObject(fOutput, fObject);
421  }

References dumpHcalSingleFloatObject().

◆ dumpObject() [27/32]

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

◆ dumpObject() [28/32]

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

◆ dumpObject() [29/32]

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

◆ dumpObject() [30/32]

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

Definition at line 440 of file HcalDbASCIIIO.cc.

440  {
441  return dumpHcalSingleFloatObject(fOutput, fObject);
442  }

References dumpHcalSingleFloatObject().

◆ dumpObject() [31/32]

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

Definition at line 433 of file HcalDbASCIIIO.cc.

433  {
434  return dumpHcalSingleFloatObject(fOutput, fObject);
435  }

References dumpHcalSingleFloatObject().

◆ dumpObject() [32/32]

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

Definition at line 426 of file HcalDbASCIIIO.cc.

426  {
427  return dumpHcalSingleIntObject(fOutput, fObject);
428  }

References dumpHcalSingleIntObject().

◆ getId()

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

◆ getObject() [1/26]

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

◆ getObject() [2/26]

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

◆ getObject() [3/26]

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

◆ getObject() [4/26]

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

◆ getObject() [5/26]

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

Definition at line 388 of file HcalDbASCIIIO.cc.

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

◆ getObject() [6/26]

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

Definition at line 390 of file HcalDbASCIIIO.cc.

390  {
391  return getHcalObject<HcalGainWidth>(fInput, fObject);
392  }

◆ getObject() [7/26]

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

◆ getObject() [8/26]

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

◆ getObject() [9/26]

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  }

◆ getObject() [10/26]

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

◆ getObject() [11/26]

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

◆ getObject() [12/26]

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

◆ getObject() [13/26]

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

◆ getObject() [14/26]

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  }

◆ getObject() [15/26]

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

◆ getObject() [16/26]

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  }

◆ getObject() [17/26]

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

◆ getObject() [18/26]

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  }

◆ getObject() [19/26]

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

◆ getObject() [20/26]

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  }

◆ getObject() [21/26]

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

◆ getObject() [22/26]

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

◆ getObject() [23/26]

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

◆ getObject() [24/26]

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  }

◆ getObject() [25/26]

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  }

◆ getObject() [26/26]

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  }
HcalDcsDetId::DCSUNKNOWN
Definition: HcalDcsDetId.h:42
HcalDetId::Undefined
static const HcalDetId Undefined
Definition: HcalDetId.h:273
HcalElectronicsId::setHTR
constexpr void setHTR(int crate, int slot, int tb)
Definition: HcalElectronicsId.h:66
CastorText2DetIdConverter
Definition: CastorText2DetIdConverter.h:12
HcalDcsDetId
Definition: HcalDcsDetId.h:27
dumpHcalObject
bool dumpHcalObject(std::ostream &fOutput, const T &fObject)
Definition: HcalDbASCIIIO.cc:207
HcalDcsMapAddons::Helper::mapGeomId2DcsId
bool mapGeomId2DcsId(HcalDetId fId, HcalDcsDetId fDcsId)
Definition: HcalDcsMap.cc:143
HcalDcsEndcap
Definition: HcalSubdetector.h:18
converter
Definition: CandidateProducer.h:25
HcalFrontEndMapAddons::Helper::loadObject
bool loadObject(DetId fId, int rm, std::string rbx)
load a new entry
Definition: HcalFrontEndMap.cc:44
cms::cuda::assert
assert(be >=bs)
splitString
std::vector< std::string > splitString(const std::string &fLine)
Definition: HcalDbASCIIIO.cc:58
HcalElectronicsMapAddons::Helper::mapEId2tId
bool mapEId2tId(HcalElectronicsId fElectronicsId, HcalTrigTowerDetId fTriggerId)
Definition: HcalElectronicsMap.cc:166
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
spr::find
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
Definition: FindCaloHit.cc:19
edm::LogWarning
Log< level::Warning, false > LogWarning
Definition: MessageLogger.h:122
python.cmstools.all
def all(container)
workaround iterator generators for ROOT classes
Definition: cmstools.py:26
mps_monitormerge.items
list items
Definition: mps_monitormerge.py:29
HcalOtherEmpty
Definition: HcalAssistant.h:40
HcalDcsDetId::DcsType
DcsType
Definition: HcalDcsDetId.h:29
edmScanValgrind.buffer
buffer
Definition: edmScanValgrind.py:171
slb
static int slb(const HcalTriggerPrimitiveSample &theSample)
Definition: CastorUnpacker.cc:71
DetId
Definition: DetId.h:17
dumpHcalSingleIntObject
bool dumpHcalSingleIntObject(std::ostream &fOutput, const T &fObject)
Definition: HcalDbASCIIIO.cc:284
HcalElectronicsId
Readout chain identification for Hcal.
Definition: HcalElectronicsId.h:32
submit.rm
rm
Definition: submit.py:77
HcalCalibration
Definition: HcalAssistant.h:40
HcalDcsOuter
Definition: HcalSubdetector.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HcalOtherSubdetector
HcalOtherSubdetector
Definition: HcalAssistant.h:40
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
HcalTrigTowerDetId::Undefined
static const HcalTrigTowerDetId Undefined
Definition: HcalTrigTowerDetId.h:62
HcalDetId
Definition: HcalDetId.h:12
HcalDcsMapAddons::Helper
Definition: HcalDcsMap.h:144
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
HcalDbASCIIIO::getId
DetId getId(const std::vector< std::string > &items)
Definition: CastorDbASCIIIO.cc:71
dumpHcalSingleFloatObject
bool dumpHcalSingleFloatObject(std::ostream &fOutput, const T &fObject)
Definition: HcalDbASCIIIO.cc:268
HcalFrontEndMapAddons::Helper
Definition: HcalFrontEndMap.h:96
HcalSiPMCharacteristicsAddons::Helper::loadObject
bool loadObject(int type, int pixels, float parLin1, float parLin2, float parLin3, float crossTalk, int auxi1=0, float auxi2=0)
Definition: HcalSiPMCharacteristics.cc:55
HcalDcsBarrel
Definition: HcalSubdetector.h:17
triggerObjects_cff.id
id
Definition: triggerObjects_cff.py:31
HcalElectronicsMapAddons::Helper
Definition: HcalElectronicsMap.h:137
HcalElectronicsMapAddons::Helper::mapEId2chId
bool mapEId2chId(HcalElectronicsId fElectronicsId, DetId fId)
Definition: HcalElectronicsMap.cc:182
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
or
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
HcalText2DetIdConverter
Definition: HcalText2DetIdConverter.h:21
HcalDcsForward
Definition: HcalSubdetector.h:20
HcalSiPMCharacteristicsAddons::Helper
Definition: HcalSiPMCharacteristics.h:106
mergeAndRegister.slice
slice
Definition: mergeAndRegister.py:121