#include <TopologicalSelector.hpp>
Inheritance diagram for caf_util::TopologicalSelector:

Public Member Functions | |
| TopologicalSelector (const char *name) | |
| ~TopologicalSelector () | |
| bool | processEvent (cafe::Event &event) |
| Called for every event. | |
| ClassDef (TopologicalSelector, 0) | |
Private Attributes | |
| std::string | _electronBranch |
| std::string | _muonBranch |
| std::string | _jetBranch |
| int | _nelectrons |
| int | _nmuons |
| int | _njets |
| float | _minHT |
| float | _maxHT |
| float | _minHTleadL |
| float | _maxHTleadL |
| float | _minHTleptons |
| float | _maxHTleptons |
| std::string | _htVarName |
| std::string | _htLeadLVarName |
| std::string | _htLeptonsVarName |
| bool | _calcHT |
| bool | _calcHTLeadL |
| bool | _calcHTLeptons |
| cafe::Variables | _jetvars |
| variables ro read from the MET branch | |
| cafe::Variables | _emvars |
| variables ro read from the MET branch | |
| cafe::Variables | _muvars |
| variables ro read from the MET branch | |
Usage: add this processor to the controller Run processor, e.g.
cafe.Run ... TopologicalSelector(processor_name) ... You can change default behavior via configuration file.
Optional parameters :
Optional paremetrs (negative values or 0 means no cut):
Definition at line 54 of file TopologicalSelector.hpp.
|
|
Definition at line 12 of file TopologicalSelector.cpp. References _calcHT, _calcHTLeadL, _calcHTLeptons, _electronBranch, _htLeadLVarName, _htLeptonsVarName, _htVarName, _jetBranch, _maxHT, _maxHTleadL, _maxHTleptons, _minHT, _minHTleadL, _minHTleptons, _muonBranch, _nelectrons, _njets, _nmuons, cafe::Config::get(), and cafe::Processor::name(). |
|
|
Definition at line 87 of file TopologicalSelector.hpp. |
|
||||||||||||
|
|
|
|
Called for every event.
Reimplemented from cafe::Processor. Definition at line 47 of file TopologicalSelector.cpp. References _calcHT, _calcHTLeadL, _calcHTLeptons, _electronBranch, _emvars, _htLeadLVarName, _htLeptonsVarName, _htVarName, _jetBranch, _jetvars, _maxHT, _maxHTleadL, _maxHTleptons, _minHT, _minHTleadL, _minHTleptons, _muonBranch, _muvars, _nelectrons, _njets, _nmuons, cafe::Collection< T >::begin(), cafe::Collection< T >::end(), cafe::StatPointer::EventSelected(), cafe::EventBase::get(), cafe::EventBase::getCollection(), cafe::Processor::out(), cafe::EventBase::put(), and cafe::Collection< T >::size(). |
|
|
Definition at line 79 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 79 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 79 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 58 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
variables ro read from the MET branch
Definition at line 82 of file TopologicalSelector.hpp. Referenced by processEvent(). |
|
|
Definition at line 76 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 77 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 75 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 60 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
variables ro read from the MET branch
Definition at line 82 of file TopologicalSelector.hpp. Referenced by processEvent(). |
|
|
Definition at line 67 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 70 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 73 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 66 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 69 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 72 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 59 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
variables ro read from the MET branch
Definition at line 82 of file TopologicalSelector.hpp. Referenced by processEvent(). |
|
|
Definition at line 62 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 64 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
|
|
Definition at line 63 of file TopologicalSelector.hpp. Referenced by processEvent(), and TopologicalSelector(). |
1.3.4