![]() |
The Gaudi Framework
v30r3 (a5ef0a68)
|
#include <src/THistSvc/THistSvc.h>


Classes | |
| class | GlobalDirectoryRestore |
| Helper class that manages ROOts global directory and file. More... | |
| struct | THistID |
| Helper struct that bundles the histogram ID with a mutex, TFile and TObject*. More... | |
Public Member Functions | |
| THistSvc (const std::string &name, ISvcLocator *svc) | |
| StatusCode | initialize () override |
| StatusCode | reinitialize () override |
| StatusCode | finalize () override |
| void | handle (const Incident &) override |
| StatusCode | io_reinit () override |
| callback method to reinitialize the internal state of the component for I/O purposes (e.g. More... | |
Functions to manage ROOT histograms of any kind | |
| StatusCode | regHist (const std::string &name) override |
| Register a new ROOT histogram TH*X with a name. More... | |
| StatusCode | regHist (const std::string &name, std::unique_ptr< TH1 > hist) override |
| Register an existing ROOT histogram TH*X with name and moved unique_ptr. More... | |
| StatusCode | regHist (const std::string &name, std::unique_ptr< TH1 > hist, TH1 *hist_ptr) override |
| Register an existing ROOT histogram TH*X with name and moved unique_ptr. More... | |
| StatusCode | regHist (const std::string &name, TH1 *) override |
| StatusCode | getHist (const std::string &name, TH1 *&, size_t index=0) const override |
| Return histogram with given name as TH1*, THistSvcMT still owns object. More... | |
| StatusCode | getHist (const std::string &name, TH2 *&, size_t index=0) const override |
| Return histogram with given name as TH2*, THistSvcMT still owns object. More... | |
| StatusCode | getHist (const std::string &name, TH3 *&, size_t index=0) const override |
| Return histogram with given name as TH3*, THistSvcMT still owns object. More... | |
Functions to manage TTrees | |
| StatusCode | regTree (const std::string &name) override |
| Register a new TTree with a given name. More... | |
| StatusCode | regTree (const std::string &name, std::unique_ptr< TTree >) override |
| Register an existing TTree with a given name and moved unique_ptr. More... | |
| StatusCode | regTree (const std::string &name, TTree *) override |
| StatusCode | getTree (const std::string &name, TTree *&) const override |
| Return TTree with given name. More... | |
Functions to manage TGraphs | |
| StatusCode | regGraph (const std::string &name) override |
| Register a new TGraph with a given name. More... | |
| StatusCode | regGraph (const std::string &name, std::unique_ptr< TGraph >) override |
| Register an existing TGraph with a given name and moved unique_ptr. More... | |
| virtual StatusCode | regGraph (const std::string &name, TGraph *) override |
| StatusCode | getGraph (const std::string &name, TGraph *&) const override |
| Return TGraph with given name. More... | |
Functions managing shared objects | |
| StatusCode | regShared (const std::string &name, std::unique_ptr< TH1 >, LockedHandle< TH1 > &) override |
| Register shared object of type TH1 and return LockedHandle for that object. More... | |
| StatusCode | regShared (const std::string &name, std::unique_ptr< TH2 >, LockedHandle< TH2 > &) override |
| Register shared object of type TH2 and return LockedHandle for that object. More... | |
| StatusCode | regShared (const std::string &name, std::unique_ptr< TH3 >, LockedHandle< TH3 > &) override |
| Register shared object of type TH3 and return LockedHandle for that object. More... | |
| StatusCode | regShared (const std::string &name, std::unique_ptr< TGraph >, LockedHandle< TGraph > &) override |
| Register shared object of type TGraph and return LockedHandle for that object. More... | |
| StatusCode | getShared (const std::string &name, LockedHandle< TH1 > &) const override |
| Retrieve shared object with given name as TH1 through LockedHandle. More... | |
| StatusCode | getShared (const std::string &name, LockedHandle< TH2 > &) const override |
| Retrieve shared object with given name as TH2 through LockedHandle. More... | |
| StatusCode | getShared (const std::string &name, LockedHandle< TH3 > &) const override |
| Retrieve shared object with given name as TH3 through LockedHandle. More... | |
| StatusCode | getShared (const std::string &name, LockedHandle< TGraph > &) const override |
| Retrieve shared object with given name as TGraph through LockedHandle. More... | |
Functions that work on any TObject in the THistSvcMT | |
| StatusCode | deReg (const std::string &name) override |
| Deregister object with given name and give up ownership (without deletion!) More... | |
| StatusCode | deReg (TObject *obj) override |
| Deregister obejct identified by TObject* and give up ownership (without deletion!) More... | |
| StatusCode | merge (const std::string &id) override |
| Merge all clones for object with a given id. More... | |
| StatusCode | merge (TObject *) override |
| Merge all clones for given TObject*. More... | |
| bool | exists (const std::string &name) const override |
| Check if object with given name is managed by THistSvcMT. More... | |
Functions returning lists of all histograms, trees and graphs | |
| std::vector< std::string > | getHists () const override |
| std::vector< std::string > | getTrees () const override |
| std::vector< std::string > | getGraphs () const override |
| StatusCode | getTHists (TDirectory *td, TList &, bool recurse=false) const override |
| StatusCode | getTHists (const std::string &name, TList &, bool recurse=false) const override |
| StatusCode | getTHists (TDirectory *td, TList &tl, bool recurse=false, bool reg=false) override |
| StatusCode | getTHists (const std::string &name, TList &tl, bool recurse=false, bool reg=false) override |
| StatusCode | getTTrees (TDirectory *td, TList &, bool recurse=false) const override |
| StatusCode | getTTrees (const std::string &name, TList &, bool recurse=false) const override |
| StatusCode | getTTrees (TDirectory *td, TList &tl, bool recurse=false, bool reg=false) override |
| StatusCode | getTTrees (const std::string &name, TList &tl, bool recurse=false, bool reg=false) override |
Public Member Functions inherited from extends< Service, ITHistSvc, IIncidentListener, IIoComponent > | |
| void * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. More... | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. More... | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. More... | |
Public Member Functions inherited from Service | |
| const std::string & | name () const override |
| Retrieve name of the service. More... | |
| StatusCode | configure () override |
| StatusCode | initialize () override |
| StatusCode | start () override |
| StatusCode | stop () override |
| StatusCode | finalize () override |
| StatusCode | terminate () override |
| Gaudi::StateMachine::State | FSMState () const override |
| Gaudi::StateMachine::State | targetFSMState () const override |
| StatusCode | reinitialize () override |
| StatusCode | restart () override |
| StatusCode | sysInitialize () override |
| Initialize Service. More... | |
| StatusCode | sysStart () override |
| Initialize Service. More... | |
| StatusCode | sysStop () override |
| Initialize Service. More... | |
| StatusCode | sysFinalize () override |
| Finalize Service. More... | |
| StatusCode | sysReinitialize () override |
| Re-initialize the Service. More... | |
| StatusCode | sysRestart () override |
| Re-initialize the Service. More... | |
| Service (std::string name, ISvcLocator *svcloc) | |
| Standard Constructor. More... | |
| SmartIF< ISvcLocator > & | serviceLocator () const override |
| Retrieve pointer to service locator. More... | |
| StatusCode | setProperties () |
| Method for setting declared properties to the values specified for the job. More... | |
| template<class T > | |
| StatusCode | service (const std::string &name, const T *&psvc, bool createIf=true) const |
| Access a service by name, creating it if it doesn't already exist. More... | |
| template<class T > | |
| StatusCode | service (const std::string &name, T *&psvc, bool createIf=true) const |
| template<typename IFace = IService> | |
| SmartIF< IFace > | service (const std::string &name, bool createIf=true) const |
| template<class T > | |
| StatusCode | service (const std::string &svcType, const std::string &svcName, T *&psvc) const |
| Access a service by name and type, creating it if it doesn't already exist. More... | |
| template<class T > | |
| StatusCode | declareTool (ToolHandle< T > &handle, std::string toolTypeAndName, bool createIf=true) |
| Declare used tool. More... | |
| SmartIF< IAuditorSvc > & | auditorSvc () const |
| The standard auditor service.May not be invoked before sysInitialize() has been invoked. More... | |
Public Member Functions inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > > | |
| PropertyHolder ()=default | |
| Gaudi::Details::PropertyBase & | declareProperty (Gaudi::Details::PropertyBase &prop) |
| Declare a property. More... | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, TYPE &value, const std::string &doc="none") |
| Helper to wrap a regular data member and use it as a regular property. More... | |
| Gaudi::Details::PropertyBase * | declareProperty (const std::string &name, Gaudi::Property< TYPE, VERIFIER, HANDLERS > &prop, const std::string &doc="none") |
| Declare a PropertyBase instance setting name and documentation. More... | |
| Gaudi::Details::PropertyBase * | declareRemoteProperty (const std::string &name, IProperty *rsvc, const std::string &rname="") |
| Declare a remote property. More... | |
| StatusCode | setProperty (const Gaudi::Details::PropertyBase &p) override |
| set the property form another property More... | |
| StatusCode | setProperty (const std::string &s) override |
| set the property from the formatted string More... | |
| StatusCode | setProperty (const std::string &n, const std::string &v) override |
| set the property from name and the value More... | |
| StatusCode | setProperty (const std::string &name, const TYPE &value) |
| set the property form the value More... | |
| StatusCode | getProperty (Gaudi::Details::PropertyBase *p) const override |
| get the property More... | |
| const Gaudi::Details::PropertyBase & | getProperty (const std::string &name) const override |
| get the property by name More... | |
| StatusCode | getProperty (const std::string &n, std::string &v) const override |
| convert the property to the string More... | |
| const std::vector< Gaudi::Details::PropertyBase * > & | getProperties () const override |
| get all properties More... | |
| bool | hasProperty (const std::string &name) const override |
| Return true if we have a property with the given name. More... | |
| PropertyHolder (const PropertyHolder &)=delete | |
| PropertyHolder & | operator= (const PropertyHolder &)=delete |
Public Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > > | |
| MSG::Level | msgLevel () const |
| get the cached level (originally extracted from the embedded MsgStream) More... | |
| bool | msgLevel (MSG::Level lvl) const |
| get the output level from the embedded MsgStream More... | |
| MSG::Level | outputLevel () const |
| Backward compatibility function for getting the output level. More... | |
Public Member Functions inherited from CommonMessagingBase | |
| virtual | ~CommonMessagingBase ()=default |
| Virtual destructor. More... | |
| const SmartIF< IMessageSvc > & | msgSvc () const |
| The standard message service. More... | |
| MsgStream & | msgStream () const |
| Return an uninitialized MsgStream. More... | |
| MsgStream & | msgStream (const MSG::Level level) const |
| Predefined configurable message stream for the efficient printouts. More... | |
| MsgStream & | always () const |
| shortcut for the method msgStream(MSG::ALWAYS) More... | |
| MsgStream & | fatal () const |
| shortcut for the method msgStream(MSG::FATAL) More... | |
| MsgStream & | err () const |
| shortcut for the method msgStream(MSG::ERROR) More... | |
| MsgStream & | error () const |
| shortcut for the method msgStream(MSG::ERROR) More... | |
| MsgStream & | warning () const |
| shortcut for the method msgStream(MSG::WARNING) More... | |
| MsgStream & | info () const |
| shortcut for the method msgStream(MSG::INFO) More... | |
| MsgStream & | debug () const |
| shortcut for the method msgStream(MSG::DEBUG) More... | |
| MsgStream & | verbose () const |
| shortcut for the method msgStream(MSG::VERBOSE) More... | |
| MsgStream & | msg () const |
| shortcut for the method msgStream(MSG::INFO) More... | |
Private Types | |
| enum | Mode { READ, WRITE, UPDATE, APPEND, SHARE, INVALID } |
| Enumerating all possible file access modes. More... | |
| typedef std::recursive_mutex | THistSvcMutex_t |
| typedef std::mutex | histMut_t |
Private Member Functions | |
Templated helper functions to register and retrieve Histograms and TObjects | |
| template<typename T > | |
| StatusCode | regHist_i (std::unique_ptr< T > hist, const std::string &name, bool shared) |
| template<typename T > | |
| StatusCode | regHist_i (std::unique_ptr< T > hist, const std::string &name, bool shared, THistID *&hid) |
| template<typename T > | |
| T * | getHist_i (const std::string &name, const size_t &ind=0, bool quiet=false) const |
| template<typename T > | |
| T * | readHist_i (const std::string &name) const |
| template<typename T > | |
| LockedHandle< T > | regShared_i (const std::string &id, std::unique_ptr< T > hist) |
| template<typename T > | |
| LockedHandle< T > | getShared_i (const std::string &name) const |
Collection of private helper methods | |
| template<typename T > | |
| T * | readHist (const std::string &name) const |
| TTree * | readTree (const std::string &name) const |
| void | updateFiles () |
| Handle case where TTree grows beyond TTree::fgMaxTreeSize. More... | |
| StatusCode | writeObjectsToFile () |
| StatusCode | connect (const std::string &) |
| TDirectory * | changeDir (const THistSvc::THistID &hid) const |
| std::string | stripDirectoryName (std::string &dir) const |
| void | removeDoubleSlash (std::string &) const |
| void | MergeRootFile (TDirectory *, TDirectory *) |
| bool | findStream (const std::string &name, std::string &root, std::string &rem, TFile *&file) const |
| void | parseString (const std::string &id, std::string &root, std::string &rem) const |
| void | setupInputFile (Gaudi::Details::PropertyBase &inputfile) |
| call-back method to handle input stream property More... | |
| void | setupOutputFile (Gaudi::Details::PropertyBase &outputfile) |
| call-back method to handle output stream property More... | |
| void | setupCompressionLevel (Gaudi::Details::PropertyBase &cmp) |
| void | copyFileLayout (TDirectory *, TDirectory *) |
| helper function to recursively copy the layout of a TFile into a new TFile More... | |
| size_t | findHistID (const std::string &id, const THistID *&hid, const size_t &index=0) const |
| void | dump () const |
| StatusCode | merge (const THistID &) |
| Helper method to merge THistID objects. More... | |
| StatusCode | merge (vhid_t *) |
| Helper method to merge vectors of THistID. More... | |
| StatusCode | rootOpenAction (FILEMGR_CALLBACK_ARGS) |
| StatusCode | rootOpenErrAction (FILEMGR_CALLBACK_ARGS) |
Private Attributes | |
| IIncidentSvc * | p_incSvc = nullptr |
| IFileMgr * | p_fileMgr = nullptr |
| bool | m_signaledStop = false |
| bool | m_delayConnect = false |
| bool | m_okToConnect = false |
| std::string | m_curstream |
| THistSvcMutex_t | m_svcMut |
Gaudi properties | |
| Gaudi::Property< int > | m_autoSave {this, "AutoSave", 0} |
| Gaudi::Property< int > | m_autoFlush {this, "AutoFlush", 0} |
| Gaudi::Property< bool > | m_print {this, "PrintAll", false} |
| Gaudi::Property< int > | m_maxFileSize |
| Gaudi::Property< int > | m_compressionLevel {this, "CompressionLevel", 1} |
| Gaudi::Property< std::vector< std::string > > | m_outputfile {this, "Output", {}} |
| Gaudi::Property< std::vector< std::string > > | m_inputfile {this, "Input", {}} |
Container definitions | |
| typedef std::vector< THistID > | vhid_t |
| typedef std::list< vhid_t * > | hlist_t |
| typedef std::unordered_map< std::string, vhid_t * > | uidMap_t |
| typedef std::unordered_multimap< std::string, vhid_t * > | idMap_t |
| typedef std::unordered_map< TObject *, std::pair< vhid_t *, size_t > > | objMap_t |
| typedef std::multimap< std::string, std::string > | streamMap |
| std::vector< std::string > | m_Rstream |
| std::vector< std::string > | m_Wstream |
| std::set< std::string > | m_alreadyConnectedInFiles |
| list of already connected files. More... | |
| std::set< std::string > | m_alreadyConnectedOutFiles |
| list of already connected files. More... | |
| hlist_t | m_hlist |
| uidMap_t | m_uids |
| idMap_t | m_ids |
| objMap_t | m_tobjs |
| std::map< std::string, std::pair< TFile *, Mode > > | m_files |
| streamMap | m_fileStreams |
| std::map< std::string, std::string > | m_sharedFiles |
Additional Inherited Members | |
Public Types inherited from extends< Service, ITHistSvc, IIncidentListener, IIoComponent > | |
| using | base_class = extends |
| Typedef to this class. More... | |
| using | extend_interfaces_base = extend_interfaces< Interfaces... > |
| Typedef to the base of this class. More... | |
Public Types inherited from Service | |
| using | Factory = Gaudi::PluginService::Factory< IService *(const std::string &, ISvcLocator *)> |
Public Types inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > > | |
| using | PropertyHolderImpl = PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > > |
| Typedef used to refer to this class from derived classes, as in. More... | |
Public Types inherited from CommonMessaging< implements< IService, IProperty, IStateful > > | |
| using | base_class = CommonMessaging |
Public Types inherited from extend_interfaces< Interfaces... > | |
| using | ext_iids = typename Gaudi::interface_list_cat< typename Interfaces::ext_iids... >::type |
| take union of the ext_iids of all Interfaces... More... | |
Protected Member Functions inherited from Service | |
| ~Service () override | |
| Standard Destructor. More... | |
| int | outputLevel () const |
get the Service's output level More... | |
Protected Member Functions inherited from PropertyHolder< CommonMessaging< implements< IService, IProperty, IStateful > > > | |
| Gaudi::Details::PropertyBase * | property (const std::string &name) const |
Protected Member Functions inherited from CommonMessaging< implements< IService, IProperty, IStateful > > | |
| MSG::Level | setUpMessaging () const |
| Set up local caches. More... | |
| MSG::Level | resetMessaging () |
| Reinitialize internal states. More... | |
| void | updateMsgStreamOutputLevel (int level) |
| Update the output level of the cached MsgStream. More... | |
Protected Attributes inherited from Service | |
| Gaudi::StateMachine::State | m_state = Gaudi::StateMachine::OFFLINE |
| Service state. More... | |
| Gaudi::StateMachine::State | m_targetState = Gaudi::StateMachine::OFFLINE |
| Service state. More... | |
| Gaudi::Property< int > | m_outputLevel {this, "OutputLevel", MSG::NIL, "output level"} |
| Gaudi::Property< bool > | m_auditInit {this, "AuditServices", false, "[[deprecated]] unused"} |
| Gaudi::Property< bool > | m_auditorInitialize {this, "AuditInitialize", false, "trigger auditor on initialize()"} |
| Gaudi::Property< bool > | m_auditorStart {this, "AuditStart", false, "trigger auditor on start()"} |
| Gaudi::Property< bool > | m_auditorStop {this, "AuditStop", false, "trigger auditor on stop()"} |
| Gaudi::Property< bool > | m_auditorFinalize {this, "AuditFinalize", false, "trigger auditor on finalize()"} |
| Gaudi::Property< bool > | m_auditorReinitialize {this, "AuditReinitialize", false, "trigger auditor on reinitialize()"} |
| Gaudi::Property< bool > | m_auditorRestart {this, "AuditRestart", false, "trigger auditor on restart()"} |
| SmartIF< IAuditorSvc > | m_pAuditorSvc |
| Auditor Service. More... | |
Definition at line 29 of file THistSvc.h.
|
private |
Definition at line 166 of file THistSvc.h.
|
private |
Definition at line 241 of file THistSvc.h.
|
private |
Definition at line 245 of file THistSvc.h.
|
private |
Definition at line 246 of file THistSvc.h.
|
private |
Definition at line 256 of file THistSvc.h.
|
private |
Definition at line 165 of file THistSvc.h.
|
private |
Definition at line 243 of file THistSvc.h.
|
private |
Definition at line 239 of file THistSvc.h.
|
private |
Enumerating all possible file access modes.
| Enumerator | |
|---|---|
| READ | |
| WRITE | |
| UPDATE | |
| APPEND | |
| SHARE | |
| INVALID | |
Definition at line 183 of file THistSvc.h.
| THistSvc::THistSvc | ( | const std::string & | name, |
| ISvcLocator * | svc | ||
| ) |
Definition at line 58 of file THistSvc.cpp.
|
private |
Definition at line 1585 of file THistSvc.cpp.
|
private |
Definition at line 1396 of file THistSvc.cpp.
|
private |
helper function to recursively copy the layout of a TFile into a new TFile
Definition at line 1809 of file THistSvc.cpp.
|
override |
Deregister object with given name and give up ownership (without deletion!)
Definition at line 572 of file THistSvc.cpp.
|
override |
Deregister obejct identified by TObject* and give up ownership (without deletion!)
Definition at line 594 of file THistSvc.cpp.
|
private |
Definition at line 1888 of file THistSvc.cpp.
|
override |
Check if object with given name is managed by THistSvcMT.
Definition at line 677 of file THistSvc.cpp.
|
override |
Definition at line 187 of file THistSvc.cpp.
|
private |
Definition at line 1842 of file THistSvc.cpp.
|
private |
Definition at line 1692 of file THistSvc.cpp.
|
override |
|
override |
Definition at line 697 of file THistSvc.cpp.
|
override |
Return histogram with given name as TH1*, THistSvcMT still owns object.
Definition at line 370 of file THistSvc.cpp.
|
override |
Return histogram with given name as TH2*, THistSvcMT still owns object.
Definition at line 380 of file THistSvc.cpp.
|
override |
Return histogram with given name as TH3*, THistSvcMT still owns object.
Definition at line 390 of file THistSvc.cpp.
|
private |
Definition at line 172 of file THistSvc.icc.
|
override |
Definition at line 679 of file THistSvc.cpp.
|
override |
Retrieve shared object with given name as TH1 through LockedHandle.
Definition at line 532 of file THistSvc.cpp.
|
override |
Retrieve shared object with given name as TH2 through LockedHandle.
Definition at line 542 of file THistSvc.cpp.
|
override |
Retrieve shared object with given name as TH3 through LockedHandle.
Definition at line 552 of file THistSvc.cpp.
|
override |
Retrieve shared object with given name as TGraph through LockedHandle.
Definition at line 562 of file THistSvc.cpp.
|
private |
Definition at line 307 of file THistSvc.icc.
|
override |
Definition at line 706 of file THistSvc.cpp.
|
override |
Definition at line 752 of file THistSvc.cpp.
|
override |
Definition at line 802 of file THistSvc.cpp.
|
override |
Definition at line 865 of file THistSvc.cpp.
|
override |
|
override |
Definition at line 688 of file THistSvc.cpp.
|
override |
Definition at line 917 of file THistSvc.cpp.
|
override |
Definition at line 963 of file THistSvc.cpp.
|
override |
Definition at line 1006 of file THistSvc.cpp.
|
override |
Definition at line 1069 of file THistSvc.cpp.
|
override |
Definition at line 1114 of file THistSvc.cpp.
|
override |
Definition at line 65 of file THistSvc.cpp.
|
override |
callback method to reinitialize the internal state of the component for I/O purposes (e.g.
upon fork(2))
Definition at line 1161 of file THistSvc.cpp.
|
override |
Merge all clones for object with a given id.
Definition at line 655 of file THistSvc.cpp.
|
override |
Merge all clones for given TObject*.
Definition at line 666 of file THistSvc.cpp.
|
private |
Helper method to merge THistID objects.
Definition at line 1929 of file THistSvc.cpp.
|
private |
Helper method to merge vectors of THistID.
Definition at line 1931 of file THistSvc.cpp.
|
private |
Definition at line 1634 of file THistSvc.cpp.
|
private |
Definition at line 1731 of file THistSvc.cpp.
|
private |
Definition at line 1281 of file THistSvc.cpp.
|
private |
Definition at line 215 of file THistSvc.icc.
|
private |
Definition at line 1286 of file THistSvc.cpp.
|
override |
Register a new TGraph with a given name.
Definition at line 443 of file THistSvc.cpp.
|
override |
Register an existing TGraph with a given name and moved unique_ptr.
Definition at line 449 of file THistSvc.cpp.
|
overridevirtual |
Pleas use std::unique_ptrs instead!} Register a new TGraph with a given name and a raw pointer
Definition at line 465 of file THistSvc.cpp.
|
override |
Register a new ROOT histogram TH*X with a name.
Definition at line 344 of file THistSvc.cpp.
|
override |
Register an existing ROOT histogram TH*X with name and moved unique_ptr.
| [in] | name | defines the histogram id/name under which it is recorded |
| [in] | hist | transfers ownership of the histogram to the THistSvc |
Definition at line 350 of file THistSvc.cpp.
|
override |
Register an existing ROOT histogram TH*X with name and moved unique_ptr.
| [in] | name | defines the histogram id/name under which it is recorded |
| [in] | hist | transfers ownership of the histogram to the THistSvc |
| [out] | hist_ptr | for compatibility: return raw pointer to managed object to support common usage in Athena |
Definition at line 355 of file THistSvc.cpp.
|
override |
Ownership should be clearly managed.} Register an existing ROOT histogram TH*X with name and pointer
Definition at line 364 of file THistSvc.cpp.
|
private |
Definition at line 17 of file THistSvc.icc.
|
private |
Definition at line 24 of file THistSvc.icc.
|
override |
Register shared object of type TH1 and return LockedHandle for that object.
Definition at line 492 of file THistSvc.cpp.
|
override |
Register shared object of type TH2 and return LockedHandle for that object.
Definition at line 502 of file THistSvc.cpp.
|
override |
Register shared object of type TH3 and return LockedHandle for that object.
Definition at line 512 of file THistSvc.cpp.
|
override |
Register shared object of type TGraph and return LockedHandle for that object.
Definition at line 522 of file THistSvc.cpp.
|
private |
Definition at line 272 of file THistSvc.icc.
|
override |
Register a new TTree with a given name.
Definition at line 400 of file THistSvc.cpp.
|
override |
Register an existing TTree with a given name and moved unique_ptr.
Definition at line 406 of file THistSvc.cpp.
|
override |
Pleas use std::unique_ptrs instead!} Register a new TTree with a given name and a raw pointer
Definition at line 419 of file THistSvc.cpp.
|
override |
Definition at line 180 of file THistSvc.cpp.
|
private |
Definition at line 1627 of file THistSvc.cpp.
|
private |
Definition at line 1974 of file THistSvc.cpp.
|
private |
Definition at line 1999 of file THistSvc.cpp.
|
private |
Definition at line 1802 of file THistSvc.cpp.
|
private |
call-back method to handle input stream property
Definition at line 1746 of file THistSvc.cpp.
|
private |
call-back method to handle output stream property
Definition at line 1776 of file THistSvc.cpp.
|
private |
Definition at line 1610 of file THistSvc.cpp.
|
private |
Handle case where TTree grows beyond TTree::fgMaxTreeSize.
Definition at line 1288 of file THistSvc.cpp.
|
private |
Definition at line 1370 of file THistSvc.cpp.
|
private |
list of already connected files.
This is to keep track of files registered by the setupInputFile callback method
Definition at line 231 of file THistSvc.h.
|
private |
list of already connected files.
This is to keep track of files registered by the setupOutputFile callback method
Definition at line 235 of file THistSvc.h.
|
private |
Definition at line 332 of file THistSvc.h.
|
private |
Definition at line 331 of file THistSvc.h.
|
private |
Definition at line 336 of file THistSvc.h.
|
mutableprivate |
Definition at line 349 of file THistSvc.h.
|
private |
Definition at line 346 of file THistSvc.h.
|
private |
Definition at line 255 of file THistSvc.h.
|
private |
Definition at line 257 of file THistSvc.h.
|
private |
Definition at line 248 of file THistSvc.h.
|
private |
Definition at line 250 of file THistSvc.h.
|
private |
Definition at line 338 of file THistSvc.h.
|
private |
Definition at line 334 of file THistSvc.h.
|
private |
Definition at line 347 of file THistSvc.h.
|
private |
Definition at line 337 of file THistSvc.h.
|
private |
Definition at line 333 of file THistSvc.h.
|
private |
Definition at line 227 of file THistSvc.h.
|
private |
Definition at line 260 of file THistSvc.h.
|
private |
Definition at line 345 of file THistSvc.h.
|
mutableprivate |
Definition at line 351 of file THistSvc.h.
|
private |
Definition at line 253 of file THistSvc.h.
|
private |
Definition at line 249 of file THistSvc.h.
|
private |
Definition at line 227 of file THistSvc.h.
|
private |
Definition at line 343 of file THistSvc.h.
|
private |
Definition at line 342 of file THistSvc.h.