Auxiliary class to handle particle name, codes and mass.  
 More...
#include <JPDB.hh>
Auxiliary class to handle particle name, codes and mass. 
Definition at line 33 of file JPDB.hh.
 
◆ JParticle() [1/2]
  
  
      
        
          | JAANET::JParticle::JParticle  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
inline   | 
  
 
Default constructor. 
Definition at line 37 of file JPDB.hh.
 
 
◆ JParticle() [2/2]
  
  
      
        
          | JAANET::JParticle::JParticle  | 
          ( | 
          const std::string &  | 
          name,  | 
         
        
           | 
           | 
          const int  | 
          pdg,  | 
         
        
           | 
           | 
          const int  | 
          geant,  | 
         
        
           | 
           | 
          const double  | 
          mass  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inline   | 
  
 
Constructor. 
- Parameters
 - 
  
    | name | name of particle  | 
    | pdg | PDG code of particle  | 
    | geant | GEANT code of particle  | 
    | mass | mass of particle  | 
  
   
Definition at line 54 of file JPDB.hh.
 
 
◆ operator<<
  
  
      
        
          | std::ostream& operator<<  | 
          ( | 
          std::ostream &  | 
          out,  | 
         
        
           | 
           | 
          const JParticle &  | 
          particle  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
friend   | 
  
 
Print particle. 
- Parameters
 - 
  
    | out | output stream  | 
    | particle | particle  | 
  
   
- Returns
 - output stream 
 
Definition at line 73 of file JPDB.hh.
   78       return out << setw(32) << left  << particle.
name  << 
"  " 
   79                  << setw( 6) << right << particle.
pdg   << 
"  " 
   80                  << setw( 6) << right << particle.
geant << 
"  " 
 
 
 
◆ name
      
        
          | std::string JAANET::JParticle::name | 
        
      
 
name of particle 
Definition at line 85 of file JPDB.hh.
 
 
◆ pdg
      
        
          | int JAANET::JParticle::pdg | 
        
      
 
PDG code of particle. 
Definition at line 86 of file JPDB.hh.
 
 
◆ geant
      
        
          | int JAANET::JParticle::geant | 
        
      
 
GEANT code of particle. 
Definition at line 87 of file JPDB.hh.
 
 
◆ mass
      
        
          | double JAANET::JParticle::mass | 
        
      
 
mass of particle [GeV] 
Definition at line 88 of file JPDB.hh.
 
 
The documentation for this struct was generated from the following file: