|
ATLAS Offline Software
|
Go to the documentation of this file.
10 const std::string& inContainer,
12 const std::string& collName):
24 if (!inContainer.isPresent()) {
35 const Identifier id{
re->measurementId(strip->measurementHash())};
59 const Identifier id{
re->measurementId(strip.measurementHash())};
62 if (insert_itr.second) {
65 return insert_itr.first->second;
70 const Identifier id{
re->measurementId(strip.measurementHash())};
79 if (strip.numDimensions() == 1) {
80 locCov(0,0) = strip.localCovariance<1>()(0,0);
82 locCov = xAOD::toEigen(strip.localCovariance<2>());
84 const Amg::Vector3D globPos{
re->localToGlobalTrans(gctx, strip.layerHash()) *locPos};
std::unordered_set< Identifier > m_filteredChamb
Set of chambers to be dumped.
RpcMeasurement_v1: Class storing the geneic.
bool m_applyFilter
Apply a filter to dump the prds.
TwoVectorBranch m_locPos
Local strip position of the measurement
SG::ReadHandleKey< xAOD::RpcMeasurementContainer > m_key
void push_back(const Identifier &id) override final
RpcMeasurementVariables(MuonTesterTree &tree, const std::string &inContainer, MSG::Level msgLvl=MSG::Level::INFO, const std::string &collName="RpcPrd")
#define ATH_MSG_VERBOSE(x)
bool declare_keys() override final
#define AmgSymMatrix(dim)
TTree * tree() override final
Returns the underlying TTree object.
ThreeVectorBranch m_globPos
Position of the Mdt drift circle in the global frame.
VectorBranch< float > & m_time
Time of the measurement.
bool declare_dependency(Key &key)
Declares the ReadHandle/ ReadCondHandleKey as data dependency of the algorithm.
const ActsGeometryContext & getGeoCtx(const EventContext &ctx) const
void push_back(const Amg::Vector3D &vec)
interface using the Amg::Vector3D
std::string toString(const Translation3D &translation, int precision=4)
GeoPrimitvesToStringConverter.
bool msgLvl(const MSG::Level lvl) const
Test the output level.
void push_back(const Amg::Vector2D &vec)
interface using the Amg::Vector3D
void enableSeededDump()
Activates the seeded dump of the branch.
const Muon::IMuonIdHelperSvc * idHelperSvc() const
Include the GeoPrimitives which need to be put first.
RpcIdentifierBranch m_id
Identifier of the Mdt.
void push_back(const T &value)
Adds a new element at the end of the vector.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
void dump(const ActsGeometryContext &gctx, const xAOD::RpcMeasurement &dc)
Eigen::Matrix< double, 3, 1 > Vector3D
std::unordered_map< Identifier, unsigned int > m_idOutIdxMap
Map of Identifiers to the position index inside the vector.
const boost::regex re(r_e)
VectorBranch< float > & m_toT
Time over threshold.
Handle class for reading from StoreGate.
std::vector< const xAOD::RpcMeasurement * > m_dumpedPRDS
Vector of PRDs parsed via the external mechanism. These measurements are parsed first.
void dumpAllHitsInChamber(const Identifier &chamberId)
All hits from this particular chamber identifier are dumped to the output including the ones from the...
bool fill(const EventContext &ctx) override final
The fill method checks if enough information is provided such that the branch is cleared from the inf...
TwoVectorBranch m_locCov
local covariance of the measurement
unsigned int push_back(const xAOD::RpcMeasurement &measurement)
Push back the drift circle measurement to the output.