BOSS 7.0.5
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcCellAddr Class Reference

#include <MdcCellAddr.h>

Public Member Functions

 MdcCellAddr (void)
 
virtual ~MdcCellAddr ()
 
 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)
 
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 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 InstallArea/include/MdcGeom/MdcGeom/MdcCellAddr.h.

Constructor & Destructor Documentation

◆ MdcCellAddr() [1/2]

MdcCellAddr::MdcCellAddr ( void  )

Definition at line 35 of file MdcCellAddr.cxx.

36{;}

◆ ~MdcCellAddr() [1/2]

virtual MdcCellAddr::~MdcCellAddr ( )
inlinevirtual

Definition at line 57 of file InstallArea/include/MdcGeom/MdcGeom/MdcCellAddr.h.

57{;}

◆ MdcCellAddr() [2/2]

MdcCellAddr::MdcCellAddr ( void  )

◆ ~MdcCellAddr() [2/2]

virtual MdcCellAddr::~MdcCellAddr ( )
inlinevirtual

Member Function Documentation

◆ cellIs() [1/2]

static int MdcCellAddr::cellIs ( const int &  wire,
const int &  layer 
)
inlinestatic

Definition at line 70 of file InstallArea/include/MdcGeom/MdcGeom/MdcCellAddr.h.

70 { return
71 layer*1000+wire; }

◆ cellIs() [2/2]

static int MdcCellAddr::cellIs ( const int &  wire,
const int &  layer 
)
inlinestatic

Definition at line 70 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcCellAddr.h.

70 { return
71 layer*1000+wire; }

◆ layerIs() [1/2]

static int MdcCellAddr::layerIs ( const int &  cell)
inlinestatic

Definition at line 69 of file InstallArea/include/MdcGeom/MdcGeom/MdcCellAddr.h.

69{ return cell/1000; }

◆ layerIs() [2/2]

static int MdcCellAddr::layerIs ( const int &  cell)
inlinestatic

Definition at line 69 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcCellAddr.h.

69{ return cell/1000; }

◆ wireIs() [1/2]

static int MdcCellAddr::wireIs ( const int &  cell)
inlinestatic

Definition at line 68 of file InstallArea/include/MdcGeom/MdcGeom/MdcCellAddr.h.

68{ return cell%1000; }

◆ wireIs() [2/2]

static int MdcCellAddr::wireIs ( const int &  cell)
inlinestatic

Definition at line 68 of file Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcCellAddr.h.

68{ return cell%1000; }

The documentation for this class was generated from the following files: