File indexing completed on 2023-10-25 09:40:12
0001 #ifndef DETECTOR_DESCRIPTION_CORE_DDI_DIVISION_H
0002 #define DETECTOR_DESCRIPTION_CORE_DDI_DIVISION_H
0003
0004 #include <iostream>
0005 #include <map>
0006 #include <utility>
0007 #include <vector>
0008
0009 #include "DetectorDescription/Core/interface/DDAxes.h"
0010 #include "DetectorDescription/Core/interface/DDLogicalPart.h"
0011
0012 namespace DDI {
0013 class Division {
0014 public:
0015 Division(const DDLogicalPart &parent, DDAxes axis, int nReplicas, double width, double offset);
0016
0017
0018 Division(const DDLogicalPart &parent, DDAxes axis, int nReplicas, double offset);
0019
0020
0021 Division(const DDLogicalPart &parent, DDAxes axis, double width, double offset);
0022
0023 DDAxes axis() const;
0024 int nReplicas() const;
0025 double width() const;
0026 double offset() const;
0027 const DDLogicalPart &parent() const;
0028 void stream(std::ostream &);
0029
0030 private:
0031 DDLogicalPart parent_;
0032 DDAxes axis_;
0033 int nReplicas_;
0034 double width_;
0035 double offset_;
0036 };
0037 }
0038
0039 #endif