91 std::vector<std::vector<double> >
m_TT2D;
149 :
m_r12_D1(-1),
m_r12_binSize_D1(-1),
m_r13_D1(-1),
m_r13_binSize_D1(-1),
m_nbins_D1(-1),
m_binSize_D1(-1),
m_r12_D2(-1),
m_r12_binSize_D2(-1),
m_r13_D2(-1),
m_r13_binSize_D2(-1),
m_nbins_D2(-1),
m_binSize_D2(-1)
223 double TT2D (
const int i,
const int j)
const override { (void)i; (void)j;
return m_TT2D[i][j]; }
229 std::vector<std::vector<double> >
TT2D ()
const override {
return m_TT2D; }
307 void Sum (
const std::shared_ptr<Triplet> tt,
const double ww=1)
override
318 virtual void get_triplet (
const double r12,
const double r13,
const double r23,
int &klin)
override
326 virtual void set_triplet (
const int klin,
const double ww=1.)
override
339 void put (
const double r12,
const double r13,
const double r23,
const double ww=1.)
override
351 void put (
const std::shared_ptr<catalogue::Object> obj1,
const std::shared_ptr<catalogue::Object> obj2,
const std::shared_ptr<catalogue::Object> obj3)
override
virtual void set_parameters()=0
set the binning parameters
std::vector< double > m_scale_D2
the binned scales in the second dimension
void put(const std::shared_ptr< catalogue::Object > obj1, const std::shared_ptr< catalogue::Object > obj2, const std::shared_ptr< catalogue::Object > obj3) override
estimate the distance between three objects and update the triplet vectors accordingly
virtual void set_triplet(const int klin, const double ww=1.) override
update the triplet
std::vector< double > scale_D1() const override
get the protected member m_scale_D1
double TT2D(const int i, const int j) const override
get the protected member m_PP2D[i]
int m_nbins_D2
the number of bins in the second dimension
Triplet2D()
default constructor
std::vector< std::vector< double > > TT2D() const override
get the protected member m_PP2D
double r12_D1() const override
get the protected member Triplet1D::m_r12_D1
int m_nbins_D1
the number of bins in the first dimension
void Sum(const std::shared_ptr< Triplet > tt, const double ww=1) override
sum the number of triplets
double scale_D1(const int i) const override
get the protected member m_scale_D1[i]
double r13_D1() const override
get the protected member Triplet1D::m_r13_D1
std::vector< double > scale_D2() const override
get the protected member m_scale_D2
std::vector< std::vector< double > > m_TT2D
the number of binned triplets
double binSize_D2() const override
get the protected member m_binSize_D2
double m_r12_binSize_D2
the size of r12 bin in the second dimension
double m_binSize_D2
the bin size in the second dimension
double r13_binSize_D1() const override
get the protected member Triplet1D::m_r13_binSize_D1
double m_r13_D2
the size of r13 in the second dimension
~Triplet2D()=default
default destructor
std::vector< double > m_scale_D1
the binned scales in the first dimension
double m_binSize_D1
the bin size in the first dimension
double r12_D2() const override
get the protected member Triplet1D::m_r12_D2
double r12_binSize_D1() const override
get the protected member Triplet1D::m_r12_binSize_D1
double m_r12_D1
the size of r12 in the first dimension
double m_r12_binSize_D1
the size of r12 bin in the first dimension
void put(const double r12, const double r13, const double r23, const double ww=1.) override
estimate the distance between three objects and update the triplet vectors accordingly
double r12_binSize_D2() const override
get the protected member Triplet1D::m_r12_binSize_D2
virtual void get_triplet(const double r12, const double r13, const double r23, int &klin) override
estimate the distance between two objects and update the triplet vectors accordingly
Triplet2D(const double r12_D1, const double r12_binSize_D1, const double r13_D1, const double r13_binSize_D1, const int nbins_D1, const double r12_D2, const double r12_binSize_D2, const double r13_D2, const double r13_binSize_D2, const int nbins_D2)
constructor
double m_r13_D1
the size of r13 in the first dimension
double binSize_D1() const override
get the protected member m_binSize_D1
double r13_D2() const override
get the protected member Triplet1D::m_r13_D2
double m_r13_binSize_D1
the size of r13 bin in the first dimension
double scale_D2(const int i) const override
get the protected member m_scale_D2[i]
double r13_binSize_D2() const override
get the protected member Triplet1D::m_r13_binSize_D2
double m_r13_binSize_D2
the size of r13 bin in the second dimension
double m_r12_D2
the size of r12 in the second dimension
Dim m_tripletDim
the dimension of the triplet vectors
virtual double r12() const
get the private member m_r12
virtual int nbins_D2() const
get the protected member Triplet1D::m_nbins_D2
virtual int nbins_D1() const
get the protected member Triplet1D::m_nbins_D1
virtual double r13() const
get the private member m_side_u
@ _workInProgress_
error due to work in progress
The global namespace of the CosmoBolognaLib
int ErrorCBL(const std::string msg, const std::string functionCBL, const std::string fileCBL, const cbl::glob::ExitCode exitCode=cbl::glob::ExitCode::_error_)
throw an exception: it is used for handling exceptions inside the CosmoBolognaLib
@ _2D_
2D pair, used e.g. for 2D pairs, in Cartesian or polar coordinates