Changeset 18365 for trunk/FACT++


Ignore:
Timestamp:
11/07/15 18:45:53 (9 years ago)
Author:
tbretz
Message:
Also get MC data if this is a MC event.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/getevent.cc

    r17820 r18365  
    214214    }
    215215
     216    float energy, impact, phi, theta;
     217    if (isMC)
     218    {
     219        file.SetRefAddress("MMcEvtBasic.fEnergy", energy);
     220        file.SetRefAddress("MMcEvtBasic.fImpact", impact);
     221        file.SetRefAddress("MMcEvtBasic.fTelescopeTheta", theta);
     222        file.SetRefAddress("MMcEvtBasic.fTelescopePhi", phi);
     223    }
     224
    216225    switch (step)
    217226    {
Note: See TracChangeset for help on using the changeset viewer.