85 int subsystem = (
m_sector<32)? 0 : 1;
91 bool oldSimulation =
false;
98 m_pad = std::make_unique<Pad>(0,0,
m_debug,subsystem,logic_sector,
m_pad_id,1,oldSimulation, NOBXS);
101 bool eta_and_phi, feet_on;
102 unsigned short int cma_mask, feet_th0, feet_th1, feet_th2 ;
106 feet_on,eta_and_phi,cma_mask,
107 feet_th0,feet_th1,feet_th2)){
108 m_pad->setFeetOn(feet_on);
109 m_pad->setFeetThresholds(0,feet_th0);
110 m_pad->setFeetThresholds(1,feet_th1);
111 m_pad->setFeetThresholds(2,feet_th2);
116 std::runtime_error(
"Could not retrieve Pad Parameters m_sector, m_pad_id = " +
123 Matrix* low_pt_matrix = (*cma)->give_low_pt_matrix(NOBXS, BCZERO);
124 Matrix* high_pt_matrix = (*cma)->give_high_pt_matrix(NOBXS, BCZERO);
127 int matrix_view = (
id.type() == Phi)? 1 : 0;
130 for (
int bunch=0;bunch< NOBXS;++bunch)
132 m_pad->load(0,matrix_view,matrix_id,bunch,
136 m_pad->load(1,matrix_view,matrix_id,bunch,
virtual bool give_Pad_Parameters(unsigned short int logic_sector, unsigned short int PADId, bool &feet, bool &eta_and_phi, unsigned short int &cma_mask, unsigned short int &feet_th0, unsigned short int &feet_th1, unsigned short int &feet_th2) const