CMS 3D CMS Logo

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

#include <MuonSimHitNumberingScheme.h>

Inheritance diagram for MuonSimHitNumberingScheme:
MuonNumberingScheme

Public Member Functions

virtual int baseNumberToUnitNumber (const MuonBaseNumber)
 
 MuonSimHitNumberingScheme (MuonSubDetector *, const DDCompactView &cpv)
 
 ~MuonSimHitNumberingScheme ()
 
- Public Member Functions inherited from MuonNumberingScheme
 MuonNumberingScheme ()
 
virtual ~MuonNumberingScheme ()
 

Private Attributes

MuonSubDetectortheDetector
 
MuonNumberingSchemetheNumbering
 

Detailed Description

wrapper class to handle numbering schemes for the different MuonSubDetector's

Date:
2006/10/12 19:54:05
Revision:
1.2
Author
Arno Straessner, CERN arno..nosp@m.stra.nosp@m.essne.nosp@m.r@ce.nosp@m.rn.ch

Definition at line 21 of file MuonSimHitNumberingScheme.h.

Constructor & Destructor Documentation

MuonSimHitNumberingScheme::MuonSimHitNumberingScheme ( MuonSubDetector d,
const DDCompactView cpv 
)
MuonSimHitNumberingScheme::~MuonSimHitNumberingScheme ( )

Definition at line 21 of file MuonSimHitNumberingScheme.cc.

References theNumbering.

21  {
22  delete theNumbering;
23 }
MuonNumberingScheme * theNumbering

Member Function Documentation

int MuonSimHitNumberingScheme::baseNumberToUnitNumber ( const MuonBaseNumber  num)
virtual

Reimplemented from MuonNumberingScheme.

Definition at line 25 of file MuonSimHitNumberingScheme.cc.

References MuonNumberingScheme::baseNumberToUnitNumber(), and theNumbering.

Referenced by MuonSensitiveDetector::setDetUnitId().

25  {
26  if (theNumbering) {
28  } else {
29  return 0;
30  }
31 }
virtual int baseNumberToUnitNumber(const MuonBaseNumber)
MuonNumberingScheme * theNumbering

Member Data Documentation

MuonSubDetector* MuonSimHitNumberingScheme::theDetector
private

Definition at line 32 of file MuonSimHitNumberingScheme.h.

Referenced by MuonSimHitNumberingScheme().

MuonNumberingScheme* MuonSimHitNumberingScheme::theNumbering
private