Fork me on GitHub

Changeset 295 in svn for trunk/interface


Ignore:
Timestamp:
Mar 9, 2009, 12:35:36 AM (16 years ago)
Author:
Xavier Rouby
Message:

vers un Nevnt implemente correctement. Pas fini

Location:
trunk/interface
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/interface/DataConverter.h

    r260 r295  
    4747public:
    4848
    49   DataConverter() {};
     49  DataConverter() : Nevt(-1) {};
     50  DataConverter(const int &N) : Nevt(N) {};
    5051  ~DataConverter() {};
     52
     53private:
     54  int Nevt; // number of events to read; -1 means "all of them"
    5155};
    5256
  • trunk/interface/HEPEVTConverter.h

    r260 r295  
    8888public:
    8989
    90   HEPEVTConverter(const string& inputFileList, const string& outputFileName);
     90  HEPEVTConverter(const string& inputFileList, const string& outputFileName, const int& Nevents=-1);
    9191
    9292};
  • trunk/interface/LHEFConverter.h

    r260 r295  
    4949public:
    5050
    51   LHEFConverter(const string& inputFileList, const string& outputFileName);
     51  LHEFConverter(const string& inputFileList, const string& outputFileName, const int& Nevents=-1);
    5252  ~LHEFConverter();
    5353
  • trunk/interface/STDHEPConverter.h

    r260 r295  
    4141class STDHEPConverter : public DataConverter {
    4242  public:
    43     STDHEPConverter(const string& inputFileList, const string& outputFileName);
     43    STDHEPConverter(const string& inputFileList, const string& outputFileName, const int& Nevents=-1);
    4444    ~STDHEPConverter();
    4545
Note: See TracChangeset for help on using the changeset viewer.