|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef PRDTESTERR4_MDTTWINDRITFCIRCLEVARIABLES_H
6 #define PRDTESTERR4_MDTTWINDRITFCIRCLEVARIABLES_H
11 #include <unordered_map>
12 #include <unordered_set>
21 const std::string& inContainer,
23 const std::string& collName=
"MdtTwinPrd");
28 bool fill(
const EventContext& ctx)
override final;
Branch to store all information of the MDT identifier.
unsigned int push_back(const xAOD::MdtTwinDriftCircle &dc)
Push back the drift circle measurement to the output.
std::unordered_set< Identifier > m_filteredChamb
Set of chambers to be dumped.
VectorBranch< uint16_t > & m_tdcCounts
tdc counts of the measurement
MdtIdentifierBranch m_id
Identifier of the Mdt.
VectorBranch< uint16_t > & m_twinTdcCounts
Tdc counts of the twin measurement.
Property holding a SG store/key/clid from which a ReadHandle is made.
void enableSeededDump()
Activates the seeded dump of the branch.
SG::ReadHandleKey< xAOD::MdtTwinDriftCircleContainer > m_key
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...
VectorBranch< uint16_t > & m_adcCounts
Adc counts of the measurement.
MdtTwinDriftCircleVariables(MuonTesterTree &tree, const std::string &inContainer, MSG::Level msgLvl=MSG::Level::INFO, const std::string &collName="MdtTwinPrd")
bool msgLvl(const MSG::Level lvl) const
Test the output level.
VectorBranch< float > & m_driftRadiusUncert
Uncertainty on the drift radius measurement.
VectorBranch< float > & m_twinUncertLocZ
Uncertainty on the local z measurement along the wire.
std::vector< const xAOD::MdtTwinDriftCircle * > m_dumpedPRDS
Vector of PRDs parsed via the external mechanism. These measurements are parsed first.
VectorBranch< uint16_t > & m_twinAdcCounts
Adc counts of the twin measurement.
ThreeVectorBranch m_globPos
Position of the Mdt drift circle in the global frame.
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
Include the GeoPrimitives which need to be put first.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
VectorBranch< float > & m_driftRadius
Dirft radius of the associated drit circle.
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
void dump(const ActsGeometryContext &gctx, const xAOD::MdtTwinDriftCircle &dc)
VectorBranch< uint8_t > & m_twinLayer
Tube layer of the twin.
bool declare_keys() override final
VectorBranch< uint16_t > & m_twinTube
Tube number of the twin.
std::unordered_map< Identifier, unsigned int > m_idOutIdxMap
Map of Identifiers to the position index inside the vector.
VectorBranch< float > & m_twinLocZ
Local z coordinate along the drift tube.
void dumpAllHitsInChamber(const Identifier &chamberId)
All hits from this particular chamber identifier are dumped to the output including the ones from the...
bool m_applyFilter
Apply a filter to dump the prds.