g4tools
5.4.0
g4tools
tools
wroot
cids
Go to the documentation of this file.
1
// Copyright (C) 2010, Guy Barrand. All rights reserved.
2
// See the file tools.license for terms.
3
4
#ifndef tools_wroot_cids
5
#define tools_wroot_cids
6
7
// same logic as in rroot/cids.
8
9
#include "../cid"
10
11
namespace
tools
{
12
namespace
wroot {
13
14
inline
cid
base_cid
() {
return
100;}
//must be > cids in ../cids.
15
16
inline
cid
leaf_string_cid
() {
return
base_cid
()+11;}
17
inline
cid
leaf_element_cid
() {
return
base_cid
()+12;}
18
inline
cid
leaf_object_cid
() {
return
base_cid
()+13;}
19
20
inline
cid
base_leaf_cid
() {
return
base_cid
()+20;}
//+12=32
21
22
}}
23
24
#endif
tools::wroot::leaf_object_cid
cid leaf_object_cid()
Definition:
cids:18
tools::wroot::leaf_string_cid
cid leaf_string_cid()
Definition:
cids:16
tools::wroot::base_leaf_cid
cid base_leaf_cid()
Definition:
cids:20
tools::wroot::base_cid
cid base_cid()
Definition:
cids:14
tools::wroot::leaf_element_cid
cid leaf_element_cid()
Definition:
cids:17
tools
inlined C code : ///////////////////////////////////
Definition:
aida_ntuple:26
tools::cid
unsigned short cid
Definition:
cid:9
Generated by
1.8.20