Changeset 1947
- Timestamp:
- 04/11/03 19:42:54 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 1 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r1940 r1947 1 1 -*-*- END OF LINE -*-*- 2 3 2003/04/11: Thomas Bretz 4 5 * macros/readMagic.C: 6 - replaced GetEventNum by GetNumEntry 7 8 * manalysis/MCT1SupercutsCalc.cc: 9 - fixed constructor (no default for fHadronnessName) 10 - missing fHadronness->SetReadyToSave added 11 12 * manalysis/MMultiDimDistCalc.cc: 13 - missing fHadronness->SetReadyToSave added 14 15 * manalysis/MParameters.cc: 16 - changed title 17 18 * mfilter/MFCT1SelFinal.h: 19 - set ClassDef to 0 20 21 * mimage/Makefile: 22 - fixed a typo 23 24 * mraw/MRawEvtData.cc: 25 - fixed Pixel assignment (i->ipos, fPosInArray++) 26 27 2 28 3 29 2003/04/10: Thomas Bretz … … 50 76 51 77 * manalysis/Makefile, manalysis/AnalysisLinkDef.h, 52 mhist/Makefile, mhist/AnalysisLinkDef.h: 78 mhist/Makefile, mhist/AnalysisLinkDef.h, mmain/Makefile, 79 mfilter/Makefile, meventdisp/Makefile, mgui/Makefile: 53 80 - adapted 54 81 -
trunk/MagicSoft/Mars/macros/readMagic.C
r1542 r1947 98 98 while (tlist.Process()) 99 99 { 100 cout << "Event #" << read.Get EventNum() ":" << endl;100 cout << "Event #" << read.GetNumEntry() ":" << endl; 101 101 102 102 display.DrawPhotNum((MCerPhotEvt*)clone.GetClone()); -
trunk/MagicSoft/Mars/manalysis/MCT1SupercutsCalc.cc
r1934 r1947 136 136 // 137 137 MCT1SupercutsCalc::MCT1SupercutsCalc(const char *hilname, 138 const char *hilsrcname, const char *name, const char *title) 138 const char *hilsrcname, const char *name, const char *title) 139 : fHadronnessName("MHadronness"), fHilName(hilname), fHilSrcName(hilsrcname) 139 140 { 140 141 fName = name ? name : "MCT1SupercutsCalc"; 141 142 fTitle = title ? title : "Class to evaluate the Supercuts"; 142 143 143 fHilName = hilname;144 fHilSrcName = hilsrcname;145 146 144 InitParams(); 147 145 } … … 186 184 return kFALSE; 187 185 } 188 189 186 190 187 fCam = (MGeomCam*)pList->FindObject("MGeomCam"); … … 274 271 // << width << endl; 275 272 276 if ( newdist < 1.05277 && newdist < CtsMCut (fDistUp, dmls, dmcza, dmls2, dd2)278 && newdist > CtsMCut (fDistLo, dmls, dmcza, dmls2, dd2)279 && dist < 1.05280 && length < CtsMCut (fLengthUp, dmls, dmcza, dmls2, dd2)281 && length > CtsMCut (fLengthLo, dmls, dmcza, dmls2, dd2)282 && width < CtsMCut (fWidthUp, dmls, dmcza, dmls2, dd2)283 && width > CtsMCut (fWidthLo, dmls, dmcza, dmls2, dd2)284 //&& asym < CtsMCut (asymup, dmls, dmcza, dmls2, dd2)285 //&& asym > CtsMCut (asymlow, dmls, dmcza, dmls2, dd2)286 && dist < CtsMCut (fDistUp, dmls, dmcza, dmls2, dd2)287 && dist> CtsMCut (fDistLo, dmls, dmcza, dmls2, dd2) )288 fHadronness->SetHadronness(0.25);273 if (newdist < 1.05 && 274 newdist < CtsMCut (fDistUp, dmls, dmcza, dmls2, dd2) && 275 newdist > CtsMCut (fDistLo, dmls, dmcza, dmls2, dd2) && 276 dist < 1.05 && 277 length < CtsMCut (fLengthUp, dmls, dmcza, dmls2, dd2) && 278 length > CtsMCut (fLengthLo, dmls, dmcza, dmls2, dd2) && 279 width < CtsMCut (fWidthUp, dmls, dmcza, dmls2, dd2) && 280 width > CtsMCut (fWidthLo, dmls, dmcza, dmls2, dd2) && 281 //asym < CtsMCut (asymup, dmls, dmcza, dmls2, dd2) && 282 //asym > CtsMCut (asymlow, dmls, dmcza, dmls2, dd2) && 283 dist < CtsMCut (fDistUp, dmls, dmcza, dmls2, dd2) && 284 dist > CtsMCut (fDistLo, dmls, dmcza, dmls2, dd2) ) 285 fHadronness->SetHadronness(0.25); 289 286 else 290 fHadronness->SetHadronness(0.75); 287 fHadronness->SetHadronness(0.75); 288 289 fHadronness->SetReadyToSave(); 291 290 292 291 return kTRUE; -
trunk/MagicSoft/Mars/manalysis/MMultiDimDistCalc.cc
r1921 r1947 210 210 211 211 fHadronness->SetHadronness(dg==0 ? 0 : exp(-dh/dg)); 212 fHadronness->SetReadyToSave(); 212 213 213 214 return kTRUE; -
trunk/MagicSoft/Mars/manalysis/MParameters.cc
r1884 r1947 42 42 ClassImp(MParameterD); 43 43 ClassImp(MParameterI); 44 //ClassImp(MParameter); 44 45 45 46 // -------------------------------------------------------------------------- … … 50 51 { 51 52 fName = name ? name : "MParameterD"; 52 fTitle = title ? title : "Storgare container for general parameters ";53 fTitle = title ? title : "Storgare container for general parameters (double)"; 53 54 } 54 55 … … 60 61 { 61 62 fName = name ? name : "MParameterI"; 62 fTitle = title ? title : "Storgare container for general parameters ";63 fTitle = title ? title : "Storgare container for general parameters (integer)"; 63 64 } 64 65 -
trunk/MagicSoft/Mars/mfilter/MFCT1SelFinal.h
r1921 r1947 56 56 void SetCuts(Float_t hadmax, Float_t alphamax); 57 57 58 ClassDef(MFCT1SelFinal, 1) // Class to evaluate final cuts58 ClassDef(MFCT1SelFinal, 0) // Class to evaluate final cuts 59 59 }; 60 60 -
trunk/MagicSoft/Mars/mimage/Makefile
r1945 r1947 22 22 # connect the include files defined in the config.mk file 23 23 # 24 INCLUDES = -I. -I../mbase -I../mhist -I../mgeom -I../manalysi 24 INCLUDES = -I. -I../mbase -I../mhist -I../mgeom -I../manalysis 25 25 26 26 #------------------------------------------------------------------------------ -
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r1914 r1947 420 420 // get the spiral pixel number from the run header 421 421 // 422 const UShort_t npix = fRunHeader->GetPixAssignment(i);423 424 422 const UShort_t ipos = npos+i; 423 424 const UShort_t npix = fRunHeader->GetPixAssignment(ipos); 425 425 426 // 426 427 // This is to fill the data of one pixel to the MRawEvtHeader Class. … … 440 441 //} 441 442 } 442 } 443 443 444 fPosInArray++; 445 } 446
Note:
See TracChangeset
for help on using the changeset viewer.