#include <MuonTrackSteeringStrategy.h>
|
| MuonTrackSteeringStrategy (const std::string &name, const std::bitset< Last > &bits, std::vector< std::vector< MuonStationIndex::ChIndex > > &path, std::vector< unsigned int > &seedOrder) |
|
| MuonTrackSteeringStrategy (const std::string &name, std::vector< std::string > &options, std::vector< std::vector< MuonStationIndex::ChIndex > > &path) |
| Constructor that assumes the seed order could come as part of the options. More...
|
|
| MuonTrackSteeringStrategy (const std::string &name, std::vector< std::string > &options, std::vector< std::vector< MuonStationIndex::ChIndex > > &path, std::vector< unsigned int > &seedOrder) |
|
void | setOption (Option, bool value) |
|
void | setOption (const std::string &, bool value) |
|
bool | option (Option) const |
|
const std::bitset< Last > & | allOptions () const |
|
void | setCh (const std::vector< MuonStationIndex::ChIndex > &val, const unsigned int layer) |
|
void | setCh (const std::vector< std::vector< MuonStationIndex::ChIndex > > &val) |
|
const std::vector< std::vector< MuonStationIndex::ChIndex > > & | getAll () const |
|
const std::vector< MuonStationIndex::ChIndex > & | getCh (const unsigned int) const |
|
const std::string & | getName () const |
|
void | setName (const std::string &name) |
|
const std::vector< unsigned int > & | seeds () const |
|
void | setSeeds (const std::vector< unsigned int > &val) |
|
Definition at line 17 of file MuonTrackSteeringStrategy.h.
◆ Option
Enumerator |
---|
CutSeedsOnTracks | |
CombineSegInStation | |
DynamicSeeding | |
PreferOutsideIn | |
AllowOneSharedHit | |
DoRefinement | |
DoAmbiSolving | |
BarrelEndcapFilter | |
Last | |
Definition at line 19 of file MuonTrackSteeringStrategy.h.
◆ MuonTrackSteeringStrategy() [1/3]
Muon::MuonTrackSteeringStrategy::MuonTrackSteeringStrategy |
( |
const std::string & |
name, |
|
|
const std::bitset< Last > & |
bits, |
|
|
std::vector< std::vector< MuonStationIndex::ChIndex > > & |
path, |
|
|
std::vector< unsigned int > & |
seedOrder |
|
) |
| |
|
inline |
◆ MuonTrackSteeringStrategy() [2/3]
Muon::MuonTrackSteeringStrategy::MuonTrackSteeringStrategy |
( |
const std::string & |
name, |
|
|
std::vector< std::string > & |
options, |
|
|
std::vector< std::vector< MuonStationIndex::ChIndex > > & |
path |
|
) |
| |
|
inline |
◆ MuonTrackSteeringStrategy() [3/3]
Muon::MuonTrackSteeringStrategy::MuonTrackSteeringStrategy |
( |
const std::string & |
name, |
|
|
std::vector< std::string > & |
options, |
|
|
std::vector< std::vector< MuonStationIndex::ChIndex > > & |
path, |
|
|
std::vector< unsigned int > & |
seedOrder |
|
) |
| |
|
inline |
◆ allOptions()
const std::bitset<Last>& Muon::MuonTrackSteeringStrategy::allOptions |
( |
| ) |
const |
|
inline |
◆ getAll()
◆ getCh()
Definition at line 124 of file MuonTrackSteeringStrategy.h.
126 throw std::range_error(
"MuonTrackSteering a path beyond the possible paths is chosen");
◆ getName()
const std::string& Muon::MuonTrackSteeringStrategy::getName |
( |
| ) |
const |
|
inline |
◆ option()
bool Muon::MuonTrackSteeringStrategy::option |
( |
Option |
op | ) |
const |
|
inline |
◆ seeds()
const std::vector<unsigned int>& Muon::MuonTrackSteeringStrategy::seeds |
( |
| ) |
const |
|
inline |
◆ setCh() [1/2]
◆ setCh() [2/2]
◆ setName()
void Muon::MuonTrackSteeringStrategy::setName |
( |
const std::string & |
name | ) |
|
|
inline |
◆ setOption() [1/2]
void Muon::MuonTrackSteeringStrategy::setOption |
( |
const std::string & |
opt, |
|
|
bool |
value |
|
) |
| |
|
inline |
Definition at line 78 of file MuonTrackSteeringStrategy.h.
79 if (
opt ==
"CutSeedsOnTracks")
81 else if (
opt ==
"CombineSegInStation")
83 else if (
opt ==
"DynamicSeeding")
85 else if (
opt ==
"PreferOutsideIn")
87 else if (
opt ==
"AllowOneSharedHit")
89 else if (
opt ==
"DoRefinement")
91 else if (
opt ==
"DoAmbiSolving")
93 else if (
opt ==
"BarrelEndcapFilter")
97 std::vector<unsigned int>
seeds;
99 for (
unsigned int i = 0;
i <
opt.size() && success; ++
i) {
101 if (holder < 0 || holder > 9)
104 seeds.push_back(holder);
◆ setOption() [2/2]
void Muon::MuonTrackSteeringStrategy::setOption |
( |
Option |
opt, |
|
|
bool |
value |
|
) |
| |
|
inline |
◆ setSeeds()
void Muon::MuonTrackSteeringStrategy::setSeeds |
( |
const std::vector< unsigned int > & |
val | ) |
|
|
inline |
◆ m_bits
std::bitset<Last> Muon::MuonTrackSteeringStrategy::m_bits |
|
private |
◆ m_name
std::string Muon::MuonTrackSteeringStrategy::m_name |
|
private |
◆ m_path
◆ m_seeds
std::vector<unsigned int> Muon::MuonTrackSteeringStrategy::m_seeds |
|
private |
The documentation for this class was generated from the following file: