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);
75 void addCut (
const std::string& cut);
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....
MD::FormulaSvc * m_formSvc
description: the formula service we are using
NTupleSvc * m_skim
description: the skimming service we are using
AlgSelect()
effects: standard default constructor guarantee: strong failures: out of memory II rationale: this sh...
const std::string & histName() const
description: the histogram name guarantee: no-fail / strong failures: out of memory II
virtual StatusCode setupJob(Job &job)
effects: give the algorithm a chance to intialize the job with anything this algorithm needs.
std::string m_outputStream
description: members directly corresponding to accessors
void testInvariant() const
effects: test the invariant of this object guarantee: no-fail
std::vector< std::string > m_cuts
description: the list of formulas used
virtual StatusCode initialize()
effects: do everything that needs to be done before running the algorithm, e.g.
TH1 * m_hist
description: the histogram we are filling
virtual StatusCode execute()
effects: process the next event guarantee: basic failures: algorithm dependent rationale: the virtual...
std::vector< const MD::Formula * > m_index
description: the indices to the formulas
void histName(const std::string &val_histName)
void addCut(const std::string &cut)
effects: add another cut guarantee: strong failures: out of memory II requires: !cut....
AlgSelect(const std::string &val_outputStream, const std::string &cut="")
effects: create a new selector for the given output.
Algorithm()
effects: standard default constructor guarantee: strong failures: low level errors I
This module defines the arguments passed from the BATCH driver to the BATCH worker.
::StatusCode StatusCode
StatusCode definition for legacy code.