Fork me on GitHub

Changeset 419 in svn for trunk/src/HEPEVTConverter.cc


Ignore:
Timestamp:
May 28, 2009, 10:50:31 AM (15 years ago)
Author:
Xavier Rouby
Message:

Nevent implemented in DetectorCard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/HEPEVTConverter.cc

    r380 r419  
    3636#include <sstream>
    3737#include <fstream>
     38#include <cmath>
    3839
    3940#include "TROOT.h"
     
    212213     
    213214      TRootC::GenParticle *element;
    214      
     215      allEntries = (Nevt<0)?allEntries:min((int)allEntries,Nevt); // do not miss the "+1" 
    215216      // Loop over all events
    216217      for(entry = 0; entry < allEntries; ++entry)
Note: See TracChangeset for help on using the changeset viewer.