File: SpecializedTorus2.h

package info (click to toggle)
vecgeom 1.2.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 23,928 kB
  • sloc: cpp: 88,717; ansic: 6,894; python: 1,035; sh: 582; sql: 538; makefile: 29
file content (28 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/// \file SpecializedTorus2.h

#ifndef VECGEOM_VOLUMES_SPECIALIZEDTORUS2_H_
#define VECGEOM_VOLUMES_SPECIALIZEDTORUS2_H_

#include "VecGeom/base/Global.h"

#include "VecGeom/volumes/kernel/TorusImplementation2.h"
#include "VecGeom/volumes/PlacedTorus2.h"
#include "VecGeom/volumes/SpecializedPlacedVolImplHelper.h"

//#include <stdio.h>

namespace vecgeom {
inline namespace VECGEOM_IMPL_NAMESPACE {

// NOTE: we may want to specialize the torus like we do for the tube
// at the moment this is not done

template <TranslationCode transCodeT, RotationCode rotCodeT>
using SpecializedTorus2 = LoopSpecializedVolImplHelper<TorusImplementation2, transCodeT, rotCodeT>;

using SimpleTorus2 = SpecializedTorus2<translation::kGeneric, rotation::kGeneric>;

} // namespace VECGEOM_IMPL_NAMESPACE
} // namespace vecgeom

#endif // VECGEOM_VOLUMES_SPECIALIZEDTORUS2_H_