#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 |
const SiPixelFEDChannelCollection & | getSiPixelBadFedChannels (const std::string &ScenarioId) |
SiPixelFEDChannelCollection | getSiPixelBadFedChannels (const std::string &ScenarioId) const |
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.
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.
std::vector< std::string > SiPixelFEDChannelContainer::getScenarioList | ( | ) | const |
Definition at line 121 of file SiPixelFEDChannelContainer.cc.
References m_scenarioMap, and visualization-live-secondInstance_cfg::scenarios.
|
inline |
Definition at line 23 of file SiPixelFEDChannelContainer.h.
References m_scenarioMap.
Referenced by SiPixelFEDChannelContainer().
const SiPixelFEDChannelContainer::SiPixelFEDChannelCollection & SiPixelFEDChannelContainer::getSiPixelBadFedChannels | ( | const std::string & | ScenarioId | ) |
Definition at line 33 of file SiPixelFEDChannelContainer.cc.
References Exception, and m_scenarioMap.
SiPixelFEDChannelContainer::SiPixelFEDChannelCollection SiPixelFEDChannelContainer::getSiPixelBadFedChannels | ( | const std::string & | ScenarioId | ) | const |
Definition at line 20 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.
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<<().
void SiPixelFEDChannelContainer::printAll | ( | ) | const |
Definition at line 84 of file SiPixelFEDChannelContainer.cc.
References mps_splice::entry, and m_scenarioMap.
|
private |
void SiPixelFEDChannelContainer::setScenario | ( | const std::string & | theScenarioId, |
const SiPixelFEDChannelCollection & | theBadFEDChannels | ||
) |
|
inline |
Definition at line 32 of file SiPixelFEDChannelContainer.h.
References m_scenarioMap.
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().