15 int trgCellLayer = trgdetid.
layer();
16 int subdet = trgdetid.subdetId();
19 int hwPt = trgCell.
hwPt();
22 if( subdet ==
HGCEE ){
24 amplitude = amplitude /
fCperMIP_ee_.at(cellThickness-1);
25 }
else if( subdet ==
HGCHEF ){
27 amplitude = amplitude /
fCperMIP_fh_.at(cellThickness-1);
28 trgCellLayer = trgCellLayer + 28;
29 }
else if( subdet ==
HGCHEB ){
30 edm::LogWarning(
"DataNotFound") <<
"WARNING: the BH trgCells are not yet implemented !! ";
38 trgCell.
setP4(calibP4);
T getParameter(std::string const &) const
void calibrate(l1t::HGCalTriggerCell &, int cellThickness)
std::vector< double > dEdX_weights_
virtual double eta() const final
momentum pseudorapidity
std::vector< double > fCperMIP_ee_
virtual double phi() const final
momentum azimuthal angle
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
virtual void setP4(const LorentzVector &p4) final
set 4-momentum
std::vector< double > fCperMIP_fh_
std::vector< double > thickCorr_
virtual const LorentzVector & p4() const final
four-momentum Lorentz vector
int layer() const
get the layer #
HGCalTriggerCellCalibration(const edm::ParameterSet &conf)