CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Attributes
FWFromSliceSelector Class Reference

#include <Fireworks/Calo/interface/FWFromSliceSelector.h>

Inheritance diagram for FWFromSliceSelector:
FWHFTowerSliceSelector FWHistSliceSelector FWCaloTowerSliceSelector FWCandidateTowerSliceSelector FWPFCandidateTowerSliceSelector

Public Member Functions

FWModelChangeManagerchangeManager () const
 
void clear ()
 
virtual void doSelect (const TEveCaloData::CellId_t &)
 
virtual void doUnselect (const TEveCaloData::CellId_t &)
 
 FWFromSliceSelector (const FWEventItem *)
 
void reset ()
 
virtual ~FWFromSliceSelector ()
 

Protected Attributes

const FWEventItemm_item
 

Detailed Description

Description: [one line class summary]

Usage: <usage>

Definition at line 31 of file FWFromSliceSelector.h.

Constructor & Destructor Documentation

FWFromSliceSelector::FWFromSliceSelector ( const FWEventItem iItem)

Definition at line 30 of file FWFromSliceSelector.cc.

30  :
31 m_item(iItem)
32 {
33 }
const FWEventItem * m_item
FWFromSliceSelector::~FWFromSliceSelector ( )
virtual

Definition at line 35 of file FWFromSliceSelector.cc.

36 {
37 }

Member Function Documentation

FWModelChangeManager * FWFromSliceSelector::changeManager ( ) const

Definition at line 68 of file FWFromSliceSelector.cc.

References FWEventItem::changeManager(), and m_item.

Referenced by FWFromTEveCaloDataSelector::addSliceSelector().

68  {
69  return m_item->changeManager();
70 }
FWModelChangeManager * changeManager() const
Definition: FWEventItem.h:130
const FWEventItem * m_item
void FWFromSliceSelector::clear ( void  )

Definition at line 44 of file FWFromSliceSelector.cc.

References cmsHarvester::index, FWEventItem::ModelInfo::isSelected(), FWDisplayProperties::isVisible(), FWEventItem::ModelInfo::m_displayProperties, m_item, FWEventItem::modelInfo(), FWEventItem::size(), findQualityFiles::size, and FWEventItem::unselect().

Referenced by Vispa.Views.WidgetView.WidgetView::closeEvent(), Vispa.Views.BoxDecayView.BoxDecayView::closeEvent(), FWFromTEveCaloDataSelector::doSelect(), Vispa.Share.FindAlgorithm.FindAlgorithm::findUsingFindDialog(), 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().

45 {
46  if (!m_item) return;
47 
48  int size = static_cast<int>(m_item->size());
49  for(int index=0; index < size; ++index)
50  {
54  }
55  }
56 }
bool isSelected() const
Definition: FWEventItem.h:70
void unselect(int iIndex) const
Definition: FWEventItem.cc:239
const FWEventItem * m_item
FWDisplayProperties m_displayProperties
Definition: FWEventItem.h:60
size_t size() const
Definition: FWEventItem.cc:548
ModelInfo modelInfo(int iIndex) const
Definition: FWEventItem.cc:535
tuple size
Write out results.
virtual void FWFromSliceSelector::doSelect ( const TEveCaloData::CellId_t &  )
inlinevirtual

Reimplemented in FWHFTowerSliceSelector, and FWHistSliceSelector.

Definition at line 37 of file FWFromSliceSelector.h.

37 {}
virtual void FWFromSliceSelector::doUnselect ( const TEveCaloData::CellId_t &  )
inlinevirtual

Reimplemented in FWHFTowerSliceSelector, and FWHistSliceSelector.

Definition at line 38 of file FWFromSliceSelector.h.

38 {}
void FWFromSliceSelector::reset ( void  )

Definition at line 59 of file FWFromSliceSelector.cc.

References m_item.

60 {
61  m_item = 0;
62 }
const FWEventItem * m_item

Member Data Documentation

const FWEventItem* FWFromSliceSelector::m_item
protected