92 return std::make_shared<Cluster>(*
this);
148 Cluster (
const comovingCoordinates coord,
const cosmology::Cosmology &cosm,
const double z1_guess,
const double z2_guess,
const double weight,
const long region,
const int ID,
const std::string
field,
const double x_displacement,
const double y_displacement,
const double z_displacement)
149 :
Object(coord, cosm, z1_guess, z2_guess,
weight,
region,
ID,
field,
x_displacement,
y_displacement,
z_displacement) {}
293 Cluster (
const double xx,
const double yy,
const double zz,
const double ra,
const double dec,
const double redshift,
const double weight,
const long region,
const int ID,
const std::string
field,
const double x_displacement,
const double y_displacement,
const double z_displacement)
294 :
Object(
xx,
yy,
zz,
ra,
dec,
redshift,
weight,
region,
ID,
field,
x_displacement,
y_displacement,
z_displacement) {}
Cluster(const comovingCoordinates coord, const double weight, const long region, const int ID, const std::string field, const double x_displacement, const double y_displacement, const double z_displacement)
constructor that uses comoving coordinates
Cluster(const observedCoordinates coord, const cosmology::Cosmology &cosm, const double weight, const long region, const int ID, const std::string field, const double x_displacement, const double y_displacement, const double z_displacement)
constructor that uses observed coordinates in radians and a cosmological model to estimate the comovi...
Cluster(const observedCoordinates coord, const CoordinateUnits inputUnits, const double weight, const long region, const int ID, const std::string field, const double x_displacement, const double y_displacement, const double z_displacement)
constructor that uses observed coordinates in any angular units
Cluster(const observedCoordinates coord, const double weight, const long region, const int ID, const std::string field, const double x_displacement, const double y_displacement, const double z_displacement)
constructor that uses observed coordinates in radians
bool isSet_mass_proxy() override
check if the private member m_mass_proxy is set
double mass_proxy_error() const override
get the private member m_mass_proxy_error
~Cluster()=default
default destructor
Cluster()
default constructor
Cluster(const comovingCoordinates coord, const cosmology::Cosmology &cosm, const double z1_guess, const double z2_guess, const double weight, const long region, const int ID, const std::string field, const double x_displacement, const double y_displacement, const double z_displacement)
constructor that uses comoving coordinates and a cosmological model to estimate the redshift
Cluster(const observedCoordinates coord, const CoordinateUnits inputUnits, const cosmology::Cosmology &cosm, const double weight, const long region, const int ID, const std::string field, const double x_displacement, const double y_displacement, const double z_displacement)
constructor that uses observed coordinates and a cosmological model to estimate the comoving coordina...
void set_mass_proxy(const double mass_proxy=par::defaultDouble) override
set the private member m_mass_proxy
double m_mass
cluster mass
bool isSet_mass() override
check if the private member m_mass is set
void set_mass_proxy_error(const double mass_proxy_error=par::defaultDouble) override
set the private member m_mass_proxy_error
std::shared_ptr< Object > getShared()
function that allows copying private variables of the class when an object of class Catalogue is copi...
Cluster(const double xx, const double yy, const double zz, const double ra, const double dec, const double redshift, const double weight, const long region, const int ID, const std::string field, const double x_displacement, const double y_displacement, const double z_displacement)
constructor that uses both comoving and observed coordinates
double m_mass_proxy_error
cluster proxy error
void set_mass(const double mass=par::defaultDouble) override
set the private member m_mass
bool isSet_mass_proxy_error() override
check if the private member m_mass_proxy_error is set
double mass() const override
get the private member m_mass
double m_mass_proxy
cluster mass proxy
double mass_proxy() const override
get the private member m_mass_proxy
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
static const double defaultDouble
default double value
The global namespace of the CosmoBolognaLib
bool isSet(const std::string var)
check if the value of a [string] variable has already been set
CoordinateUnits
the coordinate units