Changeset 991 for trunk/MagicSoft/Mars/manalysis
- Timestamp:
- 10/26/01 10:11:30 (23 years ago)
- Location:
- trunk/MagicSoft/Mars/manalysis
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.cc
r959 r991 82 82 { 83 83 // TClonesArray -> 'operator new with placement' should be used 84 new ((*fPixels)[fNumPixels++]) MCerPhotPix( 84 new ((*fPixels)[fNumPixels++]) MCerPhotPix(id, nph, err); 85 85 } 86 86 … … 91 91 void MCerPhotEvt::Clear(Option_t *) 92 92 { 93 fNumPixels = 0 94 fPixels->Clear() 93 fNumPixels = 0; 94 fPixels->Clear(); 95 95 } 96 96 … … 99 99 // Dump the cerenkov photon event to *fLog 100 100 // 101 void MCerPhotEvt::Print(Option_t *) 101 void MCerPhotEvt::Print(Option_t *) const 102 102 { 103 103 const Int_t entries = fPixels->GetEntries(); -
trunk/MagicSoft/Mars/manalysis/MCerPhotEvt.h
r959 r991 31 31 32 32 void Clear(Option_t *opt=NULL); 33 void Print(Option_t *opt=NULL) ;33 void Print(Option_t *opt=NULL) const; 34 34 35 35 Bool_t IsPixelExisting(Int_t id) const; -
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.cc
r857 r991 56 56 // Print information to gLog. 57 57 // 58 void MCerPhotPix::Print(Option_t *) 58 void MCerPhotPix::Print(Option_t *) const 59 59 { 60 60 gLog << "MCerPhotPix: Pixel: "<< fPixId ; -
trunk/MagicSoft/Mars/manalysis/MCerPhotPix.h
r967 r991 24 24 MCerPhotPix(Int_t pix = -1, Float_t phot=0., Float_t errphot=0.); 25 25 26 void Print(Option_t *opt = NULL) ;26 void Print(Option_t *opt = NULL) const; 27 27 28 28 Int_t GetPixId() const { return fPixId; } -
trunk/MagicSoft/Mars/manalysis/MHillas.cc
r977 r991 92 92 // Print the hillas Parameters to *fLog 93 93 // 94 void MHillas::Print(Option_t *) 94 void MHillas::Print(Option_t *) const 95 95 { 96 96 *fLog << "Hillas Parameter:" << endl; -
trunk/MagicSoft/Mars/manalysis/MHillas.h
r857 r991 31 31 Bool_t Calc(const MGeomCam &geom, const MCerPhotEvt &pix); 32 32 33 void Print(Option_t *opt=NULL) ;33 void Print(Option_t *opt=NULL) const; 34 34 void Draw(Option_t *opt=NULL); 35 35 void Paint(Option_t *opt=NULL);
Note:
See TracChangeset
for help on using the changeset viewer.