BOSS 8.0.0
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 ()
 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)
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 44 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcCellAddr.h.

Constructor & Destructor Documentation

◆ MdcCellAddr() [1/3]

MdcCellAddr::MdcCellAddr ( void )

Definition at line 35 of file MdcCellAddr.cxx.

35{ ; }

◆ ~MdcCellAddr() [1/3]

virtual MdcCellAddr::~MdcCellAddr ( )
inlinevirtual

◆ MdcCellAddr() [2/3]

MdcCellAddr::MdcCellAddr ( void )

◆ ~MdcCellAddr() [2/3]

virtual MdcCellAddr::~MdcCellAddr ( )
inlinevirtual

◆ MdcCellAddr() [3/3]

MdcCellAddr::MdcCellAddr ( void )

◆ ~MdcCellAddr() [3/3]

virtual MdcCellAddr::~MdcCellAddr ( )
inlinevirtual

Member Function Documentation

◆ cellIs() [1/3]

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

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcCellAddr.h.

67{ return layer * 1000 + wire; }

◆ cellIs() [2/3]

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

Definition at line 67 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcCellAddr.h.

67{ return layer * 1000 + wire; }

◆ cellIs() [3/3]

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

Definition at line 67 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcCellAddr.h.

67{ return layer * 1000 + wire; }

◆ layerIs() [1/3]

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

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcCellAddr.h.

66{ return cell / 1000; }

◆ layerIs() [2/3]

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

Definition at line 66 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcCellAddr.h.

66{ return cell / 1000; }

◆ layerIs() [3/3]

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

Definition at line 66 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcCellAddr.h.

66{ return cell / 1000; }

◆ wireIs() [1/3]

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

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-dbg/include/MdcGeom/MdcCellAddr.h.

65{ return cell % 1000; }

◆ wireIs() [2/3]

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

Definition at line 65 of file InstallArea/x86_64-el9-gcc13-opt/include/MdcGeom/MdcCellAddr.h.

65{ return cell % 1000; }

◆ wireIs() [3/3]

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

Definition at line 65 of file Reconstruction/MdcPatRec/MdcGeom/include/MdcGeom/MdcCellAddr.h.

65{ return cell % 1000; }

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