Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ParticleType.h

Go to the documentation of this file.
00001 #ifndef FASTSHOWER_PARTICLETYPE_H
00002 #define FASTSHOWER_PARTICLETYPE_H
00003 
00004 namespace FastShower{
00006   class ParticleType{
00007   public:
00008     ParticleType();
00009     ParticleType(int particleID);
00010 
00011     bool isHadron()   const;
00012     bool isPhoton()   const;
00013     bool isElectron() const;
00014   private:
00015     enum ParticleID{Unknown, Hadron, Electron, Photon};
00016     enum ParticleID m_particleType;
00017   };
00018 }//namespace
00019 #endif
00020     
00021 
00022 
00023 
00024 
00025 
00026 
00027 

Generated on Tue Mar 18 11:50:01 2003 for FastShowerUtils by doxygen1.3-rc1