1 #ifndef RecoTracker_MkFitCore_interface_TrackerInfo_h 2 #define RecoTracker_MkFitCore_interface_TrackerInfo_h 81 if (z < m_zmax - dz && z >
m_zmin +
dz)
89 if (r < m_rout - dr && r >
m_rin +
dr) {
void set_is_stereo(bool s)
const std::vector< int > & barrel_layers() const
void extend_limits(float r, float z)
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
LayerInfo & new_barrel_layer()
ROOT::Math::SVector< float, 3 > SVector3
std::vector< int > m_ecap_neg
LayerInfo & new_ecap_neg_layer()
float propagate_to() const
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
std::vector< ModuleInfo > m_modules
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
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
LayerInfo & new_ecap_pos_layer()
LayerType_e layer_type() const
unsigned int register_module(ModuleInfo &&mi)
int new_layer(LayerInfo::LayerType_e type)
void set_is_pixel(bool p)
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
void reserve_modules(int nm)
const LayerInfo & layer(int l) const
int n_total_modules() const
WithinSensitiveRegion_e m_wsr
void print_tracker(int level) 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
ModuleInfo(SVector3 p, SVector3 zd, SVector3 xd, unsigned int id)
unsigned int shrink_modules()
std::vector< LayerInfo > m_layers
void reserve_layers(int n_brl, int n_ec_pos, int n_ec_neg)