#include <FWHistSliceSelector.h>
Public Member Functions | |
virtual bool | aggregatePhiCells () const |
void | doSelect (const TEveCaloData::CellId_t &) override |
void | doUnselect (const TEveCaloData::CellId_t &) override |
FWHistSliceSelector (TH2F *h, const FWEventItem *item) | |
~FWHistSliceSelector () override | |
Public Member Functions inherited from FWFromSliceSelector | |
FWModelChangeManager * | changeManager () const |
void | clear () |
FWFromSliceSelector (const FWEventItem *) | |
void | reset () |
virtual | ~FWFromSliceSelector () |
Protected Member Functions | |
virtual void | getItemEntryEtaPhi (int itemIdx, float &eta, float &phi) const =0 |
bool | matchCell (const TEveCaloData::CellId_t &iCell, int idx) const |
Protected Attributes | |
TH2F * | m_hist |
Protected Attributes inherited from FWFromSliceSelector | |
const FWEventItem * | m_item |
Definition at line 7 of file FWHistSliceSelector.h.
FWHistSliceSelector::FWHistSliceSelector | ( | TH2F * | h, |
const FWEventItem * | item | ||
) |
Definition at line 10 of file FWHistSliceSelector.cc.
|
override |
Definition at line 12 of file FWHistSliceSelector.cc.
|
inlinevirtual |
Reimplemented in FWCandidateTowerSliceSelector, and FWPFCandidateTowerSliceSelector.
Definition at line 15 of file FWHistSliceSelector.h.
Referenced by FWCaloDataHistProxyBuilder::addEntryToTEveCaloData(), and matchCell().
|
overridevirtual |
Reimplemented from FWFromSliceSelector.
Definition at line 58 of file FWHistSliceSelector.cc.
References FWEventItem::changeManager(), FWEventItem::ModelInfo::isSelected(), FWDisplayProperties::isVisible(), FWEventItem::ModelInfo::m_displayProperties, FWFromSliceSelector::m_item, matchCell(), FWEventItem::modelInfo(), FWEventItem::select(), FWEventItem::size(), and findQualityFiles::size.
|
overridevirtual |
Reimplemented from FWFromSliceSelector.
Definition at line 74 of file FWHistSliceSelector.cc.
References FWEventItem::changeManager(), FWEventItem::ModelInfo::isSelected(), FWDisplayProperties::isVisible(), FWEventItem::ModelInfo::m_displayProperties, FWFromSliceSelector::m_item, matchCell(), FWEventItem::modelInfo(), FWEventItem::size(), findQualityFiles::size, and FWEventItem::unselect().
|
protectedpure virtual |
Implemented in FWCaloTowerSliceSelector, FWCandidateTowerSliceSelector, FWHGCalMultiClusterSliceSelector, and FWPFCandidateTowerSliceSelector.
Referenced by matchCell().
|
protected |
Definition at line 14 of file FWHistSliceSelector.cc.
References Abs(), aggregatePhiCells(), PVValHelper::eta, etaBin(), getItemEntryEtaPhi(), training_settings::idx, m_hist, match(), phi, BeamMonitor_cff::phiBin, and w.
Referenced by doSelect(), and doUnselect().
|
protected |
Definition at line 21 of file FWHistSliceSelector.h.
Referenced by FWHistSliceSelector(), and matchCell().