![]() |
![]() |
#include <RawEventOutputModuleForBU.h>
Private Types | |
typedef unsigned int | uint32 |
Private Member Functions | |
void | beginLuminosityBlock (edm::LuminosityBlockForOutput const &) override |
void | beginRun (edm::RunForOutput const &) override |
void | endLuminosityBlock (edm::LuminosityBlockForOutput const &) override |
void | endRun (edm::RunForOutput const &) override |
void | write (edm::EventForOutput const &e) override |
void | writeLuminosityBlock (const edm::LuminosityBlockForOutput &) override |
void | writeRun (const edm::RunForOutput &) override |
Private Attributes | |
bool | firstLumi_ |
unsigned int | frdVersion_ |
unsigned int | index_ |
std::string | instance_ |
std::string | label_ |
unsigned int | numEventsPerFile_ |
timeval | startOfLastLumi |
std::unique_ptr< Consumer > | templateConsumer_ |
edm::EDGetTokenT< FEDRawDataCollection > | token_ |
unsigned int | totevents |
unsigned long long | totsize |
unsigned long long | writtensize |
unsigned long long | writtenSizeLast |
Additional Inherited Members | |
![]() | |
typedef OutputModuleBase | ModuleType |
![]() | |
typedef ProductLabels | Labels |
![]() | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
![]() | |
void | configure (OutputModuleDescription const &desc) |
ModuleDescription const & | description () const |
void | doBeginJob () |
bool | doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *) |
bool | doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *) |
void | doEndJob () |
bool | doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *) |
bool | doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *) |
bool | doEvent (EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *, ModuleCallingContext const *) |
void | doPreallocate (PreallocationConfiguration const &) |
std::map< BranchID::value_type, BranchID::value_type > const & | droppedBranchIDToKeptBranchID () |
ParameterSetID | selectorConfig () const |
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced) |
![]() | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Definition at line 25 of file RawEventOutputModuleForBU.h.
|
private |
Definition at line 27 of file RawEventOutputModuleForBU.h.
|
explicit |
Consumers are suppose to provide: void doOutputEvent(const FRDEventMsgView& msg) void start() void stop()
Definition at line 65 of file RawEventOutputModuleForBU.h.
|
override |
Definition at line 84 of file RawEventOutputModuleForBU.h.
|
overrideprivate |
Definition at line 185 of file RawEventOutputModuleForBU.h.
References gather_cfg::cout, corrVsCorr::filename, RawEventOutputModuleForBU< Consumer >::firstLumi_, edm::LuminosityBlockForOutput::id(), RawEventOutputModuleForBU< Consumer >::index_, edm::LuminosityBlockID::luminosityBlock(), cmsPerfSuiteHarvest::now, RawEventOutputModuleForBU< Consumer >::startOfLastLumi, AlCaHLTBitMon_QueryRunRegistry::string, RawEventOutputModuleForBU< Consumer >::templateConsumer_, RawEventOutputModuleForBU< Consumer >::totevents, RawEventOutputModuleForBU< Consumer >::totsize, RawEventOutputModuleForBU< Consumer >::writtensize, and RawEventOutputModuleForBU< Consumer >::writtenSizeLast.
Referenced by RawEventOutputModuleForBU< Consumer >::writeLuminosityBlock().
|
overrideprivate |
Definition at line 172 of file RawEventOutputModuleForBU.h.
References RawEventOutputModuleForBU< Consumer >::templateConsumer_.
|
overrideprivate |
Definition at line 211 of file RawEventOutputModuleForBU.h.
References edm::LuminosityBlockForOutput::id(), edm::LuminosityBlockID::luminosityBlock(), and RawEventOutputModuleForBU< Consumer >::templateConsumer_.
Referenced by RawEventOutputModuleForBU< Consumer >::writeLuminosityBlock().
|
overrideprivate |
Definition at line 179 of file RawEventOutputModuleForBU.h.
References RawEventOutputModuleForBU< Consumer >::templateConsumer_.
|
overrideprivatevirtual |
Implements edm::one::OutputModuleBase.
Definition at line 87 of file RawEventOutputModuleForBU.h.
References cms::Adler32(), crc32c(), FEDRawData::data(), edm::EventID::event(), FEDRawDataCollection::FEDData(), corrVsCorr::filename, FRDHeaderVersionSize, RawEventOutputModuleForBU< Consumer >::frdVersion_, edm::OccurrenceForOutput::getByToken(), edm::EventForOutput::id(), training_settings::idx, RawEventOutputModuleForBU< Consumer >::index_, FEDNumbering::lastFEDId(), eostools::ls(), edm::EventForOutput::luminosityBlock(), mps_check::msg, RawEventOutputModuleForBU< Consumer >::numEventsPerFile_, edm::EventID::run(), FEDRawData::size(), AlCaHLTBitMon_QueryRunRegistry::string, RawEventOutputModuleForBU< Consumer >::templateConsumer_, RawEventOutputModuleForBU< Consumer >::token_, RawEventOutputModuleForBU< Consumer >::totevents, RawEventOutputModuleForBU< Consumer >::totsize, and RawEventOutputModuleForBU< Consumer >::writtensize.
Referenced by pkg.AbstractPkg::generate().
|
inlineoverrideprivate |
Definition at line 44 of file RawEventOutputModuleForBU.h.
References RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock(), and RawEventOutputModuleForBU< Consumer >::endLuminosityBlock().
|
inlineoverrideprivate |
Definition at line 43 of file RawEventOutputModuleForBU.h.
|
private |
Definition at line 61 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock().
|
private |
Definition at line 54 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::write().
|
private |
Definition at line 59 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock(), and RawEventOutputModuleForBU< Consumer >::write().
|
private |
Definition at line 51 of file RawEventOutputModuleForBU.h.
|
private |
Definition at line 50 of file RawEventOutputModuleForBU.h.
Referenced by SequenceTypes.DummyModule::__repr__(), Mixins._Labelable::_findDependencies(), and Mixins._Labelable::setLabel().
|
private |
Definition at line 53 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::write().
|
private |
Definition at line 60 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock().
|
private |
Definition at line 49 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock(), RawEventOutputModuleForBU< Consumer >::beginRun(), RawEventOutputModuleForBU< Consumer >::endLuminosityBlock(), RawEventOutputModuleForBU< Consumer >::endRun(), and RawEventOutputModuleForBU< Consumer >::write().
|
private |
Definition at line 52 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::write().
|
private |
Definition at line 58 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock(), and RawEventOutputModuleForBU< Consumer >::write().
|
private |
Definition at line 55 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock(), and RawEventOutputModuleForBU< Consumer >::write().
|
private |
Definition at line 56 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock(), and RawEventOutputModuleForBU< Consumer >::write().
|
private |
Definition at line 57 of file RawEventOutputModuleForBU.h.
Referenced by RawEventOutputModuleForBU< Consumer >::beginLuminosityBlock().