|
|
Go to the documentation of this file.
7 : LSB_silicon_fC_(conf.getParameter<double>(
"siliconCellLSB_fC")),
8 LSB_scintillator_MIP_(conf.getParameter<double>(
"scintillatorCellLSB_MIP")),
9 fCperMIP_(conf.getParameter<double>(
"fCperMIP")),
10 fCperMIPnose_(conf.getParameter<
std::vector<double>>(
"fCperMIPnose")),
11 thickCorr_(conf.getParameter<double>(
"thickCorr")),
12 thickCorrNose_(conf.getParameter<
std::vector<double>>(
"thickCorrNose")),
13 dEdX_weights_(conf.getParameter<
std::vector<double>>(
"dEdXweights")),
14 dEdX_weights_Nose_(conf.getParameter<
std::vector<double>>(
"dEdXweightsNose")) {
16 edm::LogWarning(
"DivisionByZero") <<
"WARNING: the MIP->fC correction factor is zero or negative. It won't be "
17 "applied to correct trigger cell energies.";
20 edm::LogWarning(
"DivisionByZero") <<
"WARNING: the cell-thickness correction factor is zero or negative. It won't "
21 "be applied to correct trigger cell energies.";
32 int hwPt = trgCell.
hwPt();
50 double trgCellMipPt = trgCellMipP / cosh(trgCell.
eta());
57 const double MevToGeV(0.001);
69 <<
"Trigger cell energy forced to 0 by calibration coefficients.\n"
70 <<
"The configuration should be changed. \n";
75 <<
"Trigger cell energy forced to 0 by calibration coefficients.\n"
76 <<
"The configuration should be changed. "
77 <<
"Discarded layers should be defined in "
78 "hgcalTriggerGeometryESProducer.TriggerGeometry."
80 "and not with calibration coefficients = 0\n";
86 trgCellEt = trgCell.
mipPt() * MevToGeV;
101 trgCell.
setP4(calibP4);
double LSB_scintillator_MIP_
std::vector< double > dEdX_weights_
std::vector< double > thickCorrNose_
void setMipPt(double value)
std::vector< double > fCperMIPnose_
double eta() const final
momentum pseudorapidity
HGCalTriggerCellCalibration(const edm::ParameterSet &conf)
std::vector< double > dEdX_weights_Nose_
void setP4(const LorentzVector &p4) final
set 4-momentum
double phi() const final
momentum azimuthal angle
void calibrateInMipT(l1t::HGCalTriggerCell &) const
void calibrateMipTinGeV(l1t::HGCalTriggerCell &) const
The Signals That Services Can Subscribe To This is based on ActivityRegistry and is current per Services can connect to the signals distributed by the ActivityRegistry in order to monitor the activity of the application Each possible callback has some defined which we here list in angle e< void, edm::EventID const &, edm::Timestamp const & > We also list in braces which AR_WATCH_USING_METHOD_ is used for those or
PtEtaPhiMLorentzVectorD PtEtaPhiMLorentzVector
Lorentz vector with cartesian internal representation.
void calibrateInGeV(l1t::HGCalTriggerCell &) const
HGCalTriggerTools triggerTools_