36 {
"MiniFCal0", MINIFCAL0},
37 {
"MiniFCal1", MINIFCAL1},
38 {
"MiniFCal2", MINIFCAL2},
39 {
"MiniFCal3", MINIFCAL3}
55 auto it=std::find_if(
m_lookUp.begin(),
m_lookUp.end(),[&theSample](
const std::pair<std::string,CaloSampling::CaloSample>&
i) {return (i.second==theSample);});
71 const std::vector<CaloCell_ID::SUBCALO>& theCalos,
72 std::vector<CaloSampling::CaloSample>& theSamplings) {
74 const size_t oldSize = theSamplings.size();
75 for (
auto fCalo : theCalos) {
79 theSamplings.push_back(
EMB1);
80 theSamplings.push_back(
EMB2);
81 theSamplings.push_back(
EMB3);
83 theSamplings.push_back(
EME1);
84 theSamplings.push_back(
EME2);
85 theSamplings.push_back(
EME3);
88 theSamplings.push_back(
HEC0);
89 theSamplings.push_back(
HEC1);
90 theSamplings.push_back(
HEC2);
91 theSamplings.push_back(
HEC3);
94 theSamplings.push_back(
FCAL0);
95 theSamplings.push_back(
FCAL1);
96 theSamplings.push_back(
FCAL2);
110 theSamplings.push_back(MINIFCAL0);
111 theSamplings.push_back(MINIFCAL1);
112 theSamplings.push_back(MINIFCAL2);
113 theSamplings.push_back(MINIFCAL3);
119 return oldSize < theSamplings.size();
123 const std::vector<CaloCell_ID::SUBCALO> caloVector = {theCalo};
128 const size_t oldSize = theCalos.size();
129 for (
auto fSample : theSamplings) {
175 if (
std::find(theCalos.begin(), theCalos.end(), theCaloId) == theCalos.end()) {
176 theCalos.push_back(theCaloId);
179 return theCalos.size() > oldSize;