#include <FlavorHistoryEvent.h>
Public Types | |
typedef std::vector< value_type > | collection_type |
typedef collection_type::const_iterator | const_iterator |
typedef collection_type::const_pointer | const_pointer |
typedef collection_type::const_reference | const_reference |
typedef collection_type::const_reverse_iterator | const_reverse_iterator |
typedef FlavorHistory::FLAVOR_T | flavor_type |
typedef collection_type::iterator | iterator |
typedef collection_type::pointer | pointer |
typedef collection_type::reference | reference |
typedef collection_type::reverse_iterator | reverse_iterator |
typedef collection_type::size_type | size_type |
typedef FlavorHistory | value_type |
Public Member Functions | |
const_iterator | begin () const |
void | cache () |
void | clear () |
double | deltaR () const |
const_iterator | end () const |
FlavorHistoryEvent () | |
flavor_type | flavorSource () const |
unsigned int | highestFlavor () const |
bool | isCached () const |
unsigned int | nb () const |
unsigned int | nc () const |
void | push_back (value_type v) |
const_reverse_iterator | rbegin () const |
const_reverse_iterator | rend () const |
void | resize (size_t n) |
size_type | size () const |
~FlavorHistoryEvent () | |
Protected Attributes | |
bool | cached_ |
double | dR_ |
flavor_type | flavorSource_ |
unsigned int | highestFlavor_ |
collection_type | histories_ |
unsigned int | nb_ |
unsigned int | nc_ |
Stores a vector of information about the flavor history of partons as well as a classification of the event.
It will return the following: nb = number of genjets that are matched to b partons nc = number of genjets that are matched to c partons
This can be used to classify the event, for instance, as W+bb (2 b partons), W+c (1 c parton), etc.
Definition at line 92 of file FlavorHistoryEvent.h.
typedef std::vector<value_type> reco::FlavorHistoryEvent::collection_type |
Definition at line 97 of file FlavorHistoryEvent.h.
typedef collection_type::const_iterator reco::FlavorHistoryEvent::const_iterator |
Definition at line 100 of file FlavorHistoryEvent.h.
typedef collection_type::const_pointer reco::FlavorHistoryEvent::const_pointer |
Definition at line 104 of file FlavorHistoryEvent.h.
typedef collection_type::const_reference reco::FlavorHistoryEvent::const_reference |
Definition at line 106 of file FlavorHistoryEvent.h.
typedef collection_type::const_reverse_iterator reco::FlavorHistoryEvent::const_reverse_iterator |
Definition at line 102 of file FlavorHistoryEvent.h.
Definition at line 107 of file FlavorHistoryEvent.h.
typedef collection_type::iterator reco::FlavorHistoryEvent::iterator |
Definition at line 99 of file FlavorHistoryEvent.h.
typedef collection_type::pointer reco::FlavorHistoryEvent::pointer |
Definition at line 103 of file FlavorHistoryEvent.h.
typedef collection_type::reference reco::FlavorHistoryEvent::reference |
Definition at line 105 of file FlavorHistoryEvent.h.
typedef collection_type::reverse_iterator reco::FlavorHistoryEvent::reverse_iterator |
Definition at line 101 of file FlavorHistoryEvent.h.
typedef collection_type::size_type reco::FlavorHistoryEvent::size_type |
Definition at line 98 of file FlavorHistoryEvent.h.
Definition at line 96 of file FlavorHistoryEvent.h.
|
inline |
|
inline |
Definition at line 110 of file FlavorHistoryEvent.h.
|
inline |
void FlavorHistoryEvent::cache | ( | ) |
Definition at line 11 of file FlavorHistoryEvent.cc.
References abs, filterCSVwithJSON::copy, gather_cfg::cout, PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::helpers::FlavorHistoryEventHelper::dR, reco::LeafCandidate::energy(), reco::helpers::FlavorHistoryEventHelper::flavor, reco::FlavorHistory::FLAVOR_NULL, reco::helpers::FlavorHistoryEventHelper::flavorSource, reco::FlavorHistory::flavorSource(), i, edm::Ptr< T >::isNonnull(), reco::ShallowClonePtrCandidate::masterClonePtr(), reco::FlavorHistory::matchedJet(), reco::FlavorHistory::parton(), benchmark_cfg::pdgId, reco::LeafCandidate::px(), reco::LeafCandidate::py(), reco::LeafCandidate::pz(), and python.multivaluedict::sort().
|
inline |
Definition at line 136 of file FlavorHistoryEvent.h.
References cached_, dR_, reco::FlavorHistory::FLAVOR_NULL, flavorSource_, highestFlavor_, histories_, nb_, and nc_.
Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), FlavorHistoryEvent(), Vispa.Views.LineDecayView.LineDecayView::setDataObjects(), Vispa.Views.WidgetView.WidgetView::setDataObjects(), Vispa.Views.TreeView.TreeView::updateContent(), Vispa.Views.TableView.TableView::updateContent(), Vispa.Views.BoxDecayView.BoxDecayView::updateContent(), and Vispa.Views.PropertyView.PropertyView::updateContent().
|
inline |
|
inline |
Definition at line 129 of file FlavorHistoryEvent.h.
References histories_.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
inline |
Definition at line 123 of file FlavorHistoryEvent.h.
References reco::FlavorHistory::FLAVOR_NULL, flavorSource_, and isCached().
|
inline |
Definition at line 122 of file FlavorHistoryEvent.h.
References highestFlavor_, and isCached().
|
inline |
Definition at line 114 of file FlavorHistoryEvent.h.
References cached_.
Referenced by deltaR(), flavorSource(), highestFlavor(), nb(), and nc().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 135 of file FlavorHistoryEvent.h.
References cached_, and histories_.
Referenced by Vispa.Gui.TextDialog.TextDialog::__init__(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::__init__(), Vispa.Main.MainWindow.MainWindow::_loadIni(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
inline |
|
protected |
Definition at line 140 of file FlavorHistoryEvent.h.
Referenced by clear(), isCached(), push_back(), and resize().
|
protected |
Definition at line 143 of file FlavorHistoryEvent.h.
|
protected |
Definition at line 145 of file FlavorHistoryEvent.h.
Referenced by clear(), and flavorSource().
|
protected |
Definition at line 144 of file FlavorHistoryEvent.h.
Referenced by clear(), and highestFlavor().
|
protected |
Definition at line 139 of file FlavorHistoryEvent.h.
Referenced by begin(), clear(), end(), push_back(), rbegin(), rend(), resize(), and size().
|
protected |
Definition at line 141 of file FlavorHistoryEvent.h.
|
protected |
Definition at line 142 of file FlavorHistoryEvent.h.