- Timestamp:
- 07/11/06 16:46:32 (18 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r7780 r7784 18 18 19 19 -*-*- END OF LINE -*-*- 20 21 2006/07/11 Thomas Bretz 22 23 * mbase/MStatusArray.cc, mdata/MDataChain.cc, mdata/MDataFormula.cc, 24 mhflux/MMcSpectrumWeight.cc, mimage/MHillasExt.cc, mjobs/MJCut.cc, 25 msignal/MExtractTimeAndChargeDigitalFilter.cc, 26 mranforest/MRanForestCalc.cc: 27 - fixed some compiler warning of the kind 28 ambiguous overload for `Bool_t ? const char[14] : const TString &' 29 to make gcc 2.95.3 happy (used to get cosy working with the 30 latest Mars version) 31 32 * mastro/MAstroCamera.cc: 33 - removed path from include 34 35 * mastro/Makefile: 36 - added directory for MHCamera 37 38 * mhflux/MHThetaSqN.cc: 39 - removed the const-qualifier from the static_cast when setting 40 tghe MParameterD 41 42 20 43 21 44 2006/07/06 Thomas Bretz -
trunk/MagicSoft/Mars/mastro/MAstroCamera.cc
r6979 r7784 90 90 #include "MObservatory.h" 91 91 92 #include " ../mhist/MHCamera.h" // FIXME: This dependancy is very bad!92 #include "MHCamera.h" // FIXME: This dependancy is very bad! 93 93 // HOW TO GET RID OF IT? Move MHCamera to mgeom? 94 94 -
trunk/MagicSoft/Mars/mastro/Makefile
r4977 r7784 19 19 # connect the include files defined in the config.mk file 20 20 # 21 INCLUDES = -I. -I../mbase -I../mgeom -I../mtemp -I../mstarcam 21 INCLUDES = -I. -I../mbase -I../mgeom -I../mtemp -I../mstarcam -I../mhist 22 22 # mgeom (MAstroCamera): MGeomCam, MGeomMirror 23 23 -
trunk/MagicSoft/Mars/mbase/MStatusArray.cc
r6976 r7784 241 241 242 242 if (o->InheritsFrom(TVirtualPad::Class())) 243 PrintObjectsInPad(((TVirtualPad*)o)->GetListOfPrimitives(), print? "":name, lvl+1);243 PrintObjectsInPad(((TVirtualPad*)o)->GetListOfPrimitives(), print?TString():name, lvl+1); 244 244 } 245 245 } -
trunk/MagicSoft/Mars/mdata/MDataChain.cc
r7142 r7784 832 832 TString MDataChain::GetDataMember() const 833 833 { 834 return fMember ? fMember->GetDataMember() : "";834 return fMember ? fMember->GetDataMember() : TString(); 835 835 } 836 836 -
trunk/MagicSoft/Mars/mdata/MDataFormula.cc
r7421 r7784 140 140 fFormula = new TFormula; 141 141 // Must have a name otherwise all axis labels disappear like a miracle 142 fFormula->SetName(fName.IsNull()?"TFormula":fName );142 fFormula->SetName(fName.IsNull()?"TFormula":fName.Data()); 143 143 144 144 if (fFormula->Compile(txt)) -
trunk/MagicSoft/Mars/mhflux/MHThetaSqN.cc
r7775 r7784 198 198 void MHThetaSqN::SetVal(Double_t val) 199 199 { 200 static_cast< constMParameterD*>(fParameter)->SetVal(val);200 static_cast<MParameterD*>(fParameter)->SetVal(val); 201 201 } 202 202 -
trunk/MagicSoft/Mars/mhflux/MMcSpectrumWeight.cc
r7688 r7784 225 225 TString MMcSpectrumWeight::GetFormulaSpecNew() const 226 226 { 227 TString str = fFormula.IsNull() ? Form("pow(%s.fEnergy, %.3f)", fNameMcEvt.Data(), fNewSlope) : fFormula ;227 TString str = fFormula.IsNull() ? Form("pow(%s.fEnergy, %.3f)", fNameMcEvt.Data(), fNewSlope) : fFormula.Data(); 228 228 if (!fFormula.IsNull()) 229 229 str.ReplaceAll("X", Form("(%s.fEnergy)", fNameMcEvt.Data())); -
trunk/MagicSoft/Mars/mimage/MHillasExt.cc
r7538 r7784 263 263 const TString name(opt); 264 264 265 const MHillas *hil = dynamic_cast<const MHillas*>(gPad->FindObject(name.IsNull() ? "MHillas" : name ));265 const MHillas *hil = dynamic_cast<const MHillas*>(gPad->FindObject(name.IsNull() ? "MHillas" : name.Data())); 266 266 if (!hil) 267 267 return; -
trunk/MagicSoft/Mars/mjobs/MJCut.cc
r7753 r7784 411 411 MH *MJCut::CreateNewHistFS(MParList &plist, const char *name) const 412 412 { 413 const TString cname(fNameHistFS.IsNull()?"MHFalseSource":fNameHistFS );413 const TString cname(fNameHistFS.IsNull()?"MHFalseSource":fNameHistFS.Data()); 414 414 415 415 TClass *cls = gROOT->GetClass(cname); -
trunk/MagicSoft/Mars/mranforest/MRanForestCalc.cc
r7780 r7784 137 137 // last entry of your rules 138 138 MDataArray rules(usedrules); 139 rules.AddEntry(ver<3?"Classification":dcol[ncols-1].GetRule() );139 rules.AddEntry(ver<3?"Classification":dcol[ncols-1].GetRule().Data()); 140 140 141 141 // prepare train-matrix finally used -
trunk/MagicSoft/Mars/msignal/MExtractTimeAndChargeDigitalFilter.cc
r7430 r7784 1296 1296 *fLog << " Window Size HiGain: " << fWindowSizeHiGain << " LoGain: " << fWindowSizeLoGain << endl; 1297 1297 *fLog << " Binning Res HiGain: " << fBinningResolutionHiGain << " LoGain: " << fBinningResolutionHiGain << endl; 1298 *fLog << " Weights File desired: " << (fNameWeightsFile.IsNull()?"-":fNameWeightsFile ) << endl;1298 *fLog << " Weights File desired: " << (fNameWeightsFile.IsNull()?"-":fNameWeightsFile.Data()) << endl; 1299 1299 if (!fNameWeightsFileSet.IsNull()) 1300 1300 *fLog << " Weights File set: " << fNameWeightsFileSet << endl;
Note:
See TracChangeset
for help on using the changeset viewer.