EL::NTupleSvc Class Reference

Inheritance diagram for EL::NTupleSvc:
EL::Algorithm

List of all members.

Classes

struct  CopyInfo
 description: the information we need for copying branches
struct  WhiteInfo
 description: the information we need for whiteboard variables

Public Member Functions

void testInvariant () const
 NTupleSvc (const std::string &val_outputName="output")
 ~NTupleSvc ()
void copyBranch (const std::string &name)
void copyBranchList (const std::string &fileName)
void addWhiteFloat (const std::string &varName)
void addWhiteArray (const std::string &varName)
TTree * tree () const
bool getFilterPassed () const
void setFilterPassed (bool passed=true)
const std::string & treeName () const
void treeName (const std::string &val_treeName)
virtual const char * GetName () const

Constructor & Destructor Documentation

EL::NTupleSvc::NTupleSvc ( const std::string &  val_outputName = "output"  ) 

effects: standard constructor guarantee: strong failures: out of memory I requires: !val_outputName.empty()

EL::NTupleSvc::~NTupleSvc (  ) 

effects: standard destructor guarantee: no-fail


Member Function Documentation

void EL::NTupleSvc::addWhiteArray ( const std::string &  varName  ) 

effects: add an array from the whiteboard guarantee: strong failures: out of memory II

void EL::NTupleSvc::addWhiteFloat ( const std::string &  varName  ) 

effects: add a float from the whiteboard guarantee: strong failures: out of memory II

void EL::NTupleSvc::copyBranch ( const std::string &  name  ) 

effects: add another branch to copy. allows use of regular expressions guarantee: strong failures: out of memory II

void EL::NTupleSvc::copyBranchList ( const std::string &  fileName  ) 

effects: read a list of branches to copy from a file. allows use of regular expressions inside the file. leading and trailing spaces are ignored. lines starting with # are ignored. guarantee: strong failures: out of memory III failures: i/o errors

bool EL::NTupleSvc::getFilterPassed (  )  const

returns: whether the current event will be taken guarantee: no-fail

virtual const char* EL::NTupleSvc::GetName (  )  const [virtual]

effects: return the name of this algorithm guarantee: no-fail

void EL::NTupleSvc::setFilterPassed ( bool  passed = true  ) 

effects: take the current event if passed is set, otherwise perform a no-op guarantee: no-fail

void EL::NTupleSvc::testInvariant (  )  const

effects: test the invariant of this object guarantee: no-fail

Reimplemented from EL::Algorithm.

TTree* EL::NTupleSvc::tree (  )  const

returns: the tree we are writing out guarantee: no-fail requires(soft): initialize() has been called postcondition: result != 0

const std::string& EL::NTupleSvc::treeName (  )  const

description: the name of the tree, or the empty string to use the name of the input tree guarantee: no-fail / strong failures: out of memory II


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 1 Dec 2017 for RootCore Packages by  doxygen 1.6.1