Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

MdcCellAddr Class Reference

#include <MdcCellAddr.h>

List of all members.

Public Member Functions

 MdcCellAddr (void)
 MdcCellAddr (void)
virtual ~MdcCellAddr ()
virtual ~MdcCellAddr ()

Static Public Member Functions

int cellIs (const int &wire, const int &layer)
int cellIs (const int &wire, const int &layer)
int layerIs (const int &cell)
int layerIs (const int &cell)
int wireIs (const int &cell)
int wireIs (const int &cell)


Detailed Description

C++ source file code MdcCellAddr. This class is only a container for three static functions to map a Mdc cell address to its layer/wire numbers. Needed to break some circular dependency within the Mdc code

This software was developed for the BaBar collaboration. If you use all or part of it, please give an appropriate acknowledgement.

Copyright (C) 1999 [INFN & Padova University]

History: Migration for BESIII MDC

See also:
MdcCellAddrMdcCellAddr
Version:
Id
MdcCellAddr.h,v 1.2 2009/12/17 00:38:40 zhangy Exp
Author:
(R. Stroili) (originator);


Constructor & Destructor Documentation

MdcCellAddr::MdcCellAddr void   ) 
 

00036 {;}

virtual MdcCellAddr::~MdcCellAddr  )  [inline, virtual]
 

00057 {;}

MdcCellAddr::MdcCellAddr void   ) 
 

virtual MdcCellAddr::~MdcCellAddr  )  [inline, virtual]
 

00057 {;}


Member Function Documentation

int MdcCellAddr::cellIs const int &  wire,
const int &  layer
[inline, static]
 

00070                                                        { return 
00071                                                            layer*1000+wire; }

int MdcCellAddr::cellIs const int &  wire,
const int &  layer
[inline, static]
 

00070                                                        { return 
00071                                                            layer*1000+wire; }

int MdcCellAddr::layerIs const int &  cell  )  [inline, static]
 

00069 { return cell/1000; }

int MdcCellAddr::layerIs const int &  cell  )  [inline, static]
 

00069 { return cell/1000; }

int MdcCellAddr::wireIs const int &  cell  )  [inline, static]
 

00068 { return cell%1000; }

int MdcCellAddr::wireIs const int &  cell  )  [inline, static]
 

00068 { return cell%1000; }


The documentation for this class was generated from the following files:
Generated on Wed Feb 2 16:24:15 2011 for BOSS6.5.5 by  doxygen 1.3.9.1