CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 () override
 
- 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) const override
 
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 ()
 
 ~TotemT1Organization () override
 
- 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  edm::LogVerbatim("ForwardSim") << " Creating TotemT1NumberingScheme";
25 }
Log< level::Info, true > LogVerbatim
void setCurrentDetectorPosition(int currentDetectorPosition)
TotemT1NumberingScheme::~TotemT1NumberingScheme ( )
override

Definition at line 27 of file TotemT1NumberingScheme.cc.

27 {}