ATLAS Offline Software
Loading...
Searching...
No Matches
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
11namespace 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;
33 MuonCalibHit_E(const MuonFixedId& id, definePars pos);
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
std::pair< std::vector< unsigned int >, bool > res
const Amg::Vector3D & position() const
return the (global) position of the MuonCalibHit
void setDriftRadius(float driftRadius)
sets the error on the driftradius of the MuonCalibHit
int type() const
return the type of measurement
const MuonFixedId & identify() const
return the MuonCalib::MuonFixedId of the MuonCalibHit
void setPull(float pull)
sets the error on the driftradius of the MuonCalibHit
void setResidual(float res)
sets the error on the driftradius of the MuonCalibHit
MuonCalibHit_E()=default
default constructor
float error() const
return the error on the driftradius of the MuonCalibHit
float residual() const
return the residual
float pull() const
return the pull
MuonFixedId m_id
Identifier of the (athena-independent) type MuonCalib::MuonFixedId.
void setError(float error)
sets the error on the driftradius of the MuonCalibHit
void setId(const MuonFixedId &id)
sets the (global) position of the MuonCalibHit
float driftRadius() const
return the driftradius of the MuonCalibHit
void setPosition(const Amg::Vector3D &pos)
sets the driftradius of the MuonCalibHit
virtual ~MuonCalibHit_E()=default
destructor
Implements fixed identifiers not dependent upon Athena Identifier for internal use in the calibration...
Definition MuonFixedId.h:50
Eigen::Matrix< double, 3, 1 > Vector3D
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
float pull
pull including track error
int measType
error on the driftRadius
Amg::Vector3D pos
Global position.