Gaudi Framework, version v25r0

Home   Generated: Mon Feb 17 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Protected Member Functions | Private Member Functions | List of all members
GaudiTupleTool Class Reference

Simple class to extend the functionality of class GaudiHistoTool. More...

#include <GaudiAlg/GaudiTupleTool.h>

Inheritance diagram for GaudiTupleTool:
Inheritance graph
[legend]
Collaboration diagram for GaudiTupleTool:
Collaboration graph
[legend]

Protected Member Functions

 GaudiTupleTool (const std::string &type, const std::string &name, const IInterface *parent)
 standard constructor
 
virtual ~GaudiTupleTool ()
 destructor
 
virtual StatusCode initialize ()
 standard initialization method
 
virtual StatusCode finalize ()
 standard finalization method
 
- Protected Member Functions inherited from GaudiTuples< GaudiHistoTool >
const TupleMapTitlenTupleMapTitle () const
 access to the all ntuples by title
 
const TupleMapTitleevtColMapTitle () const
 access to the all evet tag collections by title
 
const TupleMapIDnTupleMapID () const
 access to the all ntuples by numeric ID
 
const TupleMapIDevtColMapID () const
 access to the all evet tag collections by numeric ID
 
virtual Tuples::TupleObjcreateNTuple (const std::string &name, NTuple::Tuple *tuple, const CLID &clid) const
 create TupleObj
 
virtual Tuples::TupleObjcreateEvtCol (const std::string &name, NTuple::Tuple *tuple, const CLID &clid) const
 create TupleObj for event tag collection
 
- Protected Member Functions inherited from GaudiHistoTool
 GaudiHistoTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard constructor (protected)
 
virtual ~GaudiHistoTool ()
 destructor, virtual and protected
 
- Protected Member Functions inherited from GaudiHistos< GaudiTool >
std::string convertTitleToID (const std::string &title) const
 Create an ID string from a title string.
 
- Protected Member Functions inherited from GaudiTool
 GaudiTool (const std::string &type, const std::string &name, const IInterface *parent)
 Standard constructor.
 
virtual ~GaudiTool ()
 destructor, virtual and protected
 
- Protected Member Functions inherited from GaudiCommon< AlgTool >
virtual ~GaudiCommon ()
 Destructor.
 
StatusCode releaseTool (const IAlgTool *tool) const
 manual forced (and 'safe') release of the tool
 
StatusCode releaseSvc (const IInterface *svc) const
 manual forced (and 'safe') release of the service
 
- Protected Member Functions inherited from AlgTool
int outputLevel () const
 get tool's output level
 
IntegerPropertyoutputLevelProperty ()
 Accessor for the Message level property.
 
void initOutputLevel (Property &prop)
 callback for output level property
 
virtual ~AlgTool ()
 

Private Member Functions

 GaudiTupleTool ()
 default constructor is disabled
 
 GaudiTupleTool (const GaudiTupleTool &)
 copy constructor is disabled
 
GaudiTupleTooloperator= (const GaudiTupleTool &)
 assignment operator is disabled
 

Additional Inherited Members

- Public Types inherited from GaudiTuples< GaudiHistoTool >
typedef GaudiAlg::HistoID HistoID
 the actual type for histogram identifier
 
typedef Tuples::Tuple Tuple
 the actual type of the tuple
 
typedef GaudiAlg::TupleID TupleID
 the actual type of N-tuple ID
 
typedef GaudiAlg::TupleMapTitle TupleMapTitle
 the actual type of (title) -> (tuple) mappping
 
typedef GaudiAlg::TupleMapID TupleMapID
 the actual type of (Numeric ID) -> (tuple) mappping
 
