HGCal Test Beam
03a93d6239a951948e06fb3ef8dae4cbdebfad30
|
#include <HGCalCondObjectTextIO.h>
Public Member Functions | |
HGCalCondObjectTextIO (const HGCalCondObjectNumberingScheme *scheme) | |
bool | load (const std::string &filename, HGCalCondObjectContainer< float > &) |
load conditions from file More... | |
bool | store (const std::string &filename, const HGCalCondObjectContainer< float > &) |
saves condition to file More... | |
bool | load (const std::string &filename, HGCalElectronicsMap &) |
bool | store (const std::string &filename, const HGCalElectronicsMap &) |
Definition at line 16 of file HGCalCondObjectTextIO.h.
|
inline |
Definition at line 19 of file HGCalCondObjectTextIO.h.
bool HGCalCondObjectTextIO::load | ( | const std::string & | filename, |
HGCalCondObjectContainer< float > & | cont | ||
) |
load conditions from file
Definition at line 21 of file HGCalCondObjectTextIO.cc.
References HGCalCondObjectContainer< Payload >::set().
Referenced by HGCalTBRawToDigi::beginJob(), main(), and HGCalTBRecHitProducer::produce().
bool HGCalCondObjectTextIO::load | ( | const std::string & | filename, |
HGCalElectronicsMap & | emap | ||
) |
Definition at line 84 of file HGCalCondObjectTextIO.cc.
References HGCalElectronicsMap::insert(), and HGCalTBElectronicsId::rawId().
bool HGCalCondObjectTextIO::store | ( | const std::string & | filename, |
const HGCalCondObjectContainer< float > & | cont | ||
) |
saves condition to file
Definition at line 67 of file HGCalCondObjectTextIO.cc.
References HGCalCondObjectContainer< Payload >::get(), HGCalCondObjectContainerBase::schemeCode(), and HGCalCondObjectContainer< Payload >::size().
Referenced by main().
bool HGCalCondObjectTextIO::store | ( | const std::string & | filename, |
const HGCalElectronicsMap & | emap | ||
) |
Definition at line 119 of file HGCalCondObjectTextIO.cc.
References HGCalElectronicsMap::didAt(), HGCalElectronicsMap::eidAt(), and HGCalElectronicsMap::size().