19#include <EVENT/LCCollection.h>
20#include <EVENT/LCEvent.h>
25#include <TClonesArray.h>
48 virtual void add(
const std::string name, TObject*
object);
56 void addCollection(
const std::string name, TClonesArray* collection);
62 void addCollection(
const std::string& name, std::vector<T*>* collection ){
62 void addCollection(
const std::string& name, std::vector<T*>* collection ) {
…}
79 bool exists(
const std::string name);
103 return static_cast<EVENT::LCCollection*
>(
lc_event_->getCollection(name));
EventHeader * event_header_
TClonesArray * getCollection(const std::string name)
bool exists(const std::string name)
std::map< std::string, TBranch * > branches_
void setEntry(const int entry)
EVENT::LCEvent * getLCEvent()
EVENT::LCCollection * getLCCollection(std::string name)
std::map< std::string, TObject * > objects_
void setLCEvent(EVENT::LCEvent *lc_event)
virtual void add(const std::string name, TObject *object)
void addCollection(const std::string &name, std::vector< T * > *collection)
EVENT::LCEvent * lc_event_
bool hasLCCollection(const std::string name)
void setTree(TTree *tree)
void addCollection(const std::string name, TClonesArray *collection)
EventHeader & getEventHeaderMutable() const