#include <CaloCellManager.h>
Definition at line 17 of file CaloCellManager.h.
CaloCellManager::CaloCellManager |
( |
unsigned int |
theVerbosity | ) |
|
CaloCellManager::~CaloCellManager |
( |
| ) |
|
|
virtual |
void CaloCellManager::builder |
( |
| ) |
|
|
private |
Definition at line 110 of file CaloCellManager.cc.
References CaloCellId::Barrel, gather_cfg::cout, CaloCellId::Endcap, etaLim, CaloCellId::Forward, i, nBarrelEta, nBarrelPhi, nCaloCell, nEndcapEta, nEndcapPhi, nForwardEta, nForwardPhi, phiLimBar, phiLimEnd, phiLimFor, theCellCollection, and verbosity.
Referenced by CaloCellManager().
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++) {
134 for (
unsigned int ieta = nBarrelEta; ieta < nBarrelEta+
nEndcapEta; ieta++) {
138 for (
unsigned int ieta = nBarrelEta; ieta < nBarrelEta+
nEndcapEta; ieta++) {
148 for (
unsigned int iphi = 0; iphi <
nForwardPhi; iphi++) {
149 for (
unsigned int ieta = nBarrelEta+nEndcapEta; ieta < nBarrelEta+nEndcapEta+
nForwardEta; ieta++) {
153 for (
unsigned int ieta = nBarrelEta+nEndcapEta; ieta < nBarrelEta+nEndcapEta+
nForwardEta; ieta++) {
static const unsigned int nForwardPhi
static const unsigned int nForwardEta
std::vector< double > etaLim
static const unsigned int nEndcapEta
std::vector< double > phiLimBar
static const unsigned int nCaloCell
std::vector< double > phiLimFor
static const unsigned int nBarrelEta
CaloCellCollection theCellCollection
std::vector< double > phiLimEnd
static const unsigned int nBarrelPhi
static const unsigned int nEndcapPhi
CaloCellId * CaloCellManager::getCellFromIndex |
( |
unsigned int |
id | ) |
|
unsigned int CaloCellManager::getCellIndexFromAngle |
( |
double |
eta, |
|
|
double |
phi |
|
) |
| |
std::vector< double > CaloCellManager::getEtaRanges |
( |
| ) |
|
void CaloCellManager::init |
( |
void |
| ) |
|
|
private |
Definition at line 39 of file CaloCellManager.cc.
References gather_cfg::cout, etaLim, i, nBarrelEta, nBarrelPhi, nEndcapEta, nEndcapPhi, nForwardEta, nForwardPhi, phiLimBar, phiLimEnd, phiLimFor, and verbosity.
Referenced by CaloCellManager().
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++) {
static const unsigned int nForwardPhi
static const unsigned int nForwardEta
std::vector< double > etaLim
static const unsigned int nEndcapEta
std::vector< double > phiLimBar
std::vector< double > phiLimFor
static const unsigned int nBarrelEta
std::vector< double > phiLimEnd
static const unsigned int nBarrelPhi
static const unsigned int nEndcapPhi
std::vector<double> CaloCellManager::etaLim |
|
private |
const unsigned int CaloCellManager::nBarrelEta = 16 |
|
static |
const unsigned int CaloCellManager::nBarrelPhi = 72 |
|
static |
const unsigned int CaloCellManager::nEndcapEta = 12 |
|
static |
const unsigned int CaloCellManager::nEndcapPhi = 36 |
|
static |
const unsigned int CaloCellManager::nForwardEta = 12 |
|
static |
const unsigned int CaloCellManager::nForwardPhi = 36 |
|
static |
std::vector<double> CaloCellManager::phiLimBar |
|
private |
std::vector<double> CaloCellManager::phiLimEnd |
|
private |
std::vector<double> CaloCellManager::phiLimFor |
|
private |
unsigned int CaloCellManager::verbosity |
|
private |