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 |
Private Attributes | |
const bool | doMerge_ |
const bool | filterNonMatchingEvents_ |
const edm::InputTag | primaryStreamRawDataTag_ |
edm::EDGetTokenT< FEDRawDataCollection > | primaryStreamRawDataToken_ |
std::unique_ptr< SpyEventMatcher > | spyEventMatcher_ |
std::unique_ptr< SpyUtilities > | utils_ |
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 | 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> | |
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) |
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 29 of file SiStripSpyEventMatcherModule.cc.
sistrip::SpyEventMatcherModule::SpyEventMatcherModule | ( | const edm::ParameterSet & | config | ) |
Definition at line 62 of file SiStripSpyEventMatcherModule.cc.
References doMerge_, primaryStreamRawDataTag_, and primaryStreamRawDataToken_.
|
override |
Definition at line 81 of file SiStripSpyEventMatcherModule.cc.
|
overridevirtual |
Reimplemented from edm::EDFilter.
Definition at line 83 of file SiStripSpyEventMatcherModule.cc.
References spyEventMatcher_.
|
private |
Definition at line 160 of file SiStripSpyEventMatcherModule.cc.
References sistrip::SpyEventMatcher::SpyDataCollections::apvAddresses, sistrip::SpyEventMatcher::SpyDataCollections::l1aCounters, patCandidatesForDimuonsSequences_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 85 of file SiStripSpyEventMatcherModule.cc.
References copyData(), doMerge_, MillePedeFileConverter_cfg::e, filterNonMatchingEvents_, findL1IDandAPVAddress(), patCandidatesForDimuonsSequences_cff::matches, messageLabel_, spyEventMatcher_, and utils_.
|
private |
Definition at line 106 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 49 of file SiStripSpyEventMatcherModule.cc.
Referenced by filter(), and SpyEventMatcherModule().
|
private |
Definition at line 48 of file SiStripSpyEventMatcherModule.cc.
Referenced by filter().
|
staticprivate |
Definition at line 47 of file SiStripSpyEventMatcherModule.cc.
Referenced by filter(), and findL1IDandAPVAddress().
|
private |
Definition at line 50 of file SiStripSpyEventMatcherModule.cc.
Referenced by SpyEventMatcherModule().
|
private |
Definition at line 51 of file SiStripSpyEventMatcherModule.cc.
Referenced by findL1IDandAPVAddress(), and SpyEventMatcherModule().
|
private |
Definition at line 52 of file SiStripSpyEventMatcherModule.cc.
Referenced by beginJob(), copyData(), and filter().
|
private |
Definition at line 53 of file SiStripSpyEventMatcherModule.cc.
Referenced by filter().