- Public Member Functions inherited from GaudiTuples< GaudiHistoTool >
Tuple nTuple (const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
 Access an N-Tuple object (book on-demand) with unique identifier.
 
Tuple nTuple (const TupleID &ID, const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
 Access an N-Tuple object (book on-demand) with forced identifier.
 
Tuple evtCol (const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
 Access an Event Tag Collection object (book on-demand) with unique identifier.
 
Tuple evtCol (const TupleID &ID, const std::string &title, const CLID &clid=CLID_ColumnWiseTuple) const
 Access an Event Tag Collection object (book on-demand) with forced identifier.
 
bool produceNTuples () const
 get the flag for N-Tuple production (property "NTupleProduce")
 
bool splitNTupleDir () const
 get the flag for N-Tuple path split (property "NTupleSplitDir")
 
const std::stringnTupleLUN () const
 get the logical unit for N-Tuples (property "NTupleLUN")
 
const std::stringnTupleTopDir () const
 get the top-level N-Tuple directory (property "NTupleTopDir")
 
const std::stringnTupleDir () const
 get the N-Tuple directory (property "NTupleDir")
 
TupleID::NumericID nTupleOffSet () const
 get the value for N-Tuple offset (property "NTupleOffSet")
 
std::string nTuplePath () const
 get the constructed N-Tuple path
 
bool produceEvtCols () const
 get the flag for Event Tag Collection production (property "EvtColsProduce")
 
bool splitEvtColDir () const
 get the flag for Event Tag Collection path split (property "EvtColsSplitDir")
 
const std::stringevtColLUN () const
 get the logical unit for Event Tag Collections (property "EvtColsLUN")
 
const std::stringevtColTopDir () const
 get the top-level Event Tag Collection directory (property "EvtColsTopDir")
 
const std::stringevtColDir () const
 get the Event Tag Collection directory (property "EvtColsDir")
 
TupleID::NumericID evtColOffSet () const
 get the value for Event Tag Collection offset (property "EvtColsOffSet")
 
std::string evtColPath () const
 get the constructed Event Tag Collection path
 
bool tuplesPrint () const
 print tuples at finalization
 
bool evtColsPrint () const
 print event collections at finalization
 
long printTuples () const
 perform the actual printout of N-tuples
 
long printEvtCols () const
 perform the actual printout of Event Tag Collections
 
bool nTupleExists (const TupleID &ID) const
 check the existence AND validity of the N-Tuple with the given ID
 
bool evtColExists (const TupleID &ID) const
 check the existence AND validity of the Event Tag Collection with the given ID
 
 GaudiTuples (const std::string &name, ISvcLocator *pSvcLocator)
 Algorithm constructor.
 
 GaudiTuples (const std::string &type, const std::string &name, const IInterface *parent)
 Tool constructor.
 
virtual ~GaudiTuples ()
 Destructor.
 
- Static Public Member Functions inherited from GaudiTool
static bool enableSummary (bool)
 enable/disable summary
 
static bool summaryEnabled ()
 is summary enabled?
 
- Protected Types inherited from GaudiCommon< AlgTool >
typedef std::map< std::string,
StatEntity
Statistics
 the actual type of general counters
 
typedef std::map< std::string,
unsigned int
Counter
 the actual type error/warning counter
 
typedef std::vector< IAlgTool * > AlgTools
 storage for active tools
 
typedef GaudiUtils::HashMap
< std::string, SmartIF
< IService > > 
Services
 storage for active services
 
- Protected Attributes inherited from GaudiCommon< AlgTool >
ICounterSummarySvcm_counterSummarySvc
 a pointer to the CounterSummarySvc
 
std::vector< std::stringm_counterList
 list of counters to declare. Set by property CounterList. This can be a regular expression.
 
std::vector< std::stringm_statEntityList
 
- Static Protected Attributes inherited from GaudiCommon< AlgTool >
static const bool IgnoreRootInTES
 Simple definition to be used with the new useRootInTES argument get<TYPE> and put methods.
 
static const bool UseRootInTES
 Simple definition to be used with the new useRootInTES argument get<TYPE> and put methods.
 

Detailed Description

Simple class to extend the functionality of class GaudiHistoTool.

Class is instrumented with few methods for dealing with N-tuples and Event Tag collections

Attention
See the class GaudiTuples, which implements the common functionality between GaudiTupleTool and GaudiTupleAlg
Author
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@i.nosp@m.tep..nosp@m.ru
Chris Jones Chris.nosp@m.toph.nosp@m.er.Ro.nosp@m.b.Jo.nosp@m.nes@c.nosp@m.ern..nosp@m.ch
Date
2004-06-28

Definition at line 43 of file GaudiTupleTool.h.

Constructor & Destructor Documentation

GaudiTupleTool::GaudiTupleTool ( const std::string type,
const std::string name,
const IInterface parent 
)
protected

standard constructor

See Also
GaudiTool
AlgTool
Parameters
typetool type
nametool name
parentpointer to the parent component

Definition at line 30 of file GaudiTupleTool.cpp.

GaudiTupleTool::~GaudiTupleTool ( )
protectedvirtual

destructor

Definition at line 39 of file GaudiTupleTool.cpp.

{ }
GaudiTupleTool::GaudiTupleTool ( )
private

default constructor is disabled

GaudiTupleTool::GaudiTupleTool ( const GaudiTupleTool )
private

copy constructor is disabled

Member Function Documentation

StatusCode GaudiTupleTool::finalize ( )
protectedvirtual

standard finalization method

See Also
Algorithm
IAlgorithm
Returns
status code

Reimplemented from GaudiTuples< GaudiHistoTool >.

Definition at line 55 of file GaudiTupleTool.cpp.

{
// finalize the base class and return
}
StatusCode GaudiTupleTool::initialize ( )
protectedvirtual

standard initialization method

See Also
Algorithm
IAlgorithm
Returns
status code

Reimplemented from GaudiTuples< GaudiHistoTool >.

Definition at line 45 of file GaudiTupleTool.cpp.

{
// initialize the base class and return
}
GaudiTupleTool& GaudiTupleTool::operator= ( const GaudiTupleTool )
private

assignment operator is disabled


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

Generated at Mon Feb 17 2014 14:38:03 for Gaudi Framework, version v25r0 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004