Ignore:
Timestamp:
04/08/05 10:20:12 (19 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mjobs
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc

    r6913 r6917  
    9292#include "MTriggerPatternDecode.h"
    9393#include "MFTriggerPattern.h"
    94 #include "MFTriggerLvl1.h"
    9594#include "MGeomApply.h"
    9695//#include "MMcPedestalCopy.h"
     
    464463
    465464   
    466     // Skips empty MC events (Not necessary, but faster!)
    467     MFTriggerLvl1 trigmc;
    468     MContinue contmc(&trigmc, "ContTrigMC");
    469     contmc.SetInverted();
     465    // Skips MC which have no contents. This are precisely the
     466    // events which fullfilled the MC Lvl1 trigger and an
     467    // arbitrary cut (typically at 50phe) to speed up simulation
     468    MContinue contmc("MRawEvtData.GetNumPixels<0.5", "ContEmptyMC");
    470469
    471470    MPointingPosInterpolate pextr;
  • trunk/MagicSoft/Mars/mjobs/MJCut.cc

    r6907 r6917  
    5555
    5656#include "../mhflux/MAlphaFitter.h"
     57#include "MH3.h"
    5758#include "MBinning.h"
    58 #include "MWeight.h"
    5959#include "MDataSet.h"
    6060#include "MParameters.h"
     
    6868// --------------------------------------------------------------------------
    6969//
    70 // Default constructor.
     70// Default constructor.  Set defaults for fStoreSummary, fStoreresult,
     71// fWriteOnly, fIsWobble and fFullDisplay to kFALSE and initialize
     72// fEstimateEnergy and fCalcHadronness with NULL.
    7173//
    7274MJCut::MJCut(const char *name, const char *title)
     
    7981}
    8082
     83// --------------------------------------------------------------------------
     84//
     85// Destructor. Delete fEstimateEnergy and fCalcHadronness if != NULL
     86//
    8187MJCut::~MJCut()
    8288{
     
    522528    fill6b.SetDrawOption(set.HasOffSequences()||fIsWobble?"same":"");
    523529    fill7b.SetDrawOption(set.HasOffSequences()||fIsWobble?"same":"");
     530
     531    /*
     532     MHVsTime hvs("MEffectiveOnTime.fVal");
     533     hvs.SetTitle("Effective On-Time vs. Time;;T_{on}");
     534     MFillH fillvs(&hvs, "MTimeEffectiveOnTime", "FillOnTime");
     535     fillvs.SetNameTab("OnTime");
     536     */
     537    MH3 hvs("MPointingPos.fZd");
     538    hvs.SetName("Theta");
     539    hvs.SetTitle("Effective On-Time vs. Zenith Angle;\\Theta [\\circ];T_{on} [s]");
     540    MFillH fillvs(&hvs, "", "FillOnTime");
     541    fillvs.SetWeight("MEffectiveOnTime");
     542    fillvs.SetNameTab("OnTime");
     543
    524544/*
    525545    MWeight weight;
     
    554574        if (!fIsWobble)
    555575            tlist2.Replace(&ffs2);
     576
     577        tlist.AddToList(&fillvs, "EffectiveOnTime");
    556578    }
    557579
Note: See TracChangeset for help on using the changeset viewer.