MdcCellAddr Class Reference

#include <MdcCellAddr.h>

List of all members.

Public Member Functions

 MdcCellAddr (void)
virtual ~MdcCellAddr ()

Static Public Member Functions

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


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);

Definition at line 45 of file MdcCellAddr.h.


Constructor & Destructor Documentation

MdcCellAddr::MdcCellAddr ( void   ) 

Definition at line 35 of file MdcCellAddr.cxx.

00036 {;}

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

Definition at line 57 of file MdcCellAddr.h.

00057 {;}


Member Function Documentation

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

Definition at line 70 of file MdcCellAddr.h.

00070                                                        { return 
00071                                                            layer*1000+wire; }

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

Definition at line 69 of file MdcCellAddr.h.

00069 { return cell/1000; }

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

Definition at line 68 of file MdcCellAddr.h.

00068 { return cell%1000; }


Generated on Tue Nov 29 23:20:10 2016 for BOSS_7.0.2 by  doxygen 1.4.7