@@ -19,61 +19,63 @@ namespace ActsExamples {
1919class MuonSegment {
2020 public:
2121 using MuonId = MuonSpacePoint::MuonId;
22- /* * @brief Empty default constructor */
22+ // / @brief Empty default constructor
2323 MuonSegment () = default ;
24- /* * @brief Standard copy constructor */
24+ // / @brief Standard copy constructor
2525 MuonSegment (const MuonSegment& other) = default ;
26- /* * @brief Standard move constructor */
26+ // / @brief Standard move constructor
2727 MuonSegment (MuonSegment&& other) = default ;
28- /* * @brief Standard copy assignment */
28+ // / @brief Standard copy assignment
2929 MuonSegment& operator =(const MuonSegment& other) = default ;
3030
31- /* * @brief Returns the reconstructed segment position in global coordinates */
31+ // / @brief Returns the reconstructed segment position in global coordinates
3232 const Acts::Vector3& globalPosition () const { return m_globPos; }
33- /* * @brief Returns the reconstructed segment direction in global coordinates */
33+ // / @brief Returns the reconstructed segment direction in global coordinates
3434 const Acts::Vector3& globalDirection () const { return m_globDir; }
35- /* * @brief Returns the reconstructed segment position expressed in the local space point frame*/
35+ // / @brief Returns the reconstructed segment position expressed in the local space point frame
3636 const Acts::Vector3& localPosition () const { return m_localPos; }
37- /* * @brief Returns the reconstructed segment direction expressed in the local space point frame*/
37+ // / @brief Returns the reconstructed segment direction expressed in the local space point frame
3838 const Acts::Vector3& localDirection () const { return m_localDir; }
39- /* * @brief Returns the associated MS sector identifier */
39+ // / @brief Returns the associated MS sector identifier
4040 const MuonId& id () const { return m_id; }
41- /* * @brief returns the fitted segment time & uncertainty */
41+ // / @brief returns the fitted segment time & uncertainty
4242 double time () const { return m_time; }
4343 double timeUncert () const { return m_timeError; }
44- /* * @brief Returns the chiSquared & degreed of freedom */
44+ // / @brief Returns the chiSquared & degreed of freedom
4545 double chiSquared () const { return m_chiSquared; }
4646 double nDoF () const { return m_nDoF; }
47- /* * @brief Returns the number of precision hits building the segment */
47+ // / @brief Returns the number of precision hits building the segment
4848 unsigned nPrecisionHits () const { return m_precisionHits; }
49- /* * @brief Returns the number of complementary trigger hits in the bending plane */
49+ // / @brief Returns the number of complementary trigger hits in the bending plane
5050 unsigned nTrigEtaLayers () const { return m_triEtaLayers; }
51- /* * @brief Returns the number of complementary trigger hits in the non-bending plane */
51+ // / @brief Returns the number of complementary trigger hits in the non-bending plane
5252 unsigned nTrigPhiLayers () const { return m_phiLayers; }
53- /* * @brief Set the global segment position & direction */
53+ // / @brief Set the global segment position & direction
5454 void setGlobalCoords (const Acts::Vector3& pos, const Acts::Vector3& dir) {
5555 m_globPos = pos;
5656 m_globDir = dir;
5757 }
58- /* * @brief Set the local segment position & direction */
58+ // / @brief Set the local segment position & direction
59+ // / @param pos: Position of the segment in the local frame
60+ // / @param dir: Direction of the segment in the local frame
5961 void setLocalCoords (const Acts::Vector3& pos, const Acts::Vector3& dir) {
6062 m_localPos = pos;
6163 m_localDir = dir;
6264 }
63- /* * @brief Set the Identifier */
65+ // / @brief Set the Identifier
6466 void setId (const MuonId& id) { m_id = id; }
65- /* * @brief Set the time & unceratinty */
67+ // / @brief Set the time & unceratinty
6668 void setTime (const double time, const double timeError) {
6769 m_time = time;
6870 m_timeError = timeError;
6971 }
70- /* * @brief Set the chi2 & the number of degrees of freedom */
72+ // / @brief Set the chi2 & the number of degrees of freedom
7173 void setFitQuality (const double chi2, const unsigned nDoF) {
7274 m_chiSquared = chi2;
7375 m_nDoF = nDoF;
7476 }
75- /* * @brief Set the segment hit summary in terms of precision hits (Straw/ Mm /sTgc)
76- * & trigger eta (Rpc /Tgc) & trigger phi (Rpc / Tgc) hits */
77+ // / @brief Set the segment hit summary in terms of precision hits (Straw/ Mm /sTgc)
78+ // / & trigger eta (Rpc /Tgc) & trigger phi (Rpc / Tgc) hits
7779 void setHitSummary (unsigned nPrec, unsigned nTrigEta, unsigned nTrigPhi) {
7880 m_precisionHits = nPrec;
7981 m_triEtaLayers = nTrigEta;
@@ -86,18 +88,18 @@ class MuonSegment {
8688 Acts::Vector3 m_globDir{Acts::Vector3::Zero ()};
8789 Acts::Vector3 m_localPos{Acts::Vector3::Zero ()};
8890 Acts::Vector3 m_localDir{Acts::Vector3::Zero ()};
89- /* * @brief Fitted segment time of arrival */
91+ // / @brief Fitted segment time of arrival
9092 double m_time{0 .f };
91- /* * @brief Uncertainty on the time of arrival */
93+ // / @brief Uncertainty on the time of arrival
9294 double m_timeError{0 .f };
93- /* * @brief segment chi2 & number of degrees of freedom */
95+ // / @brief segment chi2 & number of degrees of freedom
9496 double m_chiSquared{0 .f };
9597 unsigned m_nDoF{0u };
96- /* * @brief how many precision hits are on the segment (Straw tubes or Mm) */
98+ // / @brief how many precision hits are on the segment (Straw tubes or Mm)
9799 unsigned m_precisionHits{0u };
98- /* * @brief Complementary hits in the non-bending direction (Rpc / Tgc / sTgc) */
100+ // / @brief Complementary hits in the non-bending direction (Rpc / Tgc / sTgc)
99101 unsigned m_phiLayers{0u };
100- /* * @brief Complementary hits in the bending direction (Rpc / Tgc) */
102+ // / @brief Complementary hits in the bending direction (Rpc / Tgc)
101103 unsigned m_triEtaLayers{0u };
102104};
103105using MuonSegmentContainer = std::vector<MuonSegment>;
0 commit comments