CMS 3D CMS Logo

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

#include <EcalBarrelNavigator.h>

Inheritance diagram for EcalBarrelNavigator:
CaloNavigator< EBDetId >

Public Member Functions

 EcalBarrelNavigator (const EBDetId &home, const CaloSubdetectorTopology *ebTopology)
 
- Public Member Functions inherited from CaloNavigator< EBDetId >
 CaloNavigator ()
 Default constructor. More...
 
 CaloNavigator (const EBDetId &home)
 
 CaloNavigator (const EBDetId &home, const CaloSubdetectorTopology *topology)
 
virtual EBDetId down () const
 move the navigator west More...
 
virtual EBDetId 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 EBDetId north () const
 move the navigator north More...
 
virtual EBDetId offsetBy (int deltaX, int deltaY) const
 Free movement of arbitray steps. More...
 
EBDetId operator* () const
 get the current position More...
 
EBDetId pos () const
 get the current position More...
 
void setHome (const EBDetId &startingPoint)
 set the starting position More...
 
void setTopology (const CaloSubdetectorTopology *)
 set the starting position More...
 
virtual EBDetId south () const
 move the navigator south More...
 
virtual EBDetId up () const
 move the navigator west More...
 
virtual EBDetId west () const
 move the navigator west More...
 
virtual ~CaloNavigator ()
 Default constructor. More...
 

Additional Inherited Members

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

Detailed Description

Definition at line 7 of file EcalBarrelNavigator.h.

Constructor & Destructor Documentation

EcalBarrelNavigator::EcalBarrelNavigator ( const EBDetId home,
const CaloSubdetectorTopology ebTopology 
)
inline

Definition at line 10 of file EcalBarrelNavigator.h.

10  :
11  CaloNavigator<EBDetId>(home,ebTopology)
12  {
13  };
void home() const
move the navigator back to the starting point