source: trunk/MagicSoft/Mars/mtemp/mifae/library/MDisp.h@ 5138

Last change on this file since 5138 was 4316, checked in by domingo, 21 years ago
*** empty log message ***
File size: 1.5 KB
Line 
1#ifndef MARS_MDisp
2#define MARS_MDisp
3
4#ifndef MARS_MSrcPosCam
5#include "MSrcPosCam.h"
6#endif
7
8class MSrcPosCam;
9
10class MDisp : public MParContainer
11{
12private:
13
14 Float_t fX1; // Position of Disp evaluated point 1 in the camera in [mm]
15 Float_t fY1;
16
17 Float_t fX2; // Position of Disp evaluated point 2 in the camera in [mm]
18 Float_t fY2;
19
20 Float_t fDisp; // [mm] distance along the major axis from the centroid
21 // to the suspected position of the source
22 Float_t fPsi; // [mm] Psi Disp parameter (has to fixed before Disp calculations,
23 // used for fPosDisp1, fPosDisp2, fDisp determination)
24
25 Float_t fPsiEvent; // [mm] Psi Disp parameter evaluated for every event (uses fSrcPos as Disp)
26
27
28public:
29
30 MDisp(const char *name=NULL, const char *title=NULL);
31
32 Float_t GetPosDisp(char *var);
33 Float_t GetDisp() { return fDisp; }
34 Float_t GetPsi() { return fPsi; }
35 Float_t GetPsiEvent() { return fPsiEvent; }
36
37 void SetPosDisp(char *var, Float_t value);
38 void SetDisp(Float_t disp) { fDisp=disp; }
39 void SetPsi(Float_t psi) { fPsi=psi; }
40 void SetPsiEvent(Float_t psievent) { fPsiEvent=psievent; }
41
42 void Print(Option_t *opt=NULL) const;
43
44 ClassDef(MDisp, 1) // Container to hold disp related parameters
45};
46
47#endif
Note: See TracBrowser for help on using the repository browser.