|
ATLAS Offline Software
|
Go to the documentation of this file.
7 #ifndef Pythia8ForDecays_H
8 #define Pythia8ForDecays_H
21 class G4DynamicParticle;
22 class G4ParticleDefinition;
31 void Py1ent(
const G4Track&, std::vector<G4DynamicParticle*> &);
41 std::pair<int,int>
fromIdWithGluino(
int idRHad, Pythia8::Rndm* rndmPtr)
const;
bool isGluinoRHadron(int pdgId) const
std::pair< int, int > fromIdWithGluino(int idRHad, Pythia8::Rndm *rndmPtr) const
Get the quarks from a gluino R-hadron. From Pythia8 code.
POOL::TEvent event(POOL::TEvent::kClassAccess)
virtual ~Pythia8ForDecays()=default
void Py1ent(const G4Track &, std::vector< G4DynamicParticle * > &)
Function that decays the RHadron; returns products in G4 format.
std::unique_ptr< Pythia8::Pythia > m_pythia
The instance of Pythia8 that will do the work.
void fillParticle(const G4Track &, Pythia8::Event &event) const
Fill a Pythia8 event with the information from a G4Track.
G4ParticleDefinition * GetParticleDefinition(const int) const
Helper for getting G4ParticleDefinition from PDG ID.
std::pair< int, int > fromIdWithSquark(int idRHad) const