Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONPRDTEST_SEGMENTVARIABLES_H
6 #define MUONPRDTEST_SEGMENTVARIABLES_H
19 const std::string& containerKey,
23 bool fill(
const EventContext& ctx)
override final;
29 bool addVariable(std::shared_ptr<IAuxElementDecorationBranch>
br);
58 std::vector<std::shared_ptr<IAuxElementDecorationBranch>>
m_addBranches{};
60 std::unordered_map<const xAOD::MuonSegment*, unsigned int>
m_idxLookUp{};
VectorBranch< uint8_t > & m_nTrigEtaLayers
Number of trigger hits, i.e.
unsigned int push_back(const xAOD::MuonSegment &segment)
push back a particuar segment
std::unordered_map< const xAOD::MuonSegment *, unsigned int > m_idxLookUp
std::vector< std::shared_ptr< IAuxElementDecorationBranch > > m_addBranches
bool declare_keys() override final
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_key
Store gate key of the segment container.
Class describing a MuonSegment.
bool addVariable(std::shared_ptr< IAuxElementDecorationBranch > br)
TTree * tree() override final
Returns the underlying TTree object.
VectorBranch< uint8_t > & m_sector
MS-sector of the segment's precision hits.
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< unsigned int > & m_nDoF
number of degrees of freedom
VectorBranch< uint8_t > & m_chamberIdx
MS station of the segment.
VectorBranch< char > & m_etaIdx
Station-eta index of the segment's precision hits.
SegmentVariables(MuonTesterTree &tree, const std::string &containerKey, const std::string &outName, MSG::Level msglvl)
std::string m_name
Name of the segment collection in the output collection.
VectorBranch< T > & newVector(const std::string &name)
Creates new branches and returns their reference.
ThreeVectorBranch m_dir
Global direction of the segment.
Tester module to dump the segment container.
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
ThreeVectorBranch m_pos
Global position of the segment.
VectorBranch< float > & m_chi2
chi 2 of the segment fit
VectorBranch< uint8_t > & m_nPrecHits
Number of precision hits i.e.
VectorBranch< uint8_t > & m_nTrigPhiLayers
Number of trigger hits, i.e.
Muon::NSW_PadTriggerSegment segment(const NSWL1::PadTrigger &data)