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);
58 int subdet = trgdetid.subdetId();
62 <<
"Trigger cell energy forced to 0 by calibration coefficients.\n" 63 <<
"The configuration should be changed. " 64 <<
"Discarded layers should be defined in hgcalTriggerGeometryESProducer.TriggerGeometry.DisconnectedLayers and not with calibration coefficients = 0\n";
82 trgCell.
setP4( calibP4 );
T getParameter(std::string const &) const
HGCalTriggerTools triggerTools_
std::vector< double > dEdX_weights_
virtual double eta() const final
momentum pseudorapidity
virtual double phi() const final
momentum azimuthal angle
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
void setMipPt(double value)
void calibrateInMipT(l1t::HGCalTriggerCell &)
void calibrateMipTinGeV(l1t::HGCalTriggerCell &)
double LSB_scintillator_MIP_
virtual void setP4(const LorentzVector &p4) final
set 4-momentum
void calibrateInGeV(l1t::HGCalTriggerCell &)
HGCalTriggerCellCalibration(const edm::ParameterSet &conf)