 |
ATLAS Offline Software
|
Go to the documentation of this file.
19 lName, (
isSmall ?
"Small" :
"Large"),
26 const std::string& collName,
39 const std::string& collName,
42 m_summaryTool{summaryTool} {
47 if ( (
layer == LayerIndex::BarrelExtended ||
layer == LayerIndex::Extended) &&
52 for (
const bool small : {
false,
true}) {
53 if (
layer == LayerIndex::BarrelExtended && !small){
56 m_values.emplace_back(std::make_shared<TrackSummaryValueBranch>(
parent.tree(), collName,
63 for (
const auto&
br : m_values){
LayerIndex
enum to classify the different layers in the muon spectrometer
@ TriggerPhi
Trigger eta hits (Tgc, Rpc)
std::vector< ValuePtr_t > m_values
void push_back(const MuonR4::HitSummary &summary)
push back the assigned hit summary value
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...
MuonR4::ITrackSummaryTool::ConstTrack_t ConstTrack_t
std::string nameBr(Category cat, Status status, LayerIndex layer, bool isSmall)
bool init() override
Initialized the Branch.
void tolower(std::string &s)
TrackSummaryModule(MuonVal::MuonTesterTree &parent, const std::string &collName, const MuonR4::ITrackSummaryTool *summaryTool)
Constructor.
HitCategory
Category of the hit.
const MuonR4::ITrackSummaryTool * m_summaryTool
static std::string toString(const HitCategory c)
Converts the hit category to a string.
Lightweight algorithm to read xAOD MDT sim hits and (fast-digitised) drift circles from SG and fill a...
@ Hole
Added to the trajectory but rejected.
const std::string & layerName(LayerIndex index)
convert LayerIndex into a string
This header ties the generic definitions in this package.
MuonTesterTree & parent()
Returns the reference to the MuonTesterTree parent.
@ Outlier
Added to the trajectory & contributing to the fit.
Status
Contribution to the track fit.
Summary struct to hold the hit counts on the track per MS layer.
void push_back(const EventContext &ctx, const ConstTrack_t track)
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...
@ TriggerEta
Precision hits (Mdt, NSW) on track.
bool isSmall(const ChIndex index)
Returns true if the chamber index is in a small sector.