1 #ifndef DataFormats_FWLite_Record_h
2 #define DataFormats_FWLite_Record_h
51 using TypeIDBase::typeInfo;
55 Record(
const char* iName, TTree*);
59 const std::string&
name()
const;
61 template<
typename HANDLE>
62 bool get(HANDLE&,
const char* iLabel=
"")
const;
78 cms::Exception*
get(
const TypeID&,
const char* iLabel,
const void*&)
const;
89 mutable std::map<std::pair<TypeID,std::string>, std::pair<TBranch*,void*>>
m_branches;
92 template <
typename HANDLE>
96 const void*
value = 0;
99 iHandle = HANDLE(value);
const Record & operator=(const Record &)
Record(const char *iName, TTree *)
const IOVSyncValue & startSyncValue() const
TypeID(const std::type_info &iInfo)
const std::string & name() const
void syncTo(const edm::EventID &, const edm::Timestamp &)
std::vector< std::pair< std::string, std::string > > typeAndLabelOfAvailableData() const
std::map< std::pair< TypeID, std::string >, std::pair< TBranch *, void * > > m_branches
bool get(HANDLE &, const char *iLabel="") const
std::map< IOVSyncValue, unsigned int > m_startIOVtoEntry
const IOVSyncValue & endSyncValue() const