- Timestamp:
- Nov 5, 2009, 4:58:04 PM (15 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/DelphesRootConverter.cc
r480 r535 39 39 #include "TFile.h" 40 40 #include "DelphesRootConverter.h" 41 #include "stdlib.h" 42 41 43 using namespace std; 42 44 -
trunk/src/PdgParticle.cc
r469 r535 41 41 #include <iomanip> 42 42 43 using namespace std; 44 43 45 //PdgParticle::PdgParticle() : _pid(1), _mass(-1), _charge(-999), _gamma_tot(-1), _ctau(-1), _name("") {} 44 46 45 47 PdgParticle::PdgParticle(const long int pid, const std::string& name, const float m, const float q, const float gamma, const float ctau) : 46 48 _pid(pid), _mass(m), _charge(q), _gamma_tot(gamma), _ctau(ctau), _name(name) { 47 if( (abs(pid) == 12) || (abs(pid) == 14) || (abs(pid) == 16) || 48 (abs(pid) == 1000022 ) || (abs(pid) == 1000023 ) || (abs(pid) == 1000025) || 49 (abs(pid) == 1000035 ) || (abs(pid) == 1000045 ) ) { /*std::cout << "invisible : " << pid << std::endl;*/ _isInvisible = true; } 49 if( (fabs(pid) == 12) || (fabs(pid) == 14) || (fabs(pid) == 16) || 50 (fabs(pid) == 1000022 ) || (fabs(pid) == 1000023 ) || (fabs(pid) == 1000025) || 51 (fabs(pid) == 1000035 ) || (fabs(pid) == 1000045 ) ) { /*std::cout << "invisible : " << pid << std::endl;*/ 52 _isInvisible = true; } 50 53 else _isInvisible = false; 51 54 }
Note:
See TracChangeset
for help on using the changeset viewer.