|
EICrecon
JANA based reconstruction for the EPIC detector
|
Public Member Functions | |
| InsertingVisitor (JEvent &event, const std::string &collection_name) | |
| template<typename T > | |
| void | operator() (const T &collection) |
Public Attributes | |
| JEvent & | m_event |
| const std::string & | m_collection_name |
This datamodel visitor will insert a PODIO collection into a JEvent. This allows us to access the PODIO data through JEvent::Get and JEvent::GetCollection. This makes it transparent to downstream factories whether the data was loaded from file, or calculated. InsertingVisitor is called in GetEvent()
| event | JANA JEvent to copy the data objects into |
| collection_name | name of the collection which will be used as the factory tag for these objects |
|
inline |
|
inline |
| const std::string& InsertingVisitor::m_collection_name |
| JEvent& InsertingVisitor::m_event |