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 () 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::TotemT1NumberingScheme ( int  i)

Definition at line 22 of file TotemT1NumberingScheme.cc.

22  {
23  edm::LogInfo("ForwardSim") << " Creating TotemT1NumberingScheme";
25 }

References mps_fire::i, and TotemT1Organization::setCurrentDetectorPosition().

◆ ~TotemT1NumberingScheme()

TotemT1NumberingScheme::~TotemT1NumberingScheme ( )
override

Definition at line 27 of file TotemT1NumberingScheme.cc.

27 {}
mps_fire.i
i
Definition: mps_fire.py:428
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
TotemT1Organization::setCurrentDetectorPosition
void setCurrentDetectorPosition(int currentDetectorPosition)
Definition: TotemT1Organization.cc:114