#include <SiPixelFEDChannelContainer.h>
Public Types | |
typedef std::unordered_map< std::string, SiPixelFEDChannelCollection > | SiPixelBadFEDChannelsScenarioMap |
typedef std::map< DetId, std::vector< PixelFEDChannel > > | SiPixelFEDChannelCollection |
Public Member Functions | |
std::unique_ptr< PixelFEDChannelCollection > | getDetSetBadPixelFedChannels (const std::string &ScenarioId) const |
std::vector< std::string > | getScenarioList () const |
const SiPixelBadFEDChannelsScenarioMap & | getScenarioMap () const |
SiPixelFEDChannelCollection | getSiPixelBadFedChannels (const std::string &ScenarioId) const |
const SiPixelFEDChannelCollection & | getSiPixelBadFedChannels (const std::string &ScenarioId) |
const std::vector< PixelFEDChannel > & | getSiPixelBadFedChannelsInDetId (const std::string &theScenarioId, DetId theDetId) |
void | print (std::ostream &os) const |
void | printAll () const |
void | setScenario (const std::string &theScenarioId, const SiPixelFEDChannelCollection &theBadFEDChannels) |
SiPixelFEDChannelContainer () | |
SiPixelFEDChannelContainer (const SiPixelFEDChannelContainer &rhs) | |
double | size () const |
virtual | ~SiPixelFEDChannelContainer () |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
SiPixelBadFEDChannelsScenarioMap | m_scenarioMap |
Friends | |
class | boost::serialization::access |
template<typename CondSerializationT , typename Enabled > | |
struct | cond::serialization::access |
Definition at line 12 of file SiPixelFEDChannelContainer.h.
typedef std::unordered_map<std::string, SiPixelFEDChannelCollection> SiPixelFEDChannelContainer::SiPixelBadFEDChannelsScenarioMap |
Definition at line 15 of file SiPixelFEDChannelContainer.h.
typedef std::map<DetId, std::vector<PixelFEDChannel> > SiPixelFEDChannelContainer::SiPixelFEDChannelCollection |
Definition at line 14 of file SiPixelFEDChannelContainer.h.
|
inline |
Definition at line 17 of file SiPixelFEDChannelContainer.h.
|
inline |
Definition at line 18 of file SiPixelFEDChannelContainer.h.
References getScenarioMap(), and m_scenarioMap.
|
inlinevirtual |
Definition at line 19 of file SiPixelFEDChannelContainer.h.
References setScenario(), and AlCaHLTBitMon_QueryRunRegistry::string.
std::unique_ptr< PixelFEDChannelCollection > SiPixelFEDChannelContainer::getDetSetBadPixelFedChannels | ( | const std::string & | ScenarioId | ) | const |
Definition at line 65 of file SiPixelFEDChannelContainer.cc.
References mps_splice::entry, Exception, and m_scenarioMap.
Referenced by getScenarioMap().
std::vector< std::string > SiPixelFEDChannelContainer::getScenarioList | ( | ) | const |
Definition at line 121 of file SiPixelFEDChannelContainer.cc.
References m_scenarioMap, and visualization-live-secondInstance_cfg::scenarios.
Referenced by size().
|
inline |
Definition at line 23 of file SiPixelFEDChannelContainer.h.
References getDetSetBadPixelFedChannels(), getSiPixelBadFedChannels(), getSiPixelBadFedChannelsInDetId(), m_scenarioMap, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by SiPixelFEDChannelContainer().
SiPixelFEDChannelContainer::SiPixelFEDChannelCollection SiPixelFEDChannelContainer::getSiPixelBadFedChannels | ( | const std::string & | ScenarioId | ) | const |
Definition at line 20 of file SiPixelFEDChannelContainer.cc.
References Exception, and m_scenarioMap.
Referenced by getScenarioMap().
const SiPixelFEDChannelContainer::SiPixelFEDChannelCollection & SiPixelFEDChannelContainer::getSiPixelBadFedChannels | ( | const std::string & | ScenarioId | ) |
Definition at line 33 of file SiPixelFEDChannelContainer.cc.
References Exception, and m_scenarioMap.
const std::vector< PixelFEDChannel > & SiPixelFEDChannelContainer::getSiPixelBadFedChannelsInDetId | ( | const std::string & | theScenarioId, |
DetId | theDetId | ||
) |
Definition at line 46 of file SiPixelFEDChannelContainer.cc.
References Exception, spr::find(), and m_scenarioMap.
Referenced by getScenarioMap().
void SiPixelFEDChannelContainer::print | ( | std::ostream & | os | ) | const |
Definition at line 106 of file SiPixelFEDChannelContainer.cc.
References mps_splice::entry, and m_scenarioMap.
Referenced by operator<<(), and size().
void SiPixelFEDChannelContainer::printAll | ( | ) | const |
Definition at line 84 of file SiPixelFEDChannelContainer.cc.
References mps_splice::entry, and m_scenarioMap.
Referenced by size().
|
private |
void SiPixelFEDChannelContainer::setScenario | ( | const std::string & | theScenarioId, |
const SiPixelFEDChannelCollection & | theBadFEDChannels | ||
) |
Definition at line 8 of file SiPixelFEDChannelContainer.cc.
References m_scenarioMap.
Referenced by ~SiPixelFEDChannelContainer().
|
inline |
Definition at line 32 of file SiPixelFEDChannelContainer.h.
References getScenarioList(), m_scenarioMap, print(), and printAll().
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
friend |
Definition at line 43 of file SiPixelFEDChannelContainer.h.
|
friend |
Definition at line 43 of file SiPixelFEDChannelContainer.h.
|
private |
Definition at line 41 of file SiPixelFEDChannelContainer.h.
Referenced by getDetSetBadPixelFedChannels(), getScenarioList(), getScenarioMap(), getSiPixelBadFedChannels(), getSiPixelBadFedChannelsInDetId(), print(), printAll(), setScenario(), SiPixelFEDChannelContainer(), and size().