genkernel
Contents of generator/genkernel
-
namespace generator
-
class Event
Public Functions
-
inline Event()
Constructor
-
~Event() = default
Destructor
-
inline void push_back(Seed seed)
Add the seed into the current event.
- Parameters:
seed – The seed to be inserted
-
inline void setAvgmu(float avgmu)
Set the average mu/pileup.
- Parameters:
avgmu –
-
inline void setTotmu(float totmu)
-
inline float avgmu() const
Get the average mu/pileup.
- Returns:
float
-
inline float totmu() const
-
inline int eventNumber() const
Get the event number.
- Returns:
int
-
inline int size() const
-
inline Event()
-
struct particle_t
- #include <Event.h>
Particle struct used to dump the info into the ntuple.
-
class Seed
Public Functions
-
inline Seed(float eta, float phi)
Constructor
-
~Seed() = default
Destructor
-
inline void push_back(const particle_t p)
Adds the particle into the seed.
- Parameters:
p –
-
inline float eta() const
Get eta value.
- Returns:
float
-
inline float phi() const
Get phi value.
- Returns:
float
-
inline void setEta(float eta)
Set eta value.
- Parameters:
eta –
-
inline void setPhi(float phi)
Set phi value.
- Parameters:
phi –
-
inline std::vector<particle_t> &operator*()
-
inline float etot() const
-
inline float ettot() const
-
inline void emplace_back(int isMain, int bc_id, int pdg_id, float px, float py, float pz, float eta, float phi, float xProd, float yProd, float zProd, float tProd, float e, float eT)
Pushes a new particle into the seed.
- Parameters:
isMain –
bc_id –
pdg_id – PDGID of the particle
px – X axis momentum
py – Y axis momentum
pz – Z axis momentum
eta – Eta value
phi – Phi value
xProd – X axis production vertex
yProd – Y axis production vertex
zProd – Z axis production vertex
tProd – Time of production
e – Energy
eT – Transverse energy
-
inline Seed(float eta, float phi)
-
class Event
-
namespace generator
-
class EventTape : public MsgService, public Gaugi::PropertyService
Public Functions
-
EventTape()
-
~EventTape()
-
StatusCode initialize()
-
StatusCode execute()
-
StatusCode finalize()
-
void push_back(IAlgorithm *alg)
Private Members
-
TTree *m_tree
-
std::vector<IAlgorithm*> m_algs
-
std::string m_outputFile
-
int m_outputLevel
-
float m_nEvent
-
int m_runNumber
Ntuple output
-
std::vector<int> m_eventNumbers
-
int m_eventNumber
-
float m_avg_mu
-
float m_tot_mu
-
std::vector<int> *m_p_isMain
-
std::vector<int> *m_p_pdg_id
-
std::vector<int> *m_p_bc_id
-
std::vector<int> *m_p_seed_id
-
std::vector<float> *m_p_px
-
std::vector<float> *m_p_py
-
std::vector<float> *m_p_pz
-
std::vector<float> *m_p_prod_x
-
std::vector<float> *m_p_prod_y
-
std::vector<float> *m_p_prod_z
-
std::vector<float> *m_p_prod_t
-
std::vector<float> *m_p_eta
-
std::vector<float> *m_p_phi
-
std::vector<float> *m_p_e
-
std::vector<float> *m_p_et
-
EventTape()
-
class EventTape : public MsgService, public Gaugi::PropertyService
Warning
doxygenfile: Found multiple matches for file “IAlgorithm.h
-
namespace generator
-
class IGenerator : public MsgService, public Gaugi::PropertyService
Subclassed by generator::Pythia8Gen, generator::RootReader
Public Functions
-
inline IGenerator()
Constructor
-
inline virtual ~IGenerator()
Destructor
-
virtual StatusCode initialize() = 0
-
virtual StatusCode execute(HepMC3::GenEvent&) = 0
-
virtual StatusCode finalize() = 0
-
virtual float random_flat() = 0
-
virtual float random_gauss() = 0
-
virtual void clear() = 0
-
const std::string &name() const
-
inline IGenerator()
-
class IGenerator : public MsgService, public Gaugi::PropertyService
Warning
doxygenfile: Found multiple matches for file “LinkDef.h