Fork me on GitHub

Changeset 3c59f98 in git for modules/TreeWriter.cc


Ignore:
Timestamp:
Jan 11, 2022, 9:17:09 PM (3 years ago)
Author:
christinaw97 <christina.wang@…>
Children:
c6bce62
Parents:
c61b5ce
Message:

add example/ExampleCscCluster.py and remove decayPosition from GenParticle class

File:
1 edited

Legend:

Unmodified
Added
Removed
  • modules/TreeWriter.cc

    rc61b5ce r3c59f98  
    198198    const TLorentzVector &momentum = candidate->Momentum;
    199199    const TLorentzVector &position = candidate->Position;
    200     const TLorentzVector &DecayPosition = candidate->DecayPosition;
    201200
    202201    entry = static_cast<GenParticle *>(branch->NewEntry());
     
    241240    entry->T = position.T() * 1.0E-3 / c_light;
    242241
    243     entry->decayX = DecayPosition.X();
    244     entry->decayY = DecayPosition.Y();
    245     entry->decayZ = DecayPosition.Z();
    246     entry->decayT = DecayPosition.T()* 1.0E-3 / c_light;
    247242  }
    248243}
Note: See TracChangeset for help on using the changeset viewer.