1 #ifndef __PHG4ETAPARAMETERIZATION_H__
2 #define __PHG4ETAPARAMETERIZATION_H__
4 #include <Geant4/globals.hh>
5 #include <Geant4/G4VPVParameterisation.hh>
9 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); }
66 std::vector<double> _zpos;
67 std::vector<double> _zhalf;
68 std::vector<double> _phi0;
69 std::vector<double> _phi1;
70 std::vector<int> _ieta;
71 std::vector<int> _iphi;
PHG4EtaParameterization(unsigned int neta, double minEta, double maxEta, double startPhi, double deltaPhi, double radiusIn, double radiusOut, double centerZ)
void ComputeDimensions(G4Tubs &ring, const G4int copyNo, const G4VPhysicalVolume *physVol) const
virtual ~PHG4EtaParameterization()
int GetIEta(int copyNo) const
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
virtual void Print(std::ostream &os=std::cout) const