source: JEM-EUSO/esaf_cc_at_lal/packages/common/eventviewer/include/ESinglePhotonsPainter.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.6 KB
Line 
1// ESAF : Euso Simulation and Analysis Framework
2
3// Author: Alba Cappa   Jan 30, 2005
4
5#ifndef __ESINGLEPHOTONSPAINTER_HH__
6#define __ESINGLEPHOTONSPAINTER_HH__
7
8#include "EAtmosphere.hh"
9#include "TPolyMarker3D.h"
10#include <TArrayI.h>
11
12#include <map>
13
14/*******************************************************************************
15 *
16 * ESinglePhotonsPainter: this class plots the last position of the
17 * photons in atmosphere
18 *
19 ******************************************************************************/
20
21class ESinglePhotonsPainter : public TObject{
22public:
23    ESinglePhotonsPainter();
24
25    ESinglePhotonsPainter( EAtmosphere* );
26
27    virtual ~ESinglePhotonsPainter();
28
29    virtual void Draw( Option_t* ="" );
30    virtual void Paint( Option_t* ="" );
31    void DefineMScattCut(const TArrayI& array);
32
33    void BuildPoints();
34private:
35
36    void Reset();
37
38    EAtmosphere *fAtmosphere;
39
40    // for each kind of photon history BEFORE transmission to detector (5)
41    // + 1 for all the photons AFTER transmission to detector
42    Double_t fXmin[6], fXmax[6], fYmin[6], fYmax[6], fZmin[6], fZmax[6];
43
44    Int_t fMarkerStyle;
45    Int_t fMarkerSize;
46
47    std::map< Int_t, TPolyMarker3D* > fPoints_fluo;   // fluo photons BEFORE transmission to detector
48    std::map< Int_t, TPolyMarker3D* > fPoints_ckov;   // ckov photons BEFORE transmission to detector
49    std::map< Int_t, TPolyMarker3D* > fPoints_trans;  // all photons AFTER transmission to detector
50
51    TArrayI fIndex_list;             // if MScatt cut : list of indices of selected photons -- ALL photons otherwise
52
53    ClassDef(ESinglePhotonsPainter,1)
54
55};
56
57#endif  /* __EDETECTORPHOTONPLAYER_HH_ */
58
59
Note: See TracBrowser for help on using the repository browser.