Changeset 3439
- Timestamp:
- 03/08/04 10:29:17 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3438 r3439 4 4 5 5 -*-*- END OF LINE -*-*- 6 7 2004/03/08: Abelardo Moralejo 8 * macros/starmstereo.C 9 - adapted to m. Gaug's changes: now one MBadPixelsCam containers is 10 added for each telescope to the parameter list. 6 11 7 12 2004/03/06: Markus Gaug -
trunk/MagicSoft/Mars/macros/starmcstereo.C
r3334 r3439 46 46 // 47 47 48 void starmcstereo(Int_t ct1 = 1, Int_t ct2 = 2)48 void starmcstereo(Int_t ct1 = 2, Int_t ct2 = 5) 49 49 { 50 50 if (ct1 > sizeof(ctx)/sizeof(ctx[0]) || … … 61 61 // ------------- user change ----------------- 62 62 63 Char_t* AnalysisFilename = " G_XX_*_w0.root"; // File to be analyzed63 Char_t* AnalysisFilename = "gam-yXX-00001.root"; // File to be analyzed 64 64 Char_t* OutFileTag = "gammas"; // Output file tag 65 65 … … 86 86 plist.AddToList(&tlist); 87 87 88 TString s = " MSrcPosCam;"; 89 s += CT[0]; 90 MSrcPosCam src1(s); 91 src1.SetReadyToSave(); 92 plist.AddToList(&src1); 93 94 if (NCTs==2) 95 { 96 s = " MSrcPosCam;"; 97 s += CT[1]; 98 MSrcPosCam src2(s); 99 src2.SetReadyToSave(); 100 plist.AddToList(&src2); 88 MSrcPosCam src[NCTs]; 89 MBadPixelsCam badpix[NCTs]; 90 91 for (Int_t ict = 0; ict < NCTs; ict++) 92 { 93 TString s = "MSrcPosCam;"; 94 s += CT[ict]; 95 src[ict].SetName(s); 96 src[ict].SetReadyToSave(); 97 plist.AddToList(&(src[ict])); 98 99 TString b = "MBadPixelsCam;"; 100 b += CT[ict]; 101 badpix[ict].SetName(b); 102 badpix[ict].SetReadyToSave(); 103 plist.AddToList(&(badpix[ict])); 101 104 } 102 105 //
Note:
See TracChangeset
for help on using the changeset viewer.