15 std::vector<int> &
output) {
16 std::vector<int> indexLut(output.size());
18 for (
unsigned int i = 0;
i < output.size();
i++) {
21 for (
unsigned int ixtal = 0; ixtal < linout.size(); ixtal++) {
22 int adc = linout[ixtal][
i];
26 indexLut[
i] = indexLut[
i] | (res << ixtal);
28 int mask = 1 << (indexLut[
i]);
31 output[
i - 1] = output[
i];
40 if (it != fgmap.end()) {
44 if (identif ==
false) {
46 <<
" could not find EcalTPGFineGrainStripEEMap entry for at least "
std::map< uint32_t, EcalTPGFineGrainStripEE::Item > EcalTPGFineGrainStripEEMap
void process(std::vector< std::vector< int >> &lin_out, std::vector< int > &output)
void setParameters(int identif, uint32_t id, const EcalTPGFineGrainStripEE *)
virtual ~EcalFenixStripFgvbEE()
std::map< uint32_t, EcalTPGFineGrainStripEE::Item >::const_iterator EcalTPGFineGrainStripEEMapIterator
const std::map< uint32_t, Item > & getMap() const
constexpr int adc(sample_type sample)
get the ADC sample (12 bits)