source: JEM-EUSO/esaf_cc_at_lal/packages/simulation/radiativetransfer/src/ClearSkyPropagator.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: 1.3 KB
Line 
1// ESAF : Euso Simulation and Analysis Framework
2// $Id: ClearSkyPropagator.cc 1435 2005-01-24 09:24:06Z moreggia $
3// Sylvain Moreggia created Jun,  1 2004
4
5#include "ClearSkyPropagator.hh"
6#include "RadiativeProcessesCalculator.hh"
7#include "RadiativeFactory.hh"
8
9ClassImp(ClearSkyPropagator)
10
11//_____________________________________________________________________________
12ClearSkyPropagator::ClearSkyPropagator() : BunchPropagator() {
13    //
14    // ctor (should not be used)
15    //
16    fCalcul = RadiativeFactory::Get()->GetRadiativeProcessesCalculator();
17    if(!fCalcul) Msg(EsafMsg::Panic) << "Memory allocation pb when building RadiativeProcessesCalculator" << MsgDispatch;
18}
19
20//_____________________________________________________________________________
21ClearSkyPropagator::ClearSkyPropagator(const Ground* g) : BunchPropagator(g){
22    //
23    // ctor, copy RadiatvieTransfer ground description
24    //
25    fCalcul = RadiativeFactory::Get()->GetRadiativeProcessesCalculator();
26    if(!fCalcul) Msg(EsafMsg::Panic) << "Memory allocation pb when building RadiativeProcessesCalculator" << MsgDispatch;
27}
28
29//_____________________________________________________________________________
30ClearSkyPropagator::~ClearSkyPropagator() {
31    //
32    // dtor
33    //
34    SafeDelete(fCalcul);
35}
Note: See TracBrowser for help on using the repository browser.