CMS 3D CMS Logo

Public Member Functions | Protected Attributes

FWFromSliceSelector Class Reference

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

Inheritance diagram for FWFromSliceSelector:
FWCaloTowerSliceSelector FWHFTowerSliceSelector

List of all members.

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.

                                                                 :
m_item(iItem)
{
}
FWFromSliceSelector::~FWFromSliceSelector ( ) [virtual]

Definition at line 36 of file FWFromSliceSelector.cc.

{
}

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().

                                         {
   return m_item->changeManager();
}
void FWFromSliceSelector::clear ( void  )

Definition at line 45 of file FWFromSliceSelector.cc.

References getHLTprescales::index, m_item, FWEventItem::modelInfo(), findQualityFiles::size, FWEventItem::size(), and FWEventItem::unselect().

Referenced by FWFromTEveCaloDataSelector::doSelect().

{
   if (!m_item) return;

   int size =  static_cast<int>(m_item->size());
   for(int index=0; index < size; ++index)
   {
      if( m_item->modelInfo(index).m_displayProperties.isVisible() &&
          m_item->modelInfo(index).isSelected()) {
         m_item->unselect(index);
      }
   }
}
virtual void FWFromSliceSelector::doSelect ( const TEveCaloData::CellId_t &  ) [inline, virtual]

Reimplemented in FWCaloTowerSliceSelector, and FWHFTowerSliceSelector.

Definition at line 38 of file FWFromSliceSelector.h.

{}
virtual void FWFromSliceSelector::doUnselect ( const TEveCaloData::CellId_t &  ) [inline, virtual]

Reimplemented in FWCaloTowerSliceSelector, and FWHFTowerSliceSelector.

Definition at line 39 of file FWFromSliceSelector.h.

{}
void FWFromSliceSelector::reset ( void  )

Definition at line 60 of file FWFromSliceSelector.cc.

References m_item.

{
   m_item = 0;
}

Member Data Documentation