Changeset 4983 for trunk/MagicSoft
- Timestamp:
- 09/13/04 15:41:01 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4977 r4983 41 41 - took out the "->" for all pointers 42 42 43 43 * mhcalib/MHCalibrationChargeCam.[h,cc] 44 - wrote a ReadEnv function 44 45 45 46 -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.cc
r4980 r4983 1554 1554 leg->Draw(); 1555 1555 } 1556 1557 Int_t MHCalibrationChargeCam::ReadEnv(const TEnv &env, TString prefix, Bool_t print) 1558 { 1559 1560 Bool_t rc = kFALSE; 1561 1562 if (MHCalibrationCam::ReadEnv(env,prefix,print)) 1563 rc = kTRUE; 1564 1565 if (IsEnvDefined(env, prefix, "LoGainNbins", print)) 1566 { 1567 SetLoGainNbins(GetEnvValue(env, prefix, "LoGainNbins", fLoGainNbins)); 1568 rc = kTRUE; 1569 } 1570 1571 if (IsEnvDefined(env, prefix, "LoGainFirst", print)) 1572 { 1573 SetLoGainFirst(GetEnvValue(env, prefix, "LoGainFirst", fLoGainFirst)); 1574 rc = kTRUE; 1575 } 1576 1577 if (IsEnvDefined(env, prefix, "LoGainLast", print)) 1578 { 1579 SetLoGainLast(GetEnvValue(env, prefix, "LoGainLast", fLoGainLast)); 1580 rc = kTRUE; 1581 } 1582 1583 if (IsEnvDefined(env, prefix, "TimeLowerLimit", print)) 1584 { 1585 SetTimeLowerLimit(GetEnvValue(env, prefix, "TimeLowerLimit", fTimeLowerLimit)); 1586 rc = kTRUE; 1587 } 1588 1589 if (IsEnvDefined(env, prefix, "TimeUpperLimit", print)) 1590 { 1591 SetTimeUpperLimit(GetEnvValue(env, prefix, "TimeUpperLimit", fTimeUpperLimit)); 1592 rc = kTRUE; 1593 } 1594 1595 1596 return rc; 1597 } -
trunk/MagicSoft/Mars/mhcalib/MHCalibrationChargeCam.h
r4962 r4983 97 97 void DrawDataCheckPixel(MHCalibrationChargePix &pix, const Float_t refline[]); 98 98 void DisplayRefLines ( const TH1F *hist, const Float_t refline[]) const; 99 100 Int_t ReadEnv ( const TEnv &env, TString prefix, Bool_t print); 99 101 100 102 public:
Note:
See TracChangeset
for help on using the changeset viewer.