ATLAS Offline Software
Classes | Namespaces | Functions
generate.h File Reference
#include <cmath>
#include <vector>
#include <iostream>
#include "TH1D.h"
#include "BasicRandom.h"
Include dependency graph for generate.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  generate::generator_base
 base class for a "generator" class More...
 
class  generate::breit_generator
 breit-wigner generator More...
 
class  generate::hist_generator
 generate a distribution according to an input histogram (after smoothing) More...
 
class  generate::experiment
 given a histogram, get a generator for the distribution in that histogram, then run some pseudo-experiments and collect the mean and rms
More...
 

Namespaces

 generate
 

Functions

double generate::get_mean (const std::vector< double > &m)
 mean and rms More...
 
double generate::get_rms (const std::vector< double > &m)
 
TH1Dgenerate::integrate (TH1D *hin)
 generate an integrated distribution More...
 
void generate::ScaleIntegral (TH1D *hin)
 scale a distribution by the integral More...
 
TH1Dgenerate::PDF (TH1D *hin)
 generate a (normalised) pdf from a distribution More...
 
TH1Dgenerate::smooth (TH1D *hin, bool sym)
 smooth a distribution about the maximum NB: maximum is not smoothed More...
 

Detailed Description

Author
mark sutton
Date
Fri 11 Jan 2019 07:06:39 CET

Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration

Definition in file generate.h.