Fork me on GitHub

Changeset 359 in svn


Ignore:
Timestamp:
May 6, 2009, 10:44:07 PM (16 years ago)
Author:
Xavier Rouby
Message:

better destructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/HepMCConverter.cc ΒΆ

    r354 r359  
    235235HepMCConverter::~HepMCConverter()
    236236{
     237   delete evt;
     238
     239 /*cout << "delete index to particle" << endl;
     240 std::vector<HepMC::GenParticle*>::iterator i;
     241 / for (i=index_to_particle.begin();i != index_to_particle.end(); i++) delete (*i);
     242 cout << "done" << endl;
     243
     244 std::map<HepMC::GenParticle*,int>::iterator j;
     245 for (j=particle_to_index.begin(); j != particle_to_index.end(); j++) delete j->first;
     246 */
     247
    237248}
    238249
Note: See TracChangeset for help on using the changeset viewer.