CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/CgemSim/CgemSim-01-00-32/CgemSim/BesCgemSliceParametrization.hh
Go to the documentation of this file.
1#ifndef BesCgemSliceParametrization_hh
2#define BesCgemSliceParametrization_hh 1
3
4#include "G4VPVParameterisation.hh"
5#include "G4VPhysicalVolume.hh"
6#include "G4ThreeVector.hh"
7#include "G4RotationMatrix.hh"
8
9class BesCgemSliceParametrization : public G4VPVParameterisation
10{
11 public:
14
15 void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume* physVol) const;
16 void SetAnodeLength(double alength) { fAnodeLength = alength; }
17 void SetSliceLength(double slength) { fSliceLength = slength; }
18 void SetTiltAngle(double tangle) { fTiltAngle = tangle; }
19
20private:
21 double fAnodeLength, fSliceLength, fTiltAngle;
22 G4ThreeVector *origin;
23 G4RotationMatrix *rot;
24
25};
26#endif
void ComputeTransformation(const G4int copyNo, G4VPhysicalVolume *physVol) const
virtual ~BesCgemSliceParametrization()