Changeset 17663 for trunk/Mars/mjobs


Ignore:
Timestamp:
04/07/14 15:05:14 (11 years ago)
Author:
ftemme
Message:
Added the creation of a MTruePhotonsPerPixelCont in MSimCamera and the filling of the arrays of the container. Also added the container to the fitsoutput
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mjobs/MJSimulation.cc

    r17559 r17663  
    350350Bool_t MJSimulation::Process(const MArgs &args, const MSequence &seq)
    351351{
    352     /*
    353     if (!fSequence.IsValid())
    354     {
    355         *fLog << err << "ERROR - Sequence invalid!" << endl;
    356         return kFALSE;
    357     }
    358     */
    359 
    360 //    if (!HasWritePermission(CombinePath(fPathOut, GetOutFile(seq))))
    361 //        return kFALSE;
    362 
    363352    *fLog << inf;
    364353    fLog->Separator(GetDescriptor());
     
    381370
    382371    // --------------------------------------------------------------------------------
    383 
    384372    // Setup Parlist
    385373    MParList plist;
    386374    plist.AddToList(this); // take care of fDisplay!
    387 
    388375    // setup TaskList
    389376    MTaskList tasks;
    390377    plist.AddToList(&tasks);
    391 
    392378    // --------------------------------------------------------------------------------
    393379
     
    444430    header.SetObservation("On", "MonteCarlo");
    445431    plist.AddToList(&header);
    446     // ++++++++ FIXME FIXME FIXME +++++++++++++
    447 
    448     /*
    449     MPedestalCam pedcam;
    450     pedcam.Init(geomcam.GetNumPixels());
    451     for (UInt_t i=0; i<geomcam.GetNumPixels(); i++)
    452         pedcam[i].Set(128./header.GetScale(), 22.5/header.GetScale());
    453     plist.AddToList(&pedcam);
    454     */
    455 
    456     // -------------------------------------------------------------------
    457432
    458433    MCorsikaRead read;
     
    677652    write3af.AddContainer("IntendedPulsePos", "RunHeaders");
    678653    write3af.AddContainer("MRawEvtData",      "Events");
     654    write3af.AddContainer("MTruePhotonsPerPixelCont", "Events");
    679655   
    680656    if (fOperationMode == kModeData){
Note: See TracChangeset for help on using the changeset viewer.