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) {
78 theSamplings.push_back(PreSamplerB);
79 theSamplings.push_back(EMB1);
80 theSamplings.push_back(EMB2);
81 theSamplings.push_back(EMB3);
82 theSamplings.push_back(PreSamplerE);
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);
99 theSamplings.push_back(TileBar0);
100 theSamplings.push_back(TileBar1);
101 theSamplings.push_back(TileBar2);
102 theSamplings.push_back(TileExt0);
103 theSamplings.push_back(TileExt1);
104 theSamplings.push_back(TileExt2);
105 theSamplings.push_back(TileGap1);
106 theSamplings.push_back(TileGap2);
107 theSamplings.push_back(TileGap3);
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();
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;