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

If .Tag is specified, events are tagged, otherwise events are rejected, if they don't fulfill the selection criteria.
The cut follows the usual TTree::Draw() rules, e.g. "Muon.pT() > 10.0 && abs(Muon.eta()) < 2.0"
Configuration options:
The .Variables: entry should be only used for optimization. During the execution of the selection only the designated branches are enabled for reading. For example, if you use only EMscone.Pt() in your expression, and you know that it uses only EMscone.fX and EMscone.fY, you can mention these in the .Variables: configuration entry.
Definition at line 41 of file Select.hpp.
Public Member Functions | |
| Select (const char *name) | |
| void | inputFileOpened (TFile *file) |
| bool | processEvent (cafe::Event &event) |
| Called for every event. | |
| ClassDef (Select, 0) | |
Private Attributes | |
| std::string | _tag |
| cafe::BranchNames | _branches |
|
|
Definition at line 11 of file Select.cpp. References _branches, _tag, cafe::Config::get(), cafe::Config::getVString(), cafe::Processor::name(), cafe::Processor::out(), and cafe::Formula::setFormula(). |
|
||||||||||||
|
|
|
|
Reimplemented from cafe::Formula. Definition at line 29 of file Select.cpp. References cafe::Formula::getFormula(). |
|
|
Called for every event.
Reimplemented from cafe::Processor. Definition at line 35 of file Select.cpp. References _branches, _tag, cafe::Formula::getFormula(), and cafe::EventBase::tag(). |
|
|
Definition at line 50 of file Select.hpp. Referenced by processEvent(), and Select(). |
|
|
Definition at line 49 of file Select.hpp. Referenced by processEvent(), and Select(). |
1.3.4