![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_eicdetectors/blob/master/simulation/g4simulation/g4lblvtx/PHG4ParticleGenerator_flat_pT.h>
Inheritance diagram for PHG4ParticleGenerator_flat_pT:
Collaboration diagram for PHG4ParticleGenerator_flat_pT:Public Member Functions | |
| PHG4ParticleGenerator_flat_pT (const std::string &name="PGENERATOR") | |
| virtual | ~PHG4ParticleGenerator_flat_pT () |
| int | process_event (PHCompositeNode *topNode) |
| void | set_z_range (const double z_min, const double z_max) |
| void | set_eta_range (const double eta_min, const double eta_max) |
| void | set_phi_range (const double phi_min, const double phi_max) |
| void | set_pT_range (const double mom_min, const double mom_max) |
| void | Print (const std::string &what="ALL") const |
| PHG4ParticleGenerator_flat_pT (const std::string &name="PGENERATOR") | |
| virtual | ~PHG4ParticleGenerator_flat_pT () |
| int | process_event (PHCompositeNode *topNode) |
| void | set_z_range (const double z_min, const double z_max) |
| void | set_eta_range (const double eta_min, const double eta_max) |
| void | set_phi_range (const double phi_min, const double phi_max) |
| void | set_pT_range (const double mom_min, const double mom_max) |
| void | Print (const std::string &what="ALL") const |
Public Member Functions inherited from PHG4ParticleGeneratorBase | |
| ~PHG4ParticleGeneratorBase () override | |
| int | InitRun (PHCompositeNode *topNode) override |
| virtual void | set_name (const std::string &particle="proton") |
| virtual void | set_pid (const int pid) |
| virtual void | set_mom (const double x, const double y, const double z) |
| virtual void | set_vtx (const double x, const double y, const double z) |
| virtual void | set_vtx_z (const double z) |
| virtual void | set_t0 (const double t) |
| virtual double | get_vtx_x () const |
| virtual double | get_vtx_y () const |
| virtual double | get_vtx_z () const |
| virtual double | get_t0 () const |
| virtual void | PrintParticles (const std::string &what="ALL") const |
| virtual void | AddParticle (const std::string &particle, const double x, const double y, const double z) |
| virtual void | AddParticle (const int pid, const double x, const double y, const double z) |
| virtual void | Embed (const int i=1) |
| virtual int | ReuseExistingVertex (PHCompositeNode *topNode) |
| int | get_reuse_existing_vertex () const |
| void | set_reuse_existing_vertex (const int i=1) |
| void | set_seed (const unsigned int iseed) |
| unsigned int | get_seed () const |
Public Member Functions inherited from SubsysReco | |
| ~SubsysReco () override | |
| virtual int | End (PHCompositeNode *) |
| Called at the end of all processing. | |
| virtual int | EndRun (const int) |
| Called at the end of each run. | |
| virtual int | Init (PHCompositeNode *) |
| virtual int | Reset (PHCompositeNode *) |
| Reset. | |
| virtual int | ResetEvent (PHCompositeNode *) |
| Clean up after each event. | |
Public Member Functions inherited from Fun4AllBase | |
| virtual | ~Fun4AllBase () |
| virtual const std::string | Name () const |
| Returns the name of this module. | |
| virtual void | Name (const std::string &name) |
| Sets the name of this module. | |
| virtual void | Verbosity (const int ival) |
| Sets the verbosity of this module (0 by default=quiet). | |
| virtual void | Verbosity (enu_Verbosity ival) |
| Sets the verbosity of this module (0 by default=quiet). | |
| virtual int | Verbosity () const |
| Gets the verbosity of this module. | |
Protected Attributes | |
| double | m_ZMin = -10. |
| double | m_ZMax = 10. |
| double | m_EtaMin = -1. |
| double | m_EtaMax = 1. |
| double | m_PhiMin = -M_PI |
| double | m_PhiMax = M_PI |
| double | m_MomMin = 0. |
| double | m_MomMax = 10. |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
| enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10 } |
Protected Member Functions inherited from PHG4ParticleGeneratorBase | |
| PHG4ParticleGeneratorBase (const std::string &name="GENERATORBASE") | |
| int | get_pdgcode (const std::string &name) const |
| std::string | get_pdgname (const int pdgcode) const |
| double | get_mass (const int pdgcode) const |
| void | CheckAndCreateParticleVector () |
| void | SetParticleId (PHG4Particle *particle, PHG4InEvent *ineve) |
| gsl_rng * | RandomGenerator () const |
| int | EmbedFlag () const |
| std::vector< PHG4Particle * > ::iterator | particlelist_begin () |
| std::vector< PHG4Particle * > ::iterator | particlelist_end () |
| void | ResetParticleList () |
Definition at line 13 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 13 of file PHG4ParticleGenerator_flat_pT.h
| PHG4ParticleGenerator_flat_pT::PHG4ParticleGenerator_flat_pT | ( | const std::string & | name = "PGENERATOR" | ) |
Definition at line 17 of file PHG4ParticleGenerator_flat_pT.cc.
View newest version in sPHENIX GitHub at line 17 of file PHG4ParticleGenerator_flat_pT.cc
|
inlinevirtual |
Definition at line 17 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4ParticleGenerator_flat_pT.h
| PHG4ParticleGenerator_flat_pT::PHG4ParticleGenerator_flat_pT | ( | const std::string & | name = "PGENERATOR" | ) |
|
inlinevirtual |
Definition at line 17 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4ParticleGenerator_flat_pT.h
|
virtual |
Print out some info about this module.
| what | can be used to specify what to print exactly. |
Reimplemented from PHG4ParticleGeneratorBase.
Definition at line 91 of file PHG4ParticleGenerator_flat_pT.cc.
View newest version in sPHENIX GitHub at line 91 of file PHG4ParticleGenerator_flat_pT.cc
References m_EtaMax, m_EtaMin, m_MomMax, m_MomMin, m_PhiMax, m_PhiMin, m_ZMax, m_ZMin, and PHG4ParticleGeneratorBase::PrintParticles().
Here is the call graph for this function:
|
virtual |
Print out some info about this module.
| what | can be used to specify what to print exactly. |
Reimplemented from PHG4ParticleGeneratorBase.
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from PHG4ParticleGeneratorBase.
Definition at line 51 of file PHG4ParticleGenerator_flat_pT.cc.
View newest version in sPHENIX GitHub at line 51 of file PHG4ParticleGenerator_flat_pT.cc
References PHG4InEvent::AddParticle(), PHG4InEvent::AddVtx(), cos(), Acts::VectorHelpers::eta(), PHG4Particle::get_e(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4ParticleGeneratorBase::get_t0(), PHG4ParticleGeneratorBase::get_vtx_x(), PHG4ParticleGeneratorBase::get_vtx_y(), PHG4ParticleGeneratorBase::get_vtx_z(), PHG4InEvent::identify(), m_EtaMax, m_EtaMin, m_MomMax, m_MomMin, m_PhiMax, m_PhiMin, m_ZMax, m_ZMin, charm_jet_coverage::mom, particle, PHG4ParticleGeneratorBase::particlelist_begin(), PHG4ParticleGeneratorBase::particlelist_end(), phi, PHG4ParticleGeneratorBase::RandomGenerator(), PHG4ParticleGeneratorBase::ReuseExistingVertex(), PHG4Particle::set_e(), PHG4Particle::set_px(), PHG4Particle::set_py(), PHG4Particle::set_pz(), PHG4ParticleGeneratorBase::set_vtx_z(), PHG4ParticleGeneratorBase::SetParticleId(), and Fun4AllBase::Verbosity().
Here is the call graph for this function:
|
virtual |
Called for each event. This is where you do the real work.
Reimplemented from PHG4ParticleGeneratorBase.
| void PHG4ParticleGenerator_flat_pT::set_eta_range | ( | const double | eta_min, |
| const double | eta_max | ||
| ) |
| void PHG4ParticleGenerator_flat_pT::set_eta_range | ( | const double | eta_min, |
| const double | eta_max | ||
| ) |
Definition at line 30 of file PHG4ParticleGenerator_flat_pT.cc.
View newest version in sPHENIX GitHub at line 30 of file PHG4ParticleGenerator_flat_pT.cc
References m_EtaMax, m_EtaMin, max, and min.
Referenced by Fun4All_G4_FastMom(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), and Fun4All_G4_simplified_v2_DIRC_barrel_GEM().
Here is the caller graph for this function:| void PHG4ParticleGenerator_flat_pT::set_phi_range | ( | const double | phi_min, |
| const double | phi_max | ||
| ) |
Definition at line 37 of file PHG4ParticleGenerator_flat_pT.cc.
View newest version in sPHENIX GitHub at line 37 of file PHG4ParticleGenerator_flat_pT.cc
References m_PhiMax, m_PhiMin, max, and min.
Referenced by Fun4All_G4_FastMom(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), and Fun4All_G4_simplified_v2_DIRC_barrel_GEM().
Here is the caller graph for this function:| void PHG4ParticleGenerator_flat_pT::set_phi_range | ( | const double | phi_min, |
| const double | phi_max | ||
| ) |
| void PHG4ParticleGenerator_flat_pT::set_pT_range | ( | const double | mom_min, |
| const double | mom_max | ||
| ) |
| void PHG4ParticleGenerator_flat_pT::set_pT_range | ( | const double | mom_min, |
| const double | mom_max | ||
| ) |
Definition at line 44 of file PHG4ParticleGenerator_flat_pT.cc.
View newest version in sPHENIX GitHub at line 44 of file PHG4ParticleGenerator_flat_pT.cc
References m_MomMax, m_MomMin, max, and min.
Referenced by Fun4All_G4_FastMom(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), and Fun4All_G4_simplified_v2_DIRC_barrel_GEM().
Here is the caller graph for this function:| void PHG4ParticleGenerator_flat_pT::set_z_range | ( | const double | z_min, |
| const double | z_max | ||
| ) |
Definition at line 23 of file PHG4ParticleGenerator_flat_pT.cc.
View newest version in sPHENIX GitHub at line 23 of file PHG4ParticleGenerator_flat_pT.cc
References m_ZMax, m_ZMin, max, and min.
Referenced by Fun4All_G4_FastMom(), Fun4All_G4_simplified_3vtx(), Fun4All_G4_simplified_v2(), and Fun4All_G4_simplified_v2_DIRC_barrel_GEM().
Here is the caller graph for this function:| void PHG4ParticleGenerator_flat_pT::set_z_range | ( | const double | z_min, |
| const double | z_max | ||
| ) |
|
protected |
Definition at line 30 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4ParticleGenerator_flat_pT.h
Referenced by Print(), process_event(), and set_eta_range().
|
protected |
Definition at line 29 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4ParticleGenerator_flat_pT.h
Referenced by Print(), process_event(), and set_eta_range().
|
protected |
Definition at line 34 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4ParticleGenerator_flat_pT.h
Referenced by Print(), process_event(), and set_pT_range().
|
protected |
Definition at line 33 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4ParticleGenerator_flat_pT.h
Referenced by Print(), process_event(), and set_pT_range().
|
protected |
Definition at line 32 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4ParticleGenerator_flat_pT.h
Referenced by Print(), process_event(), and set_phi_range().
|
protected |
Definition at line 31 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 31 of file PHG4ParticleGenerator_flat_pT.h
Referenced by Print(), process_event(), and set_phi_range().
|
protected |
Definition at line 28 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4ParticleGenerator_flat_pT.h
Referenced by Print(), process_event(), and set_z_range().
|
protected |
Definition at line 27 of file PHG4ParticleGenerator_flat_pT.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4ParticleGenerator_flat_pT.h
Referenced by Print(), process_event(), and set_z_range().