SFrame 3.6
ISCycleBaseNTuple Class Reference

Interface providing ntuple handling capabilities. More...

#include <core/include/ISCycleBaseNTuple.h>

Inheritance diagram for ISCycleBaseNTuple:

List of all members.

Public Member Functions

virtual ~ISCycleBaseNTuple ()
virtual void SetNTupleOutput (TList *output)=0
 Set the PROOF output list.
virtual TList * GetNTupleOutput () const =0
 Get the PROOF output list.

Protected Member Functions

virtual void CreateOutputTrees (const SInputData &id, std::vector< TTree * > &outTrees, TFile *outputFile=0)=0 throw ( SError )
 Create the output trees.
virtual void SaveOutputTrees (TDirectory *output)=0 throw ( SError )
 Save all the created output trees in the output.
virtual void LoadInputTrees (const SInputData &id, TTree *main_tree, TFile *&inputFile)=0 throw ( SError )
 Load the input trees.
virtual void GetEvent (Long64_t entry)=0 throw ( SError )
 Read in the event from the "normal" trees.
virtual Double_t CalculateWeight (const SInputData &inputData, Long64_t entry)=0
 Calculate the weight of the current event.
virtual void ClearCachedTrees ()=0
 Forget about the internally cached TTree pointers.

Detailed Description

Interface providing ntuple handling capabilities.

This interface is used by the higher-level classes when setting up SCycleBase objects. This way the high-level classes don't directly depend on SCycleBaseNTuple.

This interface provides all the functions that the framework uses to set up reading/writing of ntuples.

Version:
Revision:
283

Definition at line 44 of file ISCycleBaseNTuple.h.


Constructor & Destructor Documentation

virtual ISCycleBaseNTuple::~ISCycleBaseNTuple ( ) [inline, virtual]

Definition at line 47 of file ISCycleBaseNTuple.h.


Member Function Documentation

virtual Double_t ISCycleBaseNTuple::CalculateWeight ( const SInputData inputData,
Long64_t  entry 
) [protected, pure virtual]

Calculate the weight of the current event.

Implemented in SCycleBaseNTuple.

Referenced by SCycleBaseExec::Process().

virtual void ISCycleBaseNTuple::ClearCachedTrees ( ) [protected, pure virtual]

Forget about the internally cached TTree pointers.

Implemented in SCycleBaseNTuple.

Referenced by SCycleBaseExec::SlaveTerminate().

virtual void ISCycleBaseNTuple::CreateOutputTrees ( const SInputData id,
std::vector< TTree * > &  outTrees,
TFile *  outputFile = 0 
) throw ( SError ) [protected, pure virtual]

Create the output trees.

Implemented in SCycleBaseNTuple.

Referenced by SCycleBaseExec::SlaveBegin().

virtual void ISCycleBaseNTuple::GetEvent ( Long64_t  entry) throw ( SError ) [protected, pure virtual]

Read in the event from the "normal" trees.

Implemented in SCycleBaseNTuple.

Referenced by SCycleBaseExec::Process().

virtual TList* ISCycleBaseNTuple::GetNTupleOutput ( ) const [pure virtual]

Get the PROOF output list.

Implemented in SCycleBaseNTuple.

virtual void ISCycleBaseNTuple::LoadInputTrees ( const SInputData id,
TTree *  main_tree,
TFile *&  inputFile 
) throw ( SError ) [protected, pure virtual]

Load the input trees.

Implemented in SCycleBaseNTuple.

Referenced by SCycleBaseExec::Notify().

virtual void ISCycleBaseNTuple::SaveOutputTrees ( TDirectory *  output) throw ( SError ) [protected, pure virtual]

Save all the created output trees in the output.

Implemented in SCycleBaseNTuple.

Referenced by SCycleBaseExec::SlaveTerminate().

virtual void ISCycleBaseNTuple::SetNTupleOutput ( TList *  output) [pure virtual]

Set the PROOF output list.

Implemented in SCycleBaseNTuple.

Referenced by SCycleBaseExec::Begin(), and SCycleBaseExec::SlaveBegin().


The documentation for this class was generated from the following file: