CMS 3D CMS Logo

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

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

Inheritance diagram for FWFromSliceSelector:
FWHFTowerSliceSelector FWHGTowerSliceSelector FWHistSliceSelector FWCaloTowerSliceSelector FWCandidateTowerSliceSelector FWHGCalMultiClusterSliceSelector 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 30 of file FWFromSliceSelector.h.

Constructor & Destructor Documentation

FWFromSliceSelector::FWFromSliceSelector ( const FWEventItem iItem)

Definition at line 30 of file FWFromSliceSelector.cc.

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

Definition at line 32 of file FWFromSliceSelector.cc.

32 {}

Member Function Documentation

FWModelChangeManager * FWFromSliceSelector::changeManager ( ) const

Definition at line 55 of file FWFromSliceSelector.cc.

References FWEventItem::changeManager(), and m_item.

Referenced by FWFromTEveCaloDataSelector::addSliceSelector().

55 { return m_item->changeManager(); }
FWModelChangeManager * changeManager() const
Definition: FWEventItem.h:123
const FWEventItem * m_item
void FWFromSliceSelector::clear ( void  )

Definition at line 38 of file FWFromSliceSelector.cc.

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

Referenced by FWFromTEveCaloDataSelector::doSelect().

38  {
39  if (!m_item)
40  return;
41 
42  int size = static_cast<int>(m_item->size());
43  for (int index = 0; index < size; ++index) {
46  }
47  }
48 }
bool isSelected() const
Definition: FWEventItem.h:65
void unselect(int iIndex) const
Definition: FWEventItem.cc:215
const FWEventItem * m_item
FWDisplayProperties m_displayProperties
Definition: FWEventItem.h:59
size_t size() const
Definition: FWEventItem.cc:457
ModelInfo modelInfo(int iIndex) const
Definition: FWEventItem.cc:446
tuple size
Write out results.
virtual void FWFromSliceSelector::doSelect ( const TEveCaloData::CellId_t &  )
inlinevirtual

Reimplemented in FWHFTowerSliceSelector, FWHGTowerSliceSelector, and FWHistSliceSelector.

Definition at line 35 of file FWFromSliceSelector.h.

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

Reimplemented in FWHFTowerSliceSelector, FWHGTowerSliceSelector, and FWHistSliceSelector.

Definition at line 36 of file FWFromSliceSelector.h.

36 {}
void FWFromSliceSelector::reset ( void  )

Definition at line 50 of file FWFromSliceSelector.cc.

References m_item.

50 { m_item = nullptr; }
const FWEventItem * m_item

Member Data Documentation

const FWEventItem* FWFromSliceSelector::m_item
protected