Changeset 7178 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 07/08/05 18:14:35 (19 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MAlphaFitter.cc
r7169 r7178 178 178 // Now fit a gaus in the on region on top of the polynom 179 179 fFunc->SetParameter(0, A); 180 fFunc->SetParameter(2, sigmax*0.75);180 fFunc->SetParameter(2, fSignalFunc==kGauss ? sigmax*0.75 : sigmax); 181 181 182 182 // options : N do not store the function, do not draw … … 231 231 232 232 MAlphaFitter fit(*this); 233 fit.SetPolynomOrder( 1);233 fit.SetPolynomOrder(0); 234 234 235 235 if (alpha<=0 || !fit.Fit(h, paint)) -
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r7151 r7178 139 139 binsa.SetEdges(18, 0, 90); 140 140 binse.SetEdgesLog(15, 10, 100000); 141 binst.SetEdgesASin( 51, -0.005, 0.505);141 binst.SetEdgesASin(67, -0.005, 0.665); 142 142 binse.Apply(fHEnergy); 143 143 binst.Apply(fHTheta); -
trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc
r7170 r7178 94 94 MBinning binsa, binse, binst; 95 95 binse.SetEdgesLog(15, 10, 1000000); 96 binst.SetEdgesASin( 51, -0.005, 0.505);96 binst.SetEdgesASin(67, -0.005, 0.665); 97 97 98 98 binse.Apply(fHEnergy); -
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc
r7142 r7178 410 410 // setup binning 411 411 MBinning btheta("BinningTheta"); 412 btheta.SetEdgesASin( 51, -0.005, 0.505);412 btheta.SetEdgesASin(67, -0.005, 0.665); 413 413 414 414 MBinning btime("BinningDeltaT"); -
trunk/MagicSoft/Mars/mhflux/MHFalseSource.h
r7109 r7178 46 46 Double_t fDec; 47 47 48 TObject *GetCatalog(); 49 48 50 private: 49 51 Int_t DistancetoPrimitive(Int_t px, Int_t py); … … 54 56 void ProjectOn(const TH3D &src, TH2D *h, TH2D *all); 55 57 void ProjectOnOff(TH2D *h, TH2D *all); 56 57 TObject *GetCatalog();58 58 59 59 void MakeSymmetric(TH1 *h); … … 78 78 void SetBgMeanMinus5() { SetBgMean(fBgMean-5); } //*MENU* 79 79 80 v oid SetOffData(const MHFalseSource &fs) {80 virtual void SetOffData(const MHFalseSource &fs) { 81 81 fHistOff = &fs.fHist; 82 82 fMinDist = fs.fMinDist; -
trunk/MagicSoft/Mars/mhflux/MHThetaSq.cc
r7147 r7178 92 92 //binsa.SetEdges(arr); 93 93 binse.SetEdgesLog(15, 10, 100000); 94 binst.SetEdges Cos(50, 0, 60);94 binst.SetEdgesASin(67, -0.005, 0.665); 95 95 binsa.Apply(fHistTime); 96 96 -
trunk/MagicSoft/Mars/mhflux/MHThreshold.cc
r7170 r7178 74 74 fHEnergy.SetDirectory(NULL); 75 75 fHEnergy.UseCurrentStyle(); 76 fHEnergy.Sumw2(); 76 77 77 78 MBinning binse(80, 10, 1000000, "", "log");
Note:
See TracChangeset
for help on using the changeset viewer.