Fork me on GitHub

Changeset 535 in svn


Ignore:
Timestamp:
Nov 5, 2009, 4:58:04 PM (15 years ago)
Author:
Xavier Rouby
Message:

petites corrections S.O. Heidelberg

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/DelphesRootConverter.cc

    r480 r535  
    3939#include "TFile.h"
    4040#include "DelphesRootConverter.h"
     41#include "stdlib.h"
     42
    4143using namespace std;
    4244
  • trunk/src/PdgParticle.cc

    r469 r535  
    4141#include <iomanip>
    4242
     43using namespace std;
     44
    4345//PdgParticle::PdgParticle() : _pid(1), _mass(-1), _charge(-999), _gamma_tot(-1), _ctau(-1), _name("") {}
    4446
    4547PdgParticle::PdgParticle(const long int pid, const std::string& name, const float m, const float q, const float gamma, const float ctau) :
    4648  _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; }
    5053  else _isInvisible = false;
    5154}
Note: See TracChangeset for help on using the changeset viewer.