| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

GenHists.cc File Reference

#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)

Define Documentation

#define REG1D ( type,
p,
name,
title,
n,
min,
max   ) 

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.

#define REG2D ( type,
p,
name,
title,
nx,
minx,
maxx,
ny,
miny,
maxy   ) 

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.

| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:57:28 2011 for SimHistsExample by doxygen 1.4.7