Changeset 8788 for trunk/MagicSoft/Mars/mjobs
- Timestamp:
- 12/14/07 09:59:26 (17 years ago)
- Location:
- trunk/MagicSoft/Mars/mjobs
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mjobs/MJCalibrateSignal.cc
r8618 r8788 153 153 TObjArray cont; 154 154 cont.Add(const_cast<TEnv*>(GetEnv())); 155 cont.Add(&fSequence); 155 156 156 157 if (fDisplay) -
trunk/MagicSoft/Mars/mjobs/MJCalibration.cc
r8582 r8788 188 188 : fExtractor(NULL), fTimeExtractor(NULL), 189 189 fColor(MCalibrationCam::kNONE), fDisplayType(kDataCheckDisplay), 190 f Geometry("MGeomCamMagic")190 fMinEvents(1000), fGeometry("MGeomCamMagic") 191 191 { 192 192 193 193 fName = name ? name : "MJCalibration"; 194 194 fTitle = title ? title : "Tool to create the calibration constants for one calibration run"; 195 195 196 196 //SetHiLoCalibration(); 197 197 SetRelTimeCalibration(); … … 1521 1521 if (!MJCalib::CheckEnvLocal()) 1522 1522 return kFALSE; 1523 1523 1524 1524 SetRelTimeCalibration(GetEnv("RelTimeCalibration", IsRelTimes())); 1525 1525 SetDebug(GetEnv("Debug", IsDebug())); … … 1528 1528 SetUsePINDiode(GetEnv("UsePINDiode", IsUsePINDiode())); 1529 1529 SetGeometry(GetEnv("Geometry", fGeometry)); 1530 1531 fMinEvents = (UInt_t)GetEnv("MinEvents", (Int_t)fMinEvents); 1530 1532 1531 1533 fReferenceFile = GetEnv("ReferenceFile",fReferenceFile.Data()); … … 1662 1664 plist.AddToList(&pedcam); 1663 1665 plist.AddToList(&fBadPixels); 1664 1666 1665 1667 // 1666 1668 // Calibration Results containers … … 1904 1906 { 1905 1907 *fLog << err << GetDescriptor() << ": Failed." << endl; 1908 return kFALSE; 1909 } 1910 1911 if (calcalc.GetNumExecutions()<fMinEvents) 1912 { 1913 *fLog << err << GetDescriptor() << ": Failed. Less than the required " << fMinEvents << " evts processed." << endl; 1906 1914 return kFALSE; 1907 1915 } … … 2001 2009 2002 2010 if (fExtractorCam.GetSize() != 0) 2011 { 2012 fExtractorCam.SetName("MPedestalExtracted"); 2003 2013 cont.Add(&fExtractorCam); 2014 } 2004 2015 2005 2016 TObject *pedcam = plist.FindObject("MPedestalCam"); … … 2028 2039 2029 2040 cont.Add(const_cast<TEnv*>(GetEnv())); 2041 cont.Add(&fSequence); 2030 2042 2031 2043 return WriteContainer(cont, GetOutputFileName(), "UPDATE"); -
trunk/MagicSoft/Mars/mjobs/MJCalibration.h
r8455 r8788 111 111 Byte_t fFlags; // Bit-field for the flags 112 112 113 UInt_t fMinEvents; // Minimum number of events 114 113 115 TString fGeometry; // Class name geometry 114 116 -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r8787 r8788 764 764 SetExtractWinRight(GetEnv("ExtractWinRight", fExtractWinRight)); 765 765 766 SetMinEvents(GetEnv("MinEvents", (Int_t)fMinEvents));766 fMinEvents = (UInt_t)GetEnv("MinEvents", (Int_t)fMinEvents); 767 767 768 768 if (!MJCalib::CheckEnvLocal()) -
trunk/MagicSoft/Mars/mjobs/MJPedestal.h
r8787 r8788 130 130 void SetExtractWinRight( const Float_t f=fgExtractWinRight ) { fExtractWinRight = f; } 131 131 132 void SetMinEvents(UInt_t min) { fMinEvents = min; }133 134 132 MExtractor *GetExtractor() const { return fExtractor; } 135 133 -
trunk/MagicSoft/Mars/mjobs/MJStar.cc
r8658 r8788 105 105 TObjArray cont; 106 106 cont.Add(const_cast<TEnv*>(GetEnv())); 107 cont.Add(&fSequence); 107 108 108 109 if (fDisplay) … … 371 372 // Filter to fill the MHMuonPar 372 373 MFDataPhrase fmuon3("(MMuonCalibPar.fArcPhi>190) && (MMuonSearchPar.fDeviation<35) &&" 373 "(MMuonCalibPar.fArcWidth<0.20) && (MMuonCalibPar.fArcWidth>0.04)", 374 "(MMuonCalibPar.fArcWidth<0.20) && (MMuonCalibPar.fArcWidth>0.04) &&" 375 "MMuonCalibPar.fRelTimeSigma<1.5", 374 376 "MuonFinalCut"); 375 377 // Filter to write Muons to Muon tree
Note:
See TracChangeset
for help on using the changeset viewer.