4#ifndef MUONPRDTESTR4_TRACKSUMMARYMODULE_H
5#define MUONPRDTESTR4_TRACKSUMMARYMODULE_H
30 const std::string& collName,
49 const std::string& collName,
53 bool fill(
const EventContext& ctx)
override;
65 using ValuePtr_t = std::shared_ptr<TrackSummaryValueBranch>;
bool fill(const EventContext &ctx) override
Clears vector in cases that it has not been updated in this event Returns false if the vector has not...
std::vector< ValuePtr_t > m_values
std::shared_ptr< TrackSummaryValueBranch > ValuePtr_t
void push_back(const EventContext &ctx, const ConstTrack_t track)
TrackSummaryModule(MuonVal::MuonTesterTree &parent, const std::string &collName, const MuonR4::ITrackSummaryTool *summaryTool)
Constructor.
MuonR4::ITrackSummaryTool::ConstTrack_t ConstTrack_t
bool init() override
Initialized the Branch.
const MuonR4::ITrackSummaryTool * m_summaryTool
MuonR4::HitSummary::HitCategory Category
TrackSummaryValueBranch(TTree *tree, const std::string &collName, Category cat, Status status, LayerIndex layer, bool isSmall)
Constructor taking the reference to the tree & the summary values together with an overall collection...
MuonR4::HitSummary::LayerIndex LayerIndex
MuonR4::HitSummary::Status Status
void push_back(const MuonR4::HitSummary &summary)
push back the assigned hit summary value
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
TTree * tree() override final
VectorBranch(TTree *tree, const std::string &name)
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
bool isSmall(const ChIndex index)
Returns true if the chamber index is in a small sector.
Summary struct to hold the hit counts on the track per MS layer.
Muon::MuonStationIndex::LayerIndex LayerIndex
Abrivation of the layer index.
HitCategory
Category of the hit.
Status
Contribution to the track fit.