Changeset 2624 for trunk/MagicSoft/Mars/mimage
- Timestamp:
- 12/08/03 12:08:49 (21 years ago)
- Location:
- trunk/MagicSoft/Mars/mimage
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mimage/MHillas.cc
r2468 r2624 127 127 *fLog << all; 128 128 *fLog << "Basic Image Parameters (" << GetName() << ")" << endl; 129 *fLog << " - Length [mm] = " << fLength << endl; 130 *fLog << " - Width [mm] = " << fWidth << endl; 131 *fLog << " - Delta [deg] = " << fDelta*kRad2Deg << endl; 132 *fLog << " - Size [1] = " << fSize << " #CherPhot" << endl; 133 *fLog << " - Meanx [mm] = " << fMeanX << endl; 134 *fLog << " - Meany [mm] = " << fMeanY << endl; 135 *fLog << " - atg(y/x) [deg] = " << atg << endl; 129 *fLog << " - Length [mm] = " << fLength << endl; 130 *fLog << " - Width [mm] = " << fWidth << endl; 131 *fLog << " - Delta [deg] = " << fDelta*kRad2Deg << endl; 132 *fLog << " - Size [1] = " << fSize << " #CherPhot" << endl; 133 *fLog << " - Meanx [mm] = " << fMeanX << endl; 134 *fLog << " - Meany [mm] = " << fMeanY << endl; 135 *fLog << " - atg(y/x) [deg] = " << atg << endl; 136 } 137 138 // -------------------------------------------------------------------------- 139 // 140 // Print the hillas Parameters to *fLog, depending on the geometry in 141 // units of deg 142 // 143 void MHillas::Print(const MGeomCam &geom) const 144 { 145 Double_t atg = atan2(fMeanY, fMeanX)*kRad2Deg; 146 147 if (atg<0) 148 atg += 180; 149 150 *fLog << all; 151 *fLog << "Basic Image Parameters (" << GetName() << ")" << endl; 152 *fLog << " - Length [deg] = " << fLength*geom.GetConvMm2Deg() << endl; 153 *fLog << " - Width [deg] = " << fWidth *geom.GetConvMm2Deg() << endl; 154 *fLog << " - Delta [deg] = " << fDelta*kRad2Deg << endl; 155 *fLog << " - Size [1] = " << fSize << " #CherPhot" << endl; 156 *fLog << " - Meanx [deg] = " << fMeanX *geom.GetConvMm2Deg() << endl; 157 *fLog << " - Meany [deg] = " << fMeanY *geom.GetConvMm2Deg() << endl; 158 *fLog << " - atg(y/x) [deg] = " << atg << endl; 136 159 } 137 160 -
trunk/MagicSoft/Mars/mimage/MHillas.h
r2468 r2624 33 33 Int_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix); 34 34 35 void Print(const MGeomCam &geom) const; 35 36 void Print(Option_t *opt=NULL) const; 36 37 void Paint(Option_t *opt=NULL); -
trunk/MagicSoft/Mars/mimage/MHillasExt.cc
r2173 r2624 100 100 // ------------------------------------------------------------------------- 101 101 // 102 // Print contents of MHillasExt to *fLog. 103 // 102 104 void MHillasExt::Print(Option_t *) const 103 105 { 106 *fLog << all; 104 107 *fLog << "Extended Image Parameters (" << GetName() << ")" << endl; 105 *fLog << " - Asymmetry = " << fAsym << " mm" << endl; 106 *fLog << " - 3rd Moment Long = " << fM3Long << " mm" << endl; 107 *fLog << " - 3rd Moment Trans = " << fM3Trans << " mm" << endl; 108 *fLog << " - Asymmetry = " << fAsym << endl; 109 *fLog << " - 3.Moment Long [mm] = " << fM3Long << endl; 110 *fLog << " - 3.Moment Trans [mm] = " << fM3Trans << endl; 111 } 112 113 // ------------------------------------------------------------------------- 114 // 115 // Print contents of MHillasExt to *fLog, depending on the geometry in 116 // units of deg. 117 // 118 void MHillasExt::Print(const MGeomCam &geom) const 119 { 120 *fLog << all; 121 *fLog << "Extended Image Parameters (" << GetName() << ")" << endl; 122 *fLog << " - Asymmetry = " << fAsym *geom.GetConvMm2Deg() << endl; 123 *fLog << " - 3.Moment Long [deg] = " << fM3Long *geom.GetConvMm2Deg() << endl; 124 *fLog << " - 3.Moment Trans [deg] = " << fM3Trans*geom.GetConvMm2Deg() << endl; 108 125 } 109 126 -
trunk/MagicSoft/Mars/mimage/MHillasExt.h
r2092 r2624 32 32 33 33 void Print(Option_t *opt=NULL) const; 34 void Print(const MGeomCam &geom) const; 34 35 35 36 void Set(const TArrayF &arr); -
trunk/MagicSoft/Mars/mimage/MHillasSrc.cc
r2330 r2624 69 69 #include "MLogManip.h" 70 70 71 #include "MGeomCam.h" 71 72 #include "MSrcPosCam.h" 72 73 … … 148 149 } 149 150 151 // -------------------------------------------------------------------------- 152 // 153 // Print contents of MHillasSrc to *fLog 154 // 150 155 void MHillasSrc::Print(Option_t *) const 151 156 { 152 157 *fLog << all; 153 158 *fLog << "Source dependant Image Parameters (" << GetName() << ")" << endl; 154 *fLog << " - Dist [mm] = " << fDist << endl;155 *fLog << " - Alpha [deg] = " << fAlpha << endl;156 *fLog << " - CosDeltaAlpha = " << fCosDeltaAlpha << endl;159 *fLog << " - Dist [mm] = " << fDist << endl; 160 *fLog << " - Alpha [deg] = " << fAlpha << endl; 161 *fLog << " - CosDeltaAlpha = " << fCosDeltaAlpha << endl; 157 162 } 163 164 // -------------------------------------------------------------------------- 165 // 166 // Print contents of MHillasSrc to *fLog depending on the geometry in 167 // units of deg. 168 // 169 void MHillasSrc::Print(const MGeomCam &geom) const 170 { 171 *fLog << all; 172 *fLog << "Source dependant Image Parameters (" << GetName() << ")" << endl; 173 *fLog << " - Dist [deg] = " << fDist*geom.GetConvMm2Deg() << endl; 174 *fLog << " - Alpha [deg] = " << fAlpha << endl; 175 *fLog << " - CosDeltaAlpha = " << fCosDeltaAlpha << endl; 176 } 177 158 178 // -------------------------------------------------------------------------- 159 179 // -
trunk/MagicSoft/Mars/mimage/MHillasSrc.h
r2026 r2624 30 30 31 31 void Print(Option_t *opt=NULL) const; 32 void Print(const MGeomCam &geom) const; 32 33 33 34 virtual Bool_t Calc(const MHillas *hillas); -
trunk/MagicSoft/Mars/mimage/MNewImagePar.cc
r2173 r2624 154 154 *fLog << all; 155 155 *fLog << "New Image Parameters (" << GetName() << ")" << endl; 156 *fLog << " - Leakage1 = " << fLeakage1 << endl;157 *fLog << " - Leakage2 = " << fLeakage2 << endl;158 *fLog << " - Conc = " << fConc << " (ratio)" << endl;159 *fLog << " - Conc1 = " << fConc1 << " (ratio)" << endl;160 *fLog << " - Used Pixels [#]= " << fNumUsedPixels << " Pixels" << endl;161 *fLog << " - Core Pixels [#]= " << fNumCorePixels << " Pixels" << endl;156 *fLog << " - Leakage1 [1] = " << fLeakage1 << endl; 157 *fLog << " - Leakage2 [1] = " << fLeakage2 << endl; 158 *fLog << " - Conc [1] = " << fConc << " (ratio)" << endl; 159 *fLog << " - Conc1 [1] = " << fConc1 << " (ratio)" << endl; 160 *fLog << " - Used Pixels [#] = " << fNumUsedPixels << " Pixels" << endl; 161 *fLog << " - Core Pixels [#] = " << fNumCorePixels << " Pixels" << endl; 162 162 }
Note:
See TracChangeset
for help on using the changeset viewer.