1 #ifndef GAUDIALG_GAUDITUPLES_H     2 #define GAUDIALG_GAUDITUPLES_H 1    15 #include "boost/algorithm/string/replace.hpp"    38 template <
class PBASE>
   127   Tuple 
nTuple( 
const TupleID& ID, 
const std::string& title, 
const CLID& clid = CLID_ColumnWiseTuple ) 
const;
   159   Tuple evtCol( 
const std::string& title, 
const CLID& clid = CLID_ColumnWiseTuple ) 
const;
   199   Tuple evtCol( 
const TupleID& ID, 
const std::string& title, 
const CLID& clid = CLID_ColumnWiseTuple ) 
const;
   241   long printTuples() 
const;
   245   long printEvtCols() 
const;
   250   bool nTupleExists( 
const TupleID& ID ) 
const;
   252   bool evtColExists( 
const TupleID& ID ) 
const;
   288   template <typename U = PBASE, class = typename std::enable_if<std::is_base_of<GaudiHistoAlg,PBASE>::value,U>
::type>
   290                 ISvcLocator * pSvcLocator ) : PBASE(name,pSvcLocator)
   292         initGaudiTuplesConstructor();
   296   template <typename U = PBASE, class = typename std::enable_if<std::is_base_of<GaudiHistoTool,PBASE>::value,U>
::type >
   299                 const IInterface*  parent ) : PBASE(type,name,parent)
   301         initGaudiTuplesConstructor();
   314     return i_gtInitialize();
   325     return i_gtFinalize();
   352                                          "split long directory names into short pieces (suitable for HBOOK)"};
   357       this, 
"NTupleDir", boost::algorithm::replace_all_copy( this->
name(), 
":", 
"_" ), 
"subdirectory for N-Tuples"};
   360                                          "general switch to enable/disable Event Tag Collections"};
   362   Gaudi::Property<bool> m_splitEvtColDir{
this, 
"EvtColSplitDir", 
false, 
"split long directory names into short pieces"};
   366                                               "Top-level directory for Event Tag Collections"};
   368                                            boost::algorithm::replace_all_copy( this->
name(), 
":", 
"_" ),
   369                                            "Subdirectory for Event Tag Collections"};
   385 #endif // GAUDIALG_GAUDITUPLES_H 
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
 
TupleMapTitle m_nTupleMapTitle
the actual storage of ntuples by title 
 
Implementation of property with value of concrete type. 
 
Templated base class providing common 'ntupling' methods. 
 
bool splitEvtColDir() const 
get the flag for Event Tag Collection path split (property "EvtColsSplitDir") 
 
const std::string & evtColDir() const 
get the Event Tag Collection directory (property "EvtColsDir") 
 
Header file for class TupleObj. 
 
TupleMapTitle m_evtColMapTitle
the actual storage of event collections by title 
 
const std::string & nTupleLUN() const 
get the logical unit for N-Tuples (property "NTupleLUN") 
 
Tuples::Tuple Tuple
the actual type of the tuple 
 
int NumericID
type for internal numeric ID 
 
GaudiAlg::TupleMapTitle TupleMapTitle
the actual type of (title) -> (tuple) mappping 
 
const std::string & evtColTopDir() const 
get the top-level Event Tag Collection directory (property "EvtColsTopDir") 
 
const std::string & nTupleTopDir() const 
get the top-level N-Tuple directory (property "NTupleTopDir") 
 
bool evtColsPrint() const 
print event collections at finalization 
 
GaudiTuples(const std::string &type, const std::string &name, const IInterface *parent)
Tool constructor - SFINAE-ed to insure this constructor is only defined if PBASE derives from AlgTool...
 
TupleMapID m_evtColMapID
the actual storage of event collections by ID 
 
A simple wrapper class over standard Gaudi NTuple::Tuple facility. 
 
const TupleMapTitle & nTupleMapTitle() const 
access to the all ntuples by title 
 
GaudiAlg::TupleID TupleID
the actual type of N-tuple ID 
 
const TupleMapTitle & evtColMapTitle() const 
access to the all evet tag collections by title 
 
A simple wrapper class over standard Gaudi NTuple::Tuple facility. 
 
GaudiAlg::TupleMapID TupleMapID
the actual type of (Numeric ID) -> (tuple) mappping 
 
TupleID::NumericID nTupleOffSet() const 
get the value for N-Tuple offset (property "NTupleOffSet") 
 
This class is used for returning status codes from appropriate routines. 
 
Definition of the basic interface. 
 
GaudiAlg::HistoID HistoID
the actual type for histogram identifier 
 
PropertyBase base class allowing PropertyBase* collections to be "homogeneous". 
 
GaudiTuples(const std::string &name, ISvcLocator *pSvcLocator)
Algorithm constructor - the SFINAE constraint below ensures that this is constructor is only defined ...
 
unsigned int CLID
Class ID definition. 
 
bool tuplesPrint() const 
print tuples at finalization 
 
Abstract base class which allows the user to interact with the actual N tuple implementation. 
 
void initGaudiTuplesConstructor()
Constructor initialization and job options. 
 
const TupleMapID & nTupleMapID() const 
access to the all ntuples by numeric ID 
 
TupleMapID m_nTupleMapID
the actual storage of ntuples by ID 
 
const std::string & evtColLUN() const 
get the logical unit for Event Tag Collections (property "EvtColsLUN") 
 
const std::string & nTupleDir() const 
get the N-Tuple directory (property "NTupleDir") 
 
Common class providing an architecture-independent hash map. 
 
bool produceEvtCols() const 
get the flag for Event Tag Collection production (property "EvtColsProduce") 
 
TupleID::NumericID evtColOffSet() const 
get the value for Event Tag Collection offset (property "EvtColsOffSet") 
 
bool splitNTupleDir() const 
get the flag for N-Tuple path split (property "NTupleSplitDir") 
 
bool produceNTuples() const 
get the flag for N-Tuple production (property "NTupleProduce") 
 
ID class for Histogram and Ntuples. 
 
Header file for class : Tuple. 
 
const TupleMapID & evtColMapID() const 
access to the all evet tag collections by numeric ID