15 edm::LogWarning(
"DivisionByZero") <<
"WARNING: the MIP->fC correction factor is zero or negative. It won't be applied to correct trigger cell energies.";
18 edm::LogWarning(
"DivisionByZero") <<
"WARNING: the cell-thickness correction factor is zero or negative. It won't be applied to correct trigger cell energies.";
30 int hwPt = trgCell.
hwPt();
45 double trgCellMipPt = trgCellMipP/cosh( trgCell.
eta() );
54 const double MevToGeV(0.001);
57 int trgCellLayer = trgdetid.
layer();
58 int subdet = trgdetid.subdetId();
64 else if( subdet ==
HGCHEB ){
83 trgCell.
setP4( calibP4 );
T getParameter(std::string const &) const
double eta() const final
momentum pseudorapidity
std::vector< double > dEdX_weights_
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
void setMipPt(double value)
static const unsigned kLayersFH_
void calibrateInMipT(l1t::HGCalTriggerCell &)
void calibrateMipTinGeV(l1t::HGCalTriggerCell &)
static const unsigned kLayersEE_
double LSB_scintillator_MIP_
void calibrateInGeV(l1t::HGCalTriggerCell &)
double phi() const final
momentum azimuthal angle
void setP4(const LorentzVector &p4) final
set 4-momentum
int layer() const
get the layer #
HGCalTriggerCellCalibration(const edm::ParameterSet &conf)