5#ifndef MUONCOMBINEPATTERNTOOLS_MUONCOMBINEPATTERNTOOL_H
6#define MUONCOMBINEPATTERNTOOLS_MUONCOMBINEPATTERNTOOL_H
10#include "GaudiKernel/ServiceHandle.h"
30 using IdChMap = std::map<Identifier, ChamberInfo>;
33 using PrdPatternPair = std::pair<std::unique_ptr<Muon::MuonPrdPattern>, std::unique_ptr<Muon::MuonPrdPattern>>;
60 std::unique_ptr<MuonPrdPatternCollection>
makeCombinedPatterns(std::vector<CandidatePatPair>& candidates)
const;
66 static bool subset(std::pair<PrepDataSet, PrepDataSet>& candidate1,
67 std::pair<PrepDataSet, PrepDataSet>& candidate2);
72 std::unique_ptr<Muon::MuonPrdPattern>
cleanPhiPattern(std::unique_ptr<Muon::MuonPrdPattern> phipattern)
const;
98 bool check =
false)
const;
108 double phi_estimate = -M_PI_2)
const;
117 const std::array<double,4>& new_pars)
const;
122 std::vector<CandidatePatPair>& candidates,
bool add_asspattern,
126 static void cleanCandidates(std::vector<CandidatePatPair>& candidates);
163 PublicToolHandle<Muon::MuonEDMPrinterTool>
m_printer{
this,
"printerTool",
"Muon::MuonEDMPrinterTool/MuonEDMPrinterTool",
164 "ToolHandle for EDM printing of segments"};
Scalar phi() const
phi method
Scalar theta() const
theta method
DataVector< Muon::MuonPrdPattern > MuonPrdPatternCollection
Class to store a pattern in the muon system containing PrepRawData pointers.