5 const std::vector<VolumeSide>& faces,
8 :
MagVolume(
pos,
rot, mfp, sf), volumeNo(0), copyno(0), theFaces(faces) {
14 for (std::vector<VolumeSide>::const_iterator
i =
theFaces.begin();
i !=
theFaces.end(); ++
i) {
GloballyPositioned< float >::GlobalPoint GlobalPoint
ALPAKA_FN_ACC int side(int ieta, int iphi)
bool inside(const GlobalPoint &gp, double tolerance=0.) const override
std::vector< VolumeSide > theFaces
MagVolume6Faces(const PositionType &pos, const RotationType &rot, const std::vector< VolumeSide > &faces, const MagneticFieldProvider< float > *mfp, double sf=1.)