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

Public Member Functions | |
| METSelector (const char *name) | |
| ~METSelector () | |
| bool | processEvent (cafe::Event &event) |
| Called for every event. | |
| ClassDef (METSelector, 0) | |
Private Attributes | |
| float | _minMET |
| float | _maxMET |
| float | _minSET |
| float | _maxSET |
| bool | _muCorrected |
| bool | _MCsmeared |
| std::string | _algo |
| std::string | _fromBranch |
| cafe::Variables | _vars |
| variables ro read from the MET branch | |
| cafe::Variables | _mcvars |
| variables ro read from the MET branch | |
Usage: add this processor to the controller Run processor, e.g.
cafe.Run ... METSelector(processor_name) ... You can change default behavior via configuration file.
Optional parameters (negative values or 0 means no cut):
METSelector will put the MET information to the event. You can access it as
event.get("caf_util::MET", met) ;
event.get("caf_util::SET", set) ;
event.get("caf_util::METx", metx) ;
event.get("caf_util::METy", mety) ;
Some comments about coherent use of JES and MET muon corrected (from mail exchange with Patrice Verdier)
Additional MET information available at
Definition at line 57 of file METSelector.hpp.
|
|
Definition at line 14 of file METSelector.cpp. References _algo, _fromBranch, _maxMET, _maxSET, _MCsmeared, _minMET, _minSET, _muCorrected, cafe::Processor::err(), cafe::Config::get(), cafe::Processor::name(), and cafe::Processor::out(). |
|
|
Definition at line 78 of file METSelector.hpp. |
|
||||||||||||
|
|
|
|
Called for every event.
Reimplemented from cafe::Processor. Definition at line 47 of file METSelector.cpp. References _algo, _fromBranch, _maxMET, _maxSET, _MCsmeared, _mcvars, _minMET, _minSET, _muCorrected, _vars, cafe::Processor::debug(), cafe::Processor::err(), cafe::StatPointer::EventSelected(), cafe::EventBase::get(), cafe::Event::getMCEventInfo(), TMBMCevtInfo::nchunks(), cafe::Processor::out(), and cafe::EventBase::put(). |
|
|
Definition at line 69 of file METSelector.hpp. Referenced by METSelector(), and processEvent(). |
|
|
Definition at line 70 of file METSelector.hpp. Referenced by METSelector(), and processEvent(). |
|
|
Definition at line 61 of file METSelector.hpp. Referenced by METSelector(), and processEvent(). |
|
|
Definition at line 64 of file METSelector.hpp. Referenced by METSelector(), and processEvent(). |
|
|
Definition at line 67 of file METSelector.hpp. Referenced by METSelector(), and processEvent(). |
|
|
variables ro read from the MET branch
Definition at line 73 of file METSelector.hpp. Referenced by processEvent(). |
|
|
Definition at line 60 of file METSelector.hpp. Referenced by METSelector(), and processEvent(). |
|
|
Definition at line 63 of file METSelector.hpp. Referenced by METSelector(), and processEvent(). |
|
|
Definition at line 66 of file METSelector.hpp. Referenced by METSelector(), and processEvent(). |
|
|
variables ro read from the MET branch
Definition at line 73 of file METSelector.hpp. Referenced by processEvent(). |
1.3.4