CMS 3D CMS Logo

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

#include <CaloTowerNavigator.h>

Inheritance diagram for CaloTowerNavigator:
CaloNavigator< CaloTowerDetId >

Public Member Functions

 CaloTowerNavigator (const CaloTowerDetId &home, const CaloSubdetectorTopology *topo)
 
- Public Member Functions inherited from CaloNavigator< CaloTowerDetId >
 CaloNavigator ()
 Default constructor. More...
 
 CaloNavigator (const CaloTowerDetId &home)
 
 CaloNavigator (const CaloTowerDetId &home, const CaloSubdetectorTopology *topology)
 
virtual CaloTowerDetId down () const
 move the navigator west More...
 
virtual CaloTowerDetId east () const
 move the navigator east More...
 
const CaloSubdetectorTopologygetTopology () const
 set the starting position More...
 
void home () const
 move the navigator back to the starting point More...
 
virtual CaloTowerDetId north () const
 move the navigator north More...
 
virtual CaloTowerDetId offsetBy (int deltaX, int deltaY) const
 Free movement of arbitray steps. More...
 
CaloTowerDetId operator* () const
 get the current position More...
 
CaloTowerDetId pos () const
 get the current position More...
 
void setHome (const CaloTowerDetId &startingPoint)
 set the starting position More...
 
void setTopology (const CaloSubdetectorTopology *)
 set the starting position More...
 
virtual CaloTowerDetId south () const
 move the navigator south More...
 
virtual CaloTowerDetId up () const
 move the navigator west More...
 
virtual CaloTowerDetId west () const
 move the navigator west More...
 
virtual ~CaloNavigator ()
 Default constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from CaloNavigator< CaloTowerDetId >
CaloTowerDetId currentPoint_
 
const CaloSubdetectorTopologymyTopology_
 
CaloTowerDetId startingPoint_
 

Detailed Description

Definition at line 7 of file CaloTowerNavigator.h.

Constructor & Destructor Documentation

CaloTowerNavigator::CaloTowerNavigator ( const CaloTowerDetId home,
const CaloSubdetectorTopology topo 
)
inline

Definition at line 10 of file CaloTowerNavigator.h.

10  :
12  {
13  };
void home() const
move the navigator back to the starting point