9 template <
class T> T
copy(
const T& obj) {
return T{
obj}; }
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 = (
short int) transObj->
time();
88 std::vector<signed char> rdoListPers;
89 const std::vector<Identifier>& rdoListTrans = transObj->
rdoList();
90 for (
const auto& rdo_id : rdoListTrans ) {
94 int diff = (int)(rdoIdCompact-clusIdCompact);
95 rdoListPers.push_back((
signed char)
diff);
char data[hepevt_bytes_allocation_ATLAS]
void diff(const Jet &rJet1, const Jet &rJet2, std::map< std::string, double > varDiff)
Difference between jets - Non-Class function required by trigger.
value_type get_compact() const
Get the compact id.
Identifier32 get_identifier32() const
Get the 32-bit version Identifier, will be invalid if >32 bits needed.
void persToTrans(const Muon::MMPrepData_p1 *persObj, Muon::MMPrepData *transObj, MsgStream &log)
static Muon::MMPrepData createMMPrepData(const Muon::MMPrepData_p1 *persObj, Identifier clusId, const MuonGM::MMReadoutElement *detEl, MsgStream &log)
function used to create an MMPrepDataObject when converting Pers to trans
void transToPers(const Muon::MMPrepData *transObj, Muon::MMPrepData_p1 *persObj, MsgStream &log)
An MMReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station con...
We don't write out (from Trk::PrepRawData) m_indexAndHash (can be recomputed), m_clusId (can be recom...
std::vector< short int > m_stripTimes
std::vector< float > m_stripDriftErrors_1_1
std::vector< signed char > m_rdoList
Store offsets.
std::vector< float > m_stripDriftErrors_0_0
std::vector< uint16_t > m_stripNumbers
these are the parameters of the muTPC reconstruction
float m_errorMat
1-d ErrorMatrix in the base class.
std::vector< int > m_stripCharges
float m_locX
Equivalent to localPosition (locX) in the base class.
std::vector< float > m_stripDriftDist
Class to represent MM measurements.
std::vector< float > stripDriftErrors_0_0() const
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
float angle() const
Returns the microTPC angle.
float driftDist() const
Returns the Drift Distance.
virtual const MuonGM::MMReadoutElement * detectorElement() const override final
Returns the detector element corresponding to this PRD.
short int time() const
Returns the time (in ns)
const std::vector< float > & stripDriftDist() const
returns the list of drift distances
const std::vector< int > & stripCharges() const
returns the list of charges
int charge() const
Returns the AD.
void setAuthor(Author author)
float chisqProb() const
Returns the microTPC chisq Prob.
std::vector< float > stripDriftErrors_1_1() const
const Amg::Vector2D & localPosition() const
return the local position reference
Identifier identify() const
return the identifier
const Amg::MatrixX & localCovariance() const
return const ref to the error matrix
const std::vector< Identifier > & rdoList() const
return the List of rdo identifiers (pointers)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Matrix< double, 2, 1 > Vector2D