#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 () | |
virtual | ~TFWLiteSelectorBasic () |
Private Member Functions | |
virtual void | Begin (TTree *) |
virtual void | Init (TTree *) |
virtual Bool_t | Notify () |
const TFWLiteSelectorBasic & | operator= (const TFWLiteSelectorBasic &) |
virtual Bool_t | Process (Long64_t) |
void | setupNewFile (TFile &) |
virtual void | SlaveBegin (TTree *) |
virtual void | SlaveTerminate () |
virtual void | Terminate () |
TFWLiteSelectorBasic (const TFWLiteSelectorBasic &) | |
virtual Int_t | Version () const |
Private Attributes | |
bool | everythingOK_ |
boost::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 41 of file TFWLiteSelectorBasic.h.
TFWLiteSelectorBasic::TFWLiteSelectorBasic | ( | ) |
Definition at line 155 of file TFWLiteSelectorBasic.cc.
|
virtual |
Definition at line 164 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().
|
privatevirtual |
Definition at line 183 of file TFWLiteSelectorBasic.cc.
References begin(), and Init().
|
privatevirtual |
Definition at line 195 of file TFWLiteSelectorBasic.cc.
References m_.
Referenced by Begin(), and SlaveBegin().
|
privatevirtual |
Definition at line 202 of file TFWLiteSelectorBasic.cc.
References gather_cfg::cout, everythingOK_, mergeVDriftHistosByStation::file, m_, 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 ConfigBuilder.ConfigBuilder::addExtraStream(), ConfigBuilder.ConfigBuilder::completeInputCommand(), ConfigBuilder.ConfigBuilder::doNotInlineEventContent(), ConfigBuilder.ConfigBuilder.PrintAllModules::leave(), ConfigBuilder.ConfigBuilder::prepare_FASTSIM(), ConfigBuilder.ConfigBuilder::prepare_HLT(), ConfigBuilder.ConfigBuilder::prepare_LHE(), ConfigBuilder.ConfigBuilder::prepare_VALIDATION(), Process(), ConfigBuilder.ConfigBuilder::renameHLTprocessInSequence(), ConfigBuilder.ConfigBuilder::renameInputTagsInSequence(), and ConfigBuilder.ConfigBuilder::scheduleSequence().
|
privatevirtual |
Definition at line 240 of file TFWLiteSelectorBasic.cc.
References printConversionInfo::aux, edm::poolNames::branchListIndexesBranchName(), edm::BranchTypeToAuxiliaryBranchName(), gather_cfg::cout, event(), edm::poolNames::eventSelectionsBranchName(), everythingOK_, cppFunctionSkipper::exception, edm::hlt::Exception, edm::errors::FatalRootError, edm::InEvent, m_, process(), edm::EventAuxiliary::run(), and edm::EventAuxiliary::time().
|
private |
Definition at line 321 of file TFWLiteSelectorBasic.cc.
References edm::poolNames::branchIDListBranchName(), edm::BranchDescription::branchName(), edm::BranchDescription::branchType(), edm::BranchDescription::className(), gather_cfg::cout, everythingOK_, edm::hlt::Exception, edm::poolNames::fileFormatVersionBranchName(), edm::errors::FileReadError, edm::fillProductRegistryTransients(), edm::BranchDescription::friendlyClassName(), edm::friendlyname::friendlyName(), i, edm::poolNames::idToParameterSetBlobsBranchName(), edm::InEvent, edm::BranchDescription::init(), edm::detail::ThreadSafeRegistry< KEY, T, E >::insertCollection(), edm::detail::ThreadSafeRegistry< KEY, T, E >::insertMapped(), edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), m_, edm::poolNames::metaDataTreeName(), edm::poolNames::parameterSetMapBranchName(), edm::poolNames::parameterSetsTreeName(), edm::poolNames::processConfigurationBranchName(), edm::poolNames::processHistoryBranchName(), parseEventContent::prod, edm::poolNames::productDescriptionBranchName(), edm::BranchDescription::setDropped(), edm::ParameterSet::setID(), AlCaHLTBitMon_QueryRunRegistry::string, groupFilesInBlocks::temp, edm::errors::UnimplementedFeature, and edm::BranchDescription::updateFriendlyClassName().
Referenced by Notify().
|
privatevirtual |
Definition at line 189 of file TFWLiteSelectorBasic.cc.
References Init(), and preProcessing().
|
privatevirtual |
Definition at line 311 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().
|
privatevirtual |
Definition at line 316 of file TFWLiteSelectorBasic.cc.
References terminate().
|
inlineprivatevirtual |
Definition at line 95 of file TFWLiteSelectorBasic.h.
|
private |
Definition at line 100 of file TFWLiteSelectorBasic.h.
Referenced by Notify(), Process(), and setupNewFile().
|
private |
Definition at line 99 of file TFWLiteSelectorBasic.h.
Referenced by Init(), Notify(), Process(), and setupNewFile().