CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10/src/SimG4Core/Notification/interface/GenParticleInfo.h

Go to the documentation of this file.
00001 #ifndef SimG4Core_GenParticleInfo_H
00002 #define SimG4Core_GenParticleInfo_H
00003 
00004 #include "G4VUserPrimaryParticleInformation.hh"
00005 
00006 class GenParticleInfo : public G4VUserPrimaryParticleInformation 
00007 {
00008 public:
00009     explicit GenParticleInfo(int id) : id_(id) {}
00010     int id() const { return id_; }
00011     virtual void Print() const {}
00012 private:
00013     int id_;
00014 };
00015 
00016 #endif