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
|
Go to the documentation of this file.
10 #ifndef INCLUDE_EICSMEAR_HADRONIC_PYTHIA6EVENTFACTORY_H_
11 #define INCLUDE_EICSMEAR_HADRONIC_PYTHIA6EVENTFACTORY_H_
56 virtual TBranch*
Branch(TTree&
tree,
const std::string& branchName);
61 virtual void Fill(TBranch&);
69 std::auto_ptr<erhic::EventMCFilterABC>
mFilter;
78 #endif // INCLUDE_EICSMEAR_HADRONIC_PYTHIA6EVENTFACTORY_H_
A realisation of erhic::VirtualEventFactory generating objects of type hadronic::EventPythiaPP.
virtual EventPythiaPP * Create()
Returns a new event instance.
virtual std::string EventName() const
Returns the name of the event class created by this factory.
virtual TBranch * Branch(TTree &tree, const std::string &branchName)
Create a new branch on a tree.
virtual void Fill(TBranch &)
Fill a tree branch with the current event.
Abstract base class for a filter on Monte Carlo events.
std::auto_ptr< erhic::EventMCFilterABC > mFilter
virtual ~Pythia6EventFactory()
Destructor.
Abstract base class for event builders.
Pythia6EventFactory(EventMCFilterABC *filter)
Constructor.
virtual EventPythiaPP * BuildEvent()
Construct an event from the current state of TPythia6.