Changeset 1434 for trunk/MagicSoft/Mars/manalysis/MHillasSrc.h
- Timestamp:
- 07/25/02 09:14:36 (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/manalysis/MHillasSrc.h
r1237 r1434 14 14 const MSrcPosCam *fSrcPos; //! Source position in the camere 15 15 16 Float_t fAlpha; // [deg] angle of major axis with vector to src 17 Float_t fDist; // [mm] distance from src to center of ellipse 18 Float_t fHeadTail; // [mm] 16 Float_t fAlpha; // [deg] angle of major axis with vector to src 17 Float_t fDist; // [mm] distance between src and center of ellipse 18 Float_t fHeadTail; // [mm] 19 Float_t fCosDeltaAlpha; // [1] cosine of angle between d and a 19 20 20 21 public: … … 24 25 const MSrcPosCam *GetSrcPos() const { return fSrcPos; } 25 26 26 Float_t GetLength() const { return fHillas->GetLength(); } 27 Float_t GetWidth() const { return fHillas->GetWidth(); } 28 Float_t GetDelta() const { return fHillas->GetDelta(); } 29 Float_t GetSize() const { return fHillas->GetSize(); } 30 Float_t GetMeanX() const { return fHillas->GetMeanX(); } 31 Float_t GetMeanY() const { return fHillas->GetMeanY(); } 32 Float_t GetAlpha() const { return fAlpha; } 33 Float_t GetDist() const { return fDist; } 34 Float_t GetHeadTail() const { return fHeadTail; } 27 void Reset(); 28 29 Float_t GetLength() const { return fHillas->GetLength(); } 30 Float_t GetWidth() const { return fHillas->GetWidth(); } 31 Float_t GetDelta() const { return fHillas->GetDelta(); } 32 Float_t GetSize() const { return fHillas->GetSize(); } 33 Float_t GetMeanX() const { return fHillas->GetMeanX(); } 34 Float_t GetMeanY() const { return fHillas->GetMeanY(); } 35 Float_t GetAlpha() const { return fAlpha; } 36 Float_t GetDist() const { return fDist; } 37 Float_t GetHeadTail() const { return fHeadTail; } 38 Float_t GetCosDeltaAlpha() const { return fCosDeltaAlpha; } 35 39 36 40 void Print(Option_t *opt=NULL) const; 37 41 38 virtual voidCalc(const MHillas *hillas);42 virtual Bool_t Calc(const MHillas *hillas); 39 43 40 virtual void AsciiRead(ifstream &fin);44 //virtual void AsciiRead(ifstream &fin); 41 45 //virtual void AsciiWrite(ofstream &fout) const; 42 46 43 ClassDef(MHillasSrc, 2) // Container to hold source position dependant parameters47 ClassDef(MHillasSrc, 3) // Container to hold source position dependant parameters 44 48 }; 45 49 46 /*47 Version 1: fAlpha, fDist48 Version 2: fAlpha, fDist, fSign49 */50 51 50 #endif
Note:
See TracChangeset
for help on using the changeset viewer.