- Timestamp:
- 06/03/08 16:27:48 (16 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MGeomApply.cc
r7972 r8923 205 205 // the use of some MC camera files from the 0.7 beta version in which the 206 206 // array containing pixel ratios is not initialized. 207 geom->StreamerWorkaround(); 207 208 geom->CalcPixRatio(); 208 209 -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargeCam.cc
r8497 r8923 1 1 /* ======================================================================== *\ 2 ! $Name: not supported by cvs2svn $:$Id: MCalibrationChargeCam.cc,v 1.7 1 2007-05-11 13:33:40tbretz Exp $2 ! $Name: not supported by cvs2svn $:$Id: MCalibrationChargeCam.cc,v 1.72 2008-06-03 15:26:39 tbretz Exp $ 3 3 ! -------------------------------------------------------------------------- 4 4 ! … … 20 20 ! Author(s): Markus Gaug 11/2003 <mailto:markus@ifae.es> 21 21 ! 22 ! Copyright: MAGIC Software Development, 2000-200 422 ! Copyright: MAGIC Software Development, 2000-2008 23 23 ! 24 24 ! … … 85 85 #include "MCalibrationChargePix.h" 86 86 87 #include <TMath.h> 88 89 #include <TH1.h> 90 #include <TF1.h> 87 91 #include <TOrdCollection.h> 88 #include <TH1D.h>89 #include <TF1.h>90 92 91 93 #include "MLog.h" -
trunk/MagicSoft/Mars/mcalib/MCalibrationChargePINDiode.cc
r5455 r8923 18 18 ! Author(s): Markus Gaug 02/2004 <mailto:markus@ifae.es> 19 19 ! 20 ! Copyright: MAGIC Software Development, 2000-200 420 ! Copyright: MAGIC Software Development, 2000-2008 21 21 ! 22 22 ! … … 52 52 #include "MCalibrationChargePINDiode.h" 53 53 #include "MCalibrationChargePix.h" 54 55 #include <TMath.h> 54 56 55 57 #include "MLog.h" -
trunk/MagicSoft/Mars/mgeom/MGeomPix.cc
r8922 r8923 133 133 { 134 134 // information about a pixel 135 *fLog << all << "MPixGeom: x= " << fX << "mm y= " << fY << "mm "; 136 *fLog << "d= " << fD << "mm A= " << fA << "mm²" << endl; 135 *fLog << all << "MPixGeom: x/y=" << fX << "/" << fY << "mm "; 136 *fLog << "d= " << fD << "mm A= " << fA << "mm² ("; 137 for (int i=0; i<fNumNeighbors; i++) 138 *fLog << fNeighbors[i] << (i<fNumNeighbors-1?",":""); 139 *fLog << ")" << endl; 137 140 } 138 141 -
trunk/MagicSoft/Mars/mgeom/MGeomPix.h
r8909 r8923 25 25 private: 26 26 enum { 27 kIsInOutermostRing = BIT(22), 28 kIsInOuterRing = BIT(23), 29 kUserBits = 0x1fc000 // 14-21 are allowed 27 kIsInOutermostRing = 0, 28 kIsInOuterRing = 1, 30 29 }; 31 30 … … 40 39 UInt_t fSector; // Number of sector the pixels corresponds to 41 40 UInt_t fAidx; // Area index of the pixel 41 42 Byte_t fUserBits; 42 43 43 44 public: … … 54 55 pix.fSector = fSector; 55 56 pix.fAidx = fAidx; 57 pix.fUserBits = fUserBits; 56 58 for (int i=0; i<6; i++) 57 59 pix.fNeighbors[i] = fNeighbors[i]; 60 61 TObject::Copy(obj); 58 62 } 59 63 … … 83 87 Short_t GetNeighbor(Byte_t i) const { return fNeighbors[i]; } 84 88 85 Bool_t IsInOutermostRing() const { return T estBit(kIsInOutermostRing); }86 Bool_t IsInOuterRing() const { return T estBit(kIsInOuterRing); }89 Bool_t IsInOutermostRing() const { return TESTBIT(fUserBits, kIsInOutermostRing); } 90 Bool_t IsInOuterRing() const { return TESTBIT(fUserBits, kIsInOuterRing); } 87 91 88 92 Bool_t IsInside(Float_t px, Float_t py) const; 89 93 Int_t GetDirection(const MGeomPix &pix) const; 90 94 91 /* 92 // 93 // These function are for future usage. They are not virtual in 94 // root by now. 95 // 96 void SetBit(UInt_t f, Bool_t set) { set ? TObject::SetBit(f) : TObject::ResetBit(f); } 97 void SetBit(UInt_t f) { TObject::SetBit(f & kUserBits); } 98 void ResetBit(UInt_t f) { TObject::ResetBit(f & kUserBits); } 99 void InvertBit(UInt_t f) { TObject InvertBit(f & kUserBits); } 100 */ 101 102 ClassDef(MGeomPix, 3) // Geometry class describing the geometry of one pixel 95 ClassDef(MGeomPix, 4) // Geometry class describing the geometry of one pixel 103 96 }; 104 97
Note:
See TracChangeset
for help on using the changeset viewer.