![]() |
ATLAS Offline Software
|
Namespaces | |
| namespace | BarcodeBased |
| namespace | |
| namespace | 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, const 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. | |
| 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, const int direction=0) |
| Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle. | |
| template<class T> | |
| std::deque< int > | simulation_history (const T &p, const int direction) |
| Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle. | |
| 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) | |
| 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. | |
| template<class T> | |
| bool | ignoreTruthLink (const T &p, bool vetoPileUp) |
| Helper function for SDO creation in PileUpTools. | |
| 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) | |
| 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). | |
| 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). | |
| 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. | |
| template<class T1, class T2> | |
| bool | is_same_particle (const T1 &p1, const T2 &p2) |
| Method to establish if two particles in the GenEvent actually represent the same particle. | |
| template<class T1, class T2> | |
| bool | is_same_vertex (const T1 &p1, const T2 &p2) |
| Method to establish if two particles in the GenEvent actually represent the same vertex. | |
| 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. | |
| 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). | |
| int | new_particle_status_from_old (const int oldStatus, const int barcode) |
| Get particle status in the new scheme from the barcode and status in the old scheme. | |
| int | old_particle_status_from_new (const int newStatus) |
| Get particle status in the old scheme from the status in the new scheme. | |
| int | new_vertex_status_from_old (const int oldStatus, const int barcode) |
| Get vertex status in the new scheme from the barcode and status in the old scheme. | |
| int | old_vertex_status_from_new (const int newStatus) |
| Get vertex status in the old scheme from the status in the new scheme. | |
| int | maxGeneratedParticleBarcode (const HepMC::GenEvent *genEvent) |
| Get the maximal value of barcode of particle present in the event. | |
| int | maxGeneratedVertexBarcode (const HepMC::GenEvent *genEvent) |
| Get the maximal absolute value of barcode of vertex present in the event. Returns a negative number. | |
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. | |
| constexpr int | SIM_REGENERATION_INCREMENT = 1000000 |
| Constant defining the barcode threshold for regenerated particles, i.e. particles surviving an interaction. | |
| constexpr int | SIM_STATUS_INCREMENT = 100000 |
| Constant defining the barcode threshold for regenerated particles, i.e. particles surviving an interaction. | |
| 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. | |
| constexpr int | FORWARD_TRANSPORT_MODEL_PROCESS = 212 |
| Special Forward transport Geant process for vertices. | |
| constexpr int | INVALID_PARTICLE_BARCODE = -1 |
| 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 = 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 629 of file GenEvent.h.
|
inline |
Definition at line 628 of file GenEvent.h.
|
inline |
Definition at line 623 of file GenEvent.h.
|
inline |
Definition at line 61 of file GenVertex.h.
|
inline |
Definition at line 621 of file GenEvent.h.
|
inline |
Definition at line 654 of file GenEvent.h.
|
inline |
Definition at line 624 of file GenEvent.h.
|
inline |
Definition at line 62 of file GenVertex.h.
|
inline |
Definition at line 622 of file GenEvent.h.
|
inline |
Definition at line 627 of file GenEvent.h.
| 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 358 of file MagicNumbers.h.
|
inline |
Definition at line 618 of file GenEvent.h.
|
inline |
Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle.
Definition at line 164 of file MagicNumbers.h.
|
inline |
Helper function for SDO creation in PileUpTools.
Definition at line 345 of file MagicNumbers.h.
|
inline |
Method to establish if two particles in the GenEvent actually represent the same generated particle.
Definition at line 364 of file MagicNumbers.h.
|
inline |
Method to establish if two particles in the GenEvent actually represent the same particle.
Definition at line 367 of file MagicNumbers.h.
|
inline |
Method to establish if two particles in the GenEvent actually represent the same vertex.
Definition at line 370 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 373 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 355 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 361 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 332 of file MagicNumbers.h.
|
inline |
Get the maximal value of barcode of particle present in the event.
Definition at line 428 of file MagicNumbers.h.
|
inline |
Get the maximal absolute value of barcode of vertex present in the event. Returns a negative number.
Definition at line 445 of file MagicNumbers.h.
|
inline |
Definition at line 630 of file GenEvent.h.
|
inline |
Definition at line 633 of file GenEvent.h.
|
inline |
Get particle status in the new scheme from the barcode and status in the old scheme.
Definition at line 405 of file MagicNumbers.h.
|
inline |
Get vertex status in the new scheme from the barcode and status in the old scheme.
Definition at line 415 of file MagicNumbers.h.
|
inline |
Definition at line 625 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.
Definition at line 342 of file MagicNumbers.h.
|
inline |
Get particle status in the old scheme from the status in the new scheme.
Definition at line 412 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 376 of file MagicNumbers.h.
|
inline |
Get vertex status in the old scheme from the status in the new scheme.
Definition at line 421 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 613 of file GenEvent.h.
|
inline |
Definition at line 645 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 648 of file GenEvent.h.
|
inline |
Definition at line 642 of file GenEvent.h.
| void HepMC::set_signal_process_vertex | ( | GenEvent * | e, |
| T | v ) |
Definition at line 651 of file GenEvent.h.
|
inline |
Definition at line 636 of file GenEvent.h.
|
inline |
Definition at line 639 of file GenEvent.h.
|
inline |
Definition at line 626 of file GenEvent.h.
|
inline |
Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle.
Definition at line 193 of file MagicNumbers.h.
|
inline |
Definition at line 159 of file MagicNumbers.h.
|
inline |
Definition at line 160 of file MagicNumbers.h.
|
inline |
Definition at line 144 of file MagicNumbers.h.
| bool HepMC::suggest_barcode | ( | T & | p, |
| int | i ) |
Definition at line 671 of file GenEvent.h.
| bool HepMC::suggest_barcode | ( | T * | p, |
| int | i ) |
Definition at line 672 of file GenEvent.h.
|
inline |
Definition at line 674 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 117 of file MagicNumbers.h.
|
inline |
Definition at line 682 of file GenEvent.h.
|
constexpr |
Special Forward transport Geant process for vertices.
Definition at line 50 of file MagicNumbers.h.
|
constexpr |
Definition at line 55 of file MagicNumbers.h.
|
constexpr |
Definition at line 58 of file MagicNumbers.h.
|
constexpr |
Definition at line 59 of file MagicNumbers.h.
|
inlineconstexpr |
Definition at line 68 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 38 of file MagicNumbers.h.
|
constexpr |
Constant defining the barcode threshold for regenerated particles, i.e. particles surviving an interaction.
Definition at line 41 of file MagicNumbers.h.
|
constexpr |
Constant defining the barcode threshold for regenerated particles, i.e. particles surviving an interaction.
Definition at line 44 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 47 of file MagicNumbers.h.
|
constexpr |
Definition at line 57 of file MagicNumbers.h.