3 #ifndef CalibrationHelperFunctions_HH
4 #define CalibrationHelperFunctions_HH
9 static const int ntowers = 4800;
11 float tower_eta[ntowers];
12 float tower_phi[ntowers];
13 float tower_theta[ntowers];
16 int towerStatus2004(
int towerid);
17 int towerStatus2005(
int towerid);
18 int towerStatus2006(
int towerid);
24 float getEta(
int towerid) {
return tower_eta[towerid-1];}
25 float getTheta(
int towerid) {
return tower_theta[towerid-1];}
26 float getPhi(
int towerid) {
return tower_phi[towerid-1];}
28 bool isGoodTower2004(
int towerid);
29 bool isGoodTower2005(
int towerid);
30 bool isGoodTower2006(
int towerid);
32 bool isBadIso2005(
int towerid);
33 bool isBadPoverE2005(
int towerid);