|
ATLAS Offline Software
|
Go to the documentation of this file.
9 const std::string& inContainer,
17 m_identifier = std::make_shared<MdtIdentifierBranch>(
tree, m_collName);
20 m_identifier = std::make_shared<RpcIdentifierBranch>(
tree, m_collName);
23 m_identifier = std::make_shared<TgcIdentifierBranch>(
tree, m_collName);
26 m_identifier = std::make_shared<sTgcIdentifierBranch>(
tree, m_collName);
29 m_identifier = std::make_shared<MmIdentifierBranch>(
tree, m_collName);
43 if (!inContainer.isPresent()) {
58 const Amg::Vector3D locPos{xAOD::toEigen(simHit->localPosition())};
ThreeVectorBranch m_globDir
VectorBranch< float > & m_kinE
DetectorType
Simple enum to Identify the Type of the ACTS sub detector.
VectorBranch< float > & m_energyDep
std::shared_ptr< MuonIdentifierBranch > m_identifier
@ Tgc
Resitive Plate Chambers.
The MuonReadoutElement is an abstract class representing the geometry representing the muon detector.
#define ATH_MSG_VERBOSE(x)
VectorBranch< float > & m_mass
ThreeVectorBranch m_locDir
TTree * tree() override final
Returns the underlying TTree object.
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...
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.
@ Mm
Maybe not needed in the migration.
SimHitTester(MuonTesterTree &tree, const std::string &inContainer, const ActsTrk::DetectorType detType, MSG::Level msgLvl=MSG::Level::INFO)
VectorBranch< float > & m_beta
Eigen::Affine3d Transform3D
const Muon::IMuonIdHelperSvc * idHelperSvc() const
bool declare_keys() override final
Include the GeoPrimitives which need to be put first.
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...
virtual bool isMdt(const Identifier &id) const =0
returns whether this is a MDT Identifier or not
ThreeVectorBranch m_locPos
std::string to_string(const DetectorType &type)
ThreeVectorBranch m_globPos
VectorBranch< int > & m_pdgId
Eigen::Matrix< double, 3, 1 > Vector3D
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
const MuonGMR4::MuonDetectorManager * getDetMgr() const
#define ATH_MSG_WARNING(x)
const boost::regex re(r_e)
@ Rpc
Monitored Drift Tubes.
Handle class for reading from StoreGate.
This is a "hash" representation of an Identifier. This encodes a 32 bit index which can be used to lo...
VectorBranch< float > & m_globTime
SG::ReadHandleKey< xAOD::MuonSimHitContainer > m_key
bool addBranch(std::shared_ptr< IMuonTesterBranch > branch)
Branch is added to the tree without transferring the ownership.
const MuonReadoutElement * getReadoutElement(const Identifier &id) const
Returns a generic Muon readout element.