Changeset 270 in svn for trunk/Examples/src
- Timestamp:
- Feb 14, 2009, 2:06:20 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Examples/src/Analysis_Ex.cc
r264 r270 145 145 //***************************************************** 146 146 TIter itGen((TCollection*)GEN); 147 TRootGenParticle *gen;147 GenParticle *gen; 148 148 itGen.Reset(); 149 while( (gen = ( TRootGenParticle*) itGen.Next()) )149 while( (gen = (GenParticle*) itGen.Next()) ) 150 150 { 151 151 PID = gen->PID; // particle HEP ID number … … 155 155 D1 = gen->D1; // particle 1st daughter 156 156 D2 = gen->D2; // particle 2nd daughter 157 Charge = gen-> getCharge(); // electrical charge157 Charge = gen->Charge; // electrical charge 158 158 159 159 T = gen->T; // particle vertex position (t component)
Note:
See TracChangeset
for help on using the changeset viewer.