Changeset 17880 for trunk/Mars/fact


Ignore:
Timestamp:
05/21/14 18:08:56 (10 years ago)
Author:
tbretz
Message:
Updated writing to support MC data as well.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/fact/analysis/callisto.C

    r17878 r17880  
    860860    // The second rule is for the case reading raw-files!
    861861    MWriteRootFile write5(2, fname, "RECREATE", "Calibrated Data");
    862     write5.AddContainer("MRawRunHeader", "RunHeaders");
    863     write5.AddContainer("MGeomCam",      "RunHeaders");
    864     write5.AddContainer("MSignalCam",    "Events");
    865     write5.AddContainer("MTime",         "Events");
    866     write5.AddContainer("MRawEvtHeader", "Events");
    867     //write.AddContainer("MTriggerPattern", "Events");
     862    write5.AddContainer("MRawRunHeader",       "RunHeaders");
     863    write5.AddContainer("MGeomCam",            "RunHeaders");
     864    write5.AddContainer("MMcCorsikaRunHeader", "RunHeaders", kFALSE);
     865    write5.AddContainer("MCorsikaRunHeader",   "RunHeaders", kFALSE);
     866    write5.AddContainer("MMcRunHeader",        "RunHeaders", kFALSE);
     867
     868    // Common events
     869    write5.AddContainer("MCorsikaEvtHeader",   "Events", kFALSE);
     870    write5.AddContainer("MMcEvt",              "Events", kFALSE);
     871    write5.AddContainer("IncidentAngle",       "Events", kFALSE);
     872    write5.AddContainer("MPointingPos",        "Events", kFALSE);
     873    write5.AddContainer("MSignalCam",          "Events");
     874    write5.AddContainer("MTime",               "Events", kFALSE);
     875    write5.AddContainer("MRawEvtHeader",       "Events");
    868876
    869877    // ------------------ Setup histograms and fill tasks ----------------
Note: See TracChangeset for help on using the changeset viewer.