CosmoBolognaLib
Free Software C++/Python libraries for cosmological calculations
NumberCounts1D_Size.h
Go to the documentation of this file.
1 /********************************************************************
2  * Copyright (C) 2010 by Federico Marulli *
3  * federico.marulli3@unibo.it *
4  * *
5  * This program is free software; you can redistribute it and/or *
6  * modify it under the terms of the GNU General Public License as *
7  * published by the Free Software Foundation; either version 2 of *
8  * the License, or (at your option) any later version. *
9  * *
10  * This program is distributed in the hope that it will be useful, *
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
13  * GNU General Public License for more details. *
14  * *
15  * You should have received a copy of the GNU General Public *
16  * License along with this program; if not, write to the Free *
17  * Software Foundation, Inc., *
18  * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
19  ********************************************************************/
20 
34 #ifndef __NCOUNTS1DS__
35 #define __NCOUNTS1DS__
36 
37 
38 #include "NumberCounts1D.h"
39 
40 
41 // ===================================================================================================
42 
43 
44 namespace cbl {
45 
46  namespace measure {
47 
55  namespace numbercounts {
56 
68 
69  public:
70 
75 
82 
87  virtual ~NumberCounts1D_Size () = default;
88 
89 
109  NumberCounts1D_Size (const catalogue::Catalogue data, const size_t nbins, const double minVar=par::defaultDouble, const double maxVar=par::defaultDouble, const double shift = 0.5, const glob::HistogramType hist_type=glob::HistogramType::_dn_dlnV_, const double fact = 1.) : NumberCounts1D(catalogue::Var::_Radius_, BinType::_logarithmic_, data, nbins, minVar, maxVar, shift, hist_type, fact) {}
110 
112 
113  };
114  }
115  }
116 }
117 
118 #endif
The class NumberCounts1D.
The class Catalogue.
Definition: Catalogue.h:654
NumberCounts1D_Size(const catalogue::Catalogue data, const size_t nbins, const double minVar=par::defaultDouble, const double maxVar=par::defaultDouble, const double shift=0.5, const glob::HistogramType hist_type=glob::HistogramType::_dn_dlnV_, const double fact=1.)
constructor
virtual ~NumberCounts1D_Size()=default
default destructor
std::shared_ptr< catalogue::Catalogue > catalogue()
function to get the protected member m_data
Definition: NumberCounts.h:193
double fact()
return the normalization factor
Definition: NumberCounts.h:301
static const double defaultDouble
default double value
Definition: Constants.h:348
Var
the catalogue variables
Definition: Catalogue.h:70
HistogramType
the histogram type
Definition: Histogram.h:49
@ _dn_dlnV_
, where are the bin limits
The global namespace of the CosmoBolognaLib
Definition: CAMB.h:38
BinType
the binning type
Definition: Kernel.h:505
@ _logarithmic_
logarithmic binning