25 m_layers.reserve(n_brl + n_ec_pos + n_ec_neg);
33 for (
int i = 0;
i < n_brl; ++
i)
35 for (
int i = 0;
i < n_ec_pos; ++
i)
37 for (
int i = 0;
i < n_ec_neg; ++
i)
void set_r_hole_range(float rh1, float rh2)
std::vector< int > m_barrel
LayerInfo & new_barrel_layer()
std::vector< int > m_ecap_neg
LayerInfo & new_ecap_neg_layer()
void set_limits(float r1, float r2, float z1, float z2)
LayerInfo & new_ecap_pos_layer()
int new_layer(LayerInfo::LayerType_e type)
void create_layers(int n_brl, int n_ec_pos, int n_ec_neg)
std::vector< int > m_ecap_pos
std::vector< LayerInfo > m_layers
void reserve_layers(int n_brl, int n_ec_pos, int n_ec_neg)