ATLAS Offline Software
Loading...
Searching...
No Matches
MuonCalibExtendedRawHits.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONCALIBEXTENDEDRAWHITS_H
6#define MUONCALIBEXTENDEDRAWHITS_H
7
13
14namespace MuonCalib {
15
17 class MuonCalibPattern;
20
29 public:
32
35
36 using ExtendedSegPtr = std::shared_ptr<MuonCalibExtendedSegment>;
37 using ExtendedTrkPtr = std::shared_ptr<MuonCalibExtendedTrack>;
39 std::vector<MdtCalibRawHitPtr> hits;
40 std::vector<ExtendedSegPtr> associatedSegments;
41 std::vector<ExtendedTrkPtr> associatedTracks;
42 };
43
44 typedef std::map<MuonFixedId, ExtendedChannelInfo> MdtHitInfoMap;
45 typedef MdtHitInfoMap::iterator MdtHitInfoIt;
46 typedef MdtHitInfoMap::const_iterator MdtHitInfoCit;
47
49 unsigned int nhitsAboveAdcThreshold{0};
50 unsigned int nhitsOnSegment{0};
51 unsigned int nhitsOnTrack{0};
53 };
54
55 typedef std::map<MuonFixedId, MdtRegionInfo> MdtHitChamberIdMap;
56 typedef std::map<MuonFixedIdManipulator::StationIndex, MdtRegionInfo> MdtHitStationIndexMap;
57
58 struct ExtendedInfo {
59 std::vector<ExtendedSegPtr> associatedSegments;
60 std::vector<ExtendedTrkPtr> associatedTracks;
61 };
62
63 typedef std::pair<RpcCalibRawHitPtr, ExtendedInfo> RpcHitInfo;
64 typedef std::vector<RpcHitInfo> RpcHitInfoVec;
65 typedef std::map<MuonFixedId, RpcHitInfo> RpcHitChamberIdMap;
66 typedef std::map<MuonFixedIdManipulator::StationIndex, RpcHitInfoVec> RpcHitStationIndexMap;
67
68 typedef std::pair<TgcCalibRawHitPtr, ExtendedInfo> TgcHitInfo;
69 typedef std::vector<TgcHitInfo> TgcHitInfoVec;
70 typedef std::map<MuonFixedId, TgcHitInfo> TgcHitChamberIdMap;
71 typedef std::map<MuonFixedIdManipulator::StationIndex, TgcHitInfoVec> TgcHitStationIndexMap;
72
73 typedef std::pair<CscCalibRawHitPtr, ExtendedInfo> CscHitInfo;
74
75 typedef std::vector<CscHitInfo> CscHitInfoVec;
76 typedef std::map<MuonFixedId, CscHitInfo> CscHitChamberIdMap;
77 typedef std::map<MuonFixedIdManipulator::StationIndex, CscHitInfoVec> CscHitStationIndexMap;
78
79 public:
82
83 MuonCalibExtendedRawHits(const MuonCalibRawHitCollection& rawHits, const std::vector<ExtendedSegPtr>& segments,
84 const std::vector<ExtendedTrkPtr>& tracks);
85
86 std::string dumpMdtHits() const;
87
91
95
99
103
104 private:
105 double m_adcThreshold{50.};
106
109
112
115
118 };
119
120} // namespace MuonCalib
121
122#endif
Define macros for attributes used to control the static checker.
const MdtHitStationIndexMap & mdtChamberIndexMap() const
const CscHitChamberIdMap & cscHitChamberIdMap() const
access to the csc hits per chamber and station
std::shared_ptr< MuonCalibExtendedSegment > ExtendedSegPtr
MuonCalibRawHitCollection::MdtCalibRawHitPtr MdtCalibRawHitPtr
std::map< MuonFixedId, TgcHitInfo > TgcHitChamberIdMap
MuonCalibRawHitCollection::TgcCalibRawHitPtr TgcCalibRawHitPtr
MuonCalibRawHitCollection::RpcCalibRawHitPtr RpcCalibRawHitPtr
std::pair< RpcCalibRawHitPtr, ExtendedInfo > RpcHitInfo
std::map< MuonFixedId, ExtendedChannelInfo > MdtHitInfoMap
MuonCalibRawHitCollection::CscCalibRawHitPtr CscCalibRawHitPtr
const RpcHitChamberIdMap & rpcHitChamberIdMap() const
access to the rpc hits per chamber and station
std::shared_ptr< MuonCalibExtendedTrack > ExtendedTrkPtr
const TgcHitStationIndexMap & tgcChamberIndexMap() const
std::map< MuonFixedId, RpcHitInfo > RpcHitChamberIdMap
std::pair< TgcCalibRawHitPtr, ExtendedInfo > TgcHitInfo
std::map< MuonFixedIdManipulator::StationIndex, RpcHitInfoVec > RpcHitStationIndexMap
std::map< MuonFixedId, MdtRegionInfo > MdtHitChamberIdMap
const MdtHitChamberIdMap & mdtHitChamberIdMap() const
access to the mdt hits per chamber and station
std::pair< CscCalibRawHitPtr, ExtendedInfo > CscHitInfo
std::map< MuonFixedIdManipulator::StationIndex, TgcHitInfoVec > TgcHitStationIndexMap
std::map< MuonFixedIdManipulator::StationIndex, CscHitInfoVec > CscHitStationIndexMap
const CscHitStationIndexMap & cscChamberIndexMap() const
MdtHitInfoMap::const_iterator MdtHitInfoCit
std::map< MuonFixedIdManipulator::StationIndex, MdtRegionInfo > MdtHitStationIndexMap
const RpcHitStationIndexMap & rpcChamberIndexMap() const
const TgcHitChamberIdMap & tgcHitChamberIdMap() const
access to the tgc hits per chamber and station
std::map< MuonFixedId, CscHitInfo > CscHitChamberIdMap
A segment plus everything one can dream of knowing about it.
A track plus everything one can dream of knowing about a track.
Class to store the information belonging to a global pattern in the muon system.
A MuonCalibRawHitcollections is a container class within the Calibration EDM holding the MuonCalibXxx...
std::shared_ptr< const MuonCalibRawCscHit > CscCalibRawHitPtr
typedef of a set of MuonCalibRawCscHit s
std::shared_ptr< const MuonCalibRawRpcHit > RpcCalibRawHitPtr
typedef of a set of MuonCalibRawRpcHit s
std::shared_ptr< MuonCalibRawMdtHit > MdtCalibRawHitPtr
< typedef of the basic pointer holding the CalibrationRawMdtHit
std::shared_ptr< const MuonCalibRawTgcHit > TgcCalibRawHitPtr
typedef of a set of MuonCalibRawTgcHit s
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.