source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/lightsources/src/MeteoriteLightSource.cc @ 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: 709 bytes
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: MeteoriteLightSource.cc 2104 2005-09-22 12:13:11Z naumov $
3// D. De Marco - M. Pallavicini created Jan, 20 2002
4
5#include "MeteoriteLightSource.hh"
6#include "MeteoriteTrack.hh"
7
8ClassImp(MeteoriteLightSource)
9
10// ctor
11MeteoriteLightSource::MeteoriteLightSource() {
12}
13
14// dtor
15MeteoriteLightSource::~MeteoriteLightSource() {
16}
17
18// generate photons
19PhotonsInAtmosphere* MeteoriteLightSource::Get( const PhysicsData* data){
20    if ( data->Type() != "meteorite" )
21        throw runtime_error("Wrong PhysicsData in MeteoriteLightSource. Must be meteorite");
22    MeteoriteTrack *track = (MeteoriteTrack*)data;
23    if (track)  {
24   
25    }
26    return NULL;
27}
Note: See TracBrowser for help on using the repository browser.