Skip to content

Commit

Permalink
[CreateCaloCells] tabs/indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
BrieucF committed Jul 9, 2024
1 parent 887574f commit 2ec7cab
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RecCalorimeter/src/components/CreateCaloCells.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ StatusCode CreateCaloCells::execute() {
auto vec_crosstalks = m_crosstalksTool->getCrosstalks(this_cellId); // a vector of crosstalk coefficients
// loop over crosstalk neighbours of the cell under study
for (unsigned int i_cell=0; i_cell<vec_neighbours.size(); i_cell++) {
// signal transfer = energy deposit brought by EM shower hits * crosstalk coefficient
// signal transfer = energy deposit brought by EM shower hits * crosstalk coefficient
double signal_transfer = this_cell.second * vec_crosstalks[i_cell];
// for the cell under study, record the signal transfer that will be subtracted from its final cell energy
// for the cell under study, record the signal transfer that will be subtracted from its final cell energy
m_CrosstalkCellsMap[this_cellId] -= signal_transfer;
// for the crosstalk neighbour, record the signal transfer that will be added to its final cell energy
// for the crosstalk neighbour, record the signal transfer that will be added to its final cell energy
m_CrosstalkCellsMap[vec_neighbours[i_cell]] += signal_transfer;
}
}
Expand Down

0 comments on commit 2ec7cab

Please sign in to comment.