ATLAS Offline Software
MuonCalibCaloHit.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONCALIBCALOHIT_H
6 #define MUONCALIBCALOHIT_H
7 
9 
10 namespace MuonCalib {
11 
21  public:
22  MuonCalibCaloHit() = default;
23  MuonCalibCaloHit(int id, const Amg::Vector3D& pos, float time, float charge);
24  ~MuonCalibCaloHit() = default;
25 
26  int identify() const;
27  const Amg::Vector3D& position() const;
28  float time() const;
29  float charge() const;
30 
31  private:
32  int m_id{0};
33  Amg::Vector3D m_pos{0., 0., 0.};
34  float m_time{0.};
35  float m_charge{0.};
36  };
37 
38 } // namespace MuonCalib
39 
40 #endif
MuonCalib::MuonCalibCaloHit::m_charge
float m_charge
charge
Definition: MuonCalibCaloHit.h:35
MuonCalib::MuonCalibCaloHit::m_time
float m_time
time
Definition: MuonCalibCaloHit.h:34
MuonCalib::MuonCalibCaloHit::~MuonCalibCaloHit
~MuonCalibCaloHit()=default
destructor
MuonCalib::MuonCalibCaloHit::identify
int identify() const
return the identifier of the Hit
Definition: MuonCalibCaloHit.cxx:12
MuonCalib::MuonCalibCaloHit::charge
float charge() const
return the charge
Definition: MuonCalibCaloHit.cxx:15
MuonCalib::MuonCalibCaloHit::time
float time() const
return the time
Definition: MuonCalibCaloHit.cxx:14
MuonCalib::MuonCalibCaloHit
Simplified class designed to store information of a MBTS hit.
Definition: MuonCalibCaloHit.h:20
GeoPrimitives.h
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MuonCalibCaloHit::m_pos
Amg::Vector3D m_pos
Global position.
Definition: MuonCalibCaloHit.h:33
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
MuonCalib::MuonCalibCaloHit::position
const Amg::Vector3D & position() const
return the (global) position of the MuonCalibHit
Definition: MuonCalibCaloHit.cxx:13
MuonCalib::MuonCalibCaloHit::MuonCalibCaloHit
MuonCalibCaloHit()=default
default constructor
MuonCalib::MuonCalibCaloHit::m_id
int m_id
Identifier.
Definition: MuonCalibCaloHit.h:32