38 #ifndef __THREEPOINTCOMRED__
39 #define __THREEPOINTCOMRED__
157 std::vector<double>
QQ ()
const override {
return m_QQ; }
212 void measure (
const std::string dir_output_triplets,
const std::string dir_output_2pt,
const std::vector<std::string> dir_input_triplets={},
const bool count_ddd=
true,
const bool count_rrr=
true,
const bool count_ddr=
true,
const bool count_drr=
true,
const bool tcount=
false,
const double fact=0.1,
const int seed=3213)
override;
257 void measure (
const std::vector<std::vector<double>> weight,
const bool doJK,
const std::string dir_output_triplets,
const std::string dir_output_2pt,
const std::vector<std::string> dir_input_triplets={},
const bool count_ddd=
true,
const bool count_rrr=
true,
const bool count_ddr=
true,
const bool count_drr=
true,
const bool tcount=
false,
const double fact=0.1,
const int seed=3213)
override;
301 void measure (
const ErrorType errorType,
const std::string dir_output_triplets,
const std::string dir_output_2pt,
const std::vector<std::string> dir_input_triplets={},
const int nResamplings = 100,
const bool count_ddd=
true,
const bool count_rrr=
true,
const bool count_ddr=
true,
const bool count_drr=
true,
const bool tcount=
false,
const double fact=0.1,
const int seed=3213)
override;
320 void write (
const std::string dir,
const std::string file,
const bool connected)
const override;
327 void write_covariance (
const std::string dir,
const std::string file)
const override;
The class ThreePointCorrelation_comoving_connected.
The class ThreePointCorrelation_comoving_connected.
The class ThreePointCorrelation_comoving_reduced.
std::vector< double > QQ() const override
get the protected member ThreePointCorrelation_comoving_reduced::m_QQ
std::vector< double > scale() const override
get the protected member ThreePointCorrelation_comoving_reduced::m_scale
void measure(const std::string dir_output_triplets, const std::string dir_output_2pt, const std::vector< std::string > dir_input_triplets={}, const bool count_ddd=true, const bool count_rrr=true, const bool count_ddr=true, const bool count_drr=true, const bool tcount=false, const double fact=0.1, const int seed=3213) override
method to measure the three-point correlation function
ThreePointCorrelation_comoving_reduced(const catalogue::Catalogue data, const catalogue::Catalogue random, const triplets::TripletType tripletType, const double r12, const double r12_binSize, const double r13, const double r13_binSize, const int nbins)
constructor
std::vector< double > m_QQ
binned reduced three-point correlation function
ThreePointCorrelation_comoving_reduced(const catalogue::Catalogue data, const catalogue::Catalogue random, const triplets::TripletType tripletType, const double side_s, const double side_u, const double perc_increase, const int nbins)
constructor
std::vector< double > m_error
error on the binned reduced three-point correlation function
void write_covariance(const std::string dir, const std::string file) const override
write the measured three-point correlation covariance
ThreePointCorrelation_comoving_reduced()=default
default constructor
~ThreePointCorrelation_comoving_reduced()=default
default destructor
std::vector< double > m_scale
scale bins
void write(const std::string dir, const std::string file, const bool connected) const override
write the monopole of the two-point correlation function
std::vector< double > error() const override
get the protected member ThreePointCorrelation_comoving_reduced::m_error
std::shared_ptr< catalogue::Catalogue > random() const
get the protected member m_random
std::shared_ptr< catalogue::Catalogue > data() const
get the protected member m_data
ErrorType
the two-point correlation function error type
TripletType
the triplet type
The global namespace of the CosmoBolognaLib