Changeset 2244
- Timestamp:
- 06/27/03 14:22:16 (22 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 added
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r2243 r2244 1 1 -*-*- END OF LINE -*-*- 2 3 2003/06/27: Thomas Bretz 4 5 * macros/sumevents.C, macros/sumpedestals.C: 6 - some small changes 7 8 * manalysis/MPedestalCam.cc: 9 - return pixel as used if the value is valid (>=0) 10 11 * mhist/HistLinkDef.h, mhist/Makefile: 12 - MHPixVsTime added (Name is preliminary) 13 14 * mhist/MHCamEvent.cc: 15 - removed including MGeomPix 16 17 * mhist/MHCamera.h: 18 - in SetCamContent copy also number of entries 19 20 * mraw/MRawEvtData.cc: 21 - fixed to support correct pixel numbering 22 23 * mhist/MHPixVsTime.[h,cc]: 24 - added 25 26 2 27 3 28 2003/06/27: Abelardo Moralejo … … 10 35 * macros/CT1collectionArea.C, CT1EgyEst.C 11 36 - Changed theta binnings to adapt them to the new standard. 37 38 12 39 13 40 2003/06/26: Abelardo Moralejo … … 20 47 them to run on files with hadronness info. 21 48 22 2003/06/26: Abelardo Moralejo23 24 49 * mhistmc/MHMcEnergyMigration.cc 25 50 - exchanged axes of E_est and E_MC in the 3-d histograms. … … 31 56 - adapted to new function names in MPedestalPix (please Thomas 32 57 check these, I had to do it to make Mars compile) 58 59 33 60 34 61 2003/06/26: Thomas Bretz … … 109 136 * mmontecarlo/MMcCollectionAreaCalc.cc: 110 137 - minor change 111 112 113 138 139 * macros/sumevents.C, macros/sumpedestals.C: 140 - added 141 142 * mhist/MHCamEvent.cc: 143 - do not scale with 100 144 145 * mhist/MHCamera.cc: 146 - fixed displaying number of entries when used 147 SetCamContent(MHCamera&) 148 114 149 115 150 -
trunk/MagicSoft/Mars/macros/sumevents.C
r2238 r2244 76 76 MHCamera *disp0 = h.GetHistByName(); 77 77 MHCamera *disp1 = new MHCamera(geom, "MCerPhotEvt;avg", "Cerenkov Photons Avarage"); 78 MHCamera *disp2 = new MHCamera(geom, "MCerPhotEvt; rms", "Cerenkov Photons RMS");79 MHCamera *disp3 = new MHCamera(geom, "MCerPhotEvt;rel", "Cerenkov Photons RMS/VAL");78 MHCamera *disp2 = new MHCamera(geom, "MCerPhotEvt;err", "Cerenkov Photons Error"); 79 MHCamera *disp3 = new MHCamera(geom, "MCerPhotEvt;rel", "Cerenkov Photons ERR/VAL"); 80 80 disp1->SetBit(kCanDelete); 81 81 disp2->SetBit(kCanDelete); … … 88 88 disp2->SetStats(kFALSE); 89 89 disp3->SetStats(kFALSE); 90 91 disp1->SetYTitle("a.u."); 92 disp2->SetYTitle("err"); 93 disp3->SetYTitle("rel.err [%]"); 90 94 91 95 c->cd(4); -
trunk/MagicSoft/Mars/macros/sumpedestals.C
r2238 r2244 76 76 MHCamera *disp0 = h.GetHistByName(); 77 77 MHCamera *disp1 = new MHCamera(geom, "MPedestalCam;avg", "Pedestals Avarage"); 78 MHCamera *disp2 = new MHCamera(geom, "MPedestalCam;rms", "Pedestals Avarage RMS");79 MHCamera *disp3 = new MHCamera(geom, "MPedestalCam;rel", "Pedestals Avarage RMS/VAL");78 MHCamera *disp2 = new MHCamera(geom, "MPedestalCam;rms", "Pedestals Avarage Error"); 79 MHCamera *disp3 = new MHCamera(geom, "MPedestalCam;rel", "Pedestals Avarage ERR/VAL"); 80 80 disp1->SetBit(kCanDelete); 81 81 disp2->SetBit(kCanDelete); … … 88 88 disp2->SetStats(kFALSE); 89 89 disp3->SetStats(kFALSE); 90 91 disp1->SetXTitle("a.u."); 92 disp2->SetXTitle("err"); 93 disp3->SetXTitle("rel.err [%]"); 90 94 91 95 c->cd(4); … … 114 118 115 119 c->cd(2); 116 gPad->SetLogy();117 120 disp2->Draw("hist"); 118 121 119 122 c->cd(3); 120 gPad->SetLogy();121 123 disp3->Draw("hist"); 122 124 -
trunk/MagicSoft/Mars/manalysis/MPedestalCam.cc
r2237 r2244 192 192 break; 193 193 } 194 return kTRUE;194 return val>=0; 195 195 } -
trunk/MagicSoft/Mars/mhist/HistLinkDef.h
r2210 r2244 44 44 45 45 #pragma link C++ class MHCamera+; 46 //#pragma link C++ class MHCurrents+; 47 //#pragma link C++ class MHOnSubtraction+; 46 #pragma link C++ class MHPixVsTime+; 48 47 49 48 #endif -
trunk/MagicSoft/Mars/mhist/MHCamEvent.cc
r2238 r2244 43 43 44 44 #include "MGeomCam.h" 45 #include "MGeomPix.h"46 45 47 46 ClassImp(MHCamEvent); -
trunk/MagicSoft/Mars/mhist/MHCamera.h
r2236 r2244 93 93 virtual void SetCamContent(const MCamEvent &evt, Int_t type=0) { Reset(); AddCamContent(evt, type); } 94 94 virtual void SetCamContent(const TArrayD &evt, const TArrayC *used=NULL) { Reset(); AddCamContent(evt, used); } 95 virtual void SetCamContent(const MHCamera &d, Int_t type=0) { Reset() ,AddCamContent(d, type); }95 virtual void SetCamContent(const MHCamera &d, Int_t type=0) { Reset(); fEntries=d.fEntries-1; AddCamContent(d, type); } 96 96 virtual void CntCamContent(const MCamEvent &evt, Double_t threshold, Int_t type=0); 97 97 virtual void CntCamContent(const TArrayD &evt, Double_t threshold, Bool_t ispos=kTRUE); -
trunk/MagicSoft/Mars/mhist/Makefile
r2210 r2244 37 37 MH3.cc \ 38 38 MHCamEvent.cc \ 39 MHPixVsTime.cc \ 39 40 MHMatrix.cc \ 40 41 MHFadcPix.cc \ -
trunk/MagicSoft/Mars/mraw/MRawEvtData.cc
r2236 r2244 447 447 448 448 // -1 converts the hardware pixel Id into the software pixel index 449 const Int_t npix = fRunHeader->GetPixAssignment(ipos);449 const Int_t npix = (Int_t)fRunHeader->GetPixAssignment(ipos)-1; 450 450 451 451 // Check whether the pixel is connected or not 452 if (npix ==0)452 if (npix<0) 453 453 continue; 454 454
Note:
See TracChangeset
for help on using the changeset viewer.