10 : hcalHitSelector_(iConfig.getParameter<
edm::
ParameterSet>(
"hitSelection")) {
35 desc.
add<
double>(
"minSCEt", 20);
36 desc.
add<
double>(
"minEleEt", 20);
37 desc.
add<
double>(
"minPhoEt", 20);
40 descriptions.
add((
"interestingGedEgammaIsoHCALDetId"), desc);
61 std::vector<DetId> indexToStore;
62 indexToStore.reserve(100);
65 for (
auto& ele : *eles) {
66 float scEt = ele.superCluster()->energy() *
std::sin(ele.superCluster()->position().theta());
73 for (
auto& pho : *phos) {
74 float scEt = pho.superCluster()->energy() *
std::sin(pho.superCluster()->position().theta());
82 float scEt = sc.energy() *
std::sin(sc.position().theta());
90 std::sort(indexToStore.begin(), indexToStore.end());
91 std::unique(indexToStore.begin(), indexToStore.end());
93 auto detIdCollection = std::make_unique<DetIdCollection>(indexToStore);