Changeset 4168


Ignore:
Timestamp:
05/25/04 11:42:04 (20 years ago)
Author:
gaug
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r4167 r4168  
    3030       DATA FILES MUST BE TREATED EQUALLY! OTHERWISE THERE IS NOT
    3131       MATCHING FOR THE HIT CLEANING!!!
     32
     33   * mjobs/MJExtractCalibTest.[h,cc]
     34     - implement switch to use or not the cosmics filter
     35
    3236
    3337 2004/05/24: Javier Rico
  • trunk/MagicSoft/Mars/mjobs/MJExtractCalibTest.cc

    r4134 r4168  
    7777// Default constructor.
    7878//
    79 // Sets fRuns to 0, fExtractor to NULL, fTimeExtractor to NULL
     79// Sets fUseCosmicsFilter to kTRUE, fRuns to 0, fExtractor to NULL, fTimeExtractor to NULL
    8080//
    8181MJExtractCalibTest::MJExtractCalibTest(const char *name, const char *title)
    82     : fRuns(NULL), fExtractor(NULL), fTimeExtractor(NULL)
     82    : fUseCosmicsFilter(kTRUE), fRuns(NULL), fExtractor(NULL), fTimeExtractor(NULL)
    8383{
    8484    fName  = name  ? name  : "MJExtractCalibTest";
     
    285285
    286286
    287   tlist.AddToList(&cont);
     287  if (fUseCosmicsFilter)
     288    tlist.AddToList(&cont);
     289
    288290  tlist.AddToList(&fill);
    289291  tlist.AddToList(&photcalc);
  • trunk/MagicSoft/Mars/mjobs/MJExtractCalibTest.h

    r4134 r4168  
    3131
    3232  TString fOutputPath;
    33 
     33  Bool_t  fUseCosmicsFilter;
     34 
    3435  MRunIter     *fRuns;                       // Data files
    3536  MExtractor   *fExtractor;                  // Signal extractor
     
    4243
    4344  Bool_t ReadPedPhotCam();
    44    
     45 
    4546  void   DisplayResult(MParList &plist);
    4647  void   DisplayResultT(MParList &plist);
     
    6869  void SetTimeExtractor(MExtractTime* ext)         { fTimeExtractor = ext; }
    6970  void SetBadPixels(const MBadPixelsCam &bad) { bad.Copy(fBadPixels); }
    70  
     71  void SetUseCosmicsFilter( const Bool_t b )    { fUseCosmicsFilter = b;  }
     72     
    7173  Bool_t ProcessD(MPedestalCam &pedcam, MCalibrationChargeCam &calcam, MCalibrationQECam &qecam);
    7274  Bool_t ProcessT(MPedestalCam &pedcam, MCalibrationRelTimeCam &relcam); 
Note: See TracChangeset for help on using the changeset viewer.