#include <OutputModuleBase.h>
Public Types | |
typedef OutputModuleBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Attributes | |
edm::propagate_const < std::unique_ptr < BranchIDLists > > | branchIDLists_ |
std::map< BranchID::value_type, BranchID::value_type > | droppedBranchIDToKeptBranchID_ |
std::array< bool, NumBranchTypes > | hasNewlyDroppedBranch_ |
std::map< BranchID, bool > | keepAssociation_ |
SelectedProductsForBranchType | keptProducts_ |
int | maxEvents_ |
ModuleDescription | moduleDescription_ |
BranchIDLists const * | origBranchIDLists_ |
std::string | process_name_ |
ProductSelector | productSelector_ |
ProductSelectorRules | productSelectorRules_ |
std::atomic< int > | remainingEvents_ |
ParameterSet | selectEvents_ |
ParameterSetID | selector_config_id_ |
std::vector < detail::TriggerResultsBasedEventSelector > | selectors_ |
edm::propagate_const < std::unique_ptr < ThinnedAssociationsHelper > > | thinnedAssociationsHelper_ |
bool | wantAllEvents_ |
Friends | |
template<typename T > | |
class | ::edm::OutputModuleCommunicatorT |
template<typename T > | |
class | ::edm::WorkerT |
template<typename U > | |
class | edm::maker::ModuleHolderT |
Definition at line 60 of file OutputModuleBase.h.
Definition at line 65 of file OutputModuleBase.h.
|
explicit |
Definition at line 40 of file OutputModuleBase.cc.
References edm::detail::configureEventSelector(), edm::getAllTriggerNames(), edm::ParameterSet::getUntrackedParameterSet(), hasNewlyDroppedBranch_, edm::ParameterSet::id(), process_name_, edm::ParameterSet::registerIt(), selectEvents_, selector_config_id_, selectors_, and wantAllEvents_.
|
virtual |
Definition at line 178 of file OutputModuleBase.cc.
|
delete |
|
static |
Definition at line 376 of file OutputModuleBase.cc.
References edm::global::kBaseType().
|
inlineprivatevirtual |
BranchIDLists const * OutputModuleBase::branchIDLists | ( | ) |
Definition at line 322 of file OutputModuleBase.cc.
References branchIDLists_, droppedBranchIDToKeptBranchID_, and origBranchIDLists_.
|
protected |
Definition at line 79 of file OutputModuleBase.cc.
References edm::OutputModuleDescription::branchIDLists_, edm::OutputModuleDescription::maxEvents_, maxEvents_, origBranchIDLists_, and remainingEvents_.
|
protected |
Definition at line 347 of file OutputModuleBase.cc.
References moduleDescription_.
Referenced by setEventSelectionInfo().
|
protected |
|
protected |
Definition at line 259 of file OutputModuleBase.cc.
References doBeginLuminosityBlock_().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 259 of file OutputModuleBase.h.
|
protected |
Definition at line 237 of file OutputModuleBase.cc.
References doBeginRun_().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 255 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 245 of file OutputModuleBase.h.
|
private |
Tell the OutputModule that is must end the current file.
Definition at line 312 of file OutputModuleBase.cc.
References isFileOpen(), and reallyCloseFile().
|
protected |
|
protected |
Definition at line 267 of file OutputModuleBase.cc.
References doEndLuminosityBlock_().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 261 of file OutputModuleBase.h.
|
protected |
Definition at line 245 of file OutputModuleBase.cc.
References doEndRun_().
|
inlineprivatevirtual |
|
inlineprivatevirtual |
Definition at line 257 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 246 of file OutputModuleBase.h.
|
protected |
Definition at line 212 of file OutputModuleBase.cc.
References remainingEvents(), remainingEvents_, and write().
|
private |
Definition at line 279 of file OutputModuleBase.cc.
References openFile().
|
private |
Definition at line 297 of file OutputModuleBase.cc.
References postForkReacquireResources().
|
protected |
Definition at line 180 of file OutputModuleBase.cc.
References edm::detail::configureEventSelector(), edm::getAllTriggerNames(), edm::PreallocationConfiguration::numberOfStreams(), process_name_, alignCSCRings::s, selectEvents_, and selectors_.
|
private |
Definition at line 292 of file OutputModuleBase.cc.
References preForkReleaseResources().
|
inlineprivate |
Definition at line 208 of file OutputModuleBase.h.
|
private |
Definition at line 287 of file OutputModuleBase.cc.
References doRespondToCloseInputFile_().
|
inlineprivatevirtual |
Reimplemented in edm::global::outputmodule::InputFileWatcher.
Definition at line 263 of file OutputModuleBase.h.
Referenced by doRespondToCloseInputFile().
|
private |
Definition at line 283 of file OutputModuleBase.cc.
References doRespondToOpenInputFile_().
|
inlineprivatevirtual |
Reimplemented in edm::global::outputmodule::InputFileWatcher.
Definition at line 262 of file OutputModuleBase.h.
Referenced by doRespondToOpenInputFile().
|
protected |
|
inlineprivatevirtual |
Definition at line 250 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 247 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 251 of file OutputModuleBase.h.
|
inlineprivatevirtual |
Definition at line 252 of file OutputModuleBase.h.
|
protected |
|
inlineprivatevirtual |
Definition at line 248 of file OutputModuleBase.h.
|
inlineprivatevirtual |
Definition at line 249 of file OutputModuleBase.h.
|
private |
Definition at line 274 of file OutputModuleBase.cc.
References writeLuminosityBlock().
|
private |
Definition at line 253 of file OutputModuleBase.cc.
References writeRun().
|
inlineprotected |
Definition at line 149 of file OutputModuleBase.h.
References droppedBranchIDToKeptBranchID_.
|
inlineprivatevirtual |
|
static |
Definition at line 364 of file OutputModuleBase.cc.
References edm::ProductSelectorRules::fillDescription(), and edm::EventSelector::fillDescription().
|
static |
Definition at line 357 of file OutputModuleBase.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
|
inline |
Definition at line 86 of file OutputModuleBase.h.
References hasNewlyDroppedBranch_.
|
inlineprivatevirtual |
Definition at line 238 of file OutputModuleBase.h.
Referenced by doCloseFile(), and maybeOpenFile().
|
private |
Definition at line 133 of file OutputModuleBase.cc.
References assert(), edm::BranchDescription::branchID(), edm::BranchDescription::branchType(), edm::ProductSelector::checkForDuplicateKeptBranch(), edm::EDConsumerBase::consumes(), edm::InEvent, edm::InLumi, HLT_25ns10e33_v2_cff::InputTag, edm::InRun, keptProducts_, edm::BranchDescription::moduleLabel(), edm::BranchDescription::originalBranchID(), edm::BranchDescription::processName(), edm::BranchDescription::produced(), edm::PRODUCT_TYPE, edm::BranchDescription::productInstanceName(), and edm::BranchDescription::unwrappedTypeID().
Referenced by selectProducts().
|
inline |
Definition at line 85 of file OutputModuleBase.h.
References keptProducts_.
|
inlineprivate |
Definition at line 273 of file OutputModuleBase.h.
References remainingEvents_.
|
inline |
Accessor for maximum number of events to be written. -1 is used for unlimited.
Definition at line 75 of file OutputModuleBase.h.
References maxEvents_.
|
private |
Tell the OutputModule to open an output file, if one is not already open.
Definition at line 308 of file OutputModuleBase.cc.
References isFileOpen(), and reallyOpenFile().
|
inline |
Definition at line 99 of file OutputModuleBase.h.
References moduleDescription_.
|
inlineprivatevirtual |
Definition at line 237 of file OutputModuleBase.h.
Referenced by Vispa.Main.Application.Application::_readCommandLineAttributes(), doOpenFile(), Vispa.Main.Application.Application::doubleClickOnFile(), Vispa.Main.Application.Application::openFileDialog(), and Vispa.Main.Application.Application::openRecentFileSlot().
|
delete |
|
privatevirtual |
Definition at line 305 of file OutputModuleBase.cc.
Referenced by doPostForkReacquireResources().
|
inlineprivatevirtual |
Definition at line 244 of file OutputModuleBase.h.
|
privatevirtual |
Definition at line 302 of file OutputModuleBase.cc.
Referenced by doPreForkReleaseResources().
|
private |
Definition at line 205 of file OutputModuleBase.cc.
References or, alignCSCRings::s, selectors_, and wantAllEvents_.
|
static |
Definition at line 370 of file OutputModuleBase.cc.
|
inline |
Definition at line 84 of file OutputModuleBase.h.
References process_name_.
|
privatevirtual |
|
inlineprivatevirtual |
|
inlineprivate |
Definition at line 220 of file OutputModuleBase.h.
|
inline |
Accessor for remaining number of events to be written. -1 is used for unlimited.
Definition at line 79 of file OutputModuleBase.h.
References remainingEvents_.
Referenced by doEvent().
bool OutputModuleBase::selected | ( | BranchDescription const & | desc | ) | const |
Definition at line 352 of file OutputModuleBase.cc.
References productSelector_, and edm::ProductSelector::selected().
Referenced by selectProducts(), and edm::AsciiOutputModule::write().
|
inlineprotected |
Definition at line 106 of file OutputModuleBase.h.
References selector_config_id_.
void OutputModuleBase::selectProducts | ( | ProductRegistry const & | preg, |
ThinnedAssociationsHelper const & | thinnedAssociationsHelper | ||
) |
Definition at line 84 of file OutputModuleBase.cc.
References edm::ProductRegistry::allBranchDescriptions(), edm::BranchDescription::branchType(), droppedBranchIDToKeptBranchID_, edm::ProductSelector::fillDroppedToKept(), hasNewlyDroppedBranch_, edm::ProductSelector::initialize(), edm::ProductSelector::initialized(), keepAssociation_, keepThisBranch(), edm::BranchDescription::present(), edm::BranchDescription::produced(), edm::ProductRegistry::productList(), productSelector_, productSelectorRules_, edm::ThinnedAssociationsHelper::selectAssociationProducts(), selected(), thinnedAssociationsHelper_, edm::BranchDescription::transient(), and edm::BranchDescription::unwrappedType().
|
protected |
Definition at line 381 of file OutputModuleBase.cc.
References description(), edm::getParameterSet(), edm::detail::registerProperSelectionInfo(), and selector_config_id_.
|
inlineprivate |
Definition at line 269 of file OutputModuleBase.h.
References moduleDescription_.
|
inlineprivatevirtual |
Ask the OutputModule if we should end the current file.
Definition at line 230 of file OutputModuleBase.h.
ThinnedAssociationsHelper const * OutputModuleBase::thinnedAssociationsHelper | ( | ) | const |
Definition at line 342 of file OutputModuleBase.cc.
References thinnedAssociationsHelper_.
|
inline |
|
inlineprivate |
Definition at line 211 of file OutputModuleBase.h.
|
privatepure virtual |
Implemented in edm::AsciiOutputModule.
Referenced by doEvent(), and pkg.AbstractPkg::generate().
|
privatepure virtual |
Implemented in edm::AsciiOutputModule.
Referenced by doWriteLuminosityBlock().
|
privatepure virtual |
Implemented in edm::AsciiOutputModule.
Referenced by doWriteRun().
|
friend |
Definition at line 64 of file OutputModuleBase.h.
|
friend |
Definition at line 63 of file OutputModuleBase.h.
|
friend |
Definition at line 62 of file OutputModuleBase.h.
|
private |
Definition at line 191 of file OutputModuleBase.h.
Referenced by branchIDLists().
|
private |
Definition at line 190 of file OutputModuleBase.h.
Referenced by branchIDLists(), droppedBranchIDToKeptBranchID(), and selectProducts().
|
private |
Definition at line 174 of file OutputModuleBase.h.
Referenced by hasNewlyDroppedBranch(), OutputModuleBase(), and selectProducts().
|
private |
Definition at line 195 of file OutputModuleBase.h.
Referenced by selectProducts().
|
private |
Definition at line 173 of file OutputModuleBase.h.
Referenced by keepThisBranch(), and keptProducts().
|
private |
Definition at line 155 of file OutputModuleBase.h.
Referenced by configure(), and maxEvents().
|
private |
Definition at line 179 of file OutputModuleBase.h.
Referenced by description(), moduleDescription(), and setModuleDescription().
|
private |
Definition at line 192 of file OutputModuleBase.h.
Referenced by branchIDLists(), and configure().
|
private |
Definition at line 176 of file OutputModuleBase.h.
Referenced by doPreallocate(), OutputModuleBase(), and processName().
|
private |
Definition at line 178 of file OutputModuleBase.h.
Referenced by selected(), and selectProducts().
|
private |
Definition at line 177 of file OutputModuleBase.h.
Referenced by selectProducts().
|
private |
Definition at line 156 of file OutputModuleBase.h.
Referenced by configure(), doEvent(), limitReached(), and remainingEvents().
|
private |
Definition at line 183 of file OutputModuleBase.h.
Referenced by doPreallocate(), and OutputModuleBase().
|
private |
Definition at line 186 of file OutputModuleBase.h.
Referenced by OutputModuleBase(), selectorConfig(), and setEventSelectionInfo().
|
private |
Definition at line 182 of file OutputModuleBase.h.
Referenced by doPreallocate(), OutputModuleBase(), and prePrefetchSelection().
|
private |
Definition at line 194 of file OutputModuleBase.h.
Referenced by selectProducts(), and thinnedAssociationsHelper().
|
private |
Definition at line 181 of file OutputModuleBase.h.
Referenced by OutputModuleBase(), prePrefetchSelection(), and wantAllEvents().