All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Macros
CRTHisto.cc File Reference
#include "CRTHisto.h"
#include "TH1D.h"
#include "TH2D.h"

Go to the source code of this file.

Macros

#define CRT_HISTO2D(name, binx, lo_x, hi_x, biny, lo_y, hi_y)   name = new TH2D((#name + postfix).c_str(), #name, binx, lo_x, hi_x, biny, lo_y, hi_y); StoreHisto(name)
 
#define GET_CRT_HISTO2D(name, postfix)   name = (TH2D *) f.Get((#name + postfix).c_str()); StoreHisto(name);
 

Macro Definition Documentation

#define CRT_HISTO2D (   name,
  binx,
  lo_x,
  hi_x,
  biny,
  lo_y,
  hi_y 
)    name = new TH2D((#name + postfix).c_str(), #name, binx, lo_x, hi_x, biny, lo_y, hi_y); StoreHisto(name)
#define GET_CRT_HISTO2D (   name,
  postfix 
)    name = (TH2D *) f.Get((#name + postfix).c_str()); StoreHisto(name);