Fork me on GitHub

Changeset 6c565cc in git for modules/TauTagging.cc


Ignore:
Timestamp:
Jul 1, 2013, 11:36:38 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
975405a
Parents:
b8e6ab1
Message:

check tau's daughters indices

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TauTagging.cc

    rb8e6ab1 r6c565cc  
    7575
    7676  if(tau->D1 < 0) return -1;
     77
     78  if(tau->D1 >= fParticleInputArray->GetEntriesFast() ||
     79     tau->D2 >= fParticleInputArray->GetEntriesFast())
     80  {
     81    throw runtime_error("tau's daughter index is greater than the ParticleInputArray size");
     82  }
    7783
    7884  for(i = tau->D1; i <= tau->D2; ++i)
Note: See TracChangeset for help on using the changeset viewer.