REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
TRestGeant4BiasingVolume.cxx
1 
18 #include "TRestGeant4BiasingVolume.h"
19 
20 using namespace std;
21 
22 ClassImp(TRestGeant4BiasingVolume);
23 
24 TRestGeant4BiasingVolume::TRestGeant4BiasingVolume() {
25  fBiasingVolumeType = "virtualBox";
26  // TRestGeant4BiasingVolume default constructor
27 }
28 
29 TRestGeant4BiasingVolume::~TRestGeant4BiasingVolume() {
30  // TRestGeant4BiasingVolume destructor
31 }
32 
33 void TRestGeant4BiasingVolume::PrintBiasingVolume() {
34  cout << "-----------------------------" << endl;
35  cout << "Biasing volume" << endl;
36  cout << "-----------------------------" << endl;
37  cout << "volume size : " << GetBiasingVolumeSize() << " mm" << endl;
38  cout << "volume type : " << GetBiasingVolumeType() << endl;
39  cout << "volume factor : " << GetBiasingFactor() << endl;
40  cout << "volume position : ( " << GetBiasingVolumePosition().X() << " , "
41  << GetBiasingVolumePosition().Y() << " , " << GetBiasingVolumePosition().Z() << " ) mm" << endl;
42  cout << "Energy range : ( " << GetMinEnergy() << " , " << GetMaxEnergy() << " ) keV" << endl;
43  cout << "-----------------------------" << endl;
44 }