#include <FWCore/FWLite/interface/TFWLiteSelectorBasic.h>
Public Member Functions | |
virtual void | begin (TList *&in)=0 |
virtual void | postProcessing (TList &out)=0 |
virtual void | preProcessing (const TList *in, TList &out)=0 |
virtual void | process (const edm::Event &event)=0 |
virtual void | terminate (TList &out)=0 |
TFWLiteSelectorBasic () | |
~TFWLiteSelectorBasic () override | |
Private Member Functions | |
void | Begin (TTree *) override |
void | Init (TTree *) override |
Bool_t | Notify () override |
const TFWLiteSelectorBasic & | operator= (const TFWLiteSelectorBasic &) |
Bool_t | Process (Long64_t) override |
void | setupNewFile (TFile &) |
void | SlaveBegin (TTree *) override |
void | SlaveTerminate () override |
void | Terminate () override |
TFWLiteSelectorBasic (const TFWLiteSelectorBasic &) | |
Int_t | Version () const override |
Private Attributes | |
bool | everythingOK_ |
edm::propagate_const< std::shared_ptr< edm::root::TFWLiteSelectorMembers > > | m_ |
Description: A ROOT TSelector which accesses data using an edm::Event
Usage: By inheriting from this class one can make a TSelector for ROOT which works with PROOF and which allows you to access data using an edm::Event.
Definition at line 42 of file TFWLiteSelectorBasic.h.
TFWLiteSelectorBasic::TFWLiteSelectorBasic | ( | ) |
Definition at line 212 of file TFWLiteSelectorBasic.cc.
|
override |
Definition at line 219 of file TFWLiteSelectorBasic.cc.
|
private |
|
pure virtual |
Called each time the 'client' begins processing (remote 'slaves' do not see this message)
in | an assignable pointer to a list of objects you want passed to 'preProcessing'. This list is used to communicate with remote slaves. NOTE: you are responsible for deleting this TList and its content once you are done with it. |
Implemented in __class__< T >, tfwliteselectortest::ThingsTSelector2, examples::TrackTSelector, and tfwliteselectortest::ThingsTSelector.
Referenced by Begin().
|
overrideprivate |
Definition at line 236 of file TFWLiteSelectorBasic.cc.
References begin(), and Init().
|
overrideprivate |
Definition at line 246 of file TFWLiteSelectorBasic.cc.
References m_.
Referenced by Begin(), and SlaveBegin().
|
overrideprivate |
Definition at line 252 of file TFWLiteSelectorBasic.cc.
References gather_cfg::cout, everythingOK_, FrontierConditions_GlobalTag_cff::file, m_, edm::setRefCoreStreamer(), and setupNewFile().
|
private |
|
pure virtual |
Called each time the 'slave' has seen all the events
out | the list of objects that will be sent to 'terminate'. You can Add() additional objects to 'out' at this point as well. |
Implemented in TFWLiteSelector< TWorker >, TFWLiteSelector< ThingsWorker >, TFWLiteSelector< __class__Worker >, TFWLiteSelector< TrackAnalysisAlgorithm >, and tfwliteselectortest::ThingsTSelector.
Referenced by SlaveTerminate().
|
pure virtual |
Called each time the 'slave' is about to start processing
in | a pointer to the list of objects created in 'begin()'. The pointer can be 0 |
out | a list of objects that are the result of processing (e.g. histograms). You should call 'Add()' for each object you want sent to the 'terminate' method. |
Implemented in TFWLiteSelector< TWorker >, TFWLiteSelector< ThingsWorker >, TFWLiteSelector< __class__Worker >, TFWLiteSelector< TrackAnalysisAlgorithm >, and tfwliteselectortest::ThingsTSelector.
Referenced by SlaveBegin().
|
pure virtual |
Call each time the 'slave' gets a new Event
event | a standard edm::Event which works just like it does in cmsRun |
Implemented in TFWLiteSelector< TWorker >, TFWLiteSelector< ThingsWorker >, TFWLiteSelector< __class__Worker >, TFWLiteSelector< TrackAnalysisAlgorithm >, and tfwliteselectortest::ThingsTSelector.
Referenced by Process().
|
overrideprivate |
Definition at line 289 of file TFWLiteSelectorBasic.cc.
References printConversionInfo::aux, MicroEventContent_cff::branch, edm::poolNames::branchListIndexesBranchName(), edm::BranchTypeToAuxiliaryBranchName(), gather_cfg::cout, event(), edm::poolNames::eventSelectionsBranchName(), everythingOK_, cppFunctionSkipper::exception, Exception, edm::errors::FatalRootError, edm::propagate_const< T >::get(), edm::InEvent, m_, eostools::move(), and process().
|
private |
Definition at line 361 of file TFWLiteSelectorBasic.cc.
References edm::poolNames::branchIDListBranchName(), edm::BranchDescription::branchName(), edm::BranchDescription::branchType(), edm::BranchDescription::className(), gather_cfg::cout, mps_splice::entry, everythingOK_, Exception, edm::poolNames::fileFormatVersionBranchName(), edm::errors::FileReadError, edm::BranchDescription::friendlyClassName(), edm::friendlyname::friendlyName(), mps_fire::i, edm::poolNames::idToParameterSetBlobsBranchName(), edm::InEvent, edm::BranchDescription::init(), edm::pset::Registry::insertMapped(), edm::pset::Registry::instance(), B2GTnPMonitor_cfi::item, m_, edm::poolNames::metaDataTreeName(), AlCaHLTBitMon_ParallelJobs::p, edm::poolNames::parameterSetMapBranchName(), edm::poolNames::parameterSetsTreeName(), edm::poolNames::processConfigurationBranchName(), edm::poolNames::processHistoryBranchName(), dumpMFGeometry_cfg::prod, edm::poolNames::productDescriptionBranchName(), muonDTDigis_cfi::pset, edm::BranchDescription::setDropped(), edm::setIsMergeable(), AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, edm::errors::UnimplementedFeature, and edm::BranchDescription::updateFriendlyClassName().
Referenced by Notify().
|
overrideprivate |
Definition at line 241 of file TFWLiteSelectorBasic.cc.
References Init(), and preProcessing().
|
overrideprivate |
Definition at line 357 of file TFWLiteSelectorBasic.cc.
References postProcessing().
|
pure virtual |
Called each time the 'client' has finished processing.
out | contains the accumulated output of all slaves. |
Implemented in __class__< T >, tfwliteselectortest::ThingsTSelector2, examples::TrackTSelector, and tfwliteselectortest::ThingsTSelector.
Referenced by Terminate().
|
overrideprivate |
Definition at line 359 of file TFWLiteSelectorBasic.cc.
References terminate().
|
inlineoverrideprivate |
Definition at line 94 of file TFWLiteSelectorBasic.h.
|
private |
Definition at line 99 of file TFWLiteSelectorBasic.h.
Referenced by Notify(), Process(), and setupNewFile().
|
private |
Definition at line 98 of file TFWLiteSelectorBasic.h.
Referenced by Init(), Notify(), Process(), and setupNewFile().