|
static G4RotationMatrix | getRotationMatrix (std::vector< double > a_v1, std::vector< double > a_v2={0, 0, 1}) |
|
static void | placeGeoObject (NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, int a_ID=0) |
|
static void | placeOrgScintillators (NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, ExperimentConfig &a_config) |
|
static void | placeClovers (NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, ExperimentConfig &a_config) |
| same as above but for clovers More...
|
|
static G4RotationMatrix | getCloverRotationMatrix (CloverInfo &a_cloverInfo) |
|
static void | placeInorgScintillators (NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, ExperimentConfig &a_config) |
|
static void | placeHPGes (NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, ExperimentConfig &a_config) |
|
this class is intended to hold helper functions for doing things nonspecific in the geant repo methods will likely be static making it more akin to a namespace
G4RotationMatrix NSDGeantHelper::getCloverRotationMatrix |
( |
CloverInfo & |
a_cloverInfo | ) |
|
|
static |
computes the rotation matrix for the clover a_inverseRot = true will return a rotation matrix to unrotate the clover
get position of 2 leafs on top of each other to adjust rotation angle
first rotation matrix to align clover with the rotation vector
the clover is free to rotate on its axis need to re-align the rotated vector from leaf3-leaf0 with the
vector from leaf3-leaf0 in unrotated geometry