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;
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{};
track candidate entry object.
MuPatCandidateBase()=default
constructor.
const Trk::MeasurementBase * addToTrash(std::unique_ptr< const Trk::MeasurementBase > meas)
adds the measurement to the garbage container.
virtual const Trk::TrackParameters & entryPars() const =0
return track parameters representing the entry
const MeasVec & etaHits() const
return all eta hits on the entry
void setAllHits(const MeasVec &hits)
set all hits on the entry
const MuPatHitList & hitList() const
returns a reference to the hit list
virtual ~MuPatCandidateBase()=default
destructor.
std::set< MuonStationIndex::StIndex > m_stations
bool containsStation(MuonStationIndex::StIndex chIndex) const
returns whether the StationIndex is already contained in candidate
void setChambers(const std::set< MuonStationIndex::ChIndex > &chambers)
Set the list of chambers and update list of stations.
const MeasVec & hits() const
return all hits on the entry.
bool hasLargeChamber() const
returns whether entry contains a small chamber
unsigned int nmdtHitsMl1
public hit counters
MuPatHitList & hitList()
returns a reference to the hit list
bool hasSmallChamber() const
returns whether entry contains a small chamber
void clearChambers()
clear the list of contained chambers.
bool containsChamber(MuonStationIndex::ChIndex chIndex) const
returns whether the ChamberIndex is already contained in candidate
const std::set< Identifier > & chamberIds() const
returns set with contained chamber ids
void addChamber(MuonStationIndex::ChIndex chIndex)
add the chamber to the list of contained chambers.
friend class MuPatCandidateTool
void setPhiHits(const MeasVec &hits)
set phi hits on the entry
std::set< Identifier > m_chamberIds
void setFakePhiHits(const MeasVec &hits)
set fake phi hits on the entry
const MeasVec & fakePhiHits() const
return all fake phi 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
bool hasEndcap() const
returns whether the entry contains endcap hits
const std::set< MuonStationIndex::ChIndex > & chambers() const
returns set with contained chamberIndices
bool shareChambers(const MuPatCandidateBase &entry) const
checks whether the two entries contain the same chamber
bool hasMomentum() const
returns whether entry has a momentum measurement
std::set< MuonStationIndex::ChIndex > m_chambers
void setEtaHits(const MeasVec &hits)
set eta hits on the entry
std::vector< const Trk::MeasurementBase * > MeasVec
bool hasSLOverlap() const
returns whether there is at least one small/large overlap in the same station layer
const MeasVec & phiHits() const
return all phi hits on the entry
std::vector< std::shared_ptr< const Trk::MeasurementBase > > m_garbage
This class is the pure abstract base class for all fittable tracking measurements.
StIndex
enum to classify the different station layers in the muon spectrometer
ChIndex chIndex(const std::string &index)
convert ChIndex name string to enum
ChIndex
enum to classify the different chamber layers in the muon spectrometer
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
std::vector< MuPatHitPtr > MuPatHitList
NSWSeed::MeasVec MeasVec
Stereo seeds can be formed using hits from 4 independent layers by solving the following system of eq...
ParametersBase< TrackParametersDim, Charged > TrackParameters