source: trunk/MagicSoft/Mars/mreflector/MRflSinglePhoton.h@ 3126

Last change on this file since 3126 was 2135, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1022 bytes
Line 
1#ifndef MARS_MRflSinglePhoton
2#define MARS_MRflSinglePhoton
3
4#ifndef MARS_MParContainer
5#include "MParContainer.h"
6#endif
7
8class MRflSinglePhoton : public MParContainer
9{
10private:
11 Float_t fX; // [mm] camera impact point
12 Float_t fY; // [mm] camera impact point
13 Float_t fCosU; // [1] camera direction cosine
14 Float_t fCosV; // [1] camera direction cosine
15 Float_t fTime; // [ns] arrival time
16 Float_t fHeight; // [cm] production height
17 Float_t fPhi; // [rad] camera inc. angle (rad)
18public:
19 void SetXY(Float_t x, Float_t y) { fX = x; fY=y; }
20 void SetCosUV(Float_t u, Float_t v) { fCosU = u; fCosV=v; }
21 void SetTime(Float_t t) { fTime = t; }
22 void SetHeight(Float_t h) { fHeight = h; }
23 void SetInclinationAngle(Float_t phi) { fPhi = phi; }
24
25 Float_t GetX() const { return fX; }
26 Float_t GetY() const { return fY; }
27
28 void Print(Option_t *o="") const;
29
30 ClassDef(MRflSinglePhoton, 0) // Single Photon of a event from the reflector program
31
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.