Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members | Related Pages

NTBaseCut Class Reference

#include <NTBaseCut.h>

Inheritance diagram for NTBaseCut:

Inheritance graph
[legend]
Collaboration diagram for NTBaseCut:

Collaboration graph
[legend]
List of all members.

Detailed Description

Returns a bool value from an Ntuple (abstract base class for NTBaseCutT templates).

Author: Benno List, Jenny List

Date
2005/06/04 16:27:51
Author
blist

Changelog:

Definition at line 28 of file NTBaseCut.h.

Public Member Functions

 NTBaseCut (const std::string &name_)
 Constructor from a name.

 NTBaseCut (const std::string &name_, const IntFun *iter_)
 Constructor from a name and an iterator.

 NTBaseCut (const std::string &name_, int offset_)
 Constructor from a name and an offsets.

virtual NTBaseCutoperator[] (const IntFunPoR &iter_) const=0
 Returns a new object with a different iterator.

virtual NTBaseCutoperator[] (int offset_) const=0
 Returns a new object with a different offset.

virtual const FillIteratorgetIterator () const
 Returns pointer to iterator, if any.


Protected Member Functions

virtual ~NTBaseCut ()
 Protected destructor ensures creation on the heap.

std::string getBaseName () const
 Returns the part of the name before the "[".


Protected Attributes

const IntFuniter
 An optional FillIterator.

int offset
 An optional offset, i.e. array index.


Related Functions

(Note that these are not member functions.)

template<class Ntuple, class T> NTBaseCutT< Ntuple, T > & ntbasecut (const Ntuple &nt, T Ntuple::*p_mem, const char *name_="?", const IntFunPoR &iter_=0)
 returns a BaseCut from an ntuple data member

template<class Ntuple, class T> NTBaseCutT< Ntuple, T > & ntbasecut (const Ntuple &nt, T Ntuple::*p_mem, const char *name_="?", int offset_)
 returns a BaseCut from an ntuple data member


Constructor & Destructor Documentation

NTBaseCut::NTBaseCut const std::string &  name_  ) 
 

Constructor from a name.

Parameters:
name_  The name

Definition at line 20 of file NTBaseCut.C.

References NamedO::getName().

NTBaseCut::NTBaseCut const std::string &  name_,
const IntFun iter_
 

Constructor from a name and an iterator.

Parameters:
name_  The name
iter_  The Iterator

Definition at line 30 of file NTBaseCut.C.

References NamedO::getName().

NTBaseCut::NTBaseCut const std::string &  name_,
int  offset_
 

Constructor from a name and an offsets.

Parameters:
name_  The name
offset_  The integer offset

Definition at line 40 of file NTBaseCut.C.

References NamedO::getName().


Member Function Documentation

virtual NTBaseCut& NTBaseCut::operator[] const IntFunPoR iter_  )  const [pure virtual]
 

Returns a new object with a different iterator.

Parameters:
iter_  the new iterator

Implemented in NTBaseCutT< Ntuple, T >.

virtual NTBaseCut& NTBaseCut::operator[] int  offset_  )  const [pure virtual]
 

Returns a new object with a different offset.

Parameters:
offset_  the new offset

Implemented in NTBaseCutT< Ntuple, T >.


Friends And Related Function Documentation

template<class Ntuple, class T>
NTBaseCutT< Ntuple, T > & ntbasecut const Ntuple &  nt,
T Ntuple::*  p_mem,
const char *  name_ = "?",
const IntFunPoR iter_ = 0
[related]
 

returns a BaseCut from an ntuple data member

Parameters:
nt  The ntuple
p_mem  Member pointer
name_  The object's name
iter_  An optional iterator

Definition at line 197 of file NTBaseCut.h.

template<class Ntuple, class T>
NTBaseCutT< Ntuple, T > & ntbasecut const Ntuple &  nt,
T Ntuple::*  p_mem,
const char *  name_ = "?",
int  offset_
[related]
 

returns a BaseCut from an ntuple data member

Parameters:
nt  The ntuple
p_mem  Member pointer
name_  The object's name
offset_  An offset into an array

Definition at line 210 of file NTBaseCut.h.


The documentation for this class was generated from the following files:
Generated on Thu Oct 26 12:54:54 2006 for SFH by doxygen 1.3.2