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 | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
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 () noexcept |
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... | |
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) |
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, eostools::move(), sistrip::SpyEventMatcher::SpyDataCollections::payloadDigis, edm::Event::put(), 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_, alignCSCRings::e, fedCabling_, filterNonMatchingEvents_, findL1IDandAPVAddress(), messageLabel_, spyEventMatcher_, and cms::Exception::what().
|
private |
Definition at line 116 of file SiStripSpyEventMatcherModule.cc.
References edmScanValgrind::buffer, shell::connections, data, Exception, sistrip::FEDCH_PER_FEUNIT, SiStripFedCabling::fedConnections(), FEDRawDataCollection::FEDData(), SiStripFedCabling::fedIds(), sistrip::FEDFullDebugHeader::feUnitMajorityAddress(), 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().