ATLAS Offline Software
addnode.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 // emacs: this is -*- c++ -*-
5 //
6 // @file addnode.h
7 //
8 //
9 //
10 //
11 //
12 // $Id: addnode.h, v0.0 Thu 21 Apr 2016 20:31:49 CEST sutt $
13 
14 
15 #ifndef ADDNODE_H
16 #define ADDNODE_H
17 
18 #include "node.h"
19 
20 #include "TDirectory.h"
21 
23 node* subnode( node* np, const std::string& name );
24 
26 node* addnode( node* np, const std::string& name, TObject* td=0, node::TYPE t=node::DIRECTORY );
27 
28 #endif // ADDNODE_H
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
PlotPulseshapeFromCool.np
np
Definition: PlotPulseshapeFromCool.py:64
subnode
node * subnode(node *np, const std::string &name)
check if a subnode already exists
Definition: addnode.cxx:20
addnode
node * addnode(node *np, const std::string &name, TObject *td=0, node::TYPE t=node::DIRECTORY)
add a new node (or return the already existing node with this name)
Definition: addnode.cxx:28
node.h
node::DIRECTORY
@ DIRECTORY
Definition: node.h:28
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:240
node::TYPE
TYPE
Definition: node.h:28
node
Definition: node.h:24