Changeset 1334 for trunk/MagicSoft/Mars
- Timestamp:
- 05/29/02 11:14:45 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mdata/MDataChain.cc
r1332 r1334 103 103 104 104 MDataChain::MDataChain(const char *rule, const char *name, const char *title) 105 : fOperatorType(kENoop) 105 106 { 106 107 fName = name ? name : "MDataChain"; … … 382 383 { 383 384 if (!fMember) 385 { 386 *fLog << warn << "MDataChain not valid." << endl; 384 387 return 0; 388 } 385 389 386 390 const Double_t val = fMember->GetValue(); … … 405 409 case kENoop: return val; 406 410 } 411 412 *fLog << warn << "No Case for " << fOperatorType << " available." << endl; 407 413 408 414 return 0; -
trunk/MagicSoft/Mars/mdata/MDataMember.cc
r1327 r1334 68 68 { 69 69 if (!fCall) 70 { 71 *fLog << err << "No TMethodCall for " << fName << " of "; 72 *fLog << fObject->GetName() << " available... returning 0." << endl; 70 73 return 0; 74 } 71 75 72 76 switch (fCall->ReturnType()) … … 84 88 default: 85 89 *fLog << err << "DataMember " << fName << " of "; 86 *fLog << fObject->GetName() << " neither int nor float... abort." << endl;90 *fLog << fObject->GetName() << " neither int nor float... returning 0." << endl; 87 91 return 0; 88 92 } -
trunk/MagicSoft/Mars/mgui/MGeomCam.cc
r1330 r1334 50 50 // 51 51 MGeomCam::MGeomCam(UInt_t npix, Float_t dist, const char *name, const char *title) 52 : fNumPixels(npix), fCamDist(dist), f Mm2Deg(kRad2Deg/(dist*1000))52 : fNumPixels(npix), fCamDist(dist), fConvMm2Deg(kRad2Deg/(dist*1000)) 53 53 { 54 54 fName = name ? name : "MGeomCam"; -
trunk/MagicSoft/Mars/mgui/MGeomCam.h
r1216 r1334 18 18 19 19 Float_t fCamDist; // [m] Average distance of the camera from the mirror 20 Float_t f Mm2Deg;// conversion factor to convert mm in the camera plain into degrees20 Float_t fConvMm2Deg; // conversion factor to convert mm in the camera plain into degrees 21 21 22 22 TObjArray *fPixels; // Array of singel pixels storing the geometry … … 32 32 33 33 Float_t GetCameraDist() const { return fCamDist; } 34 Float_t GetConvMm2Deg() const { return f Mm2Deg; }34 Float_t GetConvMm2Deg() const { return fConvMm2Deg; } 35 35 36 36 UInt_t GetNumPixels() const { return fNumPixels; } -
trunk/MagicSoft/Mars/mhist/HistLinkDef.h
r1302 r1334 9 9 #pragma link C++ class MH+; 10 10 #pragma link C++ class MH3+; 11 #pragma link C++ class MHMatrix+; 11 12 #pragma link C++ class MHFadcCam+; 12 13 #pragma link C++ class MHFadcPix+; -
trunk/MagicSoft/Mars/mhist/MFillH.cc
r1330 r1334 313 313 Bool_t MFillH::PostProcess() 314 314 { 315 // 316 // Now all data is in the histogram. Maybe some final action is 317 // necessary. 318 // 319 if (!fH->Finalize()) 320 { 321 *fLog << err << dbginf << "Error: calling Finalize for "; 322 *fLog << fH->GetDescriptor() << "... aborting." << endl; 323 return kFALSE; 324 } 325 315 326 fH->SetReadyToSave(); 316 327 return kTRUE; -
trunk/MagicSoft/Mars/mhist/MH.h
r1300 r1334 23 23 virtual Bool_t SetupFill(const MParList *pList) { return kTRUE; } 24 24 virtual Bool_t Fill(const MParContainer *par) = 0; 25 virtual Bool_t Finalize() { return kTRUE; } 25 26 26 27 static TCanvas *MakeDefCanvas(TString name="", const char *title="", -
trunk/MagicSoft/Mars/mhist/MH3.cc
r1300 r1334 67 67 #include <TPad.h> 68 68 #include <TCanvas.h> 69 #include <TDataMember.h>70 #include <TMethodCall.h>71 69 72 70 #include "MLog.h" -
trunk/MagicSoft/Mars/mhist/Makefile
r1302 r1334 32 32 MH.cc \ 33 33 MH3.cc \ 34 MHMatrix.cc \ 34 35 MHFadcPix.cc \ 35 36 MHFadcCam.cc \ … … 53 54 MHMcEnergyImpact.cc \ 54 55 MHThetabarTime.cc \ 55 MHThetabarTheta.cc \56 MHMcEnergyMigration.cc \57 56 MHMcRate.cc \ 58 57 MHMcIntRate.cc \
Note:
See TracChangeset
for help on using the changeset viewer.