source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/detector/optics/include/Photon.hh @ 114

Last change on this file since 114 was 114, checked in by moretto, 11 years ago

actual version of ESAF at CCin2p3

File size: 1.9 KB
Line 
1// $Id: Photon.hh 2855 2010-11-25 15:47:14Z biktem $
2// Author: D.DeMarco
3
4/*****************************************************************************
5 * ESAF: Euso Simulation and Analysis Framework                              *
6 *                                                                           *
7 *  Id: Photon                                                               *
8 *  Package: Optics                                                          *
9 *  Coordinator: Alessandro.Thea                                             *
10 *                                                                           *
11 *****************************************************************************/
12
13#ifndef __PHOTON_HH__
14#define __PHOTON_HH__
15
16#include "EVector.hh"
17
18class ParentPhoton;
19
20enum {
21    X = 0,
22    Y = 1,
23    Z = 2
24};
25
26////////////////////////////////////////////////////////////////////////////////
27//                                                                            //
28// Photon                                                                     //
29//                                                                            //
30// The photon class is the basic element of the optics simulation and holds   //
31// the parameters of the photon being tracked.                                //
32//                                                                            //
33////////////////////////////////////////////////////////////////////////////////
34
35class Photon {
36public:
37    Double_t time;
38    Double_t wl;  //mm
39    EVector pos, dir;
40    EVector posOnIfs;
41    Int_t pixelUid;
42    Int_t iterations;
43    Int_t history;
44    Int_t fate;
45    Bool_t hit;
46    Bool_t hitIfs;
47    Bool_t MChit;
48    Bool_t madeSignal;
49    ParentPhoton *parent;
50    Int_t id;
51    Photon();
52    virtual ~Photon();
53
54    void Dump() const;
55
56    ClassDef(Photon,0)
57};
58
59#endif /* __PHOTON_HH__ */
Note: See TracBrowser for help on using the repository browser.