20 extern "C" bool bantesti_(
const int &,
const int &,
const int &);
22 extern "C" void count1cc_(
const int &,
const int &,
const int &);
24 extern "C" void set2cc_(
const int &,
const int &,
const int &,
const int &);
33 Plots (
int offset,
int range, std::string name);
48 bool Exists (
int id)
const;
52 bool Exists (
const std::string &mne)
const;
66 int halfWordsPerChan,
int xHistLength,
int xLow,
int xHigh,
67 const std::string &mne =
"");
77 int halfWordsPerChan = 2,
const std::string &mne =
"");
88 int halfWordsPerChan,
int contraction,
89 const std::string &mne =
"");
106 int halfWordsPerChan,
int xHistLength,
int xLow,
107 int xHigh,
int yHistLength,
int yLow,
int yHigh,
108 const std::string &mne =
"");
119 int halfWordPerChan = 1,
120 const std::string &mne =
"");
133 int halfWordsPerChan,
int xContraction,
134 int yContraction,
const std::string &mne =
"");
143 bool Plot(
int dammId,
double val1,
double val2 = -1,
double val3 = -1,
144 const char* name=
"h");
153 bool Plot(
const std::string &mne,
double val1,
double val2 = -1,
154 double val3 = -1,
const char* name=
"h");
163 bool BananaTest(
const int &
id,
const double &x,
const double &y);
182 int Round(
double val)
const;
184 #endif // __PLOTS_HPP_
int offset_
Definition: Plots.hpp:168
bool DeclareHistogram2D(int dammId, int xSize, int ySize, const char *title, int halfWordsPerChan, int xHistLength, int xLow, int xHigh, int yHistLength, int yLow, int yHigh, const std::string &mne="")
Declares a 2D histogram calls the C++ wrapper for DAMM.
static PlotsRegister * plots_register_
Instance of the plots register.
Definition: Plots.hpp:166
std::string name_
Definition: Plots.hpp:172
int range_
Definition: Plots.hpp:170
Holds ranges and offsets of all plots. Singleton class.
Definition: PlotsRegister.hpp:14
std::set< int > idList
Definition: Plots.hpp:174
int Round(double val) const
bool Plot(int dammId, double val1, double val2=-1, double val3=-1, const char *name="h")
Plots into histogram defined by dammId.
bool Exists(int id) const
Plots(int offset, int range, std::string name)
constant parameters used in pixie16 analysis
int GetOffset()
Definition: Plots.hpp:36
void set2cc_(const int &, const int &, const int &, const int &)
std::map< int, std::string > titleList
Definition: Plots.hpp:178
std::map< std::string, int > mneList
Definition: Plots.hpp:176
bool BananaTest(const int &id, const double &x, const double &y)
void PrintNonEmpty(std::ofstream &hislog)
bool CheckRange(int id) const
void count1cc_(const int &, const int &, const int &)
bool bantesti_(const int &, const int &, const int &)
bool DeclareHistogram1D(int dammId, int xSize, const char *title, int halfWordsPerChan, int xHistLength, int xLow, int xHigh, const std::string &mne="")
Declares a 1D histogram calls the C++ wrapper for DAMM.
Holds pointers to all Histograms.
Definition: Plots.hpp:27