13 template <
class T> T
copy(
const T& obj) {
return T{
obj}; }
24 std::vector<Identifier> rdoList;
26 std::vector<signed char> rdoListPers = persObj->
m_rdoList;
27 for (
auto&
diff : rdoListPers ) {
29 rdoList.push_back(rdoId);
33 cmat(0,0) =
static_cast<double>(persObj->
m_errorMat);
75 std::vector<signed char> rdoListPers;
76 const std::vector<Identifier>& rdoListTrans = transObj->
rdoList();
77 for (
const auto& rdo_id : rdoListTrans ) {
81 int diff = (int)(rdoIdCompact-clusIdCompact);
82 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.
An sTgcReadoutElement corresponds to a single STGC module; therefore typicaly a barrel muon station c...
std::vector< int > m_stripCharges
std::vector< short int > m_stripTimes
float m_locX
Equivalent to localPosition (locX) in the base class.
float m_errorMat
1-d ErrorMatrix in the base class.
std::vector< signed char > m_rdoList
Store offsets.
std::vector< uint16_t > m_stripNumbers
cluster quantities
Class to represent sTgc measurements.
int charge() const
Returns the bcBitMap of this PRD bit2 for Previous BC, bit1 for Current BC, bit0 for Next BC.
const std::vector< uint16_t > & stripNumbers() const
returns the list of strip numbers
const std::vector< int > & stripCharges() const
returns the list of charges
virtual const MuonGM::sTgcReadoutElement * detectorElement() const override final
Returns the detector element corresponding to this PRD.
const std::vector< short int > & stripTimes() const
returns the list of times
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)
static Muon::sTgcPrepData createsTgcPrepData(const Muon::sTgcPrepData_p2 *persObj, const Identifier clusId, const MuonGM::sTgcReadoutElement *m_detEl, MsgStream &log)
void transToPers(const Muon::sTgcPrepData *transObj, Muon::sTgcPrepData_p2 *persObj, MsgStream &log)
void persToTrans(const Muon::sTgcPrepData_p2 *persObj, Muon::sTgcPrepData *transObj, MsgStream &log)
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Eigen::Matrix< double, 2, 1 > Vector2D