Skip to content

Commit

Permalink
Offset histos
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Won committed Sep 30, 2009
1 parent d5ce1c4 commit 5eb6f2b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,11 @@ HcalPedestalsAnalysis::~HcalPedestalsAnalysis()
}
}

dephist[bunch_it->detid.depth()-1]->Fill(bunch_it->detid.ieta(),bunch_it->detid.iphi(),

int fillphi = bunch_it->detid.iphi();
if (bunch_it->detid.depth()==4) fillphi++;

dephist[bunch_it->detid.depth()-1]->Fill(bunch_it->detid.ieta(),fillphi,
(bunch_it->cap[0]+bunch_it->cap[1]+bunch_it->cap[2]+bunch_it->cap[3])/4);

const HcalPedestal item(bunch_it->detid, bunch_it->cap[0], bunch_it->cap[1], bunch_it->cap[2], bunch_it->cap[3],
Expand Down

0 comments on commit 5eb6f2b

Please sign in to comment.