Berkeley Nuclear Data Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
NSDGeantHelper.h
Go to the documentation of this file.
1 #ifndef _NSD_GEANT_HELPER_
2 #define _NSD_GEANT_HELPER_
3 #include "ConfigBuilder.h"
4 #include "GeometryObject.h"
5 
6 #include "G4ThreeVector.hh"
7 #include "G4RotationMatrix.hh"
8 #include "G4VPhysicalVolume.hh"
13 {
14 public:
20  static G4RotationMatrix getRotationMatrix(std::vector<double> a_v1,
21  std::vector<double> a_v2 = {0,0,1}
22  );
27  static void placeGeoObject(
28  NSDG4::GeometryObject* a_geoObject,
30  G4LogicalVolume* a_mother,
31  int a_ID = 0
32  );
36  static void placeOrgScintillators(
37  NSDG4::GeometryObject* a_geoObject,
39  G4LogicalVolume* a_mother,
41  ExperimentConfig& a_config
42  );
44  static void placeClovers(NSDG4::GeometryObject* a_geoObject,
45  G4LogicalVolume* a_mother,
46  ExperimentConfig& a_config);
49  static G4RotationMatrix getCloverRotationMatrix(CloverInfo& a_cloverInfo);
50  static void placeInorgScintillators(NSDG4::GeometryObject* a_geoObject,
51  G4LogicalVolume* a_mother,
52  ExperimentConfig& a_config);
53  static void placeHPGes(NSDG4::GeometryObject* a_geoObject,
54  G4LogicalVolume* a_mother,
55  ExperimentConfig& a_config);
56 };
57 
58 #endif
this class is inteded to represent of full set of information
Definition: ConfigClasses.h:341
Definition: ConfigClasses.h:431
abstract base class of geometry objects allowing modifications
Definition: GeometryObject.h:25
Definition: NSDGeantHelper.h:13
static void placeOrgScintillators(NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, ExperimentConfig &a_config)
Definition: NSDGeantHelper.cpp:82
static G4RotationMatrix getCloverRotationMatrix(CloverInfo &a_cloverInfo)
Definition: NSDGeantHelper.cpp:155
static void placeGeoObject(NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, int a_ID=0)
Definition: NSDGeantHelper.cpp:42
static void placeInorgScintillators(NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, ExperimentConfig &a_config)
Definition: NSDGeantHelper.cpp:195
static void placeClovers(NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, ExperimentConfig &a_config)
same as above but for clovers
Definition: NSDGeantHelper.cpp:120
static G4RotationMatrix getRotationMatrix(std::vector< double > a_v1, std::vector< double > a_v2={0, 0, 1})
Definition: NSDGeantHelper.cpp:13
static void placeHPGes(NSDG4::GeometryObject *a_geoObject, G4LogicalVolume *a_mother, ExperimentConfig &a_config)
Definition: NSDGeantHelper.cpp:230