ATLAS Offline Software
MuonCalibCaloHit.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 namespace MuonCalib {
8 
9  MuonCalibCaloHit::MuonCalibCaloHit(int id, const Amg::Vector3D& pos, float time, float charge) :
10  m_id{id}, m_pos{pos}, m_time{time}, m_charge{charge} {}
11 
12  int MuonCalibCaloHit::identify() const { return m_id; }
13  const Amg::Vector3D& MuonCalibCaloHit::position() const { return m_pos; }
14  float MuonCalibCaloHit::time() const { return m_time; }
15  float MuonCalibCaloHit::charge() const { return m_charge; }
16 
17 } // namespace MuonCalib
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::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
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
charge
double charge(const T &p)
Definition: AtlasPID.h:538
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
MuonCalibCaloHit.h
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