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

The cut follows the usual TTree::Draw() rules, e.g. "Muon.pT() > 10.0 && Muon.eta() < 2.0"
The selection is applied to all objects.
Configuration options:
Definition at line 34 of file SelectObjects.hpp.
Public Member Functions | |
| SelectObjects (const char *name) | |
| void | inputFileOpened (TFile *file) |
| void | inputFileClosing (TFile *file) |
| Called for every input file that is about to be closed. | |
| bool | processEvent (cafe::Event &event) |
| Called for every event. | |
| ClassDef (SelectObjects, 0) | |
Private Attributes | |
| std::string | _fromBranch |
| std::string | _toBranch |
| std::string | _treeName |
| TTree * | _tree |
| TClonesArray * | _result |
| TBranch * | _branch |
|
|
Definition at line 16 of file SelectObjects.cpp. References _fromBranch, _toBranch, _treeName, cafe::Config::get(), cafe::Processor::name(), cafe::Processor::out(), and cafe::Formula::setFormula(). |
|
||||||||||||
|
|
|
|
Called for every input file that is about to be closed.
Reimplemented from cafe::Processor. Definition at line 65 of file SelectObjects.cpp. |
|
|
Reimplemented from cafe::Formula. Definition at line 36 of file SelectObjects.cpp. References _branch, _fromBranch, _result, _toBranch, _tree, _treeName, cafe::Processor::err(), cafe::Processor::fullName(), and cafe::Processor::name(). |
|
|
Called for every event.
Reimplemented from cafe::Processor. Definition at line 75 of file SelectObjects.cpp. References _fromBranch, _result, _tree, cafe::EventBase::get(), cafe::Formula::getFormula(), and cafe::EventBase::getTree(). |
|
|
Definition at line 46 of file SelectObjects.hpp. Referenced by inputFileClosing(), and inputFileOpened(). |
|
|
Definition at line 41 of file SelectObjects.hpp. Referenced by inputFileOpened(), processEvent(), and SelectObjects(). |
|
|
Definition at line 45 of file SelectObjects.hpp. Referenced by inputFileClosing(), inputFileOpened(), and processEvent(). |
|
|
Definition at line 42 of file SelectObjects.hpp. Referenced by inputFileOpened(), and SelectObjects(). |
|
|
Definition at line 44 of file SelectObjects.hpp. Referenced by inputFileClosing(), inputFileOpened(), and processEvent(). |
|
|
Definition at line 43 of file SelectObjects.hpp. Referenced by inputFileClosing(), inputFileOpened(), and SelectObjects(). |
1.3.4