|
|
Go to the documentation of this file.
10 #include "CLHEP/Units/defs.h"
11 #include "CLHEP/Units/SystemOfUnits.h"
40 double etaBarrelBin = 0.087;
41 for (
unsigned int ietabin = 0; ietabin <=
nBarrelEta; ietabin++) {
42 etaLim.push_back(firstEta + ietabin * etaBarrelBin);
45 double firstPhi = -180.;
46 double phiBarrelBin = (double)360 /
nBarrelPhi;
47 for (
unsigned int iphibin = 0; iphibin <=
nBarrelPhi; iphibin++) {
48 phiLimBar.push_back((firstPhi + iphibin * phiBarrelBin) * CLHEP::degree);
54 double etaEndcapBin = 0.131;
55 for (
unsigned int ietabin = 1; ietabin <=
nEndcapEta; ietabin++) {
56 etaLim.push_back(firstEta + ietabin * etaEndcapBin);
58 double phiEndcapBin = (double)360 /
nEndcapPhi;
59 for (
unsigned int iphibin = 0; iphibin <=
nEndcapPhi; iphibin++) {
60 phiLimEnd.push_back((firstPhi + iphibin * phiEndcapBin) * CLHEP::degree);
79 for (
unsigned int iphibin = 0; iphibin <=
nForwardPhi; iphibin++) {
80 phiLimFor.push_back((firstPhi + iphibin * phiForwardBin) * CLHEP::degree);
85 for (
unsigned int i = 0;
i <
etaLim.size();
i++) {
163 unsigned int theIndex = 1000000;
181 std::vector<double> theEtaRanges(
etaLim);
static const unsigned int nForwardPhi
static const unsigned int nCaloCell
std::vector< double > getEtaRanges()
CaloCellManager(unsigned int theVerbosity)
std::vector< double > etaLim
std::vector< double > phiLimFor
static const unsigned int nForwardEta
virtual ~CaloCellManager()
std::vector< double > phiLimBar
static const unsigned int nEndcapEta
unsigned int getCellIndexFromAngle(double eta, double phi)
CaloCellCollection theCellCollection
static const unsigned int nBarrelPhi
CaloCellId * getCellFromIndex(unsigned int id)
static const unsigned int nBarrelEta
static const unsigned int nEndcapPhi
std::vector< double > phiLimEnd