Changeset 2173 for trunk/MagicSoft/Mars/mhist
- Timestamp:
- 06/13/03 16:42:37 (22 years ago)
- Location:
- trunk/MagicSoft/Mars/mhist
- Files:
-
- 30 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MBinning.cc
r2117 r2173 31 31 32 32 #include <ctype.h> // tolower 33 #include <fstream .h>33 #include <fstream> 34 34 35 35 #include <TH1.h> // InheritsFrom … … 41 41 42 42 ClassImp(MBinning); 43 44 using namespace std; 43 45 44 46 static const TString gsDefName = "MBinning"; … … 75 77 } 76 78 77 void MBinning::SetEdges(const TH1 &h, const Char_t axis ='x')79 void MBinning::SetEdges(const TH1 &h, const Char_t axis) 78 80 { 79 81 TH1 &hist = (TH1&)h; // get rid of const qualifier -
trunk/MagicSoft/Mars/mhist/MFillH.cc
r2117 r2173 74 74 #include "MFillH.h" 75 75 76 #include <fstream .h>76 #include <fstream> 77 77 78 78 #include <TClass.h> … … 93 93 94 94 ClassImp(MFillH); 95 96 using namespace std; 95 97 96 98 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MH.cc
r2150 r2173 75 75 ClassImp(MH); 76 76 77 using namespace std; 78 77 79 // -------------------------------------------------------------------------- 78 80 // -
trunk/MagicSoft/Mars/mhist/MH3.cc
r2117 r2173 61 61 62 62 #include <ctype.h> // tolower 63 #include <fstream .h>63 #include <fstream> 64 64 65 65 #include <TPad.h> … … 80 80 81 81 ClassImp(MH3); 82 83 using namespace std; 82 84 83 85 static const TString gsDefName = "MH3"; … … 638 640 } 639 641 640 TString MH3::GetRule(const Char_t axis ='x') const642 TString MH3::GetRule(const Char_t axis) const 641 643 { 642 644 switch (tolower(axis)) -
trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTheta.cc
r2164 r2173 49 49 50 50 ClassImp(MHAlphaEnergyTheta); 51 52 using namespace std; 51 53 52 54 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTime.cc
r2043 r2173 50 50 ClassImp(MHAlphaEnergyTime); 51 51 52 using namespace std; 52 53 53 54 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHArray.cc
r2043 r2173 80 80 ClassImp(MHArray); 81 81 82 using namespace std; 83 82 84 ////////////////////////////////////////////////////////////////////////////// 83 85 // … … 551 553 MH::MakeDefCanvas(this); 552 554 553 const Stat_t sstyle = gStyle->GetOptStat();555 const Int_t sstyle = gStyle->GetOptStat(); 554 556 gStyle->SetOptStat(0); 555 557 … … 672 674 o.Remove(scalemax, 9); 673 675 674 const Stat_t sstyle = gStyle->GetOptStat();676 const Int_t sstyle = gStyle->GetOptStat(); 675 677 gStyle->SetOptStat(0); 676 678 -
trunk/MagicSoft/Mars/mhist/MHBlindPixels.cc
r2128 r2173 43 43 44 44 ClassImp(MHBlindPixels); 45 46 using namespace std; 45 47 46 48 // ------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.cc
r2138 r2173 44 44 ClassImp(MHCerPhotEvt); 45 45 46 using namespace std; 47 46 48 // -------------------------------------------------------------------------- 47 49 // 48 50 // Reset all pixels to 0 and reset fEntries to 0. 49 51 // 50 void MHCerPhotEvt::Clear( )52 void MHCerPhotEvt::Clear(const Option_t *) 51 53 { 52 54 fSum.Reset(); -
trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.h
r2161 r2173 26 26 ~MHCerPhotEvt(); 27 27 28 void Clear( );28 void Clear(const Option_t *o=""); 29 29 30 30 Bool_t SetupFill(const MParList *pList); -
trunk/MagicSoft/Mars/mhist/MHCompProb.cc
r2043 r2173 53 53 ClassImp(MHCompProb); 54 54 55 using namespace std; 56 55 57 // -------------------------------------------------------------------------- 56 58 // -
trunk/MagicSoft/Mars/mhist/MHCurrents.cc
r2157 r2173 44 44 ClassImp(MHCurrents); 45 45 46 using namespace std; 47 46 48 // -------------------------------------------------------------------------- 47 49 // 48 50 // Reset all pixels to 0 and reset fEntries to 0. 49 51 // 50 void MHCurrents::Clear( )52 void MHCurrents::Clear(const Option_t *) 51 53 { 52 54 // FIXME: Implement a clear function with setmem -
trunk/MagicSoft/Mars/mhist/MHCurrents.h
r2157 r2173 27 27 ~MHCurrents(); 28 28 29 void Clear( );29 void Clear(const Option_t *o=""); 30 30 31 31 Bool_t SetupFill(const MParList *pList); -
trunk/MagicSoft/Mars/mhist/MHEffOnTime.cc
r2015 r2173 58 58 ClassImp(MHEffOnTime); 59 59 60 using namespace std; 60 61 61 62 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHEnergyTheta.cc
r2043 r2173 44 44 45 45 ClassImp(MHEnergyTheta); 46 47 using namespace std; 46 48 47 49 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHEnergyTime.cc
r2043 r2173 45 45 46 46 ClassImp(MHEnergyTime); 47 48 using namespace std; 47 49 48 50 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHFadcCam.cc
r2043 r2173 41 41 42 42 ClassImp(MHFadcCam); 43 44 using namespace std; 43 45 44 46 // -------------------------------------------------------------------------- … … 130 132 { 131 133 for (Int_t i=0; i<577; i++) 132 Reset (i);134 ResetEntry(i); 133 135 } 134 136 135 void MHFadcCam::Reset (Int_t i)137 void MHFadcCam::ResetEntry(Int_t i) 136 138 { 137 139 GetHistHi(i)->Reset(); -
trunk/MagicSoft/Mars/mhist/MHFadcCam.h
r2043 r2173 49 49 50 50 void ResetHistograms(); 51 void Reset (Int_t i);51 void ResetEntry(Int_t i); 52 52 53 53 // -
trunk/MagicSoft/Mars/mhist/MHFlux.cc
r2016 r2173 58 58 ClassImp(MHFlux); 59 59 60 using namespace std; 61 60 62 MHFlux::MHFlux(const MHGamma &hist, const TString varname, const TString unit) 61 63 : fHOrig(), fHUnfold(), fHFlux() -
trunk/MagicSoft/Mars/mhist/MHGamma.cc
r1992 r2173 48 48 ClassImp(MHGamma); 49 49 50 using namespace std; 50 51 51 52 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHHadronness.cc
r2060 r2173 75 75 76 76 ClassImp(MHHadronness); 77 78 using namespace std; 77 79 78 80 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHMatrix.cc
r2133 r2173 47 47 #include "MHMatrix.h" 48 48 49 #include <fstream .h>49 #include <fstream> 50 50 51 51 #include <TList.h> … … 70 70 #include "MFilter.h" 71 71 72 73 72 ClassImp(MHMatrix); 73 74 using namespace std; 74 75 75 76 const TString MHMatrix::gsDefName = "MHMatrix"; -
trunk/MagicSoft/Mars/mhist/MHSigmaPixel.cc
r2043 r2173 48 48 49 49 ClassImp(MHSigmaPixel); 50 51 using namespace std; 50 52 51 53 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc
r2159 r2173 56 56 #include "MLogManip.h" 57 57 58 59 58 ClassImp(MHSigmaTheta); 60 59 60 using namespace std; 61 61 62 62 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHSigmabarTheta.cc
r2043 r2173 46 46 47 47 ClassImp(MHSigmabarTheta); 48 49 using namespace std; 48 50 49 51 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHStarMap.cc
r2060 r2173 50 50 ClassImp(MHStarMap); 51 51 52 using namespace std; 53 52 54 // -------------------------------------------------------------------------- 53 55 // -
trunk/MagicSoft/Mars/mhist/MHThetabarTheta.cc
r2043 r2173 44 44 45 45 ClassImp(MHThetabarTheta); 46 47 using namespace std; 46 48 47 49 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHThetabarTime.cc
r2043 r2173 46 46 ClassImp(MHThetabarTime); 47 47 48 using namespace std; 48 49 49 50 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHTimeDiffTheta.cc
r2043 r2173 47 47 ClassImp(MHTimeDiffTheta); 48 48 49 using namespace std; 49 50 50 51 // -------------------------------------------------------------------------- -
trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.cc
r2043 r2173 47 47 ClassImp(MHTimeDiffTime); 48 48 49 using namespace std; 49 50 50 51 // --------------------------------------------------------------------------
Note:
See TracChangeset
for help on using the changeset viewer.