Universita' di GenovaINFN Sezione di Genova  
AIRWATCH / EUSO Genova

Meteoroid - source file

// ESAF : Euso Simulation and Analysis Framework
// $Id: Meteoroid.cc,v 1.2 2004/06/15 18:01:25 thea Exp $
//  created Dec,  4 2003

#include "Meteoroid.hh"

ClassImp(Meteoroid)

// ctor
// description of a meteoroid with mass, density, initial velocity and 
// position, heat of ablation and heat transfer coefficiencts
 Meteoroid::Meteoroid( double mass, double density, const EVector& v, 
                      const EVector& x,double heat_abla, double heat_transf) {
    fMass = mass;
    fDensity = density;
    fVelocity = v;
    fPosition = x;
    fHeatAbla = heat_abla;
    fHeatTransf = heat_transf;
}

// dtor
 Meteoroid::~Meteoroid() {
}

// get meteoroid radius
 double Meteoroid::GetRadius() const {
    return TMath::Power((3.*GetMass())/(4.*GetDensity() * TMath::Pi() ),(1./3.));
}
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