Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

ClearSkyPropagator - source file

// ESAF : Euso Simulation and Analysis Framework
// $Id: ClearSkyPropagator.cc,v 1.5 2005/01/24 09:24:05 moreggia Exp $
// Sylvain Moreggia created Jun,  1 2004

#include "ClearSkyPropagator.hh"
#include "RadiativeProcessesCalculator.hh"
#include "RadiativeFactory.hh"

ClassImp(ClearSkyPropagator)

//_____________________________________________________________________________
ClearSkyPropagator::ClearSkyPropagator() : BunchPropagator() {
    //
    // ctor (should not be used)
    //
    fCalcul = RadiativeFactory::Get()->GetRadiativeProcessesCalculator();
    if(!fCalcul) Msg(EsafMsg::Panic) << "Memory allocation pb when building RadiativeProcessesCalculator" << MsgDispatch;
}

//_____________________________________________________________________________
ClearSkyPropagator::ClearSkyPropagator(const Ground* g) : BunchPropagator(g){
    //
    // ctor, copy RadiatvieTransfer ground description
    //
    fCalcul = RadiativeFactory::Get()->GetRadiativeProcessesCalculator();
    if(!fCalcul) Msg(EsafMsg::Panic) << "Memory allocation pb when building RadiativeProcessesCalculator" << MsgDispatch;
}

//_____________________________________________________________________________
 ClearSkyPropagator::~ClearSkyPropagator() {
    //
    // dtor
    //
    SafeDelete(fCalcul);
}
About Us | EUSO Official Website | Web pages created by Roberto Pesce and Alessandro Thea - Last Update Wed Nov 16 16:57:39 2005 Wed Nov 16 16:29:22 2005