Belle II Software development
|
This is a utility class for the free ISuperLayer type. More...
#include <ISuperLayer.h>
Public Member Functions | |
ISuperLayerUtil ()=delete | |
Utility classes should not be instantiated. | |
Static Public Member Functions | |
static bool | isInvalid (ISuperLayer iSuperLayer) |
Indicates if the given number corresponds to a true cdc superlayer - excludes the logic ids for inner and outer volume. | |
static bool | isInCDC (ISuperLayer iSuperLayer) |
Indicates if the given number corresponds to a true cdc superlayer - excludes the logic ids for inner and outer volume. | |
static bool | isLogical (ISuperLayer iSuperLayer) |
Indicates if the given number corresponds to a logical superlayer - includes the logic ids for inner and outer volume. | |
static bool | isInnerVolume (ISuperLayer iSuperLayer) |
Indicates if the given number corresponds to the logical superlayer of the column inside the CDC. | |
static bool | isOuterVolume (ISuperLayer iSuperLayer) |
Indicates if the given number corresponds to the logical superlayer of the volume outside the CDC. | |
static bool | isAxial (ISuperLayer iSuperLayer) |
Returns if the super layer with the given id is axial. | |
static EStereoKind | getStereoKind (ISuperLayer iSuperLayer) |
Returns the stereo kind of the super layer. | |
static ISuperLayer | getNextInwards (ISuperLayer iSuperLayer) |
Returns the super layer that is inside of the given super layer. | |
static ISuperLayer | getNextOutwards (ISuperLayer iSuperLayer) |
Returns the super layer that is outside of the given super layer. | |
template<class T > | |
static ISuperLayer | getFrom (const T &t) |
Returns the superlayer of an object. | |
Static Public Attributes | |
static const ISuperLayer | c_N = 9 |
Constant representing the total number of cdc superlayers. | |
static const ISuperLayer | c_InnerVolume = -1 |
Constant marking the subdetectors closer to the IP than the CDC. | |
static const ISuperLayer | c_OuterVolume = 9 |
Constant marking the subdetectors further away from the IP than the CDC. | |
static const ISuperLayer | c_Invalid = SHRT_MIN |
Constant making an invalid superlayer id. | |
This is a utility class for the free ISuperLayer type.
It provides the basic methods to operate on the ISuperLayer numbers.
Definition at line 50 of file ISuperLayer.h.
|
inlinestatic |
Returns the superlayer of an object.
Definition at line 102 of file ISuperLayer.h.
|
static |
Returns the super layer that is inside of the given super layer.
Return c_Invalid for the inner volume and for invalid super layers
Definition at line 63 of file ISuperLayer.cc.
|
static |
Returns the super layer that is outside of the given super layer.
Return c_Invalid for the outer volume and for invalid super layers
Definition at line 72 of file ISuperLayer.cc.
|
static |
Returns the stereo kind of the super layer.
Definition at line 26 of file ISuperLayer.cc.
|
static |
Returns if the super layer with the given id is axial.
Definition at line 21 of file ISuperLayer.cc.
|
static |
Indicates if the given number corresponds to a true cdc superlayer - excludes the logic ids for inner and outer volume.
Definition at line 43 of file ISuperLayer.cc.
|
static |
Indicates if the given number corresponds to the logical superlayer of the column inside the CDC.
Definition at line 53 of file ISuperLayer.cc.
|
static |
Indicates if the given number corresponds to a true cdc superlayer - excludes the logic ids for inner and outer volume.
Definition at line 38 of file ISuperLayer.cc.
|
static |
Indicates if the given number corresponds to a logical superlayer - includes the logic ids for inner and outer volume.
Definition at line 48 of file ISuperLayer.cc.
|
static |
Indicates if the given number corresponds to the logical superlayer of the volume outside the CDC.
Definition at line 58 of file ISuperLayer.cc.
|
static |
Constant marking the subdetectors closer to the IP than the CDC.
Definition at line 59 of file ISuperLayer.h.
|
static |
Constant making an invalid superlayer id.
Definition at line 65 of file ISuperLayer.h.
|
static |
Constant representing the total number of cdc superlayers.
Definition at line 56 of file ISuperLayer.h.
|
static |
Constant marking the subdetectors further away from the IP than the CDC.
Definition at line 62 of file ISuperLayer.h.