CMS 3D CMS Logo

List of all members | Public Member Functions
TotemT1NumberingScheme Class Reference

#include <SimG4CMS/Forward/interface/TotemT1NumberingScheme.h>

Inheritance diagram for TotemT1NumberingScheme:
TotemT1Organization TotemVDetectorOrganization

Public Member Functions

 TotemT1NumberingScheme (int i)
 
 ~TotemT1NumberingScheme ()
 
- Public Member Functions inherited from TotemT1Organization
int FromObjectTypeToInt (ObjectType objectType)
 
int FromObjectTypeToInt (ObjectType objectType, int layer)
 
int GetCurrentCSC (void) const
 
int GetCurrentDetectorPosition (void) const
 
int GetCurrentLayer (void) const
 
ObjectType GetCurrentObjectType (void) const
 
int GetCurrentPlane (void) const
 
int GetCurrentUnitID (void) const
 
uint32_t GetUnitID (const G4Step *aStep)
 
uint32_t GetUnitID (const G4Step *aStep) const
 
void SetCurrentCSC (int currentCSC)
 
void SetCurrentDetectorPosition (int currentDetectorPosition)
 
void SetCurrentLayer (int currentLayer)
 
void SetCurrentObjectType (ObjectType currentObjectType)
 
void SetCurrentPlane (int currentPlane)
 
void SetCurrentUnitID (int currentUnitID)
 
 TotemT1Organization ()
 
virtual ~TotemT1Organization ()
 
- Public Member Functions inherited from TotemVDetectorOrganization
 TotemVDetectorOrganization ()
 
virtual ~TotemVDetectorOrganization ()
 

Additional Inherited Members

- Public Types inherited from TotemT1Organization
enum  ObjectType {
  Undefined =0, Upper =1, Lower =2, InternalUpper =3,
  InternalLower =4, Frame1 =5, Frame2Left =6, Frame2Right =7,
  Frame3Left =8, Frame3Right =9, Frame4Left =10, Frame4Right =11,
  Frame5 =12, Triangle6Left =13, Triangle6Right =14, MaxObjectTypes =15
}
 

Detailed Description

Description: This class manages the UnitID that labels TotemT1 sensitive volumes

Usage: Used in TotemSD to get unique ID of sensitive detector element

Definition at line 28 of file TotemT1NumberingScheme.h.

Constructor & Destructor Documentation

TotemT1NumberingScheme::TotemT1NumberingScheme ( int  i)

Definition at line 22 of file TotemT1NumberingScheme.cc.

References TotemT1Organization::SetCurrentDetectorPosition().

22  {
23 
24  edm::LogInfo("ForwardSim") << " Creating TotemT1NumberingScheme";
26 }
void SetCurrentDetectorPosition(int currentDetectorPosition)
TotemT1NumberingScheme::~TotemT1NumberingScheme ( )

Definition at line 28 of file TotemT1NumberingScheme.cc.

28  {
29  edm::LogInfo("ForwardSim") << " Deleting TotemT1NumberingScheme";
30 }