34 {
"MiniFCal0", CaloSampling::MINIFCAL0},
35 {
"MiniFCal1", CaloSampling::MINIFCAL1},
36 {
"MiniFCal2", CaloSampling::MINIFCAL2},
37 {
"MiniFCal3", CaloSampling::MINIFCAL3}
53 auto it=std::find_if(
m_lookUp.begin(),
m_lookUp.end(),[&theSample](
const std::pair<std::string,CaloSampling::CaloSample>&
i) {return (i.second==theSample);});
70 std::vector<CaloSampling::CaloSample>& theSamplings) {
72 const size_t oldSize = theSamplings.size();
73 for (
auto fCalo : theCalos) {
109 theSamplings.push_back(CaloSampling::MINIFCAL0);
110 theSamplings.push_back(CaloSampling::MINIFCAL1);
111 theSamplings.push_back(CaloSampling::MINIFCAL2);
112 theSamplings.push_back(CaloSampling::MINIFCAL3);
118 return oldSize < theSamplings.size();
123 std::vector<CaloSampling::CaloSample>& theSamplings) {
124 const std::vector<CaloCell_ID::SUBCALO> caloVector={theCalo};
130 std::vector<CaloCell_ID::SUBCALO>& theCalos) {
131 const size_t oldSize = theCalos.size();
132 for (
auto fSample : theSamplings) {
167 case CaloSampling::MINIFCAL0:
168 case CaloSampling::MINIFCAL1:
169 case CaloSampling::MINIFCAL2:
170 case CaloSampling::MINIFCAL3:
177 if (
std::find(theCalos.begin(),theCalos.end(),theCaloId) == theCalos.end()){
178 theCalos.push_back(theCaloId);
181 return theCalos.size() > oldSize;