Definition at line 220 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 241 of file comparitor.cxx.
243 double minx =
h->GetBinLowEdge(1);
244 double maxx =
h->GetBinLowEdge(
h->GetNbinsX()+1);
246 if (
i>=
m_limits.size() ) { maxx+=1; minx=maxx; }
254 for (
int j=1 ; j<=
h->GetNbinsX() ; j++ ) {
256 std::cout <<
"range: " << j <<
"\tminx: " << minx <<
"\t" << maxx << std::endl;
257 if ( ! (
h->GetBinCenter(j)>=minx &&
h->GetBinCenter(j)<maxx ) ) {
258 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: