CMS 3D CMS Logo

Classes | Namespaces | Macros | Typedefs | Functions
ttreex.h File Reference
#include <algorithm>
#include <fstream>
#include <iostream>
#include <map>
#include <string>
#include <unordered_map>
#include <vector>
#include <stdarg.h>
#include <functional>
#include <cmath>
#include <utility>
#include "TBenchmark.h"
#include "TBits.h"
#include "TChain.h"
#include "TFile.h"
#include "TTree.h"
#include "TBranch.h"
#include "TLeaf.h"
#include "TH1.h"
#include "TH1D.h"
#include "TH2D.h"
#include "TChainElement.h"
#include "TTreeCache.h"
#include "TTreePerfStats.h"
#include "TStopwatch.h"
#include "TSystem.h"
#include "TString.h"
#include "TLorentzVector.h"
#include "Math/LorentzVector.h"
#include "Math/GenVector/PtEtaPhiM4D.h"
#include "printutil.h"

Go to the source code of this file.

Classes

struct  RooUtil::TTreeX::ordering
 
class  RooUtil::TTreeX
 

Namespaces

 RooUtil
 

Macros

#define MAP   std::map
 
#define TTREEXSTRING   TString
 

Typedefs

typedef ROOT::Math::LorentzVector< ROOT::Math::PxPyPzE4D< float > > LV
 
typedef std::vector< Float_t > VFloat
 
typedef std::vector< Int_t > VInt
 

Functions

template<>
void RooUtil::TTreeX::createBranch< std::function< float()> > (TString bn, bool writeToTree)
 
template<>
void RooUtil::TTreeX::createBranch< std::map< TString, std::vector< Int_t > > > (std::map< TString, std::vector< Int_t >> &objidx)
 
template<>
void RooUtil::TTreeX::createBranch< std::vector< Bool_t > > (TString bn, bool writeToTree)
 
template<>
void RooUtil::TTreeX::createBranch< std::vector< Float_t > > (TString bn, bool writeToTree)
 
template<>
void RooUtil::TTreeX::createBranch< std::vector< Int_t > > (TString bn, bool writeToTree)
 
template<>
void RooUtil::TTreeX::createBranch< std::vector< LV > > (TString bn, bool writeToTree)
 
template<>
void RooUtil::TTreeX::createBranch< std::vector< TString > > (TString bn, bool writeToTree)
 
template<>
void RooUtil::TTreeX::createBranch< std::vector< UInt_t > > (TString bn, bool writeToTree)
 
template<>
void RooUtil::TTreeX::createBranch< std::vector< VFloat > > (TString bn, bool writeToTree)
 
template<>
void RooUtil::TTreeX::createBranch< std::vector< VInt > > (TString bn, bool writeToTree)
 
template<>
const std::function< float()> & RooUtil::TTreeX::getBranch< std::function< float()> > (TString bn, bool check)
 
template<>
const std::vector< Bool_t > & RooUtil::TTreeX::getBranch< std::vector< Bool_t > > (TString bn, bool check)
 
template<>
const std::vector< Float_t > & RooUtil::TTreeX::getBranch< std::vector< Float_t > > (TString bn, bool check)
 
template<>
const std::vector< Int_t > & RooUtil::TTreeX::getBranch< std::vector< Int_t > > (TString bn, bool check)
 
template<>
const std::vector< LV > & RooUtil::TTreeX::getBranch< std::vector< LV > > (TString bn, bool check)
 
template<>
const std::vector< TString > & RooUtil::TTreeX::getBranch< std::vector< TString > > (TString bn, bool check)
 
template<>
const std::vector< UInt_t > & RooUtil::TTreeX::getBranch< std::vector< UInt_t > > (TString bn, bool check)
 
template<>
const std::vector< VFloat > & RooUtil::TTreeX::getBranch< std::vector< VFloat > > (TString bn, bool check)
 
template<>
const std::vector< VInt > & RooUtil::TTreeX::getBranch< std::vector< VInt > > (TString bn, bool check)
 
template<>
const std::function< float()> & RooUtil::TTreeX::getBranchLazy< std::function< float()> > (TString bn)
 
template<>
const std::vector< Bool_t > & RooUtil::TTreeX::getBranchLazy< std::vector< Bool_t > > (TString bn)
 
template<>
const std::vector< Float_t > & RooUtil::TTreeX::getBranchLazy< std::vector< Float_t > > (TString bn)
 
template<>
const std::vector< Int_t > & RooUtil::TTreeX::getBranchLazy< std::vector< Int_t > > (TString bn)
 
template<>
const std::vector< LV > & RooUtil::TTreeX::getBranchLazy< std::vector< LV > > (TString bn)
 
template<>
const std::vector< TString > & RooUtil::TTreeX::getBranchLazy< std::vector< TString > > (TString bn)
 
template<>
const std::vector< UInt_t > & RooUtil::TTreeX::getBranchLazy< std::vector< UInt_t > > (TString bn)
 
template<>
const std::vector< VFloat > & RooUtil::TTreeX::getBranchLazy< std::vector< VFloat > > (TString bn)
 
template<>
const std::vector< VInt > & RooUtil::TTreeX::getBranchLazy< std::vector< VInt > > (TString bn)
 
template<>
bool RooUtil::TTreeX::hasBranch< std::function< float()> > (TString bn)
 
template<>
bool RooUtil::TTreeX::hasBranch< std::vector< Bool_t > > (TString bn)
 
template<>
bool RooUtil::TTreeX::hasBranch< std::vector< Float_t > > (TString bn)
 
template<>
bool RooUtil::TTreeX::hasBranch< std::vector< Int_t > > (TString bn)
 
template<>
bool RooUtil::TTreeX::hasBranch< std::vector< LV > > (TString bn)
 
template<>
bool RooUtil::TTreeX::hasBranch< std::vector< TString > > (TString bn)
 
template<>
bool RooUtil::TTreeX::hasBranch< std::vector< UInt_t > > (TString bn)
 
template<>
bool RooUtil::TTreeX::hasBranch< std::vector< VFloat > > (TString bn)
 
template<>
bool RooUtil::TTreeX::hasBranch< std::vector< VInt > > (TString bn)
 
template<>
bool RooUtil::TTreeX::isBranchSet< std::function< float()> > (TString bn)
 
template<>
bool RooUtil::TTreeX::isBranchSet< std::vector< Bool_t > > (TString bn)
 
template<>
bool RooUtil::TTreeX::isBranchSet< std::vector< Float_t > > (TString bn)
 
template<>
bool RooUtil::TTreeX::isBranchSet< std::vector< Int_t > > (TString bn)
 
template<>
bool RooUtil::TTreeX::isBranchSet< std::vector< LV > > (TString bn)
 
template<>
bool RooUtil::TTreeX::isBranchSet< std::vector< TString > > (TString bn)
 
template<>
bool RooUtil::TTreeX::isBranchSet< std::vector< UInt_t > > (TString bn)
 
template<>
bool RooUtil::TTreeX::isBranchSet< std::vector< VFloat > > (TString bn)
 
template<>
bool RooUtil::TTreeX::isBranchSet< std::vector< VInt > > (TString bn)
 
template<>
void RooUtil::TTreeX::setBranch< std::function< float()> > (TString bn, std::function< float()> val, bool force, bool ignore)
 
template<>
void RooUtil::TTreeX::setBranch< std::map< TString, std::vector< Int_t > > > (std::map< TString, std::vector< Int_t >> &objidx)
 
template<>
void RooUtil::TTreeX::setBranch< std::vector< Bool_t > > (TString bn, std::vector< Bool_t > val, bool force, bool ignore)
 
template<>
void RooUtil::TTreeX::setBranch< std::vector< Float_t > > (TString bn, std::vector< Float_t > val, bool force, bool ignore)
 
template<>
void RooUtil::TTreeX::setBranch< std::vector< Int_t > > (TString bn, std::vector< Int_t > val, bool force, bool ignore)
 
template<>
void RooUtil::TTreeX::setBranch< std::vector< LV > > (TString bn, std::vector< LV > val, bool force, bool ignore)
 
template<>
void RooUtil::TTreeX::setBranch< std::vector< TString > > (TString bn, std::vector< TString > val, bool force, bool ignore)
 
template<>
void RooUtil::TTreeX::setBranch< std::vector< UInt_t > > (TString bn, std::vector< UInt_t > val, bool force, bool ignore)
 
template<>
void RooUtil::TTreeX::setBranch< std::vector< VFloat > > (TString bn, std::vector< VFloat > val, bool force, bool ignore)
 
template<>
void RooUtil::TTreeX::setBranch< std::vector< VInt > > (TString bn, std::vector< VInt > val, bool force, bool ignore)
 

Macro Definition Documentation

◆ MAP

#define MAP   std::map

Definition at line 45 of file ttreex.h.

◆ TTREEXSTRING

#define TTREEXSTRING   TString

Definition at line 47 of file ttreex.h.

Typedef Documentation

◆ LV

typedef ROOT::Math::LorentzVector<ROOT::Math::PxPyPzE4D<float> > LV

Definition at line 55 of file ttreex.h.

◆ VFloat

typedef std::vector<Float_t> VFloat

Definition at line 59 of file ttreex.h.

◆ VInt

typedef std::vector<Int_t> VInt

Definition at line 58 of file ttreex.h.