#include <Stat.hpp>
Public Member Functions | |
| StatPointer (Stat *stat=0) | |
| virtual | ~StatPointer () |
| Stat * | pointer () |
| void | EventSelected (const std::string &selection_name) |
| Increase number of event counted by Stat object. If such selection does not exist it will be added. | |
| void | applyWeight (const std::string &weight_name, double weight, double weight_pos=-1.0, double weight_neg=-1.0) |
| apply weight to efficiency calculation. | |
| double | calculateGlobalWeight () |
| calculate global event weight | |
| ClassDef (StatPointer, 0) | |
Private Attributes | |
| Stat * | _stat |
Definition at line 203 of file cafe/cafe/Stat.hpp.
|
|
|
|
|
|
|
||||||||||||||||||||
|
apply weight to efficiency calculation.
Definition at line 23 of file Stat.cpp. References _stat, and cafe::Stat::applyWeight(). |
|
|
calculate global event weight
Definition at line 29 of file Stat.cpp. References _stat, and cafe::Stat::calculateGlobalWeight(). Referenced by cafe::StatGWeight::processEvent(). |
|
||||||||||||
|
|
|
|
Increase number of event counted by Stat object. If such selection does not exist it will be added.
Definition at line 18 of file Stat.cpp. References _stat, and cafe::Stat::EventSelected(). Referenced by caf_util::VertexSelector::processEvent(), caf_util::TopologicalSelector::processEvent(), caf_util::TauSelector::processEvent(), caf_util::ResSelector::processEvent(), caf_util::METSelector::processEvent(), caf_util::JetSelector::processEvent(), caf_util::EventQuality::processEvent(), caf_util::ElectronSelector::processEvent(), caf_util::BTagJetSelector::processEvent(), caf_util::VertexSelector::selectObject(), caf_util::TauSelector::selectObject(), caf_util::JetSelector::selectObject(), caf_util::ElectronSelector::selectObject(), and caf_util::BTagJetSelector::selectObject(). |
|
|
Definition at line 209 of file cafe/cafe/Stat.hpp. References _stat. |
|
|
Definition at line 204 of file cafe/cafe/Stat.hpp. Referenced by applyWeight(), calculateGlobalWeight(), EventSelected(), and pointer(). |
1.3.4