ATLAS Offline Software
Loading...
Searching...
No Matches
JetCalibUtils.h File Reference
#include "TFile.h"
#include "TTree.h"
#include "TString.h"
#include "TObjString.h"
#include "TH1.h"
#include "TH2.h"
#include "TH3.h"
#include <cmath>
#include <vector>
#include <memory>
#include "xAODTracking/Vertex.h"

Go to the source code of this file.

Namespaces

namespace  JetCalibUtils

Macros

#define CHECK_THEN_ERROR(checkcode, message)

Typedefs

typedef std::vector< TString > StrV
typedef std::vector< double > VecD

Functions

StrV JetCalibUtils::Vectorize (const TString &str, const TString &sep=" ")
VecD JetCalibUtils::VectorizeD (const TString &str, const TString &sep=" ")
std::unique_ptr< const TH1 > JetCalibUtils::GetHisto (TFile &file, const TString &hname)
std::unique_ptr< const TH2 > JetCalibUtils::GetHisto2 (TFile &file, const TString &hname)
std::unique_ptr< const TH3 > JetCalibUtils::GetHisto3 (TFile &file, const TString &hname)
TTree * JetCalibUtils::setTree (TTree *tree)
template<typename VXCONT>
int JetCalibUtils::countNPV (const VXCONT &vxCont)

Macro Definition Documentation

◆ CHECK_THEN_ERROR

#define CHECK_THEN_ERROR ( checkcode,
message )
Value:
if( checkcode ) { ATH_MSG_ERROR( message ) ; return StatusCode::FAILURE;}
#define ATH_MSG_ERROR(x)

Definition at line 20 of file JetCalibUtils.h.

Typedef Documentation

◆ StrV

typedef std::vector<TString> StrV

Definition at line 22 of file JetCalibUtils.h.

◆ VecD

typedef std::vector<double> VecD

Definition at line 23 of file JetCalibUtils.h.