DAS  3.0
Das Analysis System
toolbox.h File Reference
#include <vector>
#include <TDirectory.h>
#include <TKey.h>
#include <TString.h>
#include "Math/VectorUtil.h"
#include "Core/Objects/interface/PhysicsObject.h"
#include <boost/exception/all.hpp>
#include <boost/iterator/counting_iterator.hpp>
+ Include dependency graph for toolbox.h:

Go to the source code of this file.

Namespaces

 DAS
 

Enumerations

enum  BinningOptions { default_def = 0b00, logarithmic = 0b01, step = 0b10 }
 

Functions

bool pt_sort (const PhysicsObject &j1, const PhysicsObject &j2)
 
template<typename T = double>
std::vector< T > MakeBinning (std::pair< T, T > range, double param, int opt=BinningOptions::default_def)
 
template<typename TTreePtr >
bool branchExists (const TTreePtr &tree, TString brName)
 
template<typename T >
std::vector< T * > GetObjects (TDirectory *dir)
 
TDirectory * GetDirectory (TDirectory *dir, const std::vector< const char * > &names)