|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef XAODDATASOURCE_RDATASOURCEEVENT_H
6 #define XAODDATASOURCE_RDATASOURCEEVENT_H
12 #include <ROOT/RStringView.hxx>
19 #include <unordered_map>
41 const std::type_info& typeInfo );
47 typedef std::pair< std::string, const std::type_info* >
Key_t;
57 std::unordered_map< Key_t, const void*, key_hash >
m_objects;
63 #endif // XAODDATASOURCE_RDATASOURCEEVENT_H
std::pair< std::string, const std::type_info * > Key_t
Type of the key used in the internal map of object pointers.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void updateObjectsForEntry(Long64_t entry)
Update all objects in memory for a new event.
std::unordered_map< Key_t, const void *, key_hash > m_objects
Objects served to RDataFrame.
std::size_t operator()(const Key_t &key) const
Function calculating the hash for this type.
Custom hash functor for use with Key_t.
RDataSourceEvent()
Default constructor.
void * columnReader(std::string_view columnName, const std::type_info &typeInfo)
Get a "column reader", a pointer to a pointer to the object.
std::vector< std::pair< std::string, std::string > > columnAndTypeNames()
Get the available columm and type names from the input.
Extension to xAOD::TEvent, used by xAOD::RDataSource.
Tool for accessing xAOD files outside of Athena.