Definition at line 222 of file comparitor.cxx.
◆ bands() [1/3]
◆ bands() [2/3]
◆ bands() [3/3]
bands::bands |
( |
const std::vector< double > & |
limits, |
|
|
const std::vector< std::string > & |
labels |
|
) |
| |
|
inline |
◆ operator=()
◆ range() [1/2]
void bands::range |
( |
const std::string & |
chain, |
|
|
TH1F * |
h |
|
) |
| |
|
inline |
◆ range() [2/2]
void bands::range |
( |
size_t |
i, |
|
|
TH1F * |
h |
|
) |
| |
|
inline |
Definition at line 243 of file comparitor.cxx.
245 double minx =
h->GetBinLowEdge(1);
246 double maxx =
h->GetBinLowEdge(
h->GetNbinsX()+1);
248 if (
i>=
m_limits.size() ) { maxx+=1; minx=maxx; }
256 for (
int j=1 ; j<=
h->GetNbinsX() ; j++ ) {
258 std::cout <<
"range: " << j <<
"\tminx: " << minx <<
"\t" << maxx << std::endl;
259 if ( ! (
h->GetBinCenter(j)>=minx &&
h->GetBinCenter(j)<maxx ) ) {
260 h->SetBinContent(j,0);
◆ m_labels
std::vector<std::string> bands::m_labels |
|
private |
◆ m_limits
std::vector<double> bands::m_limits |
|
private |
The documentation for this class was generated from the following file: