5 #ifndef HcalNumberingFromDDD_h
6 #define HcalNumberingFromDDD_h
12 #include "CLHEP/Vector/ThreeVector.h"
29 HcalID(
int det=0,
int zs=0,
int d=0,
int et=0,
int fi=0,
int phiskip=0,
int ly=-1) :
33 HcalID
unitID(
int det, CLHEP::Hep3Vector
pos,
int depth,
int lay=-1)
const;
34 HcalID
unitID(
double eta,
double phi,
int depth=1,
int lay=-1)
const;
35 HcalID
unitID(
int det,
double etaR,
double phi,
int depth,
37 HcalID
unitID(
int det,
int zside,
int depth,
int etaR,
int phi,
40 int iphi,
bool corr=
true)
const;
49 double getEta(
int det,
int etaR,
int zside,
int depth=1)
const;
50 double getEta(
double r,
double z)
const;
59 unsigned find (
int element, std::vector<int> array)
const;
60 int unitPhi (
int det,
int etaR)
const;
63 double getEtaHO(
double& etaR,
double&
x,
double&
y,
double&
z)
const;
92 std::vector<double>
zho;
std::vector< int > shiftHE
std::vector< int > shiftHB
std::vector< double > dx2e
std::vector< int > depth2
HcalID(int det=0, int zs=0, int d=0, int et=0, int fi=0, int phiskip=0, int ly=-1)
std::vector< double > dyxe
void tileHB(int eta, int depth)
std::vector< double > zxe
std::vector< double > etaTable
int getShift(HcalSubdetector subdet, int depth) const
std::vector< double > zxb
int unitPhi(int det, int etaR) const
std::vector< double > rHB
std::vector< HcalCellType > HcalCellTypes() const
std::vector< double > drHB
double getGain(HcalSubdetector subdet, int depth) const
type of data representation of DDCompactView
std::vector< double > phibin
std::vector< double > rhoxe
unsigned int numberOfCells(HcalSubdetector) const
std::vector< double > zho
HcalNumberingFromDDD(std::string &name, const DDCompactView &cpv)
std::vector< double > dzxb
std::vector< double > gainHF
std::vector< int > shiftHF
std::vector< double > dyxb
double getEtaHO(double &etaR, double &x, double &y, double &z) const
std::vector< double > phioff
std::vector< double > dx1e
void initialize(std::string &name, const DDCompactView &cpv)
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
std::vector< int > depth3
std::vector< double > rhoxb
unsigned find(int element, std::vector< int > array) const
std::vector< int > etaMin
std::vector< int > etaMax
void loadGeometry(DDFilteredView)
double deltaEta(int det, int eta, int depth) const
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &, int &) const
double getEta(int det, int etaR, int zside, int depth=1) const
std::vector< double > gainHB
std::vector< double > gainHE
std::vector< int > depth1
std::vector< double > zHE
void tileHE(int eta, int depth)
std::vector< double > dzHE
void loadSpecPars(DDFilteredView)
std::vector< double > getEtaTable() const
HcalCellType::HcalCell cell(int det, int zside, int depth, int etaR, int iphi, bool corr=true) const
HcalID unitID(int det, CLHEP::Hep3Vector pos, int depth, int lay=-1) const
std::vector< double > rTable