#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 17 of file FWHistSliceSelector.cc.
|
inlinevirtual |
Reimplemented in FWCandidateTowerSliceSelector, and FWPFCandidateTowerSliceSelector.
Definition at line 16 of file FWHistSliceSelector.h.
References PVValHelper::eta, getItemEntryEtaPhi(), training_settings::idx, matchCell(), and phi.
Referenced by FWCaloDataHistProxyBuilder::addEntryToTEveCaloData(), and matchCell().
|
overridevirtual |
Reimplemented from FWFromSliceSelector.
Definition at line 73 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 93 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, and FWPFCandidateTowerSliceSelector.
Referenced by aggregatePhiCells(), and matchCell().
|
protected |
Definition at line 21 of file FWHistSliceSelector.cc.
References Abs(), aggregatePhiCells(), PVValHelper::eta, conversionPostprocessing_cfi::etaBin, getItemEntryEtaPhi(), training_settings::idx, m_hist, match(), phi, conversionPostprocessing_cfi::phiBin, and w.
Referenced by aggregatePhiCells(), doSelect(), and doUnselect().
|
protected |
Definition at line 22 of file FWHistSliceSelector.h.
Referenced by FWHistSliceSelector(), and matchCell().