ATLAS Offline Software
MuonCalibHit_E.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MuonCalibExtraEvt_MUONCALIBHIT_E_H
6 #define MuonCalibExtraEvt_MUONCALIBHIT_E_H
7 
11 namespace MuonCalib {
19  // using MuonCalibHit_E = MuonCalibRawMdtHit;
20 
22  public:
23  struct definePars {
24  float driftRadius{0.};
25  float error{0.};
26  float resi{-9999.};
27  float pull{-9999.};
28  int measType{-9999};
29  Amg::Vector3D pos{0., 0., 0.};
30  };
31 
32  MuonCalibHit_E() = default;
34 
35  virtual ~MuonCalibHit_E() = default;
36 
37  const MuonFixedId& identify() const;
38  const Amg::Vector3D& position() const;
39  float driftRadius() const;
40  float error() const;
41  float residual() const;
42  float pull() const;
43  int type() const;
44 
46  void setId(const MuonFixedId& id);
48  void setPosition(const Amg::Vector3D& pos);
50 
51  void setDriftRadius(float driftRadius);
53  void setError(float error);
55  void setResidual(float res);
57 
58  void setPull(float pull);
60  void setType(int type);
61 
62  private:
65  };
66 } // namespace MuonCalib
67 
68 #endif // MUONCALIBHIT_E_H
MuonCalib::MuonCalibHit_E::residual
float residual() const
return the residual
Definition: MuonCalibHit_E.cxx:16
MuonCalib::MuonCalibHit_E::definePars::resi
float resi
residual
Definition: MuonCalibHit_E.h:26
MuonCalib::MuonCalibHit_E::MuonCalibHit_E
MuonCalibHit_E()=default
default constructor
MuonCalib::MuonCalibHit_E::definePars
Definition: MuonCalibHit_E.h:23
MuonCalib::MuonCalibHit_E::m_pars
definePars m_pars
Definition: MuonCalibHit_E.h:64
MuonCalib::MuonCalibHit_E::definePars::measType
int measType
error on the driftRadius
Definition: MuonCalibHit_E.h:28
MuonCalib::MuonCalibHit_E::definePars::driftRadius
float driftRadius
driftRadius
Definition: MuonCalibHit_E.h:24
MuonCalib::MuonCalibHit_E::driftRadius
float driftRadius() const
return the driftradius of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:14
MuonCalib::MuonCalibHit_E::pull
float pull() const
return the pull
Definition: MuonCalibHit_E.cxx:17
MuonCalib::MuonCalibHit_E::setType
void setType(int type)
Definition: MuonCalibHit_E.cxx:28
GeoPrimitives.h
MuonCalib::MuonCalibHit_E::setPull
void setPull(float pull)
sets the error on the driftradius of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:27
MuonCalib::MuonCalibHit_E::identify
const MuonFixedId & identify() const
return the MuonCalib::MuonFixedId of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:12
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::MuonCalibHit_E::position
const Amg::Vector3D & position() const
return the (global) position of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:13
MuonCalib::MuonCalibHit_E::definePars::pull
float pull
pull including track error
Definition: MuonCalibHit_E.h:27
MuonCalib::MuonFixedId
Definition: MuonFixedId.h:50
Amg::Vector3D
Eigen::Matrix< double, 3, 1 > Vector3D
Definition: GeoPrimitives.h:47
python.LumiBlobConversion.pos
pos
Definition: LumiBlobConversion.py:18
MuonCalib::MuonCalibHit_E::~MuonCalibHit_E
virtual ~MuonCalibHit_E()=default
destructor
MuonCalib::MuonCalibHit_E::setId
void setId(const MuonFixedId &id)
sets the (global) position of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:20
MuonCalib::MuonCalibHit_E::type
int type() const
return the type of measurement
Definition: MuonCalibHit_E.cxx:18
MuonCalib::MuonCalibHit_E::definePars::pos
Amg::Vector3D pos
Global position.
Definition: MuonCalibHit_E.h:29
MuonCalib::MuonCalibHit_E::setDriftRadius
void setDriftRadius(float driftRadius)
sets the error on the driftradius of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:23
MuonCalib::MuonCalibHit_E::m_id
MuonFixedId m_id
Identifier of the (athena-independent) type MuonCalib::MuonFixedId.
Definition: MuonCalibHit_E.h:63
MuonCalib::MuonCalibHit_E::error
float error() const
return the error on the driftradius of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:15
MuonCalib::MuonCalibHit_E::setError
void setError(float error)
sets the error on the driftradius of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:24
MuonCalibRawMdtHit.h
MuonCalib::MuonCalibHit_E::setPosition
void setPosition(const Amg::Vector3D &pos)
sets the driftradius of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:21
error
Definition: IImpactPoint3dEstimator.h:70
MuonCalib::MuonCalibHit_E
Definition: MuonCalibHit_E.h:21
MuonFixedId.h
MuonCalib::MuonCalibHit_E::setResidual
void setResidual(float res)
sets the error on the driftradius of the MuonCalibHit
Definition: MuonCalibHit_E.cxx:25