Changeset 3238
- Timestamp:
- 02/19/04 10:39:30 (21 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r3237 r3238 19 19 - Don't call Sumw2() anymore for projection 20 20 21 * mjobs/MJ ExtractSignal.cc:21 * mjobs/MJPedestal.cc: 22 22 - added MPedestalCam to output again - MPedestalCam was fixed 23 23 yesterday -
trunk/MagicSoft/Mars/mfileio/MWriteAsciiFile.cc
r2173 r3238 199 199 while ((obj=(MParContainer*)Next())) 200 200 { 201 // 202 // Check for the Write flag 203 // 201 204 if (!obj->IsReadyToSave()) 202 205 continue; 203 206 207 // 208 // Write container to file 209 // 204 210 if (!obj->AsciiWrite(*fOut)) 205 211 continue; 206 212 213 // 214 // Store that at least one container was written 215 // 207 216 written = kTRUE; 208 217 -
trunk/MagicSoft/Mars/mjobs/MJPedestal.cc
r3143 r3238 47 47 #include "MStatusDisplay.h" 48 48 49 #include "MGeomCam.h" 49 50 #include "MHCamera.h" 50 51 #include "MPedestalCam.h" … … 114 115 obj2->Draw(); 115 116 obj2->SetBit(kCanDelete); 117 gPad->SetLogy(); 118 119 if (obj1->GetGeomCam().InheritsFrom("MGeomCamMagic")) 120 { 121 // Just to get the right (maximum) binning 122 TH1D *half[2]; 123 half[0] = obj1->Projection("Sector 6-1-2"); 124 half[1] = obj1->Projection("Sector 3-4-5"); 125 126 half[0]->Reset(); 127 half[1]->Reset(); 128 129 TH1D *dummy = obj1->Projection("Dummy"); 130 131 for (int i=1; i<7/*obj1->GetGeomCam().GetNumSectors()*/; i++) 132 half[(i/3)%2]->Add(obj1->ProjectionS(i, "Dummy")); 133 134 for (int i=0; i<2; i++) 135 { 136 half[i]->SetLineColor(kRed+i); 137 half[i]->SetDirectory(0); 138 half[i]->SetBit(kCanDelete); 139 half[i]->Draw("same"); 140 } 141 142 delete dummy; 143 } 116 144 117 145 const Double_t min = obj2->GetBinCenter(obj2->GetXaxis()->GetFirst()); … … 209 237 // 210 238 MHCamera disp0(geomcam, "MPedestalCam;ped", "Pedestals"); 211 MHCamera disp1(geomcam, "MPedestalCam; rms", "Pedestal RMS");239 MHCamera disp1(geomcam, "MPedestalCam;var", "Sigma Pedestal"); 212 240 213 241 disp0.SetCamContent(fPedestalCam, 0); … … 218 246 219 247 disp0.SetYTitle("P [fadc/slice]"); 220 disp1.SetYTitle(" P_{RMS} [fadc/slice]");248 disp1.SetYTitle("\\sigma_{P} [fadc/slice]"); 221 249 222 250 //
Note:
See TracChangeset
for help on using the changeset viewer.