Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:30:26

0001 #ifndef SimG4Core_GenParticleInfo_H
0002 #define SimG4Core_GenParticleInfo_H
0003 
0004 #include "G4VUserPrimaryParticleInformation.hh"
0005 
0006 class GenParticleInfo : public G4VUserPrimaryParticleInformation {
0007 public:
0008   explicit GenParticleInfo(int id) : id_(id) {}
0009   ~GenParticleInfo() override = default;
0010   int id() const { return id_; }
0011   void Print() const override {}
0012 
0013 private:
0014   int id_;
0015 };
0016 
0017 #endif