Skip to content
Snippets Groups Projects

Draft: The second attempt to use status() instead of barcode() in Simulation

Closed Andrii Verbytskyi requested to merge averbyts/athena:use_status2 into main
Compare and Show latest version
1 file
+ 3
2
Compare changes
  • Side-by-side
  • Inline
@@ -72,7 +72,6 @@ namespace ISF {
(usually only called for particles that will enter the HepMC truth event) */
HepMC::GenParticlePtr parentParticle() override final;
int parentStatus() const override final;
HepMC::GenParticlePtr parentParticle() override final;
/** Return the barcode of the parent particle */
Barcode::ParticleBarcode parentBarcode() override final;
/** Return the bunch-crossing identifier of the parent particle */
@@ -91,6 +90,8 @@ namespace ISF {
double childEkin(unsigned short index) const override final;
/** Return the PDG Code of the i-th child particle */
int childPdgCode(unsigned short index) const override final;
/** Return the barcode of the i-th child particle (if defined as part of the TruthIncident) otherwise return 0 */
Barcode::ParticleBarcode childBarcode(unsigned short) const override final;
/** Return the i-th child as a HepMC particle type and assign the given
status to the simulator particle (usually only called for particles that
will enter the HepMC truth event) */
@@ -103,7 +104,7 @@ namespace ISF {
virtual HepMC::GenParticlePtr updateChildParticle(unsigned short index,
HepMC::GenParticlePtr existingChild) const override final;
/** Set the the barcode of all child particles to the given bc */
void setAllChildrenBarcodes(Barcode::ParticleBarcode bc) override final;
void setAllChildrenBarcodes(Barcode::ParticleBarcode bc) override final;
/** Set the the status of all child particles to the given bc */
void setAllChildrenStatus(int bc) override final;
private:
Loading