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;
166 double sign_calo_met_total = 0;
167 double sign_calo_met_phi = 0;
168 double sign_calo_met_set = 0;
176 signInputVec.clear();