#include <SimG4CMS/Forward/interface/TotemT1Organization.h>
Public Types | |
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 } |
Public Member Functions | |
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 () |
Private Member Functions | |
void | _checkDataUpdate (void) const |
void | _checkUnitIDUpdate (void) const |
void | _FromDataToUnitID (void) |
void | _FromUnitIDToData (void) |
Private Attributes | |
int | _currentCSC |
int | _currentDetectorPosition |
int | _currentLayer |
ObjectType | _currentObjectType |
int | _currentPlane |
int | _currentUnitID |
bool | _needUpdateData |
bool | _needUpdateUnitID |
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 29 of file TotemT1Organization.h.
Enumerator | |
---|---|
Undefined | |
Upper | |
Lower | |
InternalUpper | |
InternalLower | |
Frame1 | |
Frame2Left | |
Frame2Right | |
Frame3Left | |
Frame3Right | |
Frame4Left | |
Frame4Right | |
Frame5 | |
Triangle6Left | |
Triangle6Right | |
MaxObjectTypes |
Definition at line 35 of file TotemT1Organization.h.
TotemT1Organization::TotemT1Organization | ( | ) |
Definition at line 26 of file TotemT1Organization.cc.
|
virtual |
Definition at line 37 of file TotemT1Organization.cc.
|
private |
Definition at line 235 of file TotemT1Organization.cc.
|
private |
Definition at line 222 of file TotemT1Organization.cc.
|
private |
Definition at line 299 of file TotemT1Organization.cc.
|
private |
Definition at line 249 of file TotemT1Organization.cc.
int TotemT1Organization::FromObjectTypeToInt | ( | ObjectType | objectType | ) |
Definition at line 202 of file TotemT1Organization.cc.
int TotemT1Organization::FromObjectTypeToInt | ( | ObjectType | objectType, |
int | layer | ||
) |
Definition at line 213 of file TotemT1Organization.cc.
int TotemT1Organization::GetCurrentCSC | ( | void | ) | const |
Definition at line 148 of file TotemT1Organization.cc.
int TotemT1Organization::GetCurrentDetectorPosition | ( | void | ) | const |
Definition at line 110 of file TotemT1Organization.cc.
int TotemT1Organization::GetCurrentLayer | ( | void | ) | const |
Definition at line 166 of file TotemT1Organization.cc.
TotemT1Organization::ObjectType TotemT1Organization::GetCurrentObjectType | ( | void | ) | const |
Definition at line 184 of file TotemT1Organization.cc.
int TotemT1Organization::GetCurrentPlane | ( | void | ) | const |
Definition at line 129 of file TotemT1Organization.cc.
int TotemT1Organization::GetCurrentUnitID | ( | void | ) | const |
Definition at line 91 of file TotemT1Organization.cc.
uint32_t TotemT1Organization::GetUnitID | ( | const G4Step * | aStep | ) |
Definition at line 49 of file TotemT1Organization.cc.
|
virtual |
Implements TotemVDetectorOrganization.
Definition at line 44 of file TotemT1Organization.cc.
void TotemT1Organization::SetCurrentCSC | ( | int | currentCSC | ) |
Definition at line 157 of file TotemT1Organization.cc.
void TotemT1Organization::SetCurrentDetectorPosition | ( | int | currentDetectorPosition | ) |
Definition at line 120 of file TotemT1Organization.cc.
Referenced by TotemT1NumberingScheme::TotemT1NumberingScheme().
void TotemT1Organization::SetCurrentLayer | ( | int | currentLayer | ) |
Definition at line 175 of file TotemT1Organization.cc.
|
inline |
Definition at line 193 of file TotemT1Organization.cc.
void TotemT1Organization::SetCurrentPlane | ( | int | currentPlane | ) |
Definition at line 139 of file TotemT1Organization.cc.
void TotemT1Organization::SetCurrentUnitID | ( | int | currentUnitID | ) |
Definition at line 101 of file TotemT1Organization.cc.
|
private |
Definition at line 108 of file TotemT1Organization.h.
|
private |
Definition at line 106 of file TotemT1Organization.h.
|
private |
Definition at line 109 of file TotemT1Organization.h.
|
private |
Definition at line 110 of file TotemT1Organization.h.
|
private |
Definition at line 107 of file TotemT1Organization.h.
|
private |
Definition at line 105 of file TotemT1Organization.h.
|
private |
Definition at line 104 of file TotemT1Organization.h.
|
private |
Definition at line 103 of file TotemT1Organization.h.