SourceXtractorPlusPlus  0.11
Please provide a description of the project.
BackgroundHistogram.h
Go to the documentation of this file.
1 
17 /*
18  * Created on Jan 05, 2015
19  * @author: mkuemmel@usm.lmu.de
20  *
21  * Date: $Date$
22  * Revision: $Revision$
23  * Author: $Author$
24  */
25 #ifndef BACKGROUNDHISTOGRAM_H
26 #define BACKGROUNDHISTOGRAM_H
27 
28 #include <cstddef>
29 #include <vector>
31 
32 namespace SourceXtractor {
33 
35 
36 public:
37  BackgroundHistogram(const double& mean, const double& sigm, const size_t& ndata);
38  virtual ~BackgroundHistogram();
39 
40  //void fillInData(const PIXTYPE* cellData, const size_t ndata);
41  void addDatum(const PIXTYPE& pixVal);
42 
43  void getBackGuessMod(PIXTYPE& bckVal, PIXTYPE& sigmaVal);
44  void getBackGuess(PIXTYPE& bckVal, PIXTYPE& sigmaVal);
45 
46  double itsMean=0.0;
47  double itsSigma=0.0;
48 
49 private:
50  size_t itsStatNData=0;
51 
52  float itsQzero = 0.0;
53  float itsQscale = 0.0;
54  float itsCste = 0.0;
55 
56  int* itsHisto=NULL;
57  size_t itsNLevels=0;
58 };
59 
60 } // end of namespace SourceXtractor
61 
62 
63 #endif /* BACKGROUNDHISTOGRAM_H */
64 
SourceXtractor::BackgroundHistogram::getBackGuessMod
void getBackGuessMod(PIXTYPE &bckVal, PIXTYPE &sigmaVal)
Definition: BackgroundHistogram.cpp:108
SourceXtractor::PIXTYPE
float PIXTYPE
Definition: BackgroundDefine.h:30
SourceXtractor::BackgroundHistogram::addDatum
void addDatum(const PIXTYPE &pixVal)
Definition: BackgroundHistogram.cpp:95
SourceXtractor::BackgroundHistogram::itsQzero
float itsQzero
Definition: BackgroundHistogram.h:52
BackgroundDefine.h
SourceXtractor::BackgroundHistogram::itsQscale
float itsQscale
Definition: BackgroundHistogram.h:53
SourceXtractor::BackgroundHistogram::getBackGuess
void getBackGuess(PIXTYPE &bckVal, PIXTYPE &sigmaVal)
Definition: BackgroundHistogram.cpp:223
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::BackgroundHistogram::itsHisto
int * itsHisto
Definition: BackgroundHistogram.h:56
SourceXtractor::BackgroundHistogram::itsNLevels
size_t itsNLevels
Definition: BackgroundHistogram.h:57
SourceXtractor::BackgroundHistogram::BackgroundHistogram
BackgroundHistogram(const double &mean, const double &sigm, const size_t &ndata)
Definition: BackgroundHistogram.cpp:32
SourceXtractor::BackgroundHistogram::itsSigma
double itsSigma
Definition: BackgroundHistogram.h:47
SourceXtractor::BackgroundHistogram::itsCste
float itsCste
Definition: BackgroundHistogram.h:54
SourceXtractor::BackgroundHistogram::~BackgroundHistogram
virtual ~BackgroundHistogram()
Definition: BackgroundHistogram.cpp:67
SourceXtractor::BackgroundHistogram::itsMean
double itsMean
Definition: BackgroundHistogram.h:46
SourceXtractor::BackgroundHistogram::itsStatNData
size_t itsStatNData
Definition: BackgroundHistogram.h:50
SourceXtractor::BackgroundHistogram
Definition: BackgroundHistogram.h:34