Fork me on GitHub

Changeset 3b3071a in git for external/ExRootAnalysis


Ignore:
Timestamp:
Apr 17, 2021, 10:28:12 AM (4 years ago)
Author:
Michele Selvaggi <michele.selvaggi@…>
Branches:
master
Children:
27197df
Parents:
9e08f27 (diff), 64294db (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of https://github.com/delphes/delphes

Location:
external/ExRootAnalysis
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • external/ExRootAnalysis/CMakeLists.txt

    r9e08f27 r3b3071a  
    66file(GLOB sources *.cc)
    77file(GLOB headers *.h)
     8
    89list(REMOVE_ITEM headers ${CMAKE_CURRENT_SOURCE_DIR}/ExRootAnalysisLinkDef.h)
    910
    10 DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict ${headers} LINKDEF ExRootAnalysisLinkDef.h)
     11# the macro invocation for ROOT6 ensures that the headers are relocatable
     12if (NOT ${ROOT_VERSION} VERSION_LESS "6.0.0")
     13  DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict
     14    ExRootAnalysis/ExRootClassifier.h
     15    ExRootAnalysis/ExRootConfReader.h
     16    ExRootAnalysis/ExRootFilter.h
     17    ExRootAnalysis/ExRootProgressBar.h
     18    ExRootAnalysis/ExRootResult.h
     19    ExRootAnalysis/ExRootTask.h
     20    ExRootAnalysis/ExRootTreeBranch.h
     21    ExRootAnalysis/ExRootTreeReader.h
     22    ExRootAnalysis/ExRootTreeWriter.h
     23    ExRootAnalysis/ExRootUtilities.h
     24    LINKDEF ExRootAnalysisLinkDef.h)
     25else()
     26  # for ROOT5 the above fails, keep the following as workaround
     27  DELPHES_GENERATE_DICTIONARY(ExRootAnalysisDict ${headers} LINKDEF ExRootAnalysisLinkDef.h)
     28endif()
    1129
    1230add_library(ExRootAnalysis OBJECT ${sources} ExRootAnalysisDict.cxx)
  • external/ExRootAnalysis/ExRootTreeWriter.h

    r9e08f27 r3b3071a  
    2828  void SetTreeName(const char *name) { fTreeName = name; }
    2929
     30  TTree* GetTree() { return fTree; }
     31  void SetTree(TTree* t) { fTree = t; }
     32
    3033  ExRootTreeBranch *NewBranch(const char *name, TClass *cl);
    3134  void AddInfo(const char *name, Double_t value);
Note: See TracChangeset for help on using the changeset viewer.