![]() |
ATLAS Offline Software
|
Namespaces | |
| namespace | BarcodeBased |
| namespace | StatusBased |
Classes | |
| class | ShortEventAttribute |
| class | GenEventBarcodes |
| class | ShadowParticle |
| Attribute for linking GenParticles between GenEvents. More... | |
| class | Polarization |
| 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 std::shared_ptr< HepMC3::VectorIntAttribute > | Flow |
| using | Print = HepMC3::Print |
| using | GenHeavyIon = HepMC3::GenHeavyIon |
| using | GenEvent = HepMC3::GenEvent |
| typedef HepMC3::GenParticlePtr | GenParticlePtr |
| typedef HepMC3::ConstGenParticlePtr | ConstGenParticlePtr |
| typedef HepMC3::GenVertexPtr | GenVertexPtr |
| typedef HepMC3::ConstGenVertexPtr | ConstGenVertexPtr |
| typedef HepMC3::GenHeavyIonPtr | GenHeavyIonPtr |
| typedef HepMC3::HEPEVT_Wrapper | HEPEVT_Wrapper |
| typedef std::shared_ptr< HepMC3::GenPdfInfo > | GenPdfInfoPtr |
| typedef HepMC3::Relatives | Relatives |
| typedef HepMC3::FourVector | FourVector |
| typedef HepMC3::Pythia8ToHepMC3 | Pythia8ToHepMC |
| 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, HepMC3::GenParticlePtr >::value &&!std::is_same< T, HepMC3::ConstGenParticlePtr >::value &&!std::is_same< T, HepMC3::GenVertexPtr >::value &&!std::is_same< T, HepMC3::ConstGenVertexPtr >::value &&!std::is_same< T, HepMC3::GenVertex >::value &&!std::is_same< T, HepMC3::GenParticle >::value &&!std::is_same< T, int >::value, bool > = true> | |
| int | barcode (const T &p) |
| template<class T, std::enable_if_t< std::is_same< T, HepMC3::GenParticlePtr >::value||std::is_same< T, HepMC3::ConstGenParticlePtr >::value||std::is_same< T, HepMC3::GenVertexPtr >::value||std::is_same< T, HepMC3::ConstGenVertexPtr >::value, bool > = true> | |
| int | barcode (const T &p) |
| template<class T, std::enable_if_t< std::is_same< T, HepMC3::GenParticle >::value||std::is_same< T, HepMC3::GenVertex >::value, bool > = true> | |
| int | barcode (const T &p) |
| int | flow (const HepMC3::GenParticlePtr &p, int i) |
| int | flow (const HepMC3::ConstGenParticlePtr &p, int i) |
| Flow | flow (const HepMC3::GenParticlePtr &p) |
| Flow | flow (const HepMC3::ConstGenParticlePtr &p) |
| template<class T> | |
| void | set_flow (T &a, Flow fl) |
| bool | set_ll_event_number (HepMC3::GenEvent *e, long long int num) |
| long long int | get_ll_event_number (const HepMC3::GenEvent *e) |
| std::map< std::string, std::size_t > | weights_map (const HepMC3::GenEvent *e) |
| std::vector< HepMC3::GenParticlePtr >::const_iterator | begin (HepMC3::GenEvent &e) |
| std::vector< HepMC3::GenParticlePtr >::const_iterator | end (HepMC3::GenEvent &e) |
| std::vector< HepMC3::ConstGenParticlePtr >::const_iterator | begin (const HepMC3::GenEvent &e) |
| std::vector< HepMC3::ConstGenParticlePtr >::const_iterator | end (const HepMC3::GenEvent &e) |
| GenEvent * | newGenEvent (const int signal_process_id, const int event_number) |
| GenEvent * | copyemptyGenEvent (const GenEvent *inEvt) |
| void | fillBarcodesAttribute (GenEvent *e) |
| ConstGenVertexPtr | barcode_to_vertex (const GenEvent *e, int id) |
| ConstGenParticlePtr | barcode_to_particle (const GenEvent *e, int id) |
| GenVertexPtr | barcode_to_vertex (GenEvent *e, int id) |
| GenParticlePtr | barcode_to_particle (GenEvent *e, int id) |
| int | mpi (const GenEvent &evt) |
| int | mpi (const GenEvent *evt) |
| int | signal_process_id (const GenEvent &evt) |
| int | signal_process_id (const GenEvent *evt) |
| void | set_signal_process_id (GenEvent *e, const int i=0) |
| void | set_mpi (GenEvent *e, const int i=0) |
| void | set_random_states (GenEvent *e, std::vector< long int > &a) |
| template<class T> | |
| void | set_signal_process_vertex (GenEvent *e, T &v) |
| ConstGenVertexPtr | signal_process_vertex (const GenEvent *e) |
| GenVertexPtr | signal_process_vertex (GenEvent *e) |
| bool | valid_beam_particles (const GenEvent *e) |
| template<class T> | |
| bool | suggest_barcode (T &p, int i) |
| GenParticlePtr | newGenParticlePtr (const HepMC3::FourVector &mom=HepMC3::FourVector::ZERO_VECTOR(), int pid=0, int status=0) |
| ConstGenParticlePtr | newConstGenParticlePtr (const HepMC3::FourVector &mom=HepMC3::FourVector::ZERO_VECTOR(), int pid=0, int status=0) |
| int | barcode_or_id (const ConstGenParticlePtr &p) |
| GenVertexPtr | newGenVertexPtr (const HepMC3::FourVector &pos=HepMC3::FourVector::ZERO_VECTOR(), const int i=0) |
| int | barcode_or_id (const ConstGenVertexPtr &p) |
| template<class T, std::enable_if_t< std::is_same< T, HepMC3::GenParticlePtr >::value||std::is_same< T, HepMC3::ConstGenParticlePtr >::value, bool > = true> | |
| Polarization | polarization (const T &a) |
| template<class T> | |
| void | set_polarization (T &a, const Polarization &b) |
| 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<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 HepMC3::ConstGenParticlePtr HepMC::ConstGenParticlePtr |
Definition at line 20 of file GenParticle.h.
| typedef HepMC3::ConstGenVertexPtr HepMC::ConstGenVertexPtr |
Definition at line 24 of file GenVertex.h.
| typedef std::shared_ptr<HepMC3::VectorIntAttribute> HepMC::Flow |
| typedef HepMC3::FourVector HepMC::FourVector |
Definition at line 11 of file SimpleVector.h.
| using HepMC::GenEvent = HepMC3::GenEvent |
Definition at line 39 of file GenEvent.h.
| using HepMC::GenHeavyIon = HepMC3::GenHeavyIon |
Definition at line 38 of file GenEvent.h.
| typedef HepMC3::GenHeavyIonPtr HepMC::GenHeavyIonPtr |
Definition at line 11 of file HeavyIon.h.
| typedef HepMC3::GenParticlePtr HepMC::GenParticlePtr |
Definition at line 19 of file GenParticle.h.
| typedef std::shared_ptr<HepMC3::GenPdfInfo> HepMC::GenPdfInfoPtr |
| typedef HepMC3::GenVertexPtr HepMC::GenVertexPtr |
Definition at line 23 of file GenVertex.h.
| typedef HepMC3::HEPEVT_Wrapper HepMC::HEPEVT_Wrapper |
Definition at line 14 of file HEPEVT_Wrapper.h.
| using HepMC::Print = HepMC3::Print |
Definition at line 37 of file GenEvent.h.
| typedef HepMC3::Pythia8ToHepMC3 HepMC::Pythia8ToHepMC |
Definition at line 20 of file Pythia8_i.h.
| typedef HepMC3::Relatives HepMC::Relatives |
Definition at line 10 of file Relatives.h.
| using HepMC::remove_smart_pointer_t = typename remove_smart_pointer<T>::type |
Definition at line 74 of file MagicNumbers.h.
|
inline |
Definition at line 46 of file Barcode.h.
|
inline |
Definition at line 34 of file Barcode.h.
|
inline |
|
inline |
|
inline |
Definition at line 27 of file GenParticle.h.
|
inline |
Definition at line 30 of file GenVertex.h.
|
inline |
Definition at line 443 of file GenEvent.h.
|
inline |
Definition at line 523 of file GenEvent.h.
|
inline |
Definition at line 403 of file GenEvent.h.
|
inline |
Definition at line 483 of file GenEvent.h.
|
inline |
Definition at line 357 of file GenEvent.h.
|
inline |
Definition at line 355 of file GenEvent.h.
Definition at line 369 of file GenEvent.h.
|
inline |
Definition at line 358 of file GenEvent.h.
|
inline |
Definition at line 356 of file GenEvent.h.
|
inline |
Definition at line 393 of file GenEvent.h.
Definition at line 33 of file Flow.h.
|
inline |
Definition at line 18 of file Flow.h.
Definition at line 23 of file Flow.h.
|
inline |
Definition at line 13 of file Flow.h.
|
inline |
Method to return how many interactions a particle has undergone during simulation (TODO migrate to be based on status).
Definition at line 325 of file MagicNumbers.h.
|
inline |
Definition at line 341 of file GenEvent.h.
|
inline |
Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle.
Definition at line 131 of file MagicNumbers.h.
|
inline |
Helper function for SDO creation in PileUpTools.
Definition at line 312 of file MagicNumbers.h.
|
inline |
Method to establish if two particles in the GenEvent actually represent the same generated particle.
Definition at line 331 of file MagicNumbers.h.
Method to establish if two particles in the GenEvent actually represent the same particle.
Definition at line 334 of file MagicNumbers.h.
Method to establish if two particles in the GenEvent actually represent the same vertex.
Definition at line 337 of file MagicNumbers.h.
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 340 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 322 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 328 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 299 of file MagicNumbers.h.
|
inline |
Get the maximal value of barcode of particle present in the event.
Definition at line 386 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 396 of file MagicNumbers.h.
Definition at line 563 of file GenEvent.h.
Definition at line 567 of file GenEvent.h.
Get particle status in the new scheme from the barcode and status in the old scheme.
Definition at line 363 of file MagicNumbers.h.
Get vertex status in the new scheme from the barcode and status in the old scheme.
Definition at line 373 of file MagicNumbers.h.
|
inline |
Definition at line 24 of file GenParticle.h.
Definition at line 360 of file GenEvent.h.
|
inline |
Definition at line 21 of file GenParticle.h.
|
inline |
Definition at line 25 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 309 of file MagicNumbers.h.
|
inline |
Get particle status in the old scheme from the status in the new scheme.
Definition at line 370 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 343 of file MagicNumbers.h.
|
inline |
Get vertex status in the old scheme from the status in the new scheme.
Definition at line 379 of file MagicNumbers.h.
|
inline |
Definition at line 28 of file Polarization.h.
| void HepMC::set_flow | ( | T & | a, |
| Flow | fl ) |
|
inline |
Definition at line 337 of file GenEvent.h.
Definition at line 584 of file GenEvent.h.
|
inline |
Definition at line 36 of file Polarization.h.
|
inline |
Definition at line 588 of file GenEvent.h.
Definition at line 580 of file GenEvent.h.
| void HepMC::set_signal_process_vertex | ( | GenEvent * | e, |
| T & | v ) |
Definition at line 591 of file GenEvent.h.
Definition at line 572 of file GenEvent.h.
Definition at line 576 of file GenEvent.h.
|
inline |
Definition at line 597 of file GenEvent.h.
|
inline |
Definition at line 598 of file GenEvent.h.
|
inline |
Function to calculate all the descendants(direction=1)/ancestors(direction=-1) of the particle.
Definition at line 160 of file MagicNumbers.h.
|
inline |
Definition at line 115 of file MagicNumbers.h.
| bool HepMC::suggest_barcode | ( | T & | p, |
| int | i ) |
Definition at line 607 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 89 of file MagicNumbers.h.
Definition at line 599 of file GenEvent.h.
|
inline |
Definition at line 346 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.