ATLAS Offline Software
APRTreeFormula.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include "TTreeFormula.h"
6 
7 class APRTreeFormula : public TTreeFormula
8 {
9 public:
10 
11  APRTreeFormula(const std::string& exp, TTree *tree) :
12  TTreeFormula("APRTreeFormula", exp.c_str(), tree),
13  m_aprConst( 0 )
14  {
15  readConstants();
16  }
17 
18  virtual ~APRTreeFormula();
19 
20  APRTreeFormula (const APRTreeFormula&) = delete;
22 
23 
24  typedef long double LDouble_t;
25 
26  void readConstants();
27  Double_t EvalInstance(Int_t instance = 0, const char *stringStackArg[]=0);
28 
29 protected:
30 
32 };
33 
APRTreeFormula::readConstants
void readConstants()
APRTreeFormula::LDouble_t
long double LDouble_t
Definition: APRTreeFormula.h:24
tree
TChain * tree
Definition: tile_monitor.h:30
APRTreeFormula::APRTreeFormula
APRTreeFormula(const APRTreeFormula &)=delete
APRTreeFormula::operator=
APRTreeFormula & operator=(const APRTreeFormula &)=delete
drawFromPickle.exp
exp
Definition: drawFromPickle.py:36
APRTreeFormula::APRTreeFormula
APRTreeFormula(const std::string &exp, TTree *tree)
Definition: APRTreeFormula.h:11
instance
std::map< std::string, double > instance
Definition: Run_To_Get_Tags.h:8
APRTreeFormula
Definition: APRTreeFormula.h:8
APRTreeFormula::EvalInstance
Double_t EvalInstance(Int_t instance=0, const char *stringStackArg[]=0)
APRTreeFormula::~APRTreeFormula
virtual ~APRTreeFormula()
APRTreeFormula::m_aprConst
LDouble_t * m_aprConst
Definition: APRTreeFormula.h:31