File indexing completed on 2024-04-06 12:05:24
0001 #ifndef DDD_DDI_TRUNCTUBS_H
0002 #define DDD_DDI_TRUNCTUBS_H
0003
0004 #include <iostream>
0005 #include "Solid.h"
0006
0007 namespace DDI {
0008
0009 class TruncTubs : public Solid {
0010 public:
0011 TruncTubs(double zHalf,
0012 double rIn,
0013 double rOut,
0014 double startPhi,
0015 double deltaPhi,
0016 double cutAtStart,
0017 double cutAtDelta,
0018 bool cutInside);
0019
0020 double volume() const override { return -1; }
0021
0022 void stream(std::ostream& os) const override;
0023 };
0024 }
0025
0026 #endif