![]() |
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 <EventDisFactory.h>
Public Member Functions | |
virtual | ~EventDisFactory () |
EventDisFactory (const Detector &, TBranch &) | |
virtual Event * | Create () |
erhic::VirtualEvent * | GetEvBufferPtr () |
![]() | |
virtual | ~EventFactory () |
virtual std::string | EventName () const |
virtual TBranch * | Branch (TTree &tree, const std::string &name) |
virtual void | Fill (TBranch &branch) |
![]() | |
virtual | ~VirtualEventFactory () |
Protected Attributes | |
Detector | mDetector |
erhic::EventDis * | mMcEvent |
Additional Inherited Members | |
![]() | |
typedef Smear::Event | EventType |
Factory class for smeared DIS events.
Definition at line 30 of file EventDisFactory.h.
|
virtual |
Destructor.
Definition at line 34 of file EventDisFactory.cxx.
Smear::EventDisFactory::EventDisFactory | ( | const Detector & | d, |
TBranch & | mcBranch | ||
) |
Constructor. Initialise with the Detector performing particle smearing and the tree branch providing DIS Monte Carlo events.
Definition at line 37 of file EventDisFactory.cxx.
|
virtual |
Create a smeared event corresponding to the current DIS Monte Carlo event in the input branch passed to the constructor. The user should call TTree::GetEntry() on the tree with the input branch between calls to Create().
Implements Smear::EventFactory< Smear::Event >.
Definition at line 43 of file EventDisFactory.cxx.
|
inlinevirtual |
Returns a pointer to the event buffer.
Reimplemented from erhic::VirtualEventFactory.
Definition at line 59 of file EventDisFactory.h.