32 #ifndef FALAISE_SNEMO_GEOMETRY_UTILS_H 33 #define FALAISE_SNEMO_GEOMETRY_UTILS_H 1 46 static const unsigned int NSIDES = 2;
100 #endif // FALAISE_SNEMO_GEOMETRY_UTILS_H Left direction (Y-)
Definition: utils.h:54
S : nearest neighbours (side)
Definition: utils.h:90
Top direction (Z+)
Definition: utils.h:57
static int get_side_from_label(const std::string &label_)
Get the side code from a label.
Invalid/undefined direction.
Definition: utils.h:51
S or D.
Definition: utils.h:92
static const unsigned int NSUBMODULES
Definition: utils.h:47
Back direction (X-)
Definition: utils.h:52
static bool is_side_label_valid(const std::string &label_)
Check if a label represents a valid side.
direction_index
Direction identifier constants in the SuperNEMO reference frame.
Definition: utils.h:50
Some geometry utility.
Definition: utils.h:44
D : nearest diagonal.
Definition: utils.h:91
Definition: calo_tapered_scin_box_model.h:54
Invalid/undefined side.
Definition: utils.h:62
side_index
Side identifier constants (X axis in the SuperNEMO reference frame)
Definition: utils.h:61
static const unsigned int NSIDES
Definition: utils.h:46
Back side (X-)
Definition: utils.h:63
Bottom direction (Z-)
Definition: utils.h:56
Front direction (X+)
Definition: utils.h:53
static const std::string & side_back_label()
Return a label representing the "back" side.
static const std::string & side_front_label()
Return a label representing the "front" side.
Front side (X+)
Definition: utils.h:64
grid_neighbour_mask_type
Neighbourg flag on a 2D-grid [s][s][s][s][s] [s][D][S][D][s] [s][S][x][S][s] [s][D][S][D][s] [s][s][s...
Definition: utils.h:87
Right direction (Y+)
Definition: utils.h:55