3 #include <Geant4/G4ThreeVector.hh>
4 #include <Geant4/G4Tubs.hh>
5 #include <Geant4/G4Types.hh>
6 #include <Geant4/G4VPhysicalVolume.hh>
32 , _radiusOut(radiusOut)
37 cout <<
" invalid eta, max<min"
47 cout <<
" invalid radius parameters:"
48 <<
" radiusIn: " << radiusIn
49 <<
" radiusOut: " << radiusOut
56 double dEta = totalEta /
_neta;
59 for (
unsigned int i = 0; i < neta; i++)
62 double etaMin = _minEta + dEta * i;
63 double etaMax = etaMin + dEta;
68 double zpos = (zmin + zmax) / 2.0;
69 double zhalf = (zmax - zmin) / 2.0;
70 _zpos.push_back(zpos);
72 std::cout << zmin <<
" " << zmax <<
" " << zpos <<
" +/- " << zhalf << std::endl;
77 for (
unsigned int i = 0; i <
_neta; i++)
82 std::cout <<
"*********** Constructing PHG4EtaParameterization ***************" << std::endl;
83 std::cout << std::endl;
87 std::cout <<
"Min/Max Z = " <<
_zpos.front() -
_zhalf.front() <<
" / " <<
_zpos.back() +
_zhalf.back() << std::endl;
89 std::cout << std::endl;
90 std::cout <<
"********* End Constructing PHG4EtaParameterization *************" << std::endl;
95 std::cout <<
"PHG4EtaParameterization::~PHG4EtaParameterization: Alas, poor Yorick! I knew him, Horatio"
101 os <<
"PhiEtaParameterization: NETA = " <<
_neta << std::endl;