Changeset 19248
- Timestamp:
- 10/22/18 18:30:28 (6 years ago)
- Location:
- trunk/Mars/mhflux
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Mars/mhflux/MHDisp.cc
r9851 r19248 242 242 const Double_t pi2 = fSmearing * TMath::Pi()/2; 243 243 const Double_t normg = pi2*pi2 * TMath::Sqrt(TMath::TwoPi()) / weight; 244 const Int_t bz = fHist.GetZaxis()->FindFixBin(0 );244 const Int_t bz = fHist.GetZaxis()->FindFixBin(0.); 245 245 246 246 TH2 &hbg = fHalf ? fHistBg1 : fHistBg2; … … 328 328 return kTRUE; 329 329 330 const Int_t bz = fHist.GetZaxis()->FindFixBin(0 );330 const Int_t bz = fHist.GetZaxis()->FindFixBin(0.); 331 331 332 332 const Double_t n1 = fHistBg1.GetEntries(); -
trunk/Mars/mhflux/MHDisp.h
r9153 r19248 68 68 69 69 // MHFalseSource (to be moved!) 70 void SetOffData( constMHFalseSource &fs)70 void SetOffData(MHFalseSource &fs) 71 71 { 72 72 MHFalseSource::SetOffData(fs); -
trunk/Mars/mhflux/MHFalseSource.cc
r11272 r19248 396 396 // the same number of bins than for on-data 397 397 // 398 void MHFalseSource::ProjectOff( constTH3D &src, TH2D *h2, TH2D *hall)398 void MHFalseSource::ProjectOff(TH3D &src, TH2D *h2, TH2D *hall) 399 399 { 400 400 TAxis &axe = *src.GetZaxis(); … … 437 437 // range (0, fAlphaCut) 438 438 // 439 void MHFalseSource::ProjectOn( constTH3D &src, TH2D *h3, TH2D *hall)439 void MHFalseSource::ProjectOn(TH3D &src, TH2D *h3, TH2D *hall) 440 440 { 441 441 TAxis &axe = *src.GetZaxis(); -
trunk/Mars/mhflux/MHFalseSource.h
r9153 r19248 41 41 TH3D fHist; // Alpha vs. x and y 42 42 43 const TH3D*fHistOff;43 TH3D *fHistOff; 44 44 45 45 Double_t fRa; … … 54 54 55 55 void ProjectAll(TH2D *h); 56 void ProjectOff( constTH3D &src, TH2D *h, TH2D *all);57 void ProjectOn( constTH3D &src, TH2D *h, TH2D *all);56 void ProjectOff(TH3D &src, TH2D *h, TH2D *all); 57 void ProjectOn(TH3D &src, TH2D *h, TH2D *all); 58 58 void ProjectOnOff(TH2D *h, TH2D *all); 59 59 … … 77 77 void SetBgMeanMinus5() { SetBgMean(fBgMean-5); } //*MENU* 78 78 79 virtual void SetOffData( constMHFalseSource &fs) {79 virtual void SetOffData(MHFalseSource &fs) { 80 80 fHistOff = &fs.fHist; 81 81 fMinDist = fs.fMinDist;
Note:
See TracChangeset
for help on using the changeset viewer.