|
ATLAS Offline Software
|
Go to the documentation of this file.
22 std::vector<Identifier> rdoList;
24 std::vector<signed char> rdoListPers = persObj->
m_rdoList;
25 for (
auto&
diff : rdoListPers ) {
27 rdoList.push_back(std::move(rdoId));
30 cmat(0,0) =
static_cast<double>(persObj->
m_errorMat);
69 persObj->
m_time =
static_cast<short int>(transObj->
time());
73 persObj->
m_angle =
static_cast<float>(transObj->
angle());
89 std::vector<signed char> rdoListPers;
90 const std::vector<Identifier>& rdoListTrans = transObj->
rdoList();
91 for (
const auto& rdo_id : rdoListTrans ) {
95 int diff =
static_cast<int>(rdoIdCompact-clusIdCompact);
96 rdoListPers.push_back(
static_cast<signed char>(
diff));
float m_locX
Equivalent to localPosition (locX) in the base class.
char data[hepevt_bytes_allocation_ATLAS]
float driftDist() const
Returns the Drift Distance.
Class to represent MM measurements.
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Matrix< double, 2, 1 > Vector2D
static Muon::MMPrepData createMMPrepData(const Muon::MMPrepData_p2 *persObj, Identifier clusId, const MuonGM::MMReadoutElement *detEl, MsgStream &log)
function used to create an MMPrepDataObject when converting Pers to trans
const Amg::MatrixX & localCovariance() const
return const ref to the error matrix
std::vector< int > m_stripCharges
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
void transToPers(const Muon::MMPrepData *transObj, Muon::MMPrepData_p2 *persObj, MsgStream &log)
std::vector< short int > m_stripTimes
value_type get_compact() const
Get the compact id.
std::vector< float > stripDriftErrors_0_0() const
float angle() const
Returns the microTPC angle.
const std::vector< int > & stripCharges() const
returns the list of charges
virtual const MuonGM::MMReadoutElement * detectorElement() const override final
Returns the detector element corresponding to this PRD.
std::vector< uint16_t > m_stripNumbers
these are the parameters of the muTPC reconstruction
We don't write out (from Trk::PrepRawData) m_indexAndHash (can be recomputed), m_clusId (can be recom...
std::vector< float > m_stripDriftErrors_1_1
const std::vector< uint16_t > & stripNumbers() const
returns the list of strip numbers
const std::vector< short int > & stripTimes() const
returns the list of times
Identifier identify() const
return the identifier
void persToTrans(const Muon::MMPrepData_p2 *persObj, Muon::MMPrepData *transObj, MsgStream &log)
std::vector< float > stripDriftErrors_1_1() const
const Amg::Vector2D & localPosition() const
return the local position reference
short int time() const
Returns the time (in ns)
std::vector< signed char > m_rdoList
Store offsets.
std::vector< float > m_stripDriftErrors_0_0
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
float m_errorMat
1-d ErrorMatrix in the base class.
const std::vector< float > & stripDriftDist() const
returns the list of drift distances
int charge() const
Returns the AD.
float chisqProb() const
Returns the microTPC chisq Prob.
std::vector< float > m_stripDriftDist