11 #include "CLHEP/Units/GlobalSystemOfUnits.h" 21 HcalCell(
bool fl=
false,
double et=0,
double det=0,
double fi=0,
22 double dfi=0,
double rzv=0,
double drzv=0,
bool frz=
true) :
23 ok(fl), eta(
et), deta(det), phi(fi), dphi(dfi), rz(rzv), drz(drzv),
41 void setEta(
int bin,
double etamin,
double etamax);
47 void setDepth(
int bin,
double dmin,
double dmax);
57 void setPhi(
const std::vector<std::pair<int,double>>&
phis,
58 const std::vector<int>& iphiMiss,
double foff,
double dphi,
74 std::vector<std::pair<int,double>>
phis()
const {
return thePhis;}
void setEta(int bin, double etamin, double etamax)
int etaBin() const
which eta ring it belongs to, starting from one
void setPhi(const std::vector< std::pair< int, double >> &phis)
std::ostream & operator<<(std::ostream &, const HcalCellType &)
double samplingFactor() const
ratio of real particle energy to deposited energy in the SimHi
std::vector< std::pair< int, double > > phis() const
Phi modules and the central phi values.
double phiBinWidth() const
phi bin width
void setPhi(const std::vector< std::pair< int, double >> &phis, const std::vector< int > &iphiMiss, double foff, double dphi, int unit)
int theActualReadoutDirection
HcalSubdetector theDetType
HcalSubdetector detType() const
double depth() const
z or r position, depending on whether it's barrel or endcap
const HcalCellType & operator=(const HcalCellType &right)
bin
set the eta bin as selection string.
double etaMax() const
cell edge, always positive & greater than etaMin
void setDepth(int bin, double dmin, double dmax)
double etaMin() const
lower cell edge. Always positive
et
define resolution functions of each parameter
int nPhiBins() const
the number of these cells in a ring
HcalCell(bool fl=false, double et=0, double det=0, double fi=0, double dfi=0, double rzv=0, double drzv=0, bool frz=true)
std::vector< std::pair< int, double > > thePhis
int actualReadoutDirection() const