Description: <one line="" class="" summary>="">
Implementation: <Notes on="" implementation>="">
Definition at line 34 of file SignCaloSpecificAlgo.h.
Definition at line 43 of file SignCaloSpecificAlgo.cc.
References metsig::caloEB, metsig::caloEE, metsig::caloHB, metsig::caloHE, metsig::caloHF, metsig::caloHO, ewkMuLumiMonitorDQM_cfi::calotower, DetId::Ecal, EcalBarrel, EcalEndcap, metsig::ET, HLT_2024v14_cff::globalThreshold, DetId::Hcal, HcalBarrel, HcalEndcap, HcalForward, HcalOuter, HLT_2024v14_cff::noHF, metsig::PHI, electronProducer_cfi::resolutions, AlCaHLTBitMon_QueryRunRegistry::string, HcalDetId::subdet(), groupFilesInBlocks::temp, and HLT_2024v14_cff::towers.
Referenced by calculateBaseCaloMET().
49 std::vector<metsig::SigInputObj> signInputVec;
51 for (; towerCand !=
towers->end(); towerCand++) {
52 const Candidate* candidate = &(*towerCand);
61 double sign_tower_sigma_et = 0;
62 double sign_tower_sigma_phi = 0;
65 bool hadIsDone =
false;
66 bool emIsDone =
false;
69 while (--cell >= 0 && (!hadIsDone || !emIsDone)) {
74 sign_tower_type =
"hadcalotower";
78 sign_tower_sigma_phi =
81 sign_tower_type =
"hadcalotower";
85 sign_tower_sigma_phi =
88 sign_tower_type =
"hadcalotower";
92 sign_tower_sigma_phi =
95 sign_tower_type =
"hadcalotower";
99 sign_tower_sigma_phi =
103 <<
" HCAL tower cell not assigned to an HCAL subdetector!!!" << std::endl;
107 sign_tower_type, sign_tower_et, sign_tower_phi, sign_tower_sigma_et, sign_tower_sigma_phi);
109 signInputVec.push_back(
temp);
117 sign_tower_type =
"emcalotower";
119 sign_tower_sigma_et =
121 sign_tower_sigma_phi =
124 sign_tower_type =
"emcalotower";
126 sign_tower_sigma_et =
128 sign_tower_sigma_phi =
133 <<
" ECAL tower cell not assigned to an ECAL subdetector!!!" << std::endl;
136 sign_tower_type, sign_tower_et, sign_tower_phi, sign_tower_sigma_et, sign_tower_sigma_phi);
137 signInputVec.push_back(
temp);
143 edm::LogWarning(
"SignCaloSpecificAlgo") <<
"found non-assigned cell, " << std::endl;
constexpr HcalSubdetector subdet() const
get the subdetector
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
Log< level::Warning, false > LogWarning