#include <BoxGenerator.h>
Inherits o2::eventgen::Generator.
|
| | BoxGenerator ()=default |
| |
| | BoxGenerator (int pdgid, int mult=1) |
| |
| | BoxGenerator (int pdgid, int mult, double etamin, double etamax, double pmin, double pmax, double phimin, double phimax) |
| |
| | BoxGenerator (BoxGenConfig const &config) |
| |
| void | SetPRange (Double32_t pmin=0, Double32_t pmax=10) |
| |
| void | SetPhiRange (double phimin=0, double phimax=360) |
| |
| void | SetEtaRange (double etamin=-5, double etamax=5) |
| |
| TParticle | sampleParticle () const |
| | generates a single particle conforming to particle gun parameters
|
| |
| bool | generateEvent () override |
| | implements the main O2 generator interfaces
|
| |
| bool | importParticles () override |
| |
| void | updateHeader (o2::dataformats::MCEventHeader *eventHeader) override |
| |
| | Generator () |
| |
| | Generator (const Char_t *name, const Char_t *title="ALICEo2 Generator") |
| |
| | ~Generator () override=default |
| |
| Bool_t | Init () override |
| |
| Bool_t | ReadEvent (FairPrimaryGenerator *primGen) final |
| |
| Bool_t | triggerEvent () |
| |
| void | setMomentumUnit (double val) |
| |
| double | getMomentumUnit () const |
| |
| void | setEnergyUnit (double val) |
| |
| double | getEnergyUnit () const |
| |
| void | setPositionUnit (double val) |
| |
| double | getPositionUnit () const |
| |
| void | setTimeUnit (double val) |
| |
| double | getTimeUnit () const |
| |
| void | setBoost (Double_t val) |
| |
| void | setTriggerMode (ETriggerMode_t val) |
| |
| void | addTrigger (Trigger trigger) |
| |
| void | addDeepTrigger (DeepTrigger trigger) |
| |
| const std::vector< TParticle > & | getParticles () const |
| |
| void | clearParticles () |
| |
| virtual void | notifyEmbedding (const o2::dataformats::MCEventHeader *eventHeader) |
| |
| void | setTriggerOkHook (std::function< void(std::vector< TParticle > const &p, int eventCount)> f) |
| |
| void | setTriggerFalseHook (std::function< void(std::vector< TParticle > const &p, int eventCount)> f) |
| |
Definition at line 32 of file BoxGenerator.h.
◆ BoxGenerator() [1/4]
| o2::eventgen::BoxGenerator::BoxGenerator |
( |
| ) |
|
|
default |
◆ BoxGenerator() [2/4]
| o2::eventgen::BoxGenerator::BoxGenerator |
( |
int |
pdgid, |
|
|
int |
mult = 1 |
|
) |
| |
◆ BoxGenerator() [3/4]
| o2::eventgen::BoxGenerator::BoxGenerator |
( |
int |
pdgid, |
|
|
int |
mult, |
|
|
double |
etamin, |
|
|
double |
etamax, |
|
|
double |
pmin, |
|
|
double |
pmax, |
|
|
double |
phimin, |
|
|
double |
phimax |
|
) |
| |
|
inline |
◆ BoxGenerator() [4/4]
| o2::eventgen::BoxGenerator::BoxGenerator |
( |
BoxGenConfig const & |
config | ) |
|
|
inline |
◆ generateEvent()
| bool o2::eventgen::BoxGenerator::generateEvent |
( |
| ) |
|
|
inlineoverridevirtual |
◆ importParticles()
| bool o2::eventgen::BoxGenerator::importParticles |
( |
| ) |
|
|
inlineoverridevirtual |
◆ sampleParticle()
| TParticle o2::eventgen::BoxGenerator::sampleParticle |
( |
| ) |
const |
generates a single particle conforming to particle gun parameters
Definition at line 32 of file BoxGenerator.cxx.
◆ SetEtaRange()
| void o2::eventgen::BoxGenerator::SetEtaRange |
( |
double |
etamin = -5, |
|
|
double |
etamax = 5 |
|
) |
| |
|
inline |
◆ SetPhiRange()
| void o2::eventgen::BoxGenerator::SetPhiRange |
( |
double |
phimin = 0, |
|
|
double |
phimax = 360 |
|
) |
| |
|
inline |
◆ SetPRange()
| void o2::eventgen::BoxGenerator::SetPRange |
( |
Double32_t |
pmin = 0, |
|
|
Double32_t |
pmax = 10 |
|
) |
| |
|
inline |
◆ updateHeader()
The documentation for this class was generated from the following files: