|
| SiPixelFEDChannelContainerTestReader (edm::ParameterSet const &p) |
|
| ~SiPixelFEDChannelContainerTestReader () override |
|
| EDAnalyzer ()=default |
|
| EDAnalyzer (const EDAnalyzer &)=delete |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
const EDAnalyzer & | operator= (const EDAnalyzer &)=delete |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
bool | wantsInputProcessBlocks () const final |
|
bool | wantsProcessBlocks () const final |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
| EDAnalyzerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDAnalyzerBase () override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
std::vector< ESProxyIndex > const & | esGetTokenIndicesVector (edm::Transition iTrans) const |
|
std::vector< ESRecordIndex >
const & | esGetTokenRecordIndicesVector (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector
< ProductResolverIndexAndSkipBit >
const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
void | selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase) |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
typedef EDAnalyzerBase | ModuleType |
|
typedef ProductLabels | Labels |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
template<BranchType B = InEvent> |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<Transition Tr = Transition::Event> |
constexpr auto | esConsumes () |
|
template<Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag tag) |
|
template<Transition Tr = Transition::Event> |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
| Used with EventSetupRecord::doGet. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
void | resetItemsToGetFrom (BranchType iType) |
|
Implements edm::one::EDAnalyzerBase.
Definition at line 43 of file SiPixelFEDChannelContainerTestReader.cc.
References mps_splice::entry, edm::EventID::event(), edm::eventsetup::heterocontainer::HCTypeTag::findType(), formatedOutput_, edm::EventSetup::getHandle(), SiPixelFEDChannelContainer::getScenarioMap(), edm::EventBase::id(), SiPixelFEDChannelContainer::printAll(), printdebug_, edm::ESHandle< class >::product(), DetId::rawId(), edm::EventID::run(), siPixelBadFEDChToken_, SiPixelFEDChannelContainer::size(), and edm::eventsetup::EventSetupRecordKey::type().
45 <<
"### SiPixelFEDChannelContainerTestReader::analyze ###" << std::endl;
46 edm::LogInfo(
"SiPixelFEDChannelContainerTestReader") <<
" I AM IN RUN NUMBER " << e.
id().
run() << std::endl;
47 edm::LogInfo(
"SiPixelFEDChannelContainerTestReader") <<
" ---EVENT NUMBER " << e.
id().
event() << std::endl;
54 edm::LogInfo(
"SiPixelFEDChannelContainerTestReader") <<
"Record \"SiPixelStatusScenariosRcd"
55 <<
"\" does not exist " << std::endl;
60 edm::LogInfo(
"SiPixelFEDChannelContainerTestReader") <<
"got eshandle from context" << std::endl;
63 edm::LogInfo(
"SiPixelFEDChannelContainerTestReader") <<
"got SiPixelFEDChannelContainer* " << std::endl;
64 edm::LogInfo(
"SiPixelFEDChannelContainerTestReader") <<
"print pointer address : " << quality_map << std::endl;
65 edm::LogInfo(
"SiPixelFEDChannelContainerTestReader") <<
"Size " << quality_map->
size() << std::endl;
66 edm::LogInfo(
"SiPixelFEDChannelContainerTestReader") <<
"Content of myQuality_Map " << std::endl;
72 FILE* pFile =
nullptr;
76 fprintf(pFile,
"SiPixelFEDChannelContainer::printAll() \n");
78 " ========================================================================================================="
83 for (
auto it = m_qualities.begin(); it != m_qualities.end(); ++it) {
85 " ======================================================================================================="
87 fprintf(pFile,
"run : %s \n ", (it->first).c_str());
88 for (
const auto& thePixelFEDChannel : it->second) {
89 DetId detId = thePixelFEDChannel.first;
90 fprintf(pFile,
"DetId : %i \n", detId.
rawId());
91 for (
const auto&
entry : thePixelFEDChannel.second) {
94 "fed : %i | link : %2i | roc_first : %2i | roc_last: %2i \n",
EventNumber_t event() const
constexpr uint32_t rawId() const
get the raw id
const SiPixelBadFEDChannelsScenarioMap & getScenarioMap() const
Log< level::Info, false > LogInfo
T const * product() const
const std::string formatedOutput_
heterocontainer::HCTypeTag TypeTag
std::unordered_map< std::string, SiPixelFEDChannelCollection > SiPixelBadFEDChannelsScenarioMap
const edm::ESGetToken< SiPixelFEDChannelContainer, SiPixelStatusScenariosRcd > siPixelBadFEDChToken_
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag