121 RandomObject (
const comovingCoordinates coord,
const cosmology::Cosmology &cosm,
const double z1_guess=0.,
const double z2_guess=10.,
const double weight=1.,
const long region=
par::defaultLong,
const int ID=
par::defaultInt,
const std::string
field=
par::defaultString,
const double x_displacement=
par::defaultDouble,
const double y_displacement=
par::defaultDouble,
const double z_displacement=
par::defaultDouble)
122 :
Object(coord, cosm, z1_guess, z2_guess,
weight,
region,
ID,
field,
x_displacement,
y_displacement,
z_displacement) {}
268 RandomObject (
const double xx,
const double yy,
const double zz,
const double ra,
const double dec,
const double redshift,
const double weight=1.,
const long region=
par::defaultLong,
const int ID=
par::defaultInt,
const std::string
field=
par::defaultString,
const double x_displacement=
par::defaultDouble,
const double y_displacement=
par::defaultDouble,
const double z_displacement=
par::defaultDouble)
269 :
Object(
xx,
yy,
zz,
ra,
dec,
redshift,
weight,
region,
ID,
field,
x_displacement,
y_displacement,
z_displacement) {}
double zz() const
get the member m_zz
long region() const
get the member m_region
double dec() const
get the member m_dec
double y_displacement() const
get the member m_y_displacement
double weight() const
get the member m_weight
double ra() const
get the member m_ra
std::string field() const
get the member m_field
double yy() const
get the member m_yy
double redshift() const
get the member m_redshift
double x_displacement() const
get the member m_x_displacement
int ID() const
get the member m_radius
double xx() const
get the member m_xx
double z_displacement() const
get the member m_z_displacement
RandomObject()
default constructor
RandomObject(const observedCoordinates coord, const double weight=1., const long region=par::defaultLong, const int ID=par::defaultInt, const std::string field=par::defaultString, const double x_displacement=par::defaultDouble, const double y_displacement=par::defaultDouble, const double z_displacement=par::defaultDouble)
constructor that uses observed coordinates in radians
RandomObject(const observedCoordinates coord, const cosmology::Cosmology &cosm, const double weight=1., const long region=par::defaultLong, const int ID=par::defaultInt, const std::string field=par::defaultString, const double x_displacement=par::defaultDouble, const double y_displacement=par::defaultDouble, const double z_displacement=par::defaultDouble)
constructor that uses observed coordinates in radians and a cosmological model to estimate the comovi...
RandomObject(const observedCoordinates coord, const CoordinateUnits inputUnits, const double weight=1., const long region=par::defaultLong, const int ID=par::defaultInt, const std::string field=par::defaultString, const double x_displacement=par::defaultDouble, const double y_displacement=par::defaultDouble, const double z_displacement=par::defaultDouble)
constructor that uses observed coordinates in any angular units
~RandomObject()=default
default destructor
RandomObject(const comovingCoordinates coord, const double weight=1., const long region=par::defaultLong, const int ID=par::defaultInt, const std::string field=par::defaultString, const double x_displacement=par::defaultDouble, const double y_displacement=par::defaultDouble, const double z_displacement=par::defaultDouble)
constructor that uses comoving coordinates
RandomObject(const double xx, const double yy, const double zz, const double ra, const double dec, const double redshift, const double weight=1., const long region=par::defaultLong, const int ID=par::defaultInt, const std::string field=par::defaultString, const double x_displacement=par::defaultDouble, const double y_displacement=par::defaultDouble, const double z_displacement=par::defaultDouble)
constructor that uses both comoving and observed coordinates
RandomObject(const observedCoordinates coord, const CoordinateUnits inputUnits, const cosmology::Cosmology &cosm, const double weight=1., const long region=par::defaultLong, const int ID=par::defaultInt, const std::string field=par::defaultString, const double x_displacement=par::defaultDouble, const double y_displacement=par::defaultDouble, const double z_displacement=par::defaultDouble)
constructor that uses observed coordinates and a cosmological model to estimate the comoving coordina...
RandomObject(const comovingCoordinates coord, const cosmology::Cosmology &cosm, const double z1_guess=0., const double z2_guess=10., const double weight=1., const long region=par::defaultLong, const int ID=par::defaultInt, const std::string field=par::defaultString, const double x_displacement=par::defaultDouble, const double y_displacement=par::defaultDouble, const double z_displacement=par::defaultDouble)
constructor that uses comoving coordinates and a cosmological model to estimate the redshift
static const std::string defaultString
default std::string value
static const long defaultLong
default long value
static const double defaultDouble
default double value
static const int defaultInt
default integer value
The global namespace of the CosmoBolognaLib
CoordinateUnits
the coordinate units