Changeset 9153 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 11/11/08 11:49:49 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MHHillas.cc
r8996 r9153 246 246 // Be careful: Only call this with an object of type MHillas 247 247 // 248 Bool_t MHHillas::Fill(const MParContainer *par, const Stat_t w)248 Int_t MHHillas::Fill(const MParContainer *par, const Stat_t w) 249 249 { 250 250 if (!par) 251 251 { 252 252 *fLog << err << "MHHillas::Fill: Pointer (!=NULL) expected." << endl; 253 return k FALSE;253 return kERROR; 254 254 } 255 255 -
trunk/MagicSoft/Mars/mimage/MHHillas.h
r7841 r9153 39 39 40 40 Bool_t SetupFill(const MParList *pList); 41 Bool_tFill(const MParContainer *par, const Stat_t w=1);41 Int_t Fill(const MParContainer *par, const Stat_t w=1); 42 42 43 43 TH1 *GetHistByName(const TString name) const; -
trunk/MagicSoft/Mars/mimage/MHHillasExt.cc
r8677 r9153 178 178 // Be careful: Only call this with an object of type MHillas 179 179 // 180 Bool_t MHHillasExt::Fill(const MParContainer *par, const Stat_t w)180 Int_t MHHillasExt::Fill(const MParContainer *par, const Stat_t w) 181 181 { 182 182 const MHillasSrc *src = (MHillasSrc*)par; -
trunk/MagicSoft/Mars/mimage/MHHillasExt.h
r8657 r9153 37 37 38 38 Bool_t SetupFill(const MParList *pList); 39 Bool_tFill(const MParContainer *par, const Stat_t w=1);39 Int_t Fill(const MParContainer *par, const Stat_t w=1); 40 40 41 41 TH1 *GetHistByName(const TString name) const; -
trunk/MagicSoft/Mars/mimage/MHHillasSrc.cc
r8677 r9153 145 145 // Be careful: Only call this with an object of type MHillas 146 146 // 147 Bool_t MHHillasSrc::Fill(const MParContainer *par, const Stat_t w)147 Int_t MHHillasSrc::Fill(const MParContainer *par, const Stat_t w) 148 148 { 149 149 if (!par) 150 150 { 151 151 *fLog << err << "MHHillasSrc::Fill: Pointer (!=NULL) expected." << endl; 152 return k FALSE;152 return kERROR; 153 153 } 154 154 -
trunk/MagicSoft/Mars/mimage/MHHillasSrc.h
r6977 r9153 30 30 31 31 Bool_t SetupFill(const MParList *pList); 32 Bool_tFill(const MParContainer *par, const Stat_t w=1);32 Int_t Fill(const MParContainer *par, const Stat_t w=1); 33 33 34 34 TH1 *GetHistByName(const TString name) const; -
trunk/MagicSoft/Mars/mimage/MHImagePar.cc
r8677 r9153 163 163 // Fill the histograms with data from a MNewImagePar container. 164 164 // 165 Bool_t MHImagePar::Fill(const MParContainer *par, const Stat_t w)165 Int_t MHImagePar::Fill(const MParContainer *par, const Stat_t w) 166 166 { 167 167 if (!par) 168 168 { 169 169 *fLog << err << "MImagePar::Fill: Pointer (!=NULL) expected." << endl; 170 return k FALSE;170 return kERROR; 171 171 } 172 172 -
trunk/MagicSoft/Mars/mimage/MHImagePar.h
r6977 r9153 31 31 32 32 Bool_t SetupFill(const MParList *plist); 33 Bool_tFill(const MParContainer *par, const Stat_t w=1);33 Int_t Fill(const MParContainer *par, const Stat_t w=1); 34 34 35 35 TH1 *GetHistByName(const TString name) const; -
trunk/MagicSoft/Mars/mimage/MHNewImagePar.cc
r8677 r9153 224 224 // Fill the histograms with data from a MNewImagePar container. 225 225 // 226 Bool_t MHNewImagePar::Fill(const MParContainer *par, const Stat_t w)226 Int_t MHNewImagePar::Fill(const MParContainer *par, const Stat_t w) 227 227 { 228 228 if (!par) 229 229 { 230 230 *fLog << err << "MHNewImagePar::Fill: Pointer (!=NULL) expected." << endl; 231 return k FALSE;231 return kERROR; 232 232 } 233 233 -
trunk/MagicSoft/Mars/mimage/MHNewImagePar.h
r7538 r9153 35 35 36 36 Bool_t SetupFill(const MParList *plist); 37 Bool_tFill(const MParContainer *par, const Stat_t w=1);37 Int_t Fill(const MParContainer *par, const Stat_t w=1); 38 38 39 39 TH1 *GetHistByName(const TString name) const; -
trunk/MagicSoft/Mars/mimage/MHNewImagePar2.cc
r6869 r9153 118 118 // Fill the histograms with data from a MNewImagePar2 container. 119 119 // 120 Bool_t MHNewImagePar2::Fill(const MParContainer *par, const Stat_t w)120 Int_t MHNewImagePar2::Fill(const MParContainer *par, const Stat_t w) 121 121 { 122 122 const MNewImagePar2 *h = dynamic_cast<const MNewImagePar2*>(par); … … 124 124 { 125 125 *fLog << err << "MHNewImagePar2::Fill: Pointer (!=NULL) expected." << endl; 126 return k FALSE;126 return kERROR; 127 127 } 128 128 -
trunk/MagicSoft/Mars/mimage/MHNewImagePar2.h
r6869 r9153 24 24 25 25 Bool_t SetupFill(const MParList *plist); 26 Bool_tFill(const MParContainer *par, const Stat_t w=1);26 Int_t Fill(const MParContainer *par, const Stat_t w=1); 27 27 28 28 void SetMmScale(Bool_t mmscale=kTRUE); -
trunk/MagicSoft/Mars/mimage/MHVsSize.cc
r8659 r9153 240 240 // Be careful: Only call this with an object of type MHillas 241 241 // 242 Bool_t MHVsSize::Fill(const MParContainer *par, const Stat_t w)242 Int_t MHVsSize::Fill(const MParContainer *par, const Stat_t w) 243 243 { 244 244 const MHillasSrc *src = dynamic_cast<const MHillasSrc*>(par); … … 246 246 { 247 247 *fLog << err << "MHVsSize::Fill: Wrong argument... abort." << endl; 248 return k FALSE;248 return kERROR; 249 249 } 250 250 -
trunk/MagicSoft/Mars/mimage/MHVsSize.h
r6956 r9153 40 40 41 41 Bool_t SetupFill(const MParList *pList); 42 Bool_tFill(const MParContainer *par, const Stat_t w=1);42 Int_t Fill(const MParContainer *par, const Stat_t w=1); 43 43 44 44 void Draw(Option_t *opt=NULL);
Note:
See TracChangeset
for help on using the changeset viewer.