Changeset 8776
- Timestamp:
- 12/03/07 17:46:31 (17 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r8775 r8776 29 29 * mhflux/MHAlpha.[h,cc]: 30 30 - added new member functions to apply scaling to off-data 31 - added a public member function which allows to reinitiate fitting 31 - added a public member function which allows to reinitiate 32 fitting 32 33 33 34 * mhist/MHCamera.cc: 34 - replaced a loop to reset the used pixels by a call to fUsed.Reset() 35 - replaced a loop to reset the used pixels by a call 36 to fUsed.Reset() 35 37 36 38 * mmuon/MHSingleMuon.[h,cc]: … … 43 45 44 46 * mmuon/MMuonCalibParCalc.cc: 45 - copy result of arrival time fit from histogram to storage container 47 - copy result of arrival time fit from histogram to storage 48 container 46 49 47 50 -
trunk/MagicSoft/Mars/mmuon/MHSingleMuon.h
r7369 r8776 28 28 TH1F fHistTime; // Histogram of arrival time distribution along the arc. 29 29 30 Double_t fRelTimeMean; // Result of the gaus fit to the arrival time 31 Double_t fRelTimeSigma; // Result of the gaus fit to the arrival time 32 30 33 Bool_t FindRangeAboveThreshold(const TProfile &h, Float_t thres, Int_t &first, Int_t &last) const; 31 34 … … 43 46 const TProfile &GetHistWidth() const { return fHistWidth; } 44 47 48 Double_t GetRelTimeMean() const { return fRelTimeMean; } 49 Double_t GetRelTimeSigma() const { return fRelTimeSigma; } 50 45 51 Float_t CalcSize() const; 46 52 … … 48 54 void Paint(Option_t *o=""); 49 55 50 ClassDef(MHSingleMuon, 1)56 ClassDef(MHSingleMuon, 2) 51 57 }; 52 58 -
trunk/MagicSoft/Mars/mmuon/MMuonCalibPar.cc
r7176 r8776 19 19 ! Author(s): Markus Meyer 10/2004 <mailto:meyer@astro.uni-wuerzburg.de> 20 20 ! 21 ! Copyright: MAGIC Software Development, 2000-200 521 ! Copyright: MAGIC Software Development, 2000-2007 22 22 ! 23 23 ! … … 34 34 // these information by using the MMuonCalibParCalc. See also these class 35 35 // manuals. 36 // 37 // Class Version 2: 38 // ---------------- 39 // + Float_t fRelTimeMean; // Result of the gaus fit to the arrival time 40 // + Float_t fRelTimeSigma; // Result of the gaus fit to the arrival time 36 41 // 37 42 ///////////////////////////////////////////////////////////////////////////// … … 69 74 // fEstImpact = -1.; 70 75 fPeakPhi = 0.; 76 77 fRelTimeMean = 0; 78 fRelTimeSigma = -1; 71 79 } 72 80 … … 81 89 *fLog << " - Size of muon [phe] = " << fMuonSize << endl; 82 90 *fLog << " - Peak Phi [deg] = " << fPeakPhi << endl; 91 *fLog << " - Rel.Time Mean [ns] = " << fRelTimeMean << endl; 92 *fLog << " - Rel.Time Sigma [ns] = " << fRelTimeSigma << endl; 83 93 } 84 94 -
trunk/MagicSoft/Mars/mmuon/MMuonCalibPar.h
r7009 r8776 26 26 Float_t fPeakPhi; // The angle which indicates the peak position in the estimated circle 27 27 28 Float_t fRelTimeMean; // [ns] Result of the gaus fit to the arrival time 29 Float_t fRelTimeSigma; // [ns] Result of the gaus fit to the arrival time 30 28 31 public: 29 32 MMuonCalibPar(const char *name=NULL, const char *title=NULL); … … 41 44 //Bool_t IsUseUnmap() const { return fUseUnmap; } 42 45 Float_t GetPeakPhi() const { return fPeakPhi; } 46 Float_t GetRelTimeMean() const { return fRelTimeMean; } 47 Float_t GetRelTimeSigma() const { return fRelTimeSigma; } 43 48 44 49 // void SetArcLength(Float_t len) { fArcLength = len; } … … 51 56 //void SetUseUnmap() { fUseUnmap = kTRUE; } 52 57 void SetPeakPhi(Float_t phi) { fPeakPhi = phi; } 58 void SetTime(Float_t mean, Float_t sigma) { fRelTimeMean=mean; fRelTimeSigma=sigma; } 53 59 54 60 void Print(Option_t *opt=NULL) const; 55 61 56 ClassDef(MMuonCalibPar, 1) // Container to hold muon calibration parameters62 ClassDef(MMuonCalibPar, 2) // Container to hold muon calibration parameters 57 63 }; 58 64 -
trunk/MagicSoft/Mars/mmuon/MMuonCalibParCalc.cc
r7369 r8776 175 175 fMuonCalibPar->SetArcPhi(arcphi); 176 176 177 fMuonCalibPar->SetTime(fHist->GetRelTimeMean(), fHist->GetRelTimeSigma()); 178 177 179 // const Float_t conv = TMath::RadToDeg()*fGeomCam->GetConvMm2Deg(); 178 180 // fMuonCalibPar->SetArcLength(fMuonCalibPar->GetArcPhi()
Note:
See TracChangeset
for help on using the changeset viewer.