#include "GenHists.h"
#include "Event/GenHeader.h"
#include "DetDesc/IGeometryInfo.h"
#include "DetDesc/DetectorElement.h"
#include "DetDesc/SolidBase.h"
#include "GaudiKernel/ITHistSvc.h"
#include "CLHEP/Vector/LorentzVector.h"
#include "CLHEP/Units/SystemOfUnits.h"
#include "HepMC/GenEvent.h"
#include "TH1F.h"
#include "TH2F.h"
#include "TH1I.h"
#include <string>
Include dependency graph for GenHists.cc:
Go to the source code of this file.
Defines | |
#define | REG1D(type, p, name, title, n, min, max) |
#define | REG2D(type, p, name, title, nx, minx, maxx, ny, miny, maxy) |
Value:
do { \ p = new type(name,title,n,min,max); \ string path = m_filepath + name; \ if (m_hsvc->regHist(path.c_str(),p).isFailure()) { \ error() << "Could not register \"" << path << endreq; \ delete p; p=0; \ return StatusCode::FAILURE; \ } \ } while(false)
Definition at line 57 of file GenHists.cc.
Value:
do { \ p = new type(name,title,nx,minx,maxx,ny,miny,maxy); \ string path = m_filepath + name; \ if (m_hsvc->regHist(path.c_str(),p).isFailure()) { \ error() << "Could not register \"" << path << endreq; \ delete p; p=0; \ return StatusCode::FAILURE; \ } \ } while(false)
Definition at line 67 of file GenHists.cc.