#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 | ( | ) |
Referenced by operator[]().
void ChannelPattern::Fill | ( | HtrXmlPatternToolParameters * | params, |
HBHEDigiCollection::const_iterator | data | ||
) |
Definition at line 168 of file HtrXmlPatternSet.cc.
References data, fCCoded, fCQuantized, HtrXmlPatternToolParameters::m_presamples_per_event, m_sample_pos, HtrXmlPatternToolParameters::m_samples_per_event, hcalTTPDigis_cfi::samples, and SAMPLES.
Referenced by HtrXmlPatternTool::Fill(), and getQuantized().
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, egammaForCoreTracking_cff::depth, HcalDetId::depth(), fCCoded, fCQuantized, mps_fire::i, HcalDetId::ietaAbs(), HcalDetId::iphi(), HcalElectronicsMap::lookup(), m_chan, m_crate, m_slot, m_tb, NUM_CRATES, phi, SAMPLES, HcalElectronicsId::setHTR(), HcalDetId::subdet(), and HcalDetId::zside().
Referenced by HtrXmlPattern::do_hand_fill(), and getQuantized().
|
inline |
|
inline |
Definition at line 29 of file HtrXmlPatternSet.h.
References fCCoded.
Referenced by HtrXmlPatternTool::createHists(), and HtrXmlPatternWriter::writePattern().
|
inline |
|
inline |
Definition at line 30 of file HtrXmlPatternSet.h.
References data, fCQuantized, Fill(), and Fill_by_hand().
Referenced by HtrXmlPatternTool::createHists().
|
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.
Referenced by HalfHtrData::HalfHtrData().
|
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(), HalfHtrData::getCrate(), HalfHtrData::HalfHtrData(), 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(), HalfHtrData::getSlot(), HalfHtrData::HalfHtrData(), and setLoc().
|
private |
Definition at line 40 of file HtrXmlPatternSet.h.
Referenced by Fill_by_hand(), getTB(), HalfHtrData::getTB(), HalfHtrData::HalfHtrData(), 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().