#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, i, m_sample_pos, and SAMPLES.
void ChannelPattern::encode | ( | ) |
void ChannelPattern::Fill | ( | HtrXmlPatternToolParameters * | params, |
HBHEDigiCollection::const_iterator | data | ||
) |
Definition at line 123 of file HtrXmlPatternSet.cc.
References fCCoded, fCQuantized, cmsHarvester::index, HtrXmlPatternToolParameters::m_presamples_per_event, m_sample_pos, HtrXmlPatternToolParameters::m_samples_per_event, and SAMPLES.
Referenced by HtrXmlPatternTool::Fill().
void ChannelPattern::Fill | ( | HtrXmlPatternToolParameters * | params, |
HFDigiCollection::const_iterator | data | ||
) |
Definition at line 147 of file HtrXmlPatternSet.cc.
References fCCoded, fCQuantized, cmsHarvester::index, HtrXmlPatternToolParameters::m_presamples_per_event, m_sample_pos, HtrXmlPatternToolParameters::m_samples_per_event, and SAMPLES.
void ChannelPattern::Fill | ( | HtrXmlPatternToolParameters * | params, |
HODigiCollection::const_iterator | data | ||
) |
Definition at line 171 of file HtrXmlPatternSet.cc.
References fCCoded, fCQuantized, cmsHarvester::index, HtrXmlPatternToolParameters::m_presamples_per_event, m_sample_pos, HtrXmlPatternToolParameters::m_samples_per_event, and SAMPLES.
void ChannelPattern::Fill_by_hand | ( | const HcalElectronicsMap * | emap, |
int | pattern_number | ||
) |
Definition at line 14 of file HtrXmlPatternSet.cc.
References gather_cfg::cout, HcalDetId::depth(), HLT_FULL_cff::depth, fCCoded, fCQuantized, i, HcalDetId::ietaAbs(), HcalDetId::iphi(), j, 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().
|
inline |
|
inline |
Definition at line 24 of file HtrXmlPatternSet.h.
References fCCoded.
Referenced by HtrXmlPatternTool::createHists(), and HtrXmlPatternWriter::writePattern().
|
inline |
|
inline |
Definition at line 25 of file HtrXmlPatternSet.h.
References fCQuantized.
Referenced by HtrXmlPatternTool::createHists().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
private |
Definition at line 33 of file HtrXmlPatternSet.h.
Referenced by ChannelPattern(), Fill(), Fill_by_hand(), and getCoded().
|
private |
Definition at line 32 of file HtrXmlPatternSet.h.
Referenced by ChannelPattern(), Fill(), Fill_by_hand(), and getQuantized().
|
private |
Definition at line 31 of file HtrXmlPatternSet.h.
Referenced by ChannelPattern(), and operator[]().
|
private |
Definition at line 34 of file HtrXmlPatternSet.h.
Referenced by Fill_by_hand(), getChan(), and setLoc().
|
private |
Definition at line 34 of file HtrXmlPatternSet.h.
Referenced by Fill_by_hand(), getCrate(), and setLoc().
|
private |
Definition at line 35 of file HtrXmlPatternSet.h.
Referenced by ChannelPattern(), and Fill().
|
private |
Definition at line 34 of file HtrXmlPatternSet.h.
Referenced by Fill_by_hand(), getSlot(), and setLoc().
|
private |
Definition at line 34 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().