ATLAS Offline Software
|
Namespaces | |
BarcodeBased | |
StatusBased | |
Classes | |
struct | DataPool |
struct | is_smart_ptr |
struct | is_smart_ptr< std::shared_ptr< T > > |
struct | is_smart_ptr< std::unique_ptr< T > > |
struct | is_smart_ptr< std::weak_ptr< T > > |
struct | remove_smart_pointer |
struct | remove_smart_pointer< std::shared_ptr< T > > |
struct | remove_smart_pointer< std::unique_ptr< T > > |
struct | remove_smart_pointer< std::weak_ptr< T > > |
Typedefs | |
typedef GenParticle * | GenParticlePtr |
typedef const GenParticle * | ConstGenParticlePtr |
typedef HepMC::GenVertex * | GenVertexPtr |
typedef const HepMC::GenVertex * | ConstGenVertexPtr |
typedef HepMC::PdfInfo * | GenPdfInfoPtr |
template<class T > | |
using | remove_smart_pointer_t = typename remove_smart_pointer< T >::type |
Functions | |
template<class T > | |
int | barcode (const T *p) |
int | barcode (int p) |
template<class T , std::enable_if_t<!std::is_pointer< T >::value &&!std::is_same< T, int >::value, bool > = true> | |
int | barcode (const T &p) |
template<class T > | |
int | flow (const T &a, int i) |
template<class T > | |
Flow | flow (const T &a) |
bool | set_ll_event_number (HepMC::GenEvent *e, long long int num) |
long long int | get_ll_event_number (const HepMC::GenEvent *e) |
GenEvent::particle_iterator | begin (HepMC::GenEvent &e) |
GenEvent::particle_iterator | end (HepMC::GenEvent &e) |
GenEvent::particle_const_iterator | begin (const HepMC::GenEvent &e) |
GenEvent::particle_const_iterator | end (const HepMC::GenEvent &e) |
GenEvent * | newGenEvent (const int a, const int b) |
GenVertex * | signal_process_vertex (const GenEvent *e) |
void | fillBarcodesAttribute (GenEvent *) |
GenVertex * | barcode_to_vertex (const GenEvent *e, int id) |
GenParticle * | barcode_to_particle (const GenEvent *e, int id) |
int | mpi (const GenEvent &e) |
int | mpi (const GenEvent *e) |
int | signal_process_id (const GenEvent &e) |
int | signal_process_id (const GenEvent *e) |
void | set_signal_process_id (GenEvent *e, const int i) |
void | set_mpi (GenEvent *e, const int i) |
template<class T > | |
void | set_random_states (GenEvent *e, std::vector< T > a) |
template<class T > | |
void | set_signal_process_vertex (GenEvent *e, T v) |
GenEvent * | copyemptyGenEvent (const GenEvent *inEvt) |
template<class T > | |
bool | suggest_barcode (T &p, int i) |
template<class T > | |
bool | suggest_barcode (T *p, int i) |
template<> | |
bool | suggest_barcode< std::unique_ptr< HepMC::GenParticle > > (std::unique_ptr< HepMC::GenParticle > &p, int i) |
bool | valid_beam_particles (const GenEvent *e) |
GenParticlePtr | newGenParticlePtr (const HepMC::FourVector &mom=HepMC::FourVector(0.0, 0.0, 0.0, 0.0), int pid=0, int status=0) |
int | barcode_or_id (const ConstGenParticlePtr &p) |
std::ostream & | operator<< (std::ostream &os, const GenParticle *p) |
GenVertex::particles_out_const_iterator | begin (const HepMC::GenVertex &v) |
GenVertex::particles_out_const_iterator | end (const HepMC::GenVertex &v) |
GenVertexPtr | newGenVertexPtr (const HepMC::FourVector &pos=HepMC::FourVector(0.0, 0.0, 0.0, 0.0), const int i=0) |
int | barcode_or_id (const ConstGenVertexPtr &p) |
std::ostream & | operator<< (std::ostream &os, const GenVertex *v) |
template<class T > | |
void | set_polarization (T &a, Polarization b) |
template<class T > | |
Polarization | polarization (const T &a) |
constexpr int | SUPPRESSED_PILEUP_BARCODE (std::numeric_limits< int32_t >::max()) |
This barcode is used by objects matched to particles from pile-up interactions in standard MC Production. More... | |
template<typename T > | |
int | uniqueID (const T &p) |
template<typename T > | |
int | status (const T &p) |
template<> | |
int | status (const ConstGenVertexPtr &v1) |
template<> | |
int | status (const GenVertexPtr &v1) |
template<class T > | |
void | get_particle_history (const T &p, std::deque< int > &out, int direction=0) |
Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle. More... | |
template<class T > | |
std::deque< int > | simulation_history (const T &p, int direction) |
Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle. More... | |
template<class T > | |
bool | is_truth_suppressed_pileup (const T &p) |
Method to establish if a particle (or barcode) corresponds to truth-suppressed pile-up (TODO update to be status based) More... | |
template<class T > | |
bool | no_truth_link (const T &p) |
Method to establish if a if the object is linked to something which was never saved to the HepMC Truth - for example particle was too low energy to be recorded (TODO update to be status based) More... | |
template<class T > | |
bool | ignoreTruthLink (const T &p, bool vetoPileUp) |
Helper function for SDO creation in PileUpTools. More... | |
template<class T > | |
bool | is_simulation_particle (const T &p) |
Method to establish if a particle (or barcode) was created during the simulation (TODO update to be status based) More... | |
template<class T > | |
int | generations (const T &p) |
Method to return how many interactions a particle has undergone during simulation (TODO migrate to be based on status). More... | |
template<class T > | |
bool | is_simulation_vertex (const T &v) |
Method to establish if the vertex was created during simulation (TODO migrate to be based on status). More... | |
template<class T1 , class T2 > | |
bool | is_same_generator_particle (const T1 &p1, const T2 &p2) |
Method to establish if two particles in the GenEvent actually represent the same generated particle. More... | |
template<class T1 , class T2 > | |
bool | is_sim_descendant (const T1 &p1, const T2 &p2) |
Method to check if the first particle is a descendant of the second in the simulation, i.e. particle p1 was produced simulations particle p2. More... | |
template<class T > | |
void | old_to_new_simulation_scheme (T &evt) |
Function that converts the old scheme of labeling the simulation particles (barcodes) into the new scheme (statuses). More... | |
int | new_particle_status_from_old (int oldStatus, int barcode) |
Functions for converting between the old and new barcode/status schemes. More... | |
int | old_particle_status_from_new (int newStatus) |
int | new_vertex_status_from_old (int oldStatus, int barcode) |
int | old_vertex_status_from_new (int newStatus) |
int | maxGeneratedParticleBarcode (const HepMC::GenEvent *genEvent) |
int | maxGeneratedVertexBarcode (const HepMC::GenEvent *genEvent) |
Variables | |
constexpr int | SIM_BARCODE_THRESHOLD = 200000 |
Constant defining the barcode threshold for simulated particles, eg. can be used to separate generator event record entries from simulated particles. More... | |
constexpr int | SIM_REGENERATION_INCREMENT = 1000000 |
Constant defining the barcode threshold for regenerated particles, i.e. particles surviving an interaction. More... | |
constexpr int | SIM_STATUS_INCREMENT = 100000 |
Constant defining the barcode threshold for regenerated particles, i.e. particles surviving an interaction. More... | |
constexpr int | SIM_STATUS_THRESHOLD = 20000 |
Constant definiting the status threshold for simulated particles, eg. can be used to separate generator event record entries from simulated particles. More... | |
constexpr int | SPECIALSTATUS = 902 |
Constant that the meaning of which is currently lost, to be recovered... More... | |
constexpr int | EVTGENUNDECAYEDSTATUS = 899 |
constexpr int | PYTHIA8LHESTATUS = 1003 |
constexpr int | HERWIG7INTERMEDIATESTATUS = 11 |
constexpr int | PYTHIA8NOENDVERTEXSTATUS = 201 |
constexpr int | FORWARDTRANSPORTMODELSTATUS = 212 |
constexpr int | INVALID_PARTICLE_BARCODE = -1 |
constexpr int | SINGLE_PARTICLE = 10001 |
constexpr int | UNDEFINED_ID = 0 |
constexpr int | INVALID_PARTICLE_ID = -1 |
constexpr int | INVALID_VERTEX_ID = 1 |
template<class T > | |
constexpr bool | is_smart_ptr_v = is_smart_ptr<T>::value |
typedef const GenParticle * HepMC::ConstGenParticlePtr |
Definition at line 38 of file GenParticle.h.
typedef const HepMC::GenVertex * HepMC::ConstGenVertexPtr |
Definition at line 60 of file GenVertex.h.
typedef GenParticle * HepMC::GenParticlePtr |
Definition at line 37 of file GenParticle.h.
typedef HepMC::PdfInfo* HepMC::GenPdfInfoPtr |
typedef HepMC::GenVertex * HepMC::GenVertexPtr |
Definition at line 59 of file GenVertex.h.
using HepMC::remove_smart_pointer_t = typedef typename remove_smart_pointer<T>::type |
Definition at line 74 of file MagicNumbers.h.
|
inline |
|
inline |
|
inline |
Definition at line 42 of file GenParticle.h.
|
inline |
Definition at line 71 of file GenVertex.h.
|
inline |
Definition at line 506 of file GenEvent.h.
|
inline |
Definition at line 505 of file GenEvent.h.
|
inline |
Definition at line 500 of file GenEvent.h.
|
inline |
Definition at line 61 of file GenVertex.h.
|
inline |
Definition at line 498 of file GenEvent.h.
|
inline |
Definition at line 531 of file GenEvent.h.
|
inline |
Definition at line 501 of file GenEvent.h.
|
inline |
Definition at line 62 of file GenVertex.h.
|
inline |
Definition at line 499 of file GenEvent.h.
|
inline |
Definition at line 504 of file GenEvent.h.
Flow HepMC::flow | ( | const T & | a | ) |
int HepMC::flow | ( | const T & | a, |
int | i | ||
) |
|
inline |
Method to return how many interactions a particle has undergone during simulation (TODO migrate to be based on status).
Definition at line 302 of file MagicNumbers.h.
|
inline |
Definition at line 495 of file GenEvent.h.
|
inline |
Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle.
Definition at line 156 of file MagicNumbers.h.
|
inline |
|
inline |
Method to establish if two particles in the GenEvent actually represent the same generated particle.
Definition at line 309 of file MagicNumbers.h.
|
inline |
Method to check if the first particle is a descendant of the second in the simulation, i.e. particle p1 was produced simulations particle p2.
Definition at line 313 of file MagicNumbers.h.
|
inline |
Method to establish if a particle (or barcode) was created during the simulation (TODO update to be status based)
Definition at line 299 of file MagicNumbers.h.
|
inline |
Method to establish if the vertex was created during simulation (TODO migrate to be based on status).
Definition at line 305 of file MagicNumbers.h.
|
inline |
Method to establish if a particle (or barcode) corresponds to truth-suppressed pile-up (TODO update to be status based)
Definition at line 290 of file MagicNumbers.h.
|
inline |
Definition at line 361 of file MagicNumbers.h.
|
inline |
Definition at line 377 of file MagicNumbers.h.
|
inline |
Definition at line 507 of file GenEvent.h.
|
inline |
Definition at line 510 of file GenEvent.h.
|
inline |
Functions for converting between the old and new barcode/status schemes.
Definition at line 345 of file MagicNumbers.h.
|
inline |
Definition at line 351 of file MagicNumbers.h.
Definition at line 502 of file GenEvent.h.
|
inline |
Definition at line 39 of file GenParticle.h.
|
inline |
Definition at line 64 of file GenVertex.h.
|
inline |
Method to establish if a if the object is linked to something which was never saved to the HepMC Truth - for example particle was too low energy to be recorded (TODO update to be status based)
Definition at line 293 of file MagicNumbers.h.
|
inline |
Definition at line 349 of file MagicNumbers.h.
void HepMC::old_to_new_simulation_scheme | ( | T & | evt | ) |
Function that converts the old scheme of labeling the simulation particles (barcodes) into the new scheme (statuses).
Definition at line 316 of file MagicNumbers.h.
|
inline |
Definition at line 355 of file MagicNumbers.h.
|
inline |
Definition at line 47 of file GenParticle.h.
|
inline |
Definition at line 72 of file GenVertex.h.
|
inline |
Definition at line 47 of file Polarization.h.
|
inline |
Definition at line 490 of file GenEvent.h.
|
inline |
Definition at line 522 of file GenEvent.h.
|
inline |
Definition at line 44 of file Polarization.h.
void HepMC::set_random_states | ( | GenEvent * | e, |
std::vector< T > | a | ||
) |
Definition at line 525 of file GenEvent.h.
|
inline |
Definition at line 519 of file GenEvent.h.
void HepMC::set_signal_process_vertex | ( | GenEvent * | e, |
T | v | ||
) |
Definition at line 528 of file GenEvent.h.
|
inline |
Definition at line 513 of file GenEvent.h.
|
inline |
Definition at line 516 of file GenEvent.h.
|
inline |
Definition at line 503 of file GenEvent.h.
|
inline |
Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle.
Definition at line 185 of file MagicNumbers.h.
|
inline |
Definition at line 151 of file MagicNumbers.h.
|
inline |
Definition at line 152 of file MagicNumbers.h.
|
inline |
Definition at line 130 of file MagicNumbers.h.
bool HepMC::suggest_barcode | ( | T & | p, |
int | i | ||
) |
Definition at line 548 of file GenEvent.h.
bool HepMC::suggest_barcode | ( | T * | p, |
int | i | ||
) |
Definition at line 549 of file GenEvent.h.
|
inline |
Definition at line 551 of file GenEvent.h.
|
constexpr |
This barcode is used by objects matched to particles from pile-up interactions in standard MC Production.
|
inline |
Definition at line 113 of file MagicNumbers.h.
|
inline |
Definition at line 559 of file GenEvent.h.
|
constexpr |
Definition at line 42 of file MagicNumbers.h.
|
constexpr |
Definition at line 46 of file MagicNumbers.h.
|
constexpr |
Definition at line 44 of file MagicNumbers.h.
|
constexpr |
Definition at line 51 of file MagicNumbers.h.
|
constexpr |
Definition at line 56 of file MagicNumbers.h.
|
constexpr |
Definition at line 57 of file MagicNumbers.h.
|
inlineconstexpr |
Definition at line 67 of file MagicNumbers.h.
|
constexpr |
Definition at line 43 of file MagicNumbers.h.
|
constexpr |
Definition at line 45 of file MagicNumbers.h.
|
constexpr |
Constant defining the barcode threshold for simulated particles, eg. can be used to separate generator event record entries from simulated particles.
Definition at line 29 of file MagicNumbers.h.
|
constexpr |
Constant defining the barcode threshold for regenerated particles, i.e. particles surviving an interaction.
Definition at line 32 of file MagicNumbers.h.
|
constexpr |
Constant defining the barcode threshold for regenerated particles, i.e. particles surviving an interaction.
Definition at line 35 of file MagicNumbers.h.
|
constexpr |
Constant definiting the status threshold for simulated particles, eg. can be used to separate generator event record entries from simulated particles.
Definition at line 38 of file MagicNumbers.h.
|
constexpr |
Definition at line 53 of file MagicNumbers.h.
|
constexpr |
Constant that the meaning of which is currently lost, to be recovered...
Definition at line 41 of file MagicNumbers.h.
|
constexpr |
Definition at line 55 of file MagicNumbers.h.