|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUONHOUGHPATTERNALGS_MUONHOUGHPATTERNFINDERTOOL_H
6 #define MUONHOUGHPATTERNALGS_MUONHOUGHPATTERNFINDERTOOL_H
16 #include "GaudiKernel/ServiceHandle.h"
17 #include "GaudiKernel/ToolHandle.h"
50 using MuonPatternHoughPair = std::pair<std::unique_ptr<MuonPatternCombinationCollection>, std::unique_ptr<Muon::HoughDataPerSectorVec>>;
55 const std::vector<const MdtPrepDataCollection*>& mdtCols,
const std::vector<const CscPrepDataCollection*>& cscCols,
56 const std::vector<const TgcPrepDataCollection*>& tgcCols,
const std::vector<const RpcPrepDataCollection*>& rpcCols,
62 const EventContext& ctx)
const override;
66 const std::vector<const MdtPrepDataCollection*>& mdtCols,
67 const std::vector<const CscPrepDataCollection*>& cscCols,
68 const std::vector<const TgcPrepDataCollection*>& tgcCols,
69 const std::vector<const RpcPrepDataCollection*>& rpcCols,
70 const std::vector<const sTgcPrepDataCollection*>& stgcCols,
71 const std::vector<const MMPrepDataCollection*>& mmCols,
77 std::unique_ptr<MuonHoughHitContainer>
getAllHits(
78 const std::vector<const MdtPrepDataCollection*>& mdtCols,
const std::vector<const TgcPrepDataCollection*>& tgcCols,
80 std::map<
int, std::vector<std::pair<int, int>>>& rpcmdtstationmap,
81 std::map<
int, std::vector<std::pair<int, int>>>& tgcmdtstationmap,
85 std::unique_ptr<MuonPatternCombinationCollection>
analyse(
const EventContext& ctx,
93 const EventContext& ctx)
const;
98 std::map<
int, std::vector<std::pair<int, int>>>& rpcmdtstationmap,
104 std::map<
int, std::vector<std::pair<int, int>>>& rpcmdtstationmap,
105 std::map<
int, std::vector<std::pair<int, int>>>& tgcmdtstationmap)
const;
114 template <
class CollContainer>
void addCollection(
const CollContainer& cont,
117 template <
class CollContainer>
void addCollections(
const std::vector<const CollContainer*>& colls,
124 std::map<
int, std::vector<std::pair<int, int>>>& tgcmdtstationmap,
139 std::map<
int, std::vector<std::pair<int, int>>>& rpcmdtstationmap)
const;
144 std::map<
int, std::vector<std::pair<int, int>>>& tgcmdtstationmap)
const;
150 static int stationCode(
int stationname,
int phi,
int eta);
152 static void addToStationMap(std::map<
int, std::vector<std::pair<int, int>>>& stationmap,
153 std::map<
int, std::vector<std::pair<int, int>>>::
iterator&
it,
int& stationcode,
const int& hit_begin,
160 PublicToolHandle<Muon::MuonEDMPrinterTool>
m_printer{
this,
"printerTool",
"Muon::MuonEDMPrinterTool/MuonEDMPrinterTool",
161 "ToolHandle for EDM printing of segments"};
196 Gaudi::Property<bool>
m_summary{
this,
"DoSummary",
false};
228 std::unique_ptr<Hists>
m_h;
242 #endif // MUONHOUGHPATTERNALGS_MUONHOUGHPATTERNALG_H
JetConstituentVector::iterator iterator
Template for Muon PRD containers (which are basically collections of MuonPrepDataCollections).
This class provides conversion from CSC RDO data to CSC Digits.
std::vector< DriftCircle > DCVec
Property holding a SG store/key/clid from which a WriteHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
Template to hold collections of MuonPrepRawData objects.