![]() |
![]() |
#include <math.h>
#include <iostream>
#include "CondFormats/HcalObjects/interface/HcalPedestalWidth.h"
Go to the source code of this file.
Functions | |
int | offset (int fCapId1, int fCapId2) |
Definition at line 16 of file HcalPedestalWidth.cc.
References tmp.
00016 { 00017 static int offsets [4] = {0, 1, 3, 6}; 00018 if (fCapId1 < fCapId2) { // swap 00019 int tmp = fCapId1; fCapId1 = fCapId2; fCapId2 = tmp; 00020 } 00021 return offsets [fCapId1] + fCapId2; 00022 }