EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <eic-smear/blob/master/include/eicsmear/hadronic/EventSmear.h>
Public Member Functions | |
virtual | ~HadronicEventBuilder () |
HadronicEventBuilder (const Detector &d, TBranch &mcBranch) | |
virtual EventType * | Create () |
Public Member Functions inherited from Smear::EventFactory< erhic::hadronic::EventSmear > | |
virtual | ~EventFactory () |
virtual std::string | EventName () const |
virtual TBranch * | Branch (TTree &tree, const std::string &name) |
virtual void | Fill (TBranch &branch) |
Public Member Functions inherited from erhic::VirtualEventFactory | |
virtual | ~VirtualEventFactory () |
virtual VirtualEvent * | GetEvBufferPtr () |
virtual void | FindFirstEvent () |
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 |
Public Attributes inherited from erhic::VirtualEventFactory | |
std::vector< NamedObjects > | mObjectsToWriteAtTheEnd |
std::map< std::string, std::string > | mAdditionalInformation |
Factory class for smeared hadronic events.
Definition at line 74 of file EventSmear.h.
View newest version in sPHENIX GitHub at line 74 of file EventSmear.h
|
inlinevirtual |
Destructor.
Definition at line 79 of file EventSmear.h.
View newest version in sPHENIX GitHub 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.
View newest version in sPHENIX GitHub at line 86 of file EventSmear.h
References mMcEvent.
|
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.
View newest version in sPHENIX GitHub at line 98 of file EventSmear.h
References erhic::hadronic::EventMC::GetNTracks(), erhic::hadronic::EventMC::GetTrack(), mDetector, mMcEvent, and Smear::Detector::Smear().
|
protected |
Definition at line 110 of file EventSmear.h.
View newest version in sPHENIX GitHub at line 110 of file EventSmear.h
Referenced by Create().
|
protected |
Definition at line 111 of file EventSmear.h.
View newest version in sPHENIX GitHub at line 111 of file EventSmear.h
Referenced by Create(), and HadronicEventBuilder().