source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/lighttoeuso/include/FileUnisimLightToEuso.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.3 KB
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: FileUnisimLightToEuso.hh 2604 2006-03-20 21:51:35Z thea $
3// M. Pallavicini created Jul,  2 2002
4
5#ifndef __FILEUNISIMLIGHTTOEUSO_HH_
6#define __FILEUNISIMLIGHTTOEUSO_HH_
7
8#include "euso.hh"
9#include "LightToEuso.hh"
10#include "UnisimPhotonsOnPupil.hh"
11#include "Config.hh"
12#include "EEvent.hh"
13#include "MCTruth.hh"
14
15class PhysicsData;
16
17class FileUnisimLightToEuso : public LightToEuso {
18public:
19    // ctor
20    FileUnisimLightToEuso();
21
22    // dtor
23    virtual ~FileUnisimLightToEuso();
24
25    // returns the list of photons for the pupil
26    virtual PhotonsOnPupil *Get(const DetectorGeometry*);
27
28    // next functions not meaningful in this case
29    virtual void Configure() { return; }
30    virtual MCTruth* GetTruth();
31    virtual PhysicsData* GetPhysics() { return NULL; }
32
33    virtual void ReplaceInputFile( const char* );
34
35    virtual Bool_t ClearMemory();
36
37    EsafConfigClass(LightToEuso,FileUnisimLightToEuso)
38
39private:
40    UnisimPhotonsOnPupil fPhotons;
41    string fName;
42    FILE* fP;
43    MCTruth* fTruth;
44    int fFirstEvent;              // this is the first event to read. All previous will be skipped
45    int fCurrentEvent;            // this is the current event to read.
46    void Open();
47 
48    ClassDef(FileUnisimLightToEuso,0)
49};
50
51#endif  /* __FILEUNISIMLIGHTTOEUSO_HH_ */
52
Note: See TracBrowser for help on using the repository browser.