ATLAS Offline Software
Loading...
Searching...
No Matches
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
10namespace 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
float charge() const
return the charge
int identify() const
return the identifier of the Hit
~MuonCalibCaloHit()=default
destructor
const Amg::Vector3D & position() const
return the (global) position of the MuonCalibHit
Amg::Vector3D m_pos
Global position.
float time() const
return the time
MuonCalibCaloHit()=default
default constructor
Eigen::Matrix< double, 3, 1 > Vector3D
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.