Changeset 9252 for trunk/MagicSoft/Mars/mcorsika
- Timestamp:
- 01/24/09 01:49:53 (16 years ago)
- Location:
- trunk/MagicSoft/Mars/mcorsika
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcorsika/MCorsikaEvtHeader.cc
r9229 r9252 33 33 #include <fstream> 34 34 35 #include <TMath.h> 36 35 37 #include "MLog.h" 36 38 #include "MLogManip.h" … … 50 52 fName = name ? name : "MCorsikaEvtHeader"; 51 53 fTitle = title ? title : "Raw Event Header Information"; 54 } 55 56 // -------------------------------------------------------------------------- 57 // 58 // Return Hypot(x, y) 59 // 60 Double_t MCorsikaEvtHeader::GetImpact() const 61 { 62 return TMath::Hypot(fX, fY); 52 63 } 53 64 -
trunk/MagicSoft/Mars/mcorsika/MCorsikaEvtHeader.h
r9229 r9252 58 58 Float_t GetY() const { return fY; } 59 59 60 Double_t GetImpact() const { return TMath::Hypot(fX, fY); }60 Double_t GetImpact() const; 61 61 62 62 Int_t ReadEvt(istream& fin); // read in event header block
Note:
See TracChangeset
for help on using the changeset viewer.