|
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
|
Factory class for smeared hadronic events. More...
#include <EventSmear.h>
Public Member Functions | |
| virtual | ~HadronicEventBuilder () |
| Destructor. More... | |
| HadronicEventBuilder (const Detector &d, TBranch &mcBranch) | |
| Constructor. More... | |
| virtual EventType * | Create () |
| Create a smeared event corresponding to the current DIS Monte Carlo event in the input branch passed to the constructor. More... | |
Public Member Functions inherited from Smear::EventFactory< erhic::hadronic::EventSmear > | |
| virtual | ~EventFactory () |
| Destructor. More... | |
| virtual std::string | EventName () const |
| Returns the name of the branch object type (Smear::Event). More... | |
| virtual TBranch * | Branch (TTree &tree, const std::string &name) |
| Create and configure the output branch for smeared events in the tree. More... | |
| virtual void | Fill (TBranch &branch) |
| Create() the new event and fill the requested tree branch with it. More... | |
Public Member Functions inherited from erhic::VirtualEventFactory | |
| virtual | ~VirtualEventFactory () |
| Destructor. More... | |
| virtual VirtualEvent * | GetEvBufferPtr () |
| Returns a pointer to the event buffer. More... | |
| virtual std::string | EventName () const =0 |
| Returns a string with the full (including namespace) class name of the event type produced. More... | |
Protected Attributes | |
| Detector | mDetector |
| erhic::hadronic::EventMC * | mMcEvent |
Additional Inherited Members | |
Public Types inherited from Smear::EventFactory< erhic::hadronic::EventSmear > | |
| typedef erhic::hadronic::EventSmear | EventType |
Factory class for smeared hadronic events.
Definition at line 74 of file hadronic/EventSmear.h.
|
inlinevirtual |
Destructor.
Definition at line 79 of file hadronic/EventSmear.h.
|
inline |
Constructor.
Initialise with the Detector performing particle smearing and the tree branch providing DIS Monte Carlo events.
Definition at line 86 of file hadronic/EventSmear.h.
|
inlinevirtual |
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() themselves between calls to Create().
Implements Smear::EventFactory< erhic::hadronic::EventSmear >.
Definition at line 98 of file hadronic/EventSmear.h.
|
protected |
Definition at line 110 of file hadronic/EventSmear.h.
|
protected |
Definition at line 111 of file hadronic/EventSmear.h.