42 tree_->SetDirectory(iFile);
74 const char*
label = iLabel;
96 trueClassName.c_str(),
105 assert(
edm::TypeIDBase(trueType.typeInfo())==itFound->second.trueType_);
106 itFound->second.branch_->SetAddress(&(itFound->second.pBuffer_));
107 itFound->second.pBuffer_ = iData;
116 if(
nullptr==it->second.pBuffer_) {
117 throw cms::Exception(
"MissingESData")<<
"The EventSetup data "<<it->first.first.name()<<
" '"<<it->first.second<<
"' was not supplied";
125 it->second.pBuffer_=
nullptr;
TypeWithDict dynamicType() const
edm::TypeIDBase trueType_
edm::ESRecordAuxiliary aux_
std::string format_type_to_mangled(const std::string &)
given a C++ class name returned a mangled name
edm::ESRecordAuxiliary * pAux_
void fill(const edm::ESRecordAuxiliary &)
std::map< std::pair< edm::TypeIDBase, std::string >, DataBuffer > idToBuffer_
void update(const void *iData, const std::type_info &iType, const char *iLabel)
std::string className(const T &t)
RecordWriter(const char *iName, TFile *iFile)