1 #ifndef __PHG4ETAPHIPARAMETERIZATION_H__
2 #define __PHG4ETAPHIPARAMETERIZATION_H__
5 #include <Geant4/globals.hh>
6 #include <Geant4/G4VPVParameterisation.hh>
8 class G4VPhysicalVolume;
32 virtual void Print(std::ostream& os = std::cout)
const;
35 G4VPhysicalVolume* physVol)
const;
38 const G4VPhysicalVolume* physVol)
const;
40 int GetIEta(
int copyNo)
const {
return _ieta.at(copyNo); }
41 int GetIPhi(
int copyNo)
const {
return _iphi.at(copyNo); }
68 std::vector<double> _zpos;
69 std::vector<double> _zhalf;
70 std::vector<double> _phi0;
71 std::vector<double> _phi1;
72 std::vector<int> _ieta;
73 std::vector<int> _iphi;
void ComputeDimensions(G4Tubs &ring, const G4int copyNo, const G4VPhysicalVolume *physVol) const
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
virtual void Print(std::ostream &os=std::cout) const
int GetIPhi(int copyNo) const
virtual ~PHG4EtaPhiParameterization()
int GetIEta(int copyNo) const
PHG4EtaPhiParameterization(unsigned int neta, double minEta, double maxEta, unsigned int nphi, double startPhi, double deltaPhi, double radiusIn, double radiusOut, double centerZ)