Changeset 1921 for trunk/MagicSoft
- Timestamp:
- 04/08/03 10:52:14 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1920 r1921 18 18 * manalysis/MMcTriggerLvl2Calc.cc 19 19 - added call to Fill method of MHMcTriggerLvl2 20 21 22 2003/04/09: Wolfgang Wittek 23 24 * mfilter/MFCT1SelFinal.[h,cc] 25 - add new member function SetHadronnessName() 26 27 * mhist/MHHadronness.[h,cc] 28 - reset to SetOptStat(111100) 29 - correct acceptance 30 31 * manalysis/MMultiDimDistCalc.[h,cc] 32 - swap arguments if FindCreateObj 33 20 34 21 35 -
trunk/MagicSoft/Mars/manalysis/MMultiDimDistCalc.cc
r1910 r1921 152 152 } 153 153 154 fHadronness = (MHadronness*)plist->FindCreateObj( fHadronnessName, "MHadronness");154 fHadronness = (MHadronness*)plist->FindCreateObj("MHadronness", fHadronnessName); 155 155 if (!fHadronness) 156 156 return kFALSE; -
trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.cc
r1905 r1921 64 64 fTitle = title ? title : "Class to evaluate the Final Cuts"; 65 65 66 fHilName = HilName; 67 fHilSrcName = HilSrcName; 66 fHilName = HilName; 67 fHilSrcName = HilSrcName; 68 fHadronnessName = "MHadronness"; 68 69 69 70 // default values of cuts … … 106 107 } 107 108 108 fHadronness = (MHadronness*)pList->FindObject( "MHadronness");109 fHadronness = (MHadronness*)pList->FindObject(fHadronnessName, "MHadronness"); 109 110 if (!fHadronness) 110 111 { … … 171 172 *fLog << " " << setw(7) << fCut[1] << " (" << setw(3) 172 173 << (int)(fCut[1]*100/GetNumExecutions()) 173 << "%) Evts skipped due to: hadroness > "<< fHadronnessMax << endl; 174 << "%) Evts skipped due to: hadronness > "<< fHadronnessMax 175 << " (hadronness from '" << fHadronnessName << "')" << endl; 174 176 175 177 *fLog << " " << setw(7) << fCut[2] << " (" << setw(3) -
trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.h
r1905 r1921 35 35 TString fHilName; 36 36 TString fHilSrcName; 37 TString fHadronnessName; 37 38 38 39 Float_t fHadronnessMax; … … 46 47 const char *name=NULL, const char *title=NULL); 47 48 49 void SetHadronnessName(const TString name) { fHadronnessName = name; } 48 50 Bool_t IsExpressionTrue() const { return fResult; } 49 51 … … 54 56 void SetCuts(Float_t hadmax, Float_t alphamax); 55 57 56 ClassDef(MFCT1SelFinal, 0) // Class to evaluate final cuts58 ClassDef(MFCT1SelFinal, 1) // Class to evaluate final cuts 57 59 }; 58 60 -
trunk/MagicSoft/Mars/mhist/MHHadronness.cc
r1910 r1921 266 266 Float_t max=0; 267 267 268 268 269 for (Int_t i=1; i<=n; i++) 269 270 { 270 const Stat_t ip = sump!=0 ? fPhness->Integral(1, i) /sump: 0;271 const Stat_t ig = sumg!=0 ? fGhness->Integral(1, i) /sumg: 0;271 const Stat_t ip = sump!=0 ? fPhness->Integral(1, i) : 0; 272 const Stat_t ig = sumg!=0 ? fGhness->Integral(1, i) : 0; 272 273 273 274 fIntPhness->SetBinContent(i, ip); … … 463 464 m->Draw(); 464 465 */ 466 467 gStyle->SetOptStat(111100); 468 465 469 return &c; 466 470 }
Note:
See TracChangeset
for help on using the changeset viewer.