Go to the documentation of this file.
15 for (
int iSample = 0; iSample <
SAMPLES; iSample++) {
22 for (
int jCrate = 0; jCrate <
NUM_CRATES; jCrate++) {
88 int fiber_channel = (
m_chan - 1) % 3;
89 int fiber = (
m_chan - fiber_channel - 1) / 3 + 1;
90 int dcc_num = dcc[
m_crate] - 700;
109 int side = hdid.
zside();
111 int subdet = hdid.
subdet();
114 if (pattern_number == 1) {
129 if (pattern_number == 2) {
132 if (subdet == 4 && etaabs < 30)
135 if ((etaabs + 2) % 4 != 0)
137 int i = (etaabs + 2) / 4;
141 if ((
phi + 3) % 4 != 0)
143 int j = (
phi + 3) / 4;
154 if (pattern_number == 3) {
155 if (
depth > 1 || etaabs != 18 || side != 1 ||
phi != 32)
241 for (
int i = 0;
i < 24;
i++)
253 for (
int tb = 0; tb < 2; tb++) {
254 if (slotsActive[slot])
264 for (
int tb = 0; tb < 2; tb++) {
281 if (cratesActive[crate])
std::vector< T >::const_iterator const_iterator
constexpr void setHTR(int crate, int slot, int tb)
constexpr int iphi() const
get the cell iphi
constexpr int depth() const
get the tower depth
HalfHtrData * getHalfHtrData(int slot, int one_two_tb)
CrateData * m_crates[ChannelPattern::NUM_CRATES]
static const int NUM_CRATES
Readout chain identification for Hcal.
void Fill_by_hand(const HcalElectronicsMap *, int)
void Fill(HtrXmlPatternToolParameters *params, HBHEDigiCollection::const_iterator data)
constexpr HcalSubdetector subdet() const
get the subdetector
CrateData(int crate, int slotsActive[ChannelPattern::NUM_SLOTS])
ChannelPattern m_patterns[24]
HalfHtrData(int crate, int slot, int tb)
HalfHtrData * m_slotsDoubled[ChannelPattern::NUM_SLOTS][2]
const DetId lookup(HcalElectronicsId fId) const
lookup the logical detid associated with the given electronics id
static const int NUM_SLOTS
char data[epos_bytes_allocation]
double fCQuantized[SAMPLES]
constexpr int ietaAbs() const
get the absolute value of the cell ieta
CrateData * getCrate(int crate)
constexpr int zside() const
get the z-side of the cell (1/-1)
HtrXmlPatternSet(int cratesActive[ChannelPattern::NUM_CRATES], int slotsActive[ChannelPattern::NUM_SLOTS])