#include <Hist1D.hpp>
Inheritance diagram for cafe::Hist1D:

Public Member Functions | |
| Hist1D (const char *name) | |
| ~Hist1D () | |
| void | begin () |
| Called at beginning of processing. | |
| void | inputFileOpened (TFile *file) |
| Called for every new input file that was opened. | |
| bool | processEvent (Event &event) |
| Called for every event. | |
| ClassDef (Hist1D, 0) | |
Private Attributes | |
| std::string | _title |
| int | _num_bins |
| double | _bin_min |
| double | _bin_max |
| TH1F * | _hist |
| Formula * | _select |
| Formula * | _draw |
| TTreeFormulaManager * | _mgr |
| std::string | _weight |
| HistoGetter * | _getter |
| std::string | _branch |
| std::string | _method |
The histogram is stored in the current directory. You can set the current file and directory in any of the parents of this Processor or the top-level 'Cafe' controller via the .Output: or .Directory: parameters.
Configuration options:
Definition at line 35 of file Hist1D.hpp.
|
|
Definition at line 17 of file Hist1D.cpp. References _bin_max, _bin_min, _num_bins, _title, _weight, cafe::Processor::err(), cafe::Config::get(), cafe::Config::getVString(), and cafe::Processor::name(). |
|
|
Definition at line 51 of file Hist1D.cpp. |
|
|
Called at beginning of processing.
Reimplemented from cafe::Processor. Definition at line 57 of file Hist1D.cpp. References _bin_max, _bin_min, _branch, _draw, _hist, _method, _num_bins, _select, _title, cafe::Processor::err(), cafe::Processor::fullName(), cafe::Config::get(), cafe::Processor::getDirectory(), cafe::Processor::name(), cafe::Processor::out(), cafe::Processor::replace(), and cafe::Formula::setFormula(). |
|
||||||||||||
|
|
|
|
Called for every new input file that was opened.
Reimplemented from cafe::Processor. Definition at line 107 of file Hist1D.cpp. References _branch, _draw, _getter, _method, _mgr, _select, cafe::Formula::getFormula(), and cafe::Formula::inputFileOpened(). |
|
|
Called for every event.
Reimplemented from cafe::Processor. Definition at line 129 of file Hist1D.cpp. References _branch, _draw, _getter, _hist, _mgr, _select, _weight, cafe::HistoGetter::get(), cafe::EventBase::get(), cafe::EventBase::getClonesArray(), cafe::Formula::getFormula(), and cafe::HistoGetter::vars(). |
|
|
Definition at line 45 of file Hist1D.hpp. |
|
|
Definition at line 45 of file Hist1D.hpp. |
|
|
Definition at line 52 of file Hist1D.hpp. Referenced by begin(), inputFileOpened(), and processEvent(). |
|
|
Definition at line 48 of file Hist1D.hpp. Referenced by begin(), inputFileOpened(), processEvent(), and ~Hist1D(). |
|
|
Definition at line 51 of file Hist1D.hpp. Referenced by inputFileOpened(), and processEvent(). |
|
|
Definition at line 46 of file Hist1D.hpp. Referenced by begin(), and processEvent(). |
|
|
Definition at line 53 of file Hist1D.hpp. Referenced by begin(), and inputFileOpened(). |
|
|
Definition at line 49 of file Hist1D.hpp. Referenced by inputFileOpened(), and processEvent(). |
|
|
Definition at line 44 of file Hist1D.hpp. |
|
|
Definition at line 47 of file Hist1D.hpp. Referenced by begin(), inputFileOpened(), processEvent(), and ~Hist1D(). |
|
|
Definition at line 43 of file Hist1D.hpp. |
|
|
Definition at line 50 of file Hist1D.hpp. Referenced by Hist1D(), and processEvent(). |
1.3.4