#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.
std::unique_ptr< PixelFEDChannelCollection > SiPixelFEDChannelContainer::getDetSetBadPixelFedChannels | ( | const std::string & | ScenarioId | ) | const |
Definition at line 65 of file SiPixelFEDChannelContainer.cc.
References mps_splice::entry, Exception, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and m_scenarioMap.
std::vector< std::string > SiPixelFEDChannelContainer::getScenarioList | ( | ) | const |
Definition at line 121 of file SiPixelFEDChannelContainer.cc.
References ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, m_scenarioMap, and visualization-live-secondInstance_cfg::scenarios.
Referenced by SiPixelBadFEDChannelSimulationSanityChecker::analyze().
|
inline |
Definition at line 23 of file SiPixelFEDChannelContainer.h.
References m_scenarioMap.
Referenced by SiPixelFEDChannelContainerTestReader::analyze(), SiPixelBadFEDChannelSimulationSanityChecker::analyze(), and SiPixelFEDChannelContainer().
SiPixelFEDChannelContainer::SiPixelFEDChannelCollection SiPixelFEDChannelContainer::getSiPixelBadFedChannels | ( | const std::string & | ScenarioId | ) | const |
Definition at line 20 of file SiPixelFEDChannelContainer.cc.
References Exception, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and m_scenarioMap.
const SiPixelFEDChannelContainer::SiPixelFEDChannelCollection & SiPixelFEDChannelContainer::getSiPixelBadFedChannels | ( | const std::string & | ScenarioId | ) |
Definition at line 33 of file SiPixelFEDChannelContainer.cc.
References Exception, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, 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(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and m_scenarioMap.
void SiPixelFEDChannelContainer::print | ( | std::ostream & | os | ) | const |
Definition at line 106 of file SiPixelFEDChannelContainer.cc.
References hcalRecHitTable_cff::detId, mps_splice::entry, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, m_scenarioMap, and l1tGTMenu_BTagSeeds_cff::os.
Referenced by operator<<().
void SiPixelFEDChannelContainer::printAll | ( | ) | const |
Definition at line 84 of file SiPixelFEDChannelContainer.cc.
References hcalRecHitTable_cff::detId, mps_splice::entry, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, and m_scenarioMap.
Referenced by SiPixelFEDChannelContainerTestReader::analyze(), and SiPixelFEDChannelContainerWriteFromASCII::analyze().
|
private |
void SiPixelFEDChannelContainer::setScenario | ( | const std::string & | theScenarioId, |
const SiPixelFEDChannelCollection & | theBadFEDChannels | ||
) |
Definition at line 8 of file SiPixelFEDChannelContainer.cc.
References m_scenarioMap.
Referenced by SiPixelFEDChannelContainerWriteFromASCII::analyze(), and SiPixelFEDChannelContainerWriteFromASCII::endJob().
|
inline |
Definition at line 32 of file SiPixelFEDChannelContainer.h.
References m_scenarioMap.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), SiPixelFEDChannelContainerTestReader::analyze(), and SiPixelFEDChannelContainerWriteFromASCII::endJob().
|
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().