12 #include "CLHEP/Units/defs.h"
13 #include "CLHEP/Units/SystemOfUnits.h"
49 double etaBarrelBin = 0.087;
50 for (
unsigned int ietabin = 0; ietabin <=
nBarrelEta; ietabin++) {
51 etaLim.push_back(firstEta+ietabin*etaBarrelBin);
54 double firstPhi = -180.;
56 for (
unsigned int iphibin = 0; iphibin <=
nBarrelPhi; iphibin++) {
57 phiLimBar.push_back((firstPhi+iphibin*phiBarrelBin)*CLHEP::degree);
63 double etaEndcapBin = 0.131;
64 for (
unsigned int ietabin = 1; ietabin <=
nEndcapEta; ietabin++) {
65 etaLim.push_back(firstEta+ietabin*etaEndcapBin);
68 for (
unsigned int iphibin = 0; iphibin <=
nEndcapPhi; iphibin++) {
69 phiLimEnd.push_back((firstPhi+iphibin*phiEndcapBin)*CLHEP::degree);
88 for (
unsigned int iphibin = 0; iphibin <=
nForwardPhi; iphibin++) {
89 phiLimFor.push_back((firstPhi+iphibin*phiForwardBin)*CLHEP::degree);
94 for (
unsigned int i = 0;
i <
etaLim.size();
i++) {
118 for (
unsigned int iphi = 0; iphi <
nBarrelPhi; iphi++) {
119 for (
unsigned int ieta = 0; ieta <
nBarrelEta; ieta++) {
123 for (
unsigned int ieta = 0; ieta <
nBarrelEta; ieta++) {
133 for (
unsigned int iphi = 0; iphi <
nEndcapPhi; iphi++) {
148 for (
unsigned int iphi = 0; iphi <
nForwardPhi; iphi++) {
170 unsigned int theIndex = 1000000;
187 std::vector<double> theEtaRanges(
etaLim);
static const unsigned int nForwardPhi
CaloCellManager(unsigned int theVerbosity)
static const unsigned int nForwardEta
std::vector< double > etaLim
static const unsigned int nEndcapEta
std::vector< double > phiLimBar
std::vector< double > getEtaRanges()
CaloCellId * getCellFromIndex(unsigned int id)
static const unsigned int nCaloCell
std::vector< double > phiLimFor
static const unsigned int nBarrelEta
CaloCellCollection theCellCollection
virtual ~CaloCellManager()
std::vector< double > phiLimEnd
unsigned int getCellIndexFromAngle(double eta, double phi)
static const unsigned int nBarrelPhi
static const unsigned int nEndcapPhi