Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:29:50

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   int id() const { return id_; }
0010   void Print() const override {}
0011 
0012 private:
0013   int id_;
0014 };
0015 
0016 #endif