|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef EVENT_LOOP_ALGS__ALG_SELECT_H
6 #define EVENT_LOOP_ALGS__ALG_SELECT_H
52 const std::string&
cut =
"");
67 void histName (
const std::string& val_histName);
AlgSelect(const std::string &val_outputStream, const std::string &cut="")
effects: create a new selector for the given output.
virtual StatusCode initialize()
effects: do everything that needs to be done before running the algorithm, e.g.
void addCut(const std::string &cut)
effects: add another cut guarantee: strong failures: out of memory II requires: !cut....
std::vector< std::string > m_cuts
description: the list of formulas used
virtual StatusCode setupJob(Job &job)
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
NTupleSvc * m_skim
description: the skimming service we are using
std::string m_histName
description: the name of the cut-flow histogram
const std::string & outputStream() const
description: the name of the output stream guarantee: no-fail invariant: !outputStream....
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
MD::FormulaSvc * m_formSvc
description: the formula service we are using
::StatusCode StatusCode
StatusCode definition for legacy code.
std::string m_outputStream
description: members directly corresponding to accessors
cut
This script demonstrates how to call a C++ class from Python Also how to use PyROOT is shown.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
void histName(const std::string &val_histName)
const std::string & histName() const
description: the histogram name guarantee: no-fail / strong failures: out of memory II
virtual StatusCode execute()
effects: process the next event guarantee: basic failures: algorithm dependent rationale: the virtual...
AlgSelect()
effects: standard default constructor guarantee: strong failures: out of memory II rationale: this sh...
std::vector< const MD::Formula * > m_index
description: the indices to the formulas
TH1 * m_hist
description: the histogram we are filling