|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MUPATCANDIDATEBASE_H
6 #define MUPATCANDIDATEBASE_H
10 #include "Identifier/Identifier.h"
50 using MeasVec = std::vector<const Trk::MeasurementBase*>;
96 const std::set<MuonStationIndex::StIndex>&
stations()
const;
99 const std::set<MuonStationIndex::ChIndex>&
chambers()
const;
111 const std::set<Identifier>&
chamberIds()
const;
117 void addToTrash(std::unique_ptr<const Trk::MeasurementBase> meas);
118 void addToTrash(
const std::vector<std::shared_ptr<const Trk::MeasurementBase>>& measurements);
119 const std::vector<std::shared_ptr<const Trk::MeasurementBase>>&
garbage()
const;
191 std::vector<std::shared_ptr<const Trk::MeasurementBase>>
m_garbage{};
void addToTrash(std::unique_ptr< const Trk::MeasurementBase > meas)
adds the measurement to the garbage container.
const MeasVec & phiHits() const
return all phi hits on the entry
bool hasMomentum() const
returns whether entry has a momentum measurement
track candidate entry object.
unsigned int nmdtHitsMl1
public hit counters
const std::set< MuonStationIndex::ChIndex > & chambers() const
returns set with contained chamberIndices
bool hasLargeChamber() const
returns whether entry contains a small chamber
bool shareChambers(const MuPatCandidateBase &entry) const
checks whether the two entries contain the same chamber
This class provides conversion from CSC RDO data to CSC Digits.
void setAllHits(const MeasVec &hits)
set all hits on the entry
std::vector< std::shared_ptr< const Trk::MeasurementBase > > m_garbage
virtual ~MuPatCandidateBase()=default
destructor.
void setPhiHits(const MeasVec &hits)
set phi hits on the entry
const MeasVec & fakePhiHits() const
return all fake phi hits on the entry
MuPatCandidateBase()=default
constructor.
const std::set< Identifier > & chamberIds() const
returns set with contained chamber ids
const MeasVec & etaHits() const
return all eta hits on the entry
NSWSeed::MeasVec MeasVec
Stereo seeds can be formed using hits from 4 independent layers by solving the following system of eq...
MuPatHitList & hitList()
returns a reference to the hit list
std::set< MuonStationIndex::StIndex > m_stations
void setChambers(const std::set< MuonStationIndex::ChIndex > &chambers)
Set the list of chambers and update list of stations.
void clearChambers()
clear the list of contained chambers.
virtual const Trk::TrackParameters & entryPars() const =0
return track parameters representing the entry
bool hasEndcap() const
returns whether the entry contains endcap hits
bool containsStation(MuonStationIndex::StIndex chIndex) const
returns whether the StationIndex is already contained in candidate
std::vector< MuPatHitPtr > MuPatHitList
std::vector< const Trk::MeasurementBase * > MeasVec
bool hasSLOverlap() const
returns whether there is at least one small/large overlap in the same station layer
void setEtaHits(const MeasVec &hits)
set eta hits on the entry
bool hasSmallChamber() const
returns whether entry contains a small chamber
bool containsChamber(MuonStationIndex::ChIndex chIndex) const
returns whether the ChamberIndex is already contained in candidate
const MuPatHitList & hitList() const
returns a reference to the hit list
std::set< Identifier > m_chamberIds
std::set< MuonStationIndex::ChIndex > m_chambers
void addChamber(MuonStationIndex::ChIndex chIndex)
add the chamber to the list of contained chambers.
ChIndex
enum to classify the different chamber layers in the muon spectrometer
StIndex
enum to classify the different station layers in the muon spectrometer
void setFakePhiHits(const MeasVec &hits)
set fake phi hits on the entry
const MeasVec & hits() const
return all hits on the entry.
const std::set< MuonStationIndex::StIndex > & stations() const
returns set with contained stationIndices
const std::vector< std::shared_ptr< const Trk::MeasurementBase > > & garbage() const