Changeset 8720
- Timestamp:
- 08/30/07 21:32:53 (17 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8719 r8720 18 18 19 19 -*-*- END OF LINE -*-*- 20 2007/08/30 Thomas Bretz 21 22 * sponde.cc: 23 - changed window name from sequence to ganymed-file 24 25 * mdata/MDataMember.cc, mpointing/MSrcPosCorrect.cc: 26 - fixed a typo in the comment 27 28 * mfilter/MFEvtNumber.cc: 29 - call TTree::SetEstimate as suggested by the class description 30 31 * mhflux/MMcSpectrumWeight.cc: 32 - fixed some comments 33 - further improved Print-output 34 35 * mjobs/MJCut.cc: 36 - fixed a typo in the output 37 38 * mpointing/MPointing.cc: 39 - added possibility to add comments starting with # 40 41 * mraw/MRawRunHeader.cc: 42 - fixed a small problem in the Print-output 43 44 45 20 46 2007/08/28 Thomas Bretz 21 47 -
trunk/MagicSoft/Mars/mdata/MDataMember.cc
r8704 r8720 93 93 // -------------------------------------------------------------------------- 94 94 // 95 // returns the value you requested95 // Returns the value you requested 96 96 // 97 97 Double_t MDataMember::GetValue() const -
trunk/MagicSoft/Mars/mfilter/MFEvtNumber.cc
r8419 r8720 109 109 } 110 110 111 t->SetEstimate(t->GetEntries()); 112 111 113 if (t->Draw("RunNumber.fVal:EvtNumber.fVal", fSelector, "goff")<0) 112 114 { -
trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.cc
r8719 r8720 33 33 // pass to this class in different ways: 34 34 // 35 // 1. I sthe new spectrum will be a power law, just introduce the slope35 // 1. If the new spectrum will be a power law, just introduce the slope 36 36 // of this power law. 37 // 2. I sthe new spectrum will have a general shape:37 // 2. If the new spectrum will have a general shape: 38 38 // The new spectrum is passed as a char* (SetFormula()) 39 39 // … … 493 493 if (hasold) 494 494 { 495 *fLog << " Old Spectrum: " << GetFormulaSpecOldX(); 495 *fLog << " Old Spectrum: "; 496 if (fNewSlope==-99) 497 *fLog << "undefined"; 498 else 499 *fLog << GetFormulaSpecOldX(); 496 500 if (fEnergyMin>=0 && fEnergyMax>0) 497 501 *fLog << " (I=" << GetSpecOldIntegral() << ")"; … … 500 504 if (hasnew) 501 505 { 502 *fLog << " New Spectrum: " << GetFormulaSpecNewX(); 506 *fLog << " New Spectrum: "; 507 if (fNewSlope==-99 && fFormula.IsNull()) 508 *fLog << "undefined/no change"; 509 else 510 *fLog << GetFormulaSpecNewX(); 503 511 if (fEnergyMin>=0 && fEnergyMax>0) 504 512 *fLog << " (I=" << GetSpecNewIntegral() << ")"; -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r8719 r8720 560 560 if (!set.IsWobbleMode() && fNumOffSourcePos!=1) 561 561 { 562 *fLog << inf << "No wobble mode but NumOffSoucePos!=1 (" << fNumOffSourcePos << ")... reset to 1." << endl;562 *fLog << inf << "No wobble mode, but NumOffSoucePos!=1 (" << fNumOffSourcePos << ")... reset to 1." << endl; 563 563 fNumOffSourcePos = 1; 564 564 } -
trunk/MagicSoft/Mars/mpointing/MPointing.cc
r8600 r8720 208 208 } 209 209 210 str = str.Strip(TString::kBoth); 211 210 212 if (str=="END") 211 213 break; 214 215 if (str[0]=='#') 216 continue; 212 217 213 218 if (str[0]=='&') -
trunk/MagicSoft/Mars/mpointing/MSrcPosCorrect.cc
r8719 r8720 47 47 // We discovered that the procedure we used yester day for Roque Lamp 48 48 // light source was producing a very non-uniform light 49 // We did some studies to produce an uniformly illuminated li 49 // We did some studies to produce an uniformly illuminated light from 50 50 // the Roque Lamp Then we moved the telescope to the Roque Lamp position 51 51 // and did a Laser adjust for the Roque position. We put the telescope to … … 56 56 // camer a, we saw a clear offset from the centre. Then we calculated this 57 57 // offset and put the correct numbers in the AMC code. Then we redid the 58 // laser adjustment and fou nd the spot to be nicely centred. Our58 // laser adjustment and found the spot to be nicely centered. Our 59 59 // calculations showed that the offset was 0.048 deg in X direction and 60 60 // 0.032 deg in Y direction. -
trunk/MagicSoft/Mars/mraw/MRawRunHeader.cc
r8704 r8720 573 573 *fLog << "Telescope: " << fTelescopeNumber << endl; 574 574 if (fFormatVersion>7) 575 { 575 576 *fLog << "FadcType: " << fFadcType << " ("; 576 switch (fFadcType) 577 { 578 case 1: *fLog << "Siegen"; break; 579 case 2: *fLog << "MUX"; break; 580 default: *fLog << "unknown"; 581 } 582 *fLog << ")" << endl; 577 switch (fFadcType) 578 { 579 case 1: *fLog << "Siegen"; break; 580 case 2: *fLog << "MUX"; break; 581 default: *fLog << "unknown"; 582 } 583 *fLog << ")" << endl; 584 } 583 585 *fLog << "RunNumber: " << fRunNumber << " (Type=" << GetRunTypeStr() << ")" << endl; 584 586 *fLog << "ProjectName: '" << fProjectName << "'" << endl; -
trunk/MagicSoft/Mars/sponde.cc
r8719 r8720 217 217 } 218 218 219 MJSpectrum job(Form("Spectrum - %s", seq.GetName()));219 MJSpectrum job(Form("Spectrum - %s", kInfile.Data())); 220 220 job.SetEnv(&env); 221 221 job.SetEnvDebug(kDebugEnv);
Note:
See TracChangeset
for help on using the changeset viewer.