Private Member Functions | |
void | copyData (const uint32_t eventId, const uint8_t apvAddress, const SpyEventMatcher::SpyEventList *matches, edm::Event &event, const SiStripFedCabling &cabling) const |
void | findL1IDandAPVAddress (const edm::Event &event, const SiStripFedCabling &cabling, uint32_t &l1ID, uint8_t &apvAddress) const |
void | updateFedCabling (const SiStripFedCablingRcd &rcd) |
Private Attributes | |
edm::ESWatcher< SiStripFedCablingRcd > | cablingWatcher_ |
const bool | doMerge_ |
const SiStripFedCabling * | fedCabling_ |
edm::ESGetToken< SiStripFedCabling, SiStripFedCablingRcd > | fedCablingToken_ |
const bool | filterNonMatchingEvents_ |
const edm::InputTag | primaryStreamRawDataTag_ |
edm::EDGetTokenT< FEDRawDataCollection > | primaryStreamRawDataToken_ |
std::unique_ptr< SpyEventMatcher > | spyEventMatcher_ |
Static Private Attributes | |
static const char * | messageLabel_ = "SiStripSpyDataMergeModule" |
Additional Inherited Members | |
Public Types inherited from edm::EDFilter | |
typedef EDFilter | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > > |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDFilter | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
static bool | wantsGlobalLuminosityBlocks () |
static bool | wantsGlobalRuns () |
static bool | wantsInputProcessBlocks () |
static bool | wantsProcessBlocks () |
static bool | wantsStreamLuminosityBlocks () |
static bool | wantsStreamRuns () |
Protected Member Functions inherited from edm::ProducerBase | |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces () |
declare what type of product will make and with which optional label More... | |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces () |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces () |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<BranchType B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<Transition B> | |
BranchAliasSetter | produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true) |
template<typename ProductType , Transition B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<class ProductType > | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
template<typename ProductType , BranchType B> | |
BranchAliasSetterT< ProductType > | produces (std::string instanceName) |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
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<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
Definition at line 31 of file SiStripSpyEventMatcherModule.cc.
sistrip::SpyEventMatcherModule::SpyEventMatcherModule | ( | const edm::ParameterSet & | config | ) |
Definition at line 67 of file SiStripSpyEventMatcherModule.cc.
References doMerge_, primaryStreamRawDataTag_, and primaryStreamRawDataToken_.
|
override |
Definition at line 87 of file SiStripSpyEventMatcherModule.cc.
|
overridevirtual |
Reimplemented from edm::EDFilter.
Definition at line 93 of file SiStripSpyEventMatcherModule.cc.
References spyEventMatcher_.
|
private |
Definition at line 170 of file SiStripSpyEventMatcherModule.cc.
References sistrip::SpyEventMatcher::SpyDataCollections::apvAddresses, sistrip::SpyEventMatcher::SpyDataCollections::l1aCounters, oniaPATMuonsWithTrigger_cff::matches, eostools::move(), sistrip::SpyEventMatcher::SpyDataCollections::payloadDigis, sistrip::SpyEventMatcher::SpyDataCollections::rawData, sistrip::SpyEventMatcher::SpyDataCollections::reorderedDigis, sistrip::SpyEventMatcher::SpyDataCollections::scopeDigis, spyEventMatcher_, sistrip::SpyEventMatcher::SpyDataCollections::totalEventCounters, and sistrip::SpyEventMatcher::SpyDataCollections::virginRawDigis.
Referenced by filter().
|
overridevirtual |
Implements edm::EDFilter.
Definition at line 95 of file SiStripSpyEventMatcherModule.cc.
References cablingWatcher_, edm::ESWatcher< T >::check(), copyData(), doMerge_, MillePedeFileConverter_cfg::e, fedCabling_, filterNonMatchingEvents_, findL1IDandAPVAddress(), oniaPATMuonsWithTrigger_cff::matches, messageLabel_, and spyEventMatcher_.
|
private |
Definition at line 116 of file SiStripSpyEventMatcherModule.cc.
References edmScanValgrind::buffer, data, Exception, sistrip::FEDCH_PER_FEUNIT, SiStripFedCabling::fedConnections(), SiStripFedCabling::fedIds(), l1t_dqm_sourceclient-live_cfg::fedRawData, RecoTauValidation_cfi::header, sistrip::HEADER_TYPE_FULL_DEBUG, LogDebug, messageLabel_, sistrip::preconstructCheckFEDBuffer(), primaryStreamRawDataToken_, and sistrip::SUCCESS.
Referenced by filter().
|
private |
Definition at line 89 of file SiStripSpyEventMatcherModule.cc.
References fedCabling_, fedCablingToken_, and edm::eventsetup::EventSetupRecordImplementation< T >::get().
|
private |
Definition at line 57 of file SiStripSpyEventMatcherModule.cc.
Referenced by filter().
|
private |
Definition at line 51 of file SiStripSpyEventMatcherModule.cc.
Referenced by filter(), and SpyEventMatcherModule().
|
private |
Definition at line 56 of file SiStripSpyEventMatcherModule.cc.
Referenced by filter(), and updateFedCabling().
|
private |
Definition at line 55 of file SiStripSpyEventMatcherModule.cc.
Referenced by updateFedCabling().
|
private |
Definition at line 50 of file SiStripSpyEventMatcherModule.cc.
Referenced by filter().
|
staticprivate |
Definition at line 49 of file SiStripSpyEventMatcherModule.cc.
Referenced by filter(), and findL1IDandAPVAddress().
|
private |
Definition at line 52 of file SiStripSpyEventMatcherModule.cc.
Referenced by SpyEventMatcherModule().
|
private |
Definition at line 53 of file SiStripSpyEventMatcherModule.cc.
Referenced by findL1IDandAPVAddress(), and SpyEventMatcherModule().
|
private |
Definition at line 54 of file SiStripSpyEventMatcherModule.cc.
Referenced by beginJob(), copyData(), and filter().