CMS 3D CMS Logo

Public Member Functions | Private Attributes

MuonSimHitNumberingScheme Class Reference

#include <MuonSimHitNumberingScheme.h>

Inheritance diagram for MuonSimHitNumberingScheme:
MuonNumberingScheme

List of all members.

Public Member Functions

virtual int baseNumberToUnitNumber (const MuonBaseNumber)
 MuonSimHitNumberingScheme (MuonSubDetector *, const DDCompactView &cpv)
 ~MuonSimHitNumberingScheme ()

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.straessner@cern.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.

                                                      {
  delete 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().

                                                                              {
  if (theNumbering) {
    return theNumbering->baseNumberToUnitNumber(num);
  } else {
    return 0;
  }
}

Member Data Documentation

Definition at line 32 of file MuonSimHitNumberingScheme.h.

Referenced by MuonSimHitNumberingScheme().