|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PRDTESTERR4_MMCLUSTERVARIABLES_H
6 #define PRDTESTERR4_MMCLUSTERVARIABLES_H
12 #include <unordered_map>
13 #include <unordered_set>
22 const std::string& inContainer,
24 const std::string& collName=
"MmPrd");
29 bool fill(
const EventContext& ctx)
override final;
VectorBranch< float > & m_locCov
local covariance of the measurement
bool declare_keys() override final
bool m_applyFilter
Apply a filter to dump the prds.
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...
void dumpAllHitsInChamber(const Identifier &chamberId)
All hits from this particular chamber identifier are dumped to the output including the ones from the...
Property holding a SG store/key/clid from which a ReadHandle is made.
void dump(const ActsGeometryContext &gctx, const xAOD::MMCluster &dc)
TTree * tree() override final
Returns the underlying TTree object.
std::unordered_map< Identifier, unsigned int > m_idOutIdxMap
Map of Identifiers to the position index inside the vector.
bool msgLvl(const MSG::Level lvl) const
Test the output level.
Branch to store all information of the MmIdentifier.
VectorBranch< float > & m_locPos
Local strip position of the measurement
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
Include the GeoPrimitives which need to be put first.
ThreeVectorBranch m_globPos
Position of the Mdt drift circle in the global frame.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
void enableSeededDump()
Activates the seeded dump of the branch.
VectorBranch< uint32_t > & m_charge
cluster charge
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
unsigned int push_back(const xAOD::MMCluster &cluster)
Push back the drift circle measurement to the output.
std::vector< const xAOD::MMCluster * > m_dumpedPRDS
Vector of PRDs parsed via the external mechanism. These measurements are parsed first.
MmClusterVariables(MuonTesterTree &tree, const std::string &inContainer, MSG::Level msgLvl=MSG::Level::INFO, const std::string &collName="MmPrd")
VectorBranch< uint8_t > & m_author
cluster author
VectorBranch< uint16_t > & m_time
cluster time
MmIdentifierBranch m_id
Identifier of the Mdt.
SG::ReadHandleKey< xAOD::MMClusterContainer > m_key
std::unordered_set< Identifier > m_filteredChamb
Set of chambers to be dumped.