Ignore:
Timestamp:
11/17/03 22:26:16 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/status.cc

    r2506 r2521  
    5353#include "MFillH.h"
    5454#include "MEvtLoop.h"
     55#include "MFDataMember.h"
    5556
    5657#include <TApplication.h>
     
    8081    gLog << "     input file:   Mars root file." << endl;
    8182    gLog << "     -a0: Do not use Ansii codes." << endl;
    82     gLog << "     -vn: Verbosity level n [default=2]" << endl << endl;
     83    gLog << "     -vn: Verbosity level n [default=2]" << endl;
     84    gLog << "     -?/-h: This help" << endl << endl;
    8385}
    8486
     
    9294    //
    9395    MArgs arg(argc, (const char**)argv);
     96
     97    if (arg.HasOption("-?") || arg.HasOption("-h"))
     98    {
     99        Usage();
     100        return -1;
     101    }
    94102
    95103    //
     
    181189    MMcPedestalNSBAdd pnsb;
    182190    MCerPhotCalc      ncalc;
    183 //    MCerPhotAnal2     ncalc;
     191    MCerPhotAnal2     nanal;
     192
     193    MFDataMember f1("MRawRunHeader.fRunType", '>', 255.5);
     194    MFDataMember f2("MRawRunHeader.fRunType", '<', 255.5);
     195
     196    ncalc.SetFilter(&f1);
     197    nanal.SetFilter(&f2);
    184198/*
    185199    TArrayS blinds(6);
     
    230244
    231245    tlist.AddToList(&read);
     246    tlist.AddToList(&f1);
     247    tlist.AddToList(&f2);
    232248    tlist.AddToList(&geomapl);
    233249    tlist.AddToList(&pcopy);
    234250    tlist.AddToList(&pnsb);
    235251    tlist.AddToList(&ncalc);
     252    tlist.AddToList(&nanal);
    236253    //tlist.AddToList(&blind);
    237254    tlist.AddToList(&hfill0);
Note: See TracChangeset for help on using the changeset viewer.