#include "dqm_algorithms/TripleGaussCollFit.h"
#include <dqm_core/AlgorithmManager.h>
#include <dqm_core/exceptions.h>
#include <dqm_algorithms/tools/AlgorithmHelper.h>
#include "ers/ers.h"
#include "TH2.h"
#include "TH1.h"
#include "TF1.h"
#include "TClass.h"
#include <iostream>
#include <cmath>
Go to the source code of this file.
|
#define | PARAM_IS_AREA |
|
#define | ADJUST_VAL startVal = startVal * hist1D->GetBinWidth(1) / m_gaus3_fn->GetParameter(2) / 2.5066 |
|
|
typedef std::map< std::string, double > | param_map |
|
typedef std::map< std::string, double > | err_map |
|
◆ ADJUST_VAL
#define ADJUST_VAL startVal = startVal * hist1D->GetBinWidth(1) / m_gaus3_fn->GetParameter(2) / 2.5066 |
◆ PARAM_IS_AREA
◆ err_map
typedef std::map<std::string, double> err_map |
◆ param_map
typedef std::map<std::string, double> param_map |
◆ getStartValue()
Double_t getStartValue |
( |
TH1 * |
thehist, |
|
|
Double_t |
minx, |
|
|
Double_t |
maxx |
|
) |
| |
◆ multLB_writeTags()
Definition at line 86 of file TripleGaussCollFit.cxx.
91 std::string lb_str =
"LB_";
92 int firstLB = (*goodLB)[0],
offset = 1;
93 unsigned int c = 1,
sz = goodLB->size(), psz =
static_cast<unsigned int>( std::log10(
sz))+1;
97 if ((*goodLB)[
c] == firstLB +
offset)
104 lo = thehist->GetXaxis()->GetBinLowEdge(firstLB);
106 if (lo == std::floor(lo))
107 sprintf(buf,
fmt, psz,
static_cast<Int_t
>(lo));
109 sprintf(buf,
fmt, psz,
static_cast<Int_t
>(std::floor(lo))+1);
114 hi = thehist->GetXaxis()->GetBinUpEdge(firstLB+
offset-1);
116 if (hi == std::floor(hi))
117 sprintf(buf,
fmt, psz,
static_cast<Int_t
>(std::floor(hi))-1);
119 sprintf(buf,
fmt, psz,
static_cast<Int_t
>(std::floor(hi)));
123 firstLB = (*goodLB)[
c];
130 lo = thehist->GetXaxis()->GetBinLowEdge(firstLB);
132 if (lo == std::floor(lo))
133 sprintf(buf,
fmt, psz,
static_cast<Int_t
>(lo));
135 sprintf(buf,
fmt, psz,
static_cast<Int_t
>(std::floor(lo))+1);
139 hi = thehist->GetXaxis()->GetBinUpEdge(firstLB+
offset-1);
140 if (hi == std::floor(hi))
141 sprintf(buf,
fmt, psz,
static_cast<Int_t
>(std::floor(hi))-1);
143 sprintf(buf,
fmt, psz,
static_cast<Int_t
>(std::floor(hi)));
145 result->tags_ [lb_str] = 1.0;
◆ fmt