ATLAS Offline Software
Namespaces | Functions | Variables
generate.cxx File Reference
#include <cmath>
#include <vector>
#include <string>
#include <iostream>
#include "TFile.h"
#include "TH1D.h"
#include "TPad.h"
#include "TStyle.h"
#include "BasicRandom.h"
#include "generate.h"
#include "rmsFrac.h"

Go to the source code of this file.

Namespaces

 generate
 

Functions

void generate::Zero (TH1D *hin)
 
double generate::Entries (TH1D *hin)
 
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...
 
double generate::Gradient (TH1D *hin)
 
int generate::iGradient (TH1D *hin)
 
TH1Dgenerate::smooth (TH1D *hin, bool sym)
 smooth a distribution about the maximum NB: maximum is not smoothed More...
 

Variables

int generate::Nevent_min = 0
 
int generate::Nevent_max = 5000
 
const double generate::frac = 0.95
 

Detailed Description

Author
mark sutton
Date
Fri 11 Jan 2019 07:41:26 CET

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

Definition in file generate.cxx.