ATLAS Offline Software
Loading...
Searching...
No Matches
NtupleVars.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4
7
8#include "TTree.h"
9#include <iostream>
10
11namespace VKalVrtAthena {
12
13 //____________________________________________________________________________________________________
14 NtupleVars::NtupleVars() = default;
15
16 //____________________________________________________________________________________________________
17 NtupleVars::~NtupleVars() = default;
18
19 //____________________________________________________________________________________________________
21
22
23 //____________________________________________________________________________________________________
25
26
27 //____________________________________________________________________________________________________
29
30 for( const auto& pair : m_varHolder ) {
31 pair.second->branch_tree( pair.first, tree );
32 }
33
34 /*
35 for( auto *layer : m_RecoTrk_Int ) {
36 layer->setBranchAddress( tree, "RecoTrk_Int" );
37 }
38 */
39
40 /*
41 for( auto *layer : m_SVTrk_Int ) {
42 layer->setBranchAddress( tree, "SVTrk" );
43 }
44 */
45
46
47 }
48
49 //____________________________________________________________________________________________________
51 for( auto& pair : m_varHolder ) {
52 pair.second->clear();
53 }
54
55 // for( auto *layer : m_RecoTrk_Int ) {
56 // layer->clear();
57 // }
58
59 // for( auto *layer : m_SVTrk_Int ) {
60 // layer->clear();
61 // }
62
63 }
64
65}
std::map< std::string, BaseHolder * > m_varHolder
Definition NtupleVars.h:119
void branchNtuple(TTree *tree)
TChain * tree