#include <HtrXmlPatternSet.h>
Public Member Functions | |
ChannelPattern () | |
void | encode () |
void | Fill (HtrXmlPatternToolParameters *params, HBHEDigiCollection::const_iterator data) |
void | Fill (HtrXmlPatternToolParameters *params, HFDigiCollection::const_iterator data) |
void | Fill (HtrXmlPatternToolParameters *params, HODigiCollection::const_iterator data) |
void | Fill_by_hand (const HcalElectronicsMap *, int) |
int | getChan () const |
int | getCoded (int bc) const |
int | getCrate () const |
double | getQuantized (int bc) const |
int | getSlot () const |
int | getTB () const |
double & | operator[] (int bc) |
const double | operator[] (int bc) const |
void | setLoc (int crate, int slot, int tb, int chan) |
Static Public Attributes | |
static const int | NUM_CRATES = 18 |
static const int | NUM_SLOTS = 22 |
static const int | SAMPLES = 512 |
Private Attributes | |
int | fCCoded [SAMPLES] |
double | fCQuantized [SAMPLES] |
double | fCReal [SAMPLES] |
int | m_chan |
int | m_crate |
int | m_sample_pos |
int | m_slot |
int | m_tb |
Definition at line 8 of file HtrXmlPatternSet.h.
ChannelPattern::ChannelPattern | ( | ) |
Definition at line 5 of file HtrXmlPatternSet.cc.
References fCCoded, fCQuantized, fCReal, mps_fire::i, m_sample_pos, and SAMPLES.
void ChannelPattern::encode | ( | ) |
void ChannelPattern::Fill | ( | HtrXmlPatternToolParameters * | params, |
HBHEDigiCollection::const_iterator | data | ||
) |
Definition at line 168 of file HtrXmlPatternSet.cc.
References data, fCCoded, fCQuantized, m_sample_pos, submitPVValidationJobs::params, SAMPLES, and EgammaValidation_cff::samples.
void ChannelPattern::Fill | ( | HtrXmlPatternToolParameters * | params, |
HFDigiCollection::const_iterator | data | ||
) |
void ChannelPattern::Fill | ( | HtrXmlPatternToolParameters * | params, |
HODigiCollection::const_iterator | data | ||
) |
void ChannelPattern::Fill_by_hand | ( | const HcalElectronicsMap * | emap, |
int | pattern_number | ||
) |
Definition at line 14 of file HtrXmlPatternSet.cc.
References gather_cfg::cout, ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::dcc(), hcalRecHitTable_cff::depth, HcalDetId::depth(), fCCoded, fCQuantized, mps_fire::i, HcalDetId::ietaAbs(), HcalDetId::iphi(), dqmiolumiharvest::j, HcalElectronicsMap::lookup(), m_chan, m_crate, m_slot, m_tb, NUM_CRATES, phi, SAMPLES, HcalElectronicsId::setHTR(), ALPAKA_ACCELERATOR_NAMESPACE::ecal::reconstruction::internal::barrel::side(), HcalDetId::subdet(), and HcalDetId::zside().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 16 of file HtrXmlPatternSet.h.
References officialStyle::chan, m_chan, m_crate, m_slot, and m_tb.
|
private |
Definition at line 39 of file HtrXmlPatternSet.h.
Referenced by ChannelPattern(), Fill(), Fill_by_hand(), and getCoded().
|
private |
Definition at line 38 of file HtrXmlPatternSet.h.
Referenced by ChannelPattern(), Fill(), Fill_by_hand(), and getQuantized().
|
private |
Definition at line 37 of file HtrXmlPatternSet.h.
Referenced by ChannelPattern(), and operator[]().
|
private |
Definition at line 40 of file HtrXmlPatternSet.h.
Referenced by Fill_by_hand(), getChan(), and setLoc().
|
private |
Definition at line 40 of file HtrXmlPatternSet.h.
Referenced by Fill_by_hand(), getCrate(), and setLoc().
|
private |
Definition at line 41 of file HtrXmlPatternSet.h.
Referenced by ChannelPattern(), and Fill().
|
private |
Definition at line 40 of file HtrXmlPatternSet.h.
Referenced by Fill_by_hand(), getSlot(), and setLoc().
|
private |
Definition at line 40 of file HtrXmlPatternSet.h.
Referenced by Fill_by_hand(), getTB(), and setLoc().
|
static |
Definition at line 11 of file HtrXmlPatternSet.h.
Referenced by HtrXmlPatternTool::createHists(), HtrXmlPattern::do_hand_fill(), Fill_by_hand(), HtrXmlPatternSet::getCrate(), HtrXmlPatternSet::HtrXmlPatternSet(), HtrXmlPatternTool::HtrXmlPatternTool(), HtrXmlPatternTool::writeXML(), and HtrXmlPatternSet::~HtrXmlPatternSet().
|
static |
Definition at line 13 of file HtrXmlPatternSet.h.
Referenced by CrateData::CrateData(), HtrXmlPatternTool::createHists(), HtrXmlPattern::do_hand_fill(), CrateData::getHalfHtrData(), HtrXmlPatternTool::HtrXmlPatternTool(), HtrXmlPatternTool::writeXML(), and CrateData::~CrateData().
|
static |
Definition at line 10 of file HtrXmlPatternSet.h.
Referenced by ChannelPattern(), HtrXmlPatternTool::createHists(), Fill(), and Fill_by_hand().