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:
FWCaloTowerSliceSelector FWHFTowerSliceSelector

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 32 of file FWFromSliceSelector.h.

Constructor & Destructor Documentation

FWFromSliceSelector::FWFromSliceSelector ( const FWEventItem iItem)

Definition at line 31 of file FWFromSliceSelector.cc.

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

Definition at line 36 of file FWFromSliceSelector.cc.

37 {
38 }

Member Function Documentation

FWModelChangeManager * FWFromSliceSelector::changeManager ( ) const

Definition at line 69 of file FWFromSliceSelector.cc.

References FWEventItem::changeManager(), and m_item.

Referenced by FWFromTEveCaloDataSelector::addSliceSelector().

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

Definition at line 45 of file FWFromSliceSelector.cc.

References getHLTprescales::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().

46 {
47  if (!m_item) return;
48 
49  int size = static_cast<int>(m_item->size());
50  for(int index=0; index < size; ++index)
51  {
55  }
56  }
57 }
bool isSelected() const
Definition: FWEventItem.h:71
void unselect(int iIndex) const
Definition: FWEventItem.cc:240
const FWEventItem * m_item
FWDisplayProperties m_displayProperties
Definition: FWEventItem.h:61
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 FWCaloTowerSliceSelector.

Definition at line 38 of file FWFromSliceSelector.h.

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

Reimplemented in FWHFTowerSliceSelector, and FWCaloTowerSliceSelector.

Definition at line 39 of file FWFromSliceSelector.h.

39 {}
void FWFromSliceSelector::reset ( void  )

Definition at line 60 of file FWFromSliceSelector.cc.

References m_item.

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

Member Data Documentation

const FWEventItem* FWFromSliceSelector::m_item
protected