![]() |
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 <EventSmear.h>
Public Member Functions | |
virtual | ~HadronicEventBuilder () |
HadronicEventBuilder (const Detector &d, TBranch &mcBranch) | |
virtual EventType * | Create () |
![]() | |
virtual | ~EventFactory () |
virtual std::string | EventName () const |
virtual TBranch * | Branch (TTree &tree, const std::string &name) |
virtual void | Fill (TBranch &branch) |
![]() | |
virtual | ~VirtualEventFactory () |
virtual VirtualEvent * | GetEvBufferPtr () |
Protected Attributes | |
Detector | mDetector |
erhic::hadronic::EventMC * | mMcEvent |
Additional Inherited Members | |
![]() | |
typedef erhic::hadronic::EventSmear | EventType |
Factory class for smeared hadronic events.
Definition at line 74 of file EventSmear.h.
|
inlinevirtual |
Destructor.
Definition at line 79 of file 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 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 EventSmear.h.