![]() |
eic-smear
1.0.3
A collection of ROOT classes for Monte Carlo events and a fast-smearing code simulating detector effects for the Electron-Ion Collider task force
|
#include <EventFactory.h>
Public Types | |
typedef T | EventType |
Public Member Functions | |
virtual | ~EventFactory () |
virtual T * | Create ()=0 |
virtual std::string | EventName () const |
virtual TBranch * | Branch (TTree &tree, const std::string &name) |
virtual void | Fill (TBranch &branch) |
![]() | |
virtual | ~VirtualEventFactory () |
virtual VirtualEvent * | GetEvBufferPtr () |
Event factory for events of a particular type. Handles the Branch methods for that event type. The template argument can be any event type inheriting from erhic::VirtualEvent.
Definition at line 30 of file EventFactory.h.
|
inlinevirtual |
Destructor.
Definition at line 36 of file EventFactory.h.
|
inlinevirtual |
Create and configure the output branch for smeared events in the tree.
Reimplemented from erhic::VirtualEventFactory.
Definition at line 50 of file EventFactory.h.
|
pure virtual |
Returns a new event instance.
Implements erhic::VirtualEventFactory.
Implemented in Smear::HadronicEventBuilder, and Smear::EventDisFactory.
|
inlinevirtual |
Returns the name of the branch object type (Smear::Event).
Implements erhic::VirtualEventFactory.
Definition at line 43 of file EventFactory.h.
|
inlinevirtual |
Create() the new event and fill the requested tree branch with it.
Reimplemented from erhic::VirtualEventFactory.
Definition at line 64 of file EventFactory.h.