#include <TrackerInfo.h>
Public Types | |
enum | LayerType_e { Undef = -1, Barrel = 0, EndCapPos = 1, EndCapNeg = 2 } |
Public Member Functions | |
void | extend_limits (float r, float z) |
bool | has_charge () const |
bool | is_barrel () const |
bool | is_in_r_hole (float r) const |
bool | is_pixel () const |
bool | is_stereo () const |
bool | is_within_q_limits (float q) const |
bool | is_within_r_limits (float r) const |
WSR_Result | is_within_r_sensitive_region (float r, float dr) const |
bool | is_within_z_limits (float z) const |
WSR_Result | is_within_z_sensitive_region (float z, float dz) const |
int | layer_id () const |
LayerType_e | layer_type () const |
LayerInfo ()=default | |
LayerInfo (int lid, LayerType_e type) | |
const ModuleInfo & | module_info (unsigned int sid) const |
int | n_modules () const |
void | print_layer () const |
float | propagate_to () const |
float | q_bin () const |
float | r_mean () const |
unsigned int | register_module (ModuleInfo &&mi) |
void | reserve_modules (int nm) |
float | rin () const |
float | rout () const |
void | set_has_charge (bool c) |
void | set_is_pixel (bool p) |
void | set_is_stereo (bool s) |
void | set_layer_type (LayerType_e t) |
void | set_limits (float r1, float r2, float z1, float z2) |
void | set_propagate_to (float pto) |
void | set_q_bin (float qb) |
void | set_r_hole_range (float rh1, float rh2) |
void | set_r_in_out (float r1, float r2) |
void | set_subdet (int sd) |
unsigned int | short_id (unsigned int detid) const |
unsigned int | shrink_modules () |
int | subdet () const |
float | z_mean () const |
float | zmax () const |
float | zmin () const |
Private Member Functions | |
bool | is_in_r_hole_no_check (float r) const |
Private Attributes | |
std::unordered_map< unsigned int, unsigned int > | m_detid2sid |
bool | m_has_charge = true |
bool | m_has_r_range_hole = false |
float | m_hole_r_max = 0 |
float | m_hole_r_min = 0 |
bool | m_is_pixel = false |
bool | m_is_stereo = false |
int | m_layer_id = -1 |
LayerType_e | m_layer_type = Undef |
std::vector< ModuleInfo > | m_modules |
float | m_propagate_to = 0 |
float | m_q_bin = 0 |
float | m_rin = 0 |
float | m_rout = 0 |
int | m_subdet = -1 |
float | m_zmax = 0 |
float | m_zmin = 0 |
Friends | |
class | TrackerInfo |
Definition at line 45 of file TrackerInfo.h.
Enumerator | |
---|---|
Undef | |
Barrel | |
EndCapPos | |
EndCapNeg |
Definition at line 49 of file TrackerInfo.h.
|
default |
|
inline |
Definition at line 52 of file TrackerInfo.h.
void mkfit::LayerInfo::extend_limits | ( | float | r, |
float | z | ||
) |
Definition at line 33 of file TrackerInfo.cc.
References m_rin, m_rout, m_zmax, and m_zmin.
Referenced by MkFitGeometryESProducer::considerPoint().
|
inline |
Definition at line 81 of file TrackerInfo.h.
References m_has_charge.
Referenced by mkfit::MkFinder::findCandidates(), and mkfit::MkFinder::findCandidatesCloneEngine().
|
inline |
Definition at line 78 of file TrackerInfo.h.
References Barrel, and m_layer_type.
Referenced by mkfit::MkFinder::begin_layer(), mkfit::MkFinder::bkFitFitTracks(), mkfit::MkFinder::bkFitFitTracksBH(), MkFitGeometryESProducer::fillLayers(), mkfit::MkBuilder::find_tracks_handle_missed_layers(), mkfit::MkBuilder::find_tracks_in_layers(), mkfit::MkBuilder::findTracksBestHit(), mkfit::MkBuilder::findTracksStandard(), mkfit::LayerOfHits::Initializator::Initializator(), is_within_q_limits(), mkfit::LayerOfHits::LayerOfHits(), print_layer(), mkfit::Event::read_in(), and mkfit::MkFinder::selectHitIndicesV2().
|
inline |
Definition at line 87 of file TrackerInfo.h.
References is_in_r_hole_no_check(), m_has_r_range_hole, and alignCSCRings::r.
|
inlineprivate |
Definition at line 132 of file TrackerInfo.h.
References m_hole_r_max, m_hole_r_min, and alignCSCRings::r.
Referenced by is_in_r_hole().
|
inline |
Definition at line 79 of file TrackerInfo.h.
References m_is_pixel.
Referenced by mkfit::IterationMaskIfcCmssw::get_mask_for_layer(), mkfit::LayerOfHits::is_pixel(), and mkfit::Event::read_in().
|
inline |
Definition at line 80 of file TrackerInfo.h.
References m_is_stereo.
Referenced by mkfit::LayerOfHits::is_stereo().
|
inline |
Definition at line 85 of file TrackerInfo.h.
References is_barrel(), is_within_r_limits(), is_within_z_limits(), and submitPVResolutionJobs::q.
|
inline |
Definition at line 84 of file TrackerInfo.h.
References m_rin, m_rout, and alignCSCRings::r.
Referenced by is_within_q_limits(), and mkfit::LayerOfHits::is_within_r_limits().
|
inline |
Definition at line 97 of file TrackerInfo.h.
References l1ctLayer1_cff::dr, m_has_r_range_hole, m_hole_r_min, m_rin, m_rout, alignCSCRings::r, mkfit::WSR_Edge, mkfit::WSR_Inside, and mkfit::WSR_Outside.
Referenced by mkfit::LayerOfHits::is_within_r_sensitive_region().
|
inline |
Definition at line 83 of file TrackerInfo.h.
References m_zmax, m_zmin, and z.
Referenced by is_within_q_limits(), and mkfit::LayerOfHits::is_within_z_limits().
|
inline |
Definition at line 89 of file TrackerInfo.h.
References PVValHelper::dz, m_zmax, m_zmin, mkfit::WSR_Edge, mkfit::WSR_Inside, mkfit::WSR_Outside, and z.
Referenced by mkfit::LayerOfHits::is_within_z_sensitive_region().
|
inline |
Definition at line 66 of file TrackerInfo.h.
References m_layer_id.
Referenced by mkfit::MkFinder::bkFitFitTracks(), mkfit::MkBuilder::find_tracks_handle_missed_layers(), and mkfit::LayerOfHits::layer_id().
|
inline |
|
inline |
Definition at line 129 of file TrackerInfo.h.
References m_modules.
Referenced by mkfit::MkFinder::packModuleNormDir(), mkfit::TrackerInfo::print_tracker(), and mkfit::Event::read_in().
|
inline |
Definition at line 128 of file TrackerInfo.h.
References m_modules.
Referenced by mkfit::TrackerInfo::print_tracker().
void mkfit::LayerInfo::print_layer | ( | ) | const |
Definition at line 55 of file TrackerInfo.cc.
References is_barrel(), m_has_r_range_hole, m_hole_r_max, m_hole_r_min, m_is_pixel, m_is_stereo, m_layer_id, m_q_bin, m_rin, m_rout, m_zmax, and m_zmin.
Referenced by mkfit::TrackerInfo::print_tracker().
|
inline |
Definition at line 74 of file TrackerInfo.h.
References m_propagate_to.
Referenced by mkfit::MkBuilder::find_tracks_in_layers(), mkfit::MkBuilder::findTracksBestHit(), and mkfit::MkBuilder::findTracksStandard().
|
inline |
Definition at line 75 of file TrackerInfo.h.
References m_q_bin.
Referenced by mkfit::LayerOfHits::Initializator::Initializator(), and mkfit::MkFinder::selectHitIndicesV2().
|
inline |
Definition at line 70 of file TrackerInfo.h.
|
inline |
Definition at line 116 of file TrackerInfo.h.
References m_detid2sid, and m_modules.
|
inline |
|
inline |
Definition at line 68 of file TrackerInfo.h.
References m_rin.
Referenced by mkfit::MkFinder::begin_layer(), MkFitGeometryESProducer::fillLayers(), mkfit::MkBuilder::find_tracks_handle_missed_layers(), mkfit::MkBuilder::findTracksBestHit(), mkfit::LayerOfHits::Initializator::Initializator(), and mkfit::MkFinder::selectHitIndicesV2().
|
inline |
Definition at line 69 of file TrackerInfo.h.
References m_rout.
Referenced by mkfit::MkFinder::begin_layer(), MkFitGeometryESProducer::fillLayers(), mkfit::MkBuilder::find_tracks_handle_missed_layers(), mkfit::LayerOfHits::Initializator::Initializator(), and mkfit::MkFinder::selectHitIndicesV2().
|
inline |
|
inline |
Definition at line 62 of file TrackerInfo.h.
References m_is_pixel, and AlCaHLTBitMon_ParallelJobs::p.
|
inline |
|
inline |
Definition at line 54 of file TrackerInfo.h.
References m_layer_type, and submitPVValidationJobs::t.
void mkfit::LayerInfo::set_limits | ( | float | r1, |
float | r2, | ||
float | z1, | ||
float | z2 | ||
) |
Definition at line 26 of file TrackerInfo.cc.
References m_rin, m_rout, m_zmax, m_zmin, diffTwoXMLs::r2, and testProducerWithPsetDescEmpty_cfi::z2.
|
inline |
|
inline |
void mkfit::LayerInfo::set_r_hole_range | ( | float | rh1, |
float | rh2 | ||
) |
Definition at line 49 of file TrackerInfo.cc.
References m_has_r_range_hole, m_hole_r_max, and m_hole_r_min.
Referenced by MkFitGeometryESProducer::addTECGeometry().
void mkfit::LayerInfo::set_r_in_out | ( | float | r1, |
float | r2 | ||
) |
|
inline |
|
inline |
Definition at line 127 of file TrackerInfo.h.
References m_detid2sid.
|
inline |
|
inline |
Definition at line 77 of file TrackerInfo.h.
References m_subdet.
Referenced by mkfit::LayerOfHits::subdet().
|
inline |
|
inline |
Definition at line 72 of file TrackerInfo.h.
References m_zmax.
Referenced by mkfit::MkFinder::begin_layer(), MkFitGeometryESProducer::fillLayers(), mkfit::LayerOfHits::Initializator::Initializator(), and mkfit::MkFinder::selectHitIndicesV2().
|
inline |
Definition at line 71 of file TrackerInfo.h.
References m_zmin.
Referenced by mkfit::MkFinder::begin_layer(), MkFitGeometryESProducer::fillLayers(), mkfit::LayerOfHits::Initializator::Initializator(), and mkfit::MkFinder::selectHitIndicesV2().
|
friend |
Definition at line 46 of file TrackerInfo.h.
|
private |
Definition at line 148 of file TrackerInfo.h.
Referenced by mkfit::TrackerInfo::read_bin_file(), register_module(), and short_id().
|
private |
Definition at line 146 of file TrackerInfo.h.
Referenced by has_charge(), and set_has_charge().
|
private |
Definition at line 143 of file TrackerInfo.h.
Referenced by is_in_r_hole(), is_within_r_sensitive_region(), print_layer(), and set_r_hole_range().
|
private |
Definition at line 142 of file TrackerInfo.h.
Referenced by is_in_r_hole_no_check(), print_layer(), and set_r_hole_range().
|
private |
Definition at line 142 of file TrackerInfo.h.
Referenced by is_in_r_hole_no_check(), is_within_r_sensitive_region(), print_layer(), and set_r_hole_range().
|
private |
Definition at line 145 of file TrackerInfo.h.
Referenced by is_pixel(), print_layer(), and set_is_pixel().
|
private |
Definition at line 144 of file TrackerInfo.h.
Referenced by is_stereo(), print_layer(), and set_is_stereo().
|
private |
Definition at line 134 of file TrackerInfo.h.
Referenced by layer_id(), and print_layer().
|
private |
Definition at line 135 of file TrackerInfo.h.
Referenced by is_barrel(), layer_type(), and set_layer_type().
|
private |
Definition at line 149 of file TrackerInfo.h.
Referenced by module_info(), n_modules(), mkfit::TrackerInfo::read_bin_file(), register_module(), reserve_modules(), and shrink_modules().
|
private |
Definition at line 139 of file TrackerInfo.h.
Referenced by propagate_to(), and set_propagate_to().
|
private |
Definition at line 141 of file TrackerInfo.h.
Referenced by print_layer(), q_bin(), and set_q_bin().
|
private |
Definition at line 138 of file TrackerInfo.h.
Referenced by extend_limits(), is_within_r_limits(), is_within_r_sensitive_region(), print_layer(), r_mean(), rin(), set_limits(), and set_r_in_out().
|
private |
Definition at line 138 of file TrackerInfo.h.
Referenced by extend_limits(), is_within_r_limits(), is_within_r_sensitive_region(), print_layer(), r_mean(), rout(), set_limits(), and set_r_in_out().
|
private |
Definition at line 136 of file TrackerInfo.h.
Referenced by set_subdet(), and subdet().
|
private |
Definition at line 138 of file TrackerInfo.h.
Referenced by extend_limits(), is_within_z_limits(), is_within_z_sensitive_region(), print_layer(), set_limits(), z_mean(), and zmax().
|
private |
Definition at line 138 of file TrackerInfo.h.
Referenced by extend_limits(), is_within_z_limits(), is_within_z_sensitive_region(), print_layer(), set_limits(), z_mean(), and zmin().