pflib v3.15.1-5-ge6391b0
Pretty Fine HGCROC Interaction Library
Loading...
Searching...
No Matches
HcalECONTRocSTCMapping.h
1#pragma once
2#ifndef PFLIB_PACKING_HCALECONTROCSTCMAPPING_H
3#define PFLIB_PACKING_HCALECONTROCSTCMAPPING_H
4
5#include <vector>
6
7namespace pflib::packing {
8
23
24 public:
26 roc_trg_to_econt_erx);
39 static int toROCTrigChannel(int ch);
48 std::pair<int, int> toECONTSTC(int i_roc, int ch) const;
61 int toSTC(int i_roc, int ch) const;
62};
63
64} // namespace pflib::packing
65
66#endif
map ROC channels into ECON-T/STC
Definition HcalECONTRocSTCMapping.h:20
std::pair< int, int > toECONTSTC(int i_roc, int ch) const
get the ECON-T/STC that the input ROC/channel would be summed into
Definition HcalECONTRocSTCMapping.cxx:22
static int toROCTrigChannel(int ch)
which trigger channel the input ROC channel goes to
Definition HcalECONTRocSTCMapping.cxx:9
std::vector< std::pair< int, std::vector< int > > > roc_trg_to_econt_erx_
hardware mapping copied from the Target
Definition HcalECONTRocSTCMapping.h:22
int toSTC(int i_roc, int ch) const
get the STC index for the input ROC/channel
Definition HcalECONTRocSTCMapping.cxx:43