Changeset 9153 for trunk/MagicSoft/Mars/mhflux
- Timestamp:
- 11/11/08 11:49:49 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mhflux
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhflux/MHAlpha.cc
r8996 r9153 463 463 // Fill the histogram. For details see the code or the class description 464 464 // 465 Bool_t MHAlpha::Fill(const MParContainer *par, const Stat_t w)465 Int_t MHAlpha::Fill(const MParContainer *par, const Stat_t w) 466 466 { 467 467 Double_t alpha, energy, theta; -
trunk/MagicSoft/Mars/mhflux/MHAlpha.h
r8879 r9153 95 95 // MH 96 96 Bool_t SetupFill(const MParList *pl); 97 Bool_tFill(const MParContainer *par, const Stat_t w=1);97 Int_t Fill(const MParContainer *par, const Stat_t w=1); 98 98 Bool_t Finalize(); 99 99 -
trunk/MagicSoft/Mars/mhflux/MHCollectionArea.cc
r8911 r9153 464 464 } 465 465 466 Bool_t MHCollectionArea::Fill(const MParContainer *par, const Stat_t weight)466 Int_t MHCollectionArea::Fill(const MParContainer *par, const Stat_t weight) 467 467 { 468 468 const Double_t energy = fMcEvt->GetEnergy(); -
trunk/MagicSoft/Mars/mhflux/MHCollectionArea.h
r8911 r9153 43 43 Bool_t SetupFill(const MParList *pList); 44 44 Bool_t ReInit(MParList *pList); 45 Bool_tFill(const MParContainer *par, const Stat_t weight=1);45 Int_t Fill(const MParContainer *par, const Stat_t weight=1); 46 46 Bool_t Finalize(); 47 47 -
trunk/MagicSoft/Mars/mhflux/MHDisp.cc
r8957 r9153 146 146 // Fill the histogram. For details see the code or the class description 147 147 // 148 Bool_t MHDisp::Fill(const MParContainer *par, const Stat_t w)148 Int_t MHDisp::Fill(const MParContainer *par, const Stat_t w) 149 149 { 150 150 const MHillas *hil = dynamic_cast<const MHillas*>(par); … … 152 152 { 153 153 *fLog << err << "MHDisp::Fill: No container specified!" << endl; 154 return k FALSE;154 return kERROR; 155 155 } 156 156 -
trunk/MagicSoft/Mars/mhflux/MHDisp.h
r8719 r9153 87 87 // MH 88 88 Bool_t SetupFill(const MParList *pList); 89 Bool_tFill(const MParContainer *par, const Stat_t w=1);89 Int_t Fill(const MParContainer *par, const Stat_t w=1); 90 90 Bool_t Finalize(); 91 91 -
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.cc
r8946 r9153 720 720 // Fill the histogram 721 721 // 722 Bool_t MHEffectiveOnTime::Fill(const MParContainer *par, const Stat_t w)722 Int_t MHEffectiveOnTime::Fill(const MParContainer *par, const Stat_t w) 723 723 { 724 724 const MTime *time = dynamic_cast<const MTime*>(par); … … 726 726 { 727 727 *fLog << err << "ERROR - MHEffectiveOnTime::Fill without argument or container doesn't inherit from MTime... abort." << endl; 728 return k FALSE;728 return kERROR; 729 729 } 730 730 -
trunk/MagicSoft/Mars/mhflux/MHEffectiveOnTime.h
r8929 r9153 66 66 Bool_t SetupFill(const MParList *pList); 67 67 Bool_t ReInit(MParList *pList); 68 Bool_tFill(const MParContainer *par, const Stat_t w=1);68 Int_t Fill(const MParContainer *par, const Stat_t w=1); 69 69 Bool_t Finalize(); 70 70 -
trunk/MagicSoft/Mars/mhflux/MHEnergyEst.cc
r8985 r9153 187 187 // Fill the histogram 188 188 // 189 Bool_t MHEnergyEst::Fill(const MParContainer *par, const Stat_t w)189 Int_t MHEnergyEst::Fill(const MParContainer *par, const Stat_t w) 190 190 { 191 191 const Double_t eest = fEnergy->GetVal(); -
trunk/MagicSoft/Mars/mhflux/MHEnergyEst.h
r8935 r9153 48 48 49 49 Bool_t SetupFill(const MParList *pList); 50 Bool_tFill(const MParContainer *par, const Stat_t w=1);50 Int_t Fill(const MParContainer *par, const Stat_t w=1); 51 51 Bool_t Finalize(); 52 52 -
trunk/MagicSoft/Mars/mhflux/MHFalseSource.cc
r8601 r9153 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHFalseSource.cc,v 1.2 2 2007-06-24 16:31:57tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHFalseSource.cc,v 1.23 2008-11-11 11:42:14 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 309 309 // Fill the histogram. For details see the code or the class description 310 310 // 311 Bool_t MHFalseSource::Fill(const MParContainer *par, const Stat_t w)311 Int_t MHFalseSource::Fill(const MParContainer *par, const Stat_t w) 312 312 { 313 313 const MHillas *hil = dynamic_cast<const MHillas*>(par); … … 315 315 { 316 316 *fLog << err << "MHFalseSource::Fill: No container specified!" << endl; 317 return k FALSE;317 return kERROR; 318 318 } 319 319 -
trunk/MagicSoft/Mars/mhflux/MHFalseSource.h
r8185 r9153 94 94 // MH 95 95 Bool_t SetupFill(const MParList *pList); 96 Bool_tFill(const MParContainer *par, const Stat_t w=1);96 Int_t Fill(const MParContainer *par, const Stat_t w=1); 97 97 98 98 // TObject -
trunk/MagicSoft/Mars/mhflux/MHPhi.cc
r7618 r9153 186 186 // MMuonSearchPar container. 187 187 // 188 Bool_t MHPhi::Fill(const MParContainer *par, const Stat_t weight)188 Int_t MHPhi::Fill(const MParContainer *par, const Stat_t weight) 189 189 { 190 190 // Here we calculate an upper phi cut to take a -
trunk/MagicSoft/Mars/mhflux/MHPhi.h
r7618 r9153 41 41 // MH 42 42 Bool_t SetupFill(const MParList *plist); 43 Bool_tFill(const MParContainer *par, const Stat_t w=1);43 Int_t Fill(const MParContainer *par, const Stat_t w=1); 44 44 45 45 public: -
trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc
r8592 r9153 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1. 9 2007-06-22 15:49:50tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MHThetaSqN.cc,v 1.10 2008-11-11 11:42:14 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 215 215 } 216 216 217 Bool_t MHThetaSqN::Fill(const MParContainer *par, const Stat_t weight)217 Int_t MHThetaSqN::Fill(const MParContainer *par, const Stat_t weight) 218 218 { 219 219 const TVector2 norm(GetVec(fHillas->GetNormAxis(), 6)); … … 272 272 SetVal(dist[i]); 273 273 274 if (!MHAlpha::Fill(NULL, w)) 275 return kFALSE; 274 const Int_t rc = MHAlpha::Fill(NULL, w); 275 if (rc!=kTRUE) 276 return rc; 276 277 } 277 278 -
trunk/MagicSoft/Mars/mhflux/MHThetaSqN.h
r7775 r9153 48 48 // MH 49 49 Bool_t SetupFill(const MParList *pl); 50 Bool_tFill(const MParContainer *par, const Stat_t weight);50 Int_t Fill(const MParContainer *par, const Stat_t weight); 51 51 Bool_t Finalize(); 52 52 -
trunk/MagicSoft/Mars/mhflux/MHThreshold.cc
r8988 r9153 164 164 } 165 165 166 Bool_t MHThreshold::Fill(const MParContainer *par, const Stat_t weight)166 Int_t MHThreshold::Fill(const MParContainer *par, const Stat_t weight) 167 167 { 168 168 const Double_t energy = fMcEvt->GetEnergy(); -
trunk/MagicSoft/Mars/mhflux/MHThreshold.h
r7349 r9153 23 23 24 24 Bool_t SetupFill(const MParList *pList); 25 Bool_tFill(const MParContainer *par, const Stat_t weight=1);25 Int_t Fill(const MParContainer *par, const Stat_t weight=1); 26 26 27 27 void Draw(Option_t *option="");
Note:
See TracChangeset
for help on using the changeset viewer.