Changeset 2043
- Timestamp:
- 04/29/03 14:41:38 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 63 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2042 r2043 35 35 * mbase/MEvtLoop.cc: 36 36 - fixed a bug in ProcessGuiEvents 37 38 * mhist/MH*.[h,cc], mhistmc/MH*.[h,cc], mimage/MH*.[h,cc]: 39 - changed "Double_t w" in Fill to "const Stat_t w" 40 - added weight in some classes to TH::Fill 37 41 38 42 -
trunk/MagicSoft/Mars/mhist/MH.cc
r2032 r2043 98 98 // to your class definition. 99 99 // 100 Bool_t MH::Fill(const MParContainer *par, Double_t w)100 Bool_t MH::Fill(const MParContainer *par, const Stat_t w) 101 101 { 102 102 *fLog << warn << GetDescriptor() << ": Fill not overloaded! Can't be used!" << endl; -
trunk/MagicSoft/Mars/mhist/MH.h
r2015 r2043 24 24 25 25 virtual Bool_t SetupFill(const MParList *pList) { return kTRUE; } 26 virtual Bool_t Fill(const MParContainer *par, Double_t weight=1);26 virtual Bool_t Fill(const MParContainer *par, const Stat_t weight=1); 27 27 virtual Bool_t Finalize() { return kTRUE; } 28 28 -
trunk/MagicSoft/Mars/mhist/MH3.cc
r1966 r2043 342 342 // Fills the one, two or three data members into our histogram 343 343 // 344 Bool_t MH3::Fill(const MParContainer *par )344 Bool_t MH3::Fill(const MParContainer *par, const Stat_t w) 345 345 { 346 346 Double_t x=0; … … 361 361 { 362 362 case 3: 363 ((TH3*)fHist)->Fill(x, y, z );363 ((TH3*)fHist)->Fill(x, y, z, w); 364 364 return kTRUE; 365 365 case 2: 366 ((TH2*)fHist)->Fill(x, y );366 ((TH2*)fHist)->Fill(x, y, w); 367 367 return kTRUE; 368 368 case 1: 369 fHist->Fill(x );369 fHist->Fill(x, w); 370 370 return kTRUE; 371 371 } -
trunk/MagicSoft/Mars/mhist/MH3.h
r1967 r2043 49 49 50 50 Bool_t SetupFill(const MParList *pList); 51 Bool_t Fill(const MParContainer *par );51 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 52 52 53 53 TString GetDataMember() const; -
trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTheta.cc
r2015 r2043 110 110 // Fill the histogram 111 111 // 112 Bool_t MHAlphaEnergyTheta::Fill(const MParContainer *par, Double_t w)112 Bool_t MHAlphaEnergyTheta::Fill(const MParContainer *par, const Stat_t w) 113 113 { 114 114 MHillasSrc &hil = *(MHillasSrc*)par; 115 115 116 116 fHist.Fill(fabs(hil.GetAlpha()), fEnergy->GetEnergy(), 117 fMcEvt->GetTelescopeTheta()*kRad2Deg );117 fMcEvt->GetTelescopeTheta()*kRad2Deg, w); 118 118 119 119 return kTRUE; -
trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTheta.h
r2015 r2043 34 34 35 35 Bool_t SetupFill(const MParList *pList); 36 Bool_t Fill(const MParContainer *par, Double_t w=1);36 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 37 37 38 38 const TH3D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTime.cc
r2015 r2043 112 112 // Fill the histogram 113 113 // 114 Bool_t MHAlphaEnergyTime::Fill(const MParContainer *par, Double_t w)114 Bool_t MHAlphaEnergyTime::Fill(const MParContainer *par, const Stat_t w) 115 115 { 116 116 MHillasSrc &hil = *(MHillasSrc*)par; 117 117 118 fHist.Fill(fabs(hil.GetAlpha()), fEnergy->GetEnergy(), 0.0001*fTime->GetTimeLo() );118 fHist.Fill(fabs(hil.GetAlpha()), fEnergy->GetEnergy(), 0.0001*fTime->GetTimeLo(), w); 119 119 return kTRUE; 120 120 } -
trunk/MagicSoft/Mars/mhist/MHAlphaEnergyTime.h
r2015 r2043 33 33 34 34 Bool_t SetupFill(const MParList *pList); 35 Bool_t Fill(const MParContainer *par, Double_t w=1);35 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 36 36 37 37 const TH3D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhist/MHArray.cc
r1992 r2043 463 463 // successfull filled. 464 464 // 465 Bool_t MHArray::Fill(const MParContainer *par, Double_t w)465 Bool_t MHArray::Fill(const MParContainer *par, const Stat_t w) 466 466 { 467 467 const Int_t n = fArray->GetSize(); … … 478 478 return kFALSE; 479 479 480 return GetH()->Fill(par );480 return GetH()->Fill(par, w); 481 481 } 482 482 -
trunk/MagicSoft/Mars/mhist/MHArray.h
r1992 r2043 42 42 43 43 Bool_t SetupFill(const MParList *pList); 44 Bool_t Fill(const MParContainer *par, Double_t w=1);44 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 45 45 Bool_t Finalize(); 46 46 -
trunk/MagicSoft/Mars/mhist/MHBlindPixels.cc
r1992 r2043 74 74 } 75 75 76 Bool_t MHBlindPixels::Fill(const MParContainer *par, Double_t w)76 Bool_t MHBlindPixels::Fill(const MParContainer *par, const Stat_t w) 77 77 { 78 78 if (!par) … … 84 84 for (int i=0; i<577; i++) 85 85 if (bp.IsBlind(i)) 86 fHist.Fill(i );86 fHist.Fill(i, w); 87 87 88 88 return kTRUE; -
trunk/MagicSoft/Mars/mhist/MHBlindPixels.h
r1992 r2043 23 23 24 24 void Draw(Option_t* option = ""); 25 Bool_t Fill(const MParContainer *par, Double_t w=1);25 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 26 26 27 27 ClassDef(MHBlindPixels, 1) // Histogram of blind pixels -
trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.cc
r2015 r2043 114 114 // Fill the histograms with data from a MCerPhotEvt-Container. 115 115 // 116 Bool_t MHCerPhotEvt::Fill(const MParContainer *par, Double_t w)116 Bool_t MHCerPhotEvt::Fill(const MParContainer *par, const Stat_t w) 117 117 { 118 118 const MCerPhotEvt *evt = par ? (MCerPhotEvt*)par : fEvt; -
trunk/MagicSoft/Mars/mhist/MHCerPhotEvt.h
r2015 r2043 30 30 31 31 Bool_t SetupFill(const MParList *pList); 32 Bool_t Fill(const MParContainer *par, Double_t w=1);32 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 33 33 Bool_t Finalize(); 34 34 -
trunk/MagicSoft/Mars/mhist/MHCompProb.cc
r1992 r2043 159 159 // 160 160 // 161 Bool_t MHCompProb::Fill(const MParContainer *par, Double_t w)161 Bool_t MHCompProb::Fill(const MParContainer *par, const Stat_t w) 162 162 { 163 163 const MMcEvt &mcevt = *(MMcEvt*)par; -
trunk/MagicSoft/Mars/mhist/MHCompProb.h
r1992 r2043 29 29 30 30 Bool_t SetupFill(const MParList *plist); 31 Bool_t Fill(const MParContainer *par, Double_t w=1);31 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 32 32 Bool_t Finalize(); 33 33 -
trunk/MagicSoft/Mars/mhist/MHEnergyTheta.cc
r2015 r2043 91 91 // Fill data into the histogram which contains all showers 92 92 // 93 Bool_t MHEnergyTheta::Fill(const MParContainer *par, Double_t w)93 Bool_t MHEnergyTheta::Fill(const MParContainer *par, const Stat_t w) 94 94 { 95 95 const MMcEvt &mcevt = *(MMcEvt*)par; 96 96 97 fHist.Fill(mcevt.GetEnergy(), mcevt.GetTheta() );97 fHist.Fill(mcevt.GetEnergy(), mcevt.GetTheta(), w); 98 98 99 99 return kTRUE; -
trunk/MagicSoft/Mars/mhist/MHEnergyTheta.h
r2015 r2043 20 20 MHEnergyTheta(const char *name=NULL, const char *title=NULL); 21 21 22 Bool_t Fill(const MParContainer *cont, Double_t w=1);22 Bool_t Fill(const MParContainer *cont, const Stat_t w=1); 23 23 24 24 void Draw(Option_t *option=""); -
trunk/MagicSoft/Mars/mhist/MHEnergyTime.cc
r2016 r2043 98 98 // Fill data into the histogram which contains all showers 99 99 // 100 Bool_t MHEnergyTime::Fill(const MParContainer *par )100 Bool_t MHEnergyTime::Fill(const MParContainer *par, const Stat_t w) 101 101 { 102 102 const MMcEvt &mcevt = *(MMcEvt*)par; 103 103 104 fHist.Fill(mcevt.GetEnergy(), 0.0001*fTime->GetTimeLo() );104 fHist.Fill(mcevt.GetEnergy(), 0.0001*fTime->GetTimeLo(), w); 105 105 106 106 return kTRUE; -
trunk/MagicSoft/Mars/mhist/MHEnergyTime.h
r2015 r2043 21 21 MHEnergyTime(const char *name=NULL, const char *title=NULL); 22 22 23 Bool_t Fill(const MParContainer *cont );23 Bool_t Fill(const MParContainer *cont, const Stat_t w=1); 24 24 25 25 void Draw(Option_t *option=""); -
trunk/MagicSoft/Mars/mhist/MHFadcCam.cc
r1992 r2043 91 91 92 92 // -------------------------------------------------------------------------- 93 Bool_t MHFadcCam::Fill(const MParContainer *par, Double_t w)93 Bool_t MHFadcCam::Fill(const MParContainer *par, const Stat_t w) 94 94 { 95 95 return Fill((MRawEvtData*)par); -
trunk/MagicSoft/Mars/mhist/MHFadcCam.h
r1992 r2043 45 45 const TH1F *GetHistLo(UInt_t i) const { return (*this)[i].GetHistLo(); } 46 46 47 Bool_t Fill(const MParContainer *par, Double_t w=1);47 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 48 48 Bool_t Fill(const MRawEvtData *par); 49 49 -
trunk/MagicSoft/Mars/mhist/MHHadronness.cc
r1992 r2043 183 183 // are skipped at the moment. 184 184 // 185 Bool_t MHHadronness::Fill(const MParContainer *par, Double_t w)185 Bool_t MHHadronness::Fill(const MParContainer *par, const Stat_t w) 186 186 { 187 187 // Preliminary Workaround: FIXME! … … 200 200 201 201 if (fMcEvt->GetPartId()==kGAMMA) 202 fGhness->Fill(h );202 fGhness->Fill(h, w); 203 203 else 204 fPhness->Fill(h );204 fPhness->Fill(h, w); 205 205 206 206 return kTRUE; -
trunk/MagicSoft/Mars/mhist/MHHadronness.h
r1992 r2043 45 45 46 46 Bool_t SetupFill(const MParList *plist); 47 Bool_t Fill(const MParContainer *par, Double_t w=1);47 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 48 48 Bool_t Finalize(); 49 49 -
trunk/MagicSoft/Mars/mhist/MHMatrix.cc
r2015 r2043 227 227 // Add the values correspoding to the columns to the new row 228 228 // 229 Bool_t MHMatrix::Fill(const MParContainer *par, Double_t w)229 Bool_t MHMatrix::Fill(const MParContainer *par, const Stat_t w) 230 230 { 231 231 AddRow(); -
trunk/MagicSoft/Mars/mhist/MHMatrix.h
r1992 r2043 48 48 Bool_t SetupFill(const MParList *pList); 49 49 50 Bool_t Fill(const MParContainer *par, Double_t w=1);50 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 51 51 Bool_t Finalize(); 52 52 -
trunk/MagicSoft/Mars/mhist/MHRanForest.cc
r1992 r2043 108 108 // 109 109 // 110 Bool_t MHRanForest::Fill(const MParContainer *par, Double_t w)110 Bool_t MHRanForest::Fill(const MParContainer *par, const Stat_t w) 111 111 { 112 112 fNumEvent++; -
trunk/MagicSoft/Mars/mhist/MHRanForest.h
r1992 r2043 33 33 34 34 Bool_t SetupFill(const MParList *plist); 35 Bool_t Fill(const MParContainer *par, Double_t w=1);35 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 36 36 Bool_t Finalize(); 37 37 -
trunk/MagicSoft/Mars/mhist/MHRanForestGini.cc
r1992 r2043 101 101 // 102 102 // 103 Bool_t MHRanForestGini::Fill(const MParContainer *par, Double_t w)103 Bool_t MHRanForestGini::Fill(const MParContainer *par, const Stat_t w) 104 104 { 105 105 for (Int_t i=0;i<fRanForest->GetNumDim();i++) -
trunk/MagicSoft/Mars/mhist/MHRanForestGini.h
r1992 r2043 31 31 32 32 Bool_t SetupFill(const MParList *plist); 33 Bool_t Fill(const MParContainer *par, Double_t w=1);33 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 34 34 Bool_t Finalize(); 35 35 -
trunk/MagicSoft/Mars/mhist/MHSigmaPixel.cc
r1992 r2043 107 107 // Fill the histogram 108 108 // 109 Bool_t MHSigmaPixel::Fill(const MParContainer *par, Double_t w)109 Bool_t MHSigmaPixel::Fill(const MParContainer *par, const Stat_t w) 110 110 { 111 111 const MPedestalCam &ped = *(MPedestalCam*)par; -
trunk/MagicSoft/Mars/mhist/MHSigmaPixel.h
r1992 r2043 27 27 28 28 Bool_t SetupFill(const MParList *pList); 29 Bool_t Fill(const MParContainer *par, Double_t w=1);29 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 30 30 31 31 const TH2D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhist/MHSigmaTheta.cc
r2039 r2043 177 177 // Fill the histograms 178 178 // 179 Bool_t MHSigmaTheta::Fill(const MParContainer *par, Double_t w)179 Bool_t MHSigmaTheta::Fill(const MParContainer *par, const Stat_t w) 180 180 { 181 181 Double_t theta = fMcEvt->GetTelescopeTheta()*kRad2Deg; -
trunk/MagicSoft/Mars/mhist/MHSigmaTheta.h
r2039 r2043 42 42 43 43 Bool_t SetupFill(const MParList *plist); 44 Bool_t Fill(const MParContainer *par, Double_t w=1);44 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 45 45 46 46 const TH2D *GetSigmaTheta() { return &fSigmaTheta; } -
trunk/MagicSoft/Mars/mhist/MHSigmabarTheta.cc
r1992 r2043 111 111 // Fill the histogram 112 112 // 113 Bool_t MHSigmabarTheta::Fill(const MParContainer *par, Double_t w)113 Bool_t MHSigmabarTheta::Fill(const MParContainer *par, const Stat_t w) 114 114 { 115 fHist.Fill(fMcEvt->GetTheta()*kRad2Deg, fSigmabar->GetSigmabar() );115 fHist.Fill(fMcEvt->GetTheta()*kRad2Deg, fSigmabar->GetSigmabar(), w); 116 116 return kTRUE; 117 117 } -
trunk/MagicSoft/Mars/mhist/MHSigmabarTheta.h
r1992 r2043 28 28 29 29 Bool_t SetupFill(const MParList *pList); 30 Bool_t Fill(const MParContainer *par, Double_t w=1);30 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 31 31 32 32 const TH2D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhist/MHStarMap.cc
r1992 r2043 146 146 // Be careful: Only call this with an object of type MHillas 147 147 // 148 Bool_t MHStarMap::Fill(const MParContainer *par, Double_t w)148 Bool_t MHStarMap::Fill(const MParContainer *par, const Stat_t w) 149 149 { 150 150 const MHillas &h = *(MHillas*)par; … … 174 174 175 175 for (float x=xmin+dx/2; x<(xmax-xmin)+dx; x+=dx) 176 fStarMap->Fill(x, m*x+t );176 fStarMap->Fill(x, m*x+t, w); 177 177 } 178 178 else … … 185 185 186 186 for (float y=ymin+dy/2; y<(ymax-ymin)+dy; y+=dy) 187 fStarMap->Fill((y-t)/m, y );187 fStarMap->Fill((y-t)/m, y, w); 188 188 } 189 189 -
trunk/MagicSoft/Mars/mhist/MHStarMap.h
r1992 r2043 33 33 34 34 Bool_t SetupFill(const MParList *pList); 35 Bool_t Fill(const MParContainer *par, Double_t w=1);35 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 36 36 37 37 TH1 *GetHistByName(const TString name) { return fStarMap; } -
trunk/MagicSoft/Mars/mhist/MHThetabarTheta.cc
r1992 r2043 110 110 // Fill the histogram 111 111 // 112 Bool_t MHThetabarTheta::Fill(const MParContainer *par, Double_t w)112 Bool_t MHThetabarTheta::Fill(const MParContainer *par, const Stat_t w) 113 113 { 114 114 const Double_t theta = fMcEvt->GetTelescopeTheta()*kRad2Deg; 115 115 116 fHist.Fill(theta, theta );116 fHist.Fill(theta, theta, w); 117 117 118 118 return kTRUE; -
trunk/MagicSoft/Mars/mhist/MHThetabarTheta.h
r1992 r2043 26 26 27 27 Bool_t SetupFill(const MParList *pList); 28 Bool_t Fill(const MParContainer *par, Double_t w=1);28 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 29 29 30 30 const TProfile *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhist/MHThetabarTime.cc
r2009 r2043 119 119 // Fill the histogram 120 120 // 121 Bool_t MHThetabarTime::Fill(const MParContainer *par, Double_t w)121 Bool_t MHThetabarTime::Fill(const MParContainer *par, const Stat_t w) 122 122 { 123 123 const Int_t time = fTime->GetTimeLo(); 124 124 125 fHist.Fill(0.0001*time, fMcEvt->GetTheta()*kRad2Deg );125 fHist.Fill(0.0001*time, fMcEvt->GetTheta()*kRad2Deg, w); 126 126 127 127 return kTRUE; -
trunk/MagicSoft/Mars/mhist/MHThetabarTime.h
r1992 r2043 29 29 30 30 Bool_t SetupFill(const MParList *pList); 31 Bool_t Fill(const MParContainer *par, Double_t w=1);31 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 32 32 33 33 const TProfile *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhist/MHTimeDiffTheta.cc
r1992 r2043 143 143 // Fill the histogram 144 144 // 145 Bool_t MHTimeDiffTheta::Fill(const MParContainer *par, Double_t w)145 Bool_t MHTimeDiffTheta::Fill(const MParContainer *par, const Stat_t w) 146 146 { 147 147 const Double_t time = 200e-9*fTime->GetTimeLo() + fTime->GetTimeHi(); 148 148 149 fHist.Fill(time-fLastTime, fMcEvt->GetTelescopeTheta()*kRad2Deg );149 fHist.Fill(time-fLastTime, fMcEvt->GetTelescopeTheta()*kRad2Deg, w); 150 150 fLastTime = time; 151 151 -
trunk/MagicSoft/Mars/mhist/MHTimeDiffTheta.h
r1992 r2043 27 27 28 28 Bool_t SetupFill(const MParList *pList); 29 Bool_t Fill(const MParContainer *par, Double_t w=1);29 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 30 30 31 31 const TH2D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.cc
r1992 r2043 136 136 // Fill the histogram 137 137 // 138 Bool_t MHTimeDiffTime::Fill(const MParContainer *par, Double_t w)138 Bool_t MHTimeDiffTime::Fill(const MParContainer *par, const Stat_t w) 139 139 { 140 140 const Double_t time = 200e-9*fTime->GetTimeLo() + fTime->GetTimeHi(); 141 141 142 fHist.Fill(time-fLastTime, time );142 fHist.Fill(time-fLastTime, time, w); 143 143 fLastTime = time; 144 144 -
trunk/MagicSoft/Mars/mhist/MHTimeDiffTime.h
r1992 r2043 25 25 26 26 virtual Bool_t SetupFill(const MParList *pList); 27 virtual Bool_t Fill(const MParContainer *par, Double_t w=1);27 virtual Bool_t Fill(const MParContainer *par, const Stat_t w=1); 28 28 29 29 const TH2D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.cc
r1999 r2043 137 137 // Fill data into the histogram which contains the selected showers 138 138 // 139 Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par, Double_t w)139 Bool_t MHMcCT1CollectionArea::Fill(const MParContainer *par, const Stat_t w) 140 140 { 141 141 MMcEvt &mcevt = *(MMcEvt*)par; 142 142 143 fHistSel->Fill(log10(mcevt.GetEnergy()), kRad2Deg*mcevt.GetTelescopeTheta() );143 fHistSel->Fill(log10(mcevt.GetEnergy()), kRad2Deg*mcevt.GetTelescopeTheta(), w); 144 144 return kTRUE; 145 145 } -
trunk/MagicSoft/Mars/mhistmc/MHMcCT1CollectionArea.h
r1992 r2043 20 20 21 21 Bool_t SetupFill(const MParList *pList); 22 Bool_t Fill(const MParContainer *par, Double_t w=1);22 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 23 23 24 24 void DrawAll(Option_t *option=""); -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyImpact.cc
r2017 r2043 110 110 // Fill the histogram with the log10 of the energy for triggered events. 111 111 // 112 Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont, Double_t w)112 Bool_t MHMcEnergyImpact::Fill(const MParContainer *cont, const Stat_t w) 113 113 { 114 114 const MMcEvt &mcevt = *(MMcEvt*)cont; -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyImpact.h
r2015 r2043 23 23 24 24 Bool_t SetupFill(const MParList *pList); 25 Bool_t Fill(const MParContainer *pcont=NULL, Double_t w=1);25 Bool_t Fill(const MParContainer *pcont=NULL, const Stat_t w=1); 26 26 27 27 const TH2D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.cc
r2017 r2043 158 158 // Fill the histogram 159 159 // 160 Bool_t MHMcEnergyMigration::Fill(const MParContainer *par, Double_t w)160 Bool_t MHMcEnergyMigration::Fill(const MParContainer *par, const Stat_t w) 161 161 { 162 162 // MHillasSrc &hil = *(MHillasSrc*)par; -
trunk/MagicSoft/Mars/mhistmc/MHMcEnergyMigration.h
r2015 r2043 26 26 27 27 Bool_t SetupFill(const MParList *pList); 28 Bool_t Fill(const MParContainer *par, Double_t w=1);28 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 29 29 30 30 const TH3D *GetHist() { return &fHist; } -
trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.cc
r1997 r2043 146 146 // Be careful: Only call this with an object of type MMcTriggerLvl2 147 147 // 148 Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par, Double_t w)148 Bool_t MHMcTriggerLvl2::Fill(const MParContainer *par, const Stat_t w) 149 149 { 150 150 const MMcTriggerLvl2 &h = *(MMcTriggerLvl2 *)par; -
trunk/MagicSoft/Mars/mhistmc/MHMcTriggerLvl2.h
r2001 r2043 33 33 ~MHMcTriggerLvl2(); 34 34 35 Bool_t Fill(const MParContainer *par, Double_t w=1);35 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 36 36 37 37 TH1 *GetHistByName(const TString name); -
trunk/MagicSoft/Mars/mimage/MHHillas.cc
r2026 r2043 240 240 // Be careful: Only call this with an object of type MHillas 241 241 // 242 Bool_t MHHillas::Fill(const MParContainer *par, Double_t w)242 Bool_t MHHillas::Fill(const MParContainer *par, const Stat_t w) 243 243 { 244 244 const MHillas &h = *(MHillas*)par; -
trunk/MagicSoft/Mars/mimage/MHHillas.h
r2026 r2043 38 38 39 39 Bool_t SetupFill(const MParList *pList); 40 Bool_t Fill(const MParContainer *par, Double_t w=1);40 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 41 41 42 42 TH1 *GetHistByName(const TString name); -
trunk/MagicSoft/Mars/mimage/MHHillasExt.cc
r2026 r2043 146 146 // Be careful: Only call this with an object of type MHillas 147 147 // 148 Bool_t MHHillasExt::Fill(const MParContainer *par, Double_t w)148 Bool_t MHHillasExt::Fill(const MParContainer *par, const Stat_t w) 149 149 { 150 150 const MHillasSrc *src = (MHillasSrc*)par; -
trunk/MagicSoft/Mars/mimage/MHHillasExt.h
r2026 r2043 34 34 35 35 Bool_t SetupFill(const MParList *pList); 36 Bool_t Fill(const MParContainer *par, Double_t w=1);36 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 37 37 38 38 TH1 *GetHistByName(const TString name); -
trunk/MagicSoft/Mars/mimage/MHHillasSrc.cc
r2026 r2043 128 128 // Be careful: Only call this with an object of type MHillas 129 129 // 130 Bool_t MHHillasSrc::Fill(const MParContainer *par, Double_t w)130 Bool_t MHHillasSrc::Fill(const MParContainer *par, const Stat_t w) 131 131 { 132 132 const MHillasSrc &h = *(MHillasSrc*)par; -
trunk/MagicSoft/Mars/mimage/MHHillasSrc.h
r2026 r2043 27 27 28 28 Bool_t SetupFill(const MParList *pList); 29 Bool_t Fill(const MParContainer *par, Double_t w=1);29 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 30 30 31 31 TH1 *GetHistByName(const TString name); -
trunk/MagicSoft/Mars/mimage/MHNewImagePar.cc
r2026 r2043 142 142 // Fill the histograms with data from a MNewImagePar container. 143 143 // 144 Bool_t MHNewImagePar::Fill(const MParContainer *par, Double_t w)144 Bool_t MHNewImagePar::Fill(const MParContainer *par, const Stat_t w) 145 145 { 146 146 const MNewImagePar &h = *(MNewImagePar*)par; -
trunk/MagicSoft/Mars/mimage/MHNewImagePar.h
r2026 r2043 27 27 28 28 Bool_t SetupFill(const MParList *plist); 29 Bool_t Fill(const MParContainer *par, Double_t w=1);29 Bool_t Fill(const MParContainer *par, const Stat_t w=1); 30 30 31 31 TH1 *GetHistByName(const TString name);
Note:
See TracChangeset
for help on using the changeset viewer.