1 #ifndef RecoTracker_MkFitCore_interface_TrackerInfo_h 2 #define RecoTracker_MkFitCore_interface_TrackerInfo_h 9 #include <unordered_map> 89 if (z < m_zmax - dz && z >
m_zmin +
dz)
97 if (r < m_rout - dr && r >
m_rin +
dr) {
150 template <
typename T>
void set_is_stereo(bool s)
void rerect(int n1, int n2)
const std::vector< int > & barrel_layers() const
void extend_limits(float r, float z)
const T & operator()(int i1, int i2) const
void read_bin_file(const std::string &fname)
bool is_in_r_hole_no_check(float r) const
const std::vector< int > & endcap_pos_layers() const
void set_r_hole_range(float rh1, float rh2)
unsigned int short_id(unsigned int detid) const
std::vector< int > m_barrel
const std::vector< T > & vector() const
LayerInfo & new_barrel_layer()
ROOT::Math::SVector< float, 3 > SVector3
bool check_idcs(int i1, int i2) const
PropagationConfig & prop_config_nc()
std::vector< int > m_ecap_neg
LayerInfo & new_ecap_neg_layer()
float propagate_to() const
void create_material(int nBinZ, float rngZ, int nBinR, float rngR)
void set_r_in_out(float r1, float r2)
const LayerInfo & operator[](int l) const
WSR_Result(WithinSensitiveRegion_e wsr, bool in_gap)
LayerInfo & layer_nc(int l)
const LayerInfo & outer_barrel_layer() const
T & operator()(int i1, int i2)
std::vector< ModuleInfo > m_modules
PropagationConfig m_prop_config
bool is_in_r_hole(float r) const
WSR_Result is_within_z_sensitive_region(float z, float dz) const
const std::vector< int > & endcap_neg_layers() const
bool is_within_z_limits(float z) const
float material_radl(int binZ, int binR) const
void set_limits(float r1, float r2, float z1, float z2)
const ModuleInfo & module_info(unsigned int sid) const
void set_layer_type(LayerType_e t)
bool is_within_q_limits(float q) const
int mat_bin_z(float z) const
LayerInfo & new_ecap_pos_layer()
LayerType_e layer_type() const
float mat_range_z() const
unsigned int register_module(ModuleInfo &&mi)
int new_layer(LayerInfo::LayerType_e type)
void set_is_pixel(bool p)
bool check_bins(int bz, int br) const
void create_layers(int n_brl, int n_ec_pos, int n_ec_neg)
WSR_Result is_within_r_sensitive_region(float r, float dr) const
float & material_bbxi(int binZ, int binR)
float mat_range_r() const
int mat_bin_r(float r) const
void reserve_modules(int nm)
const LayerInfo & layer(int l) const
const T * operator[](int i1) const
float & material_radl(int binZ, int binR)
rectvec< Material > m_mat_vec
int n_total_modules() const
ModuleInfo(SVector3 p, SVector3 zd, SVector3 xd, float hl, unsigned int id)
rectvec(int n1=0, int n2=0)
WithinSensitiveRegion_e m_wsr
void print_tracker(int level) const
float material_bbxi(int binZ, int binR) const
bool is_within_r_limits(float r) const
std::vector< int > m_ecap_pos
LayerInfo(int lid, LayerType_e type)
void set_propagate_to(float pto)
void write_bin_file(const std::string &fname) const
std::unordered_map< unsigned int, unsigned int > m_detid2sid
Material material_checked(float z, float r) const
std::vector< T > & vector()
unsigned int shrink_modules()
std::vector< LayerInfo > m_layers
const PropagationConfig & prop_config() const
void reserve_layers(int n_brl, int n_ec_pos, int n_ec_neg)