ATLAS Offline Software
Loading...
Searching...
No Matches
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

namespace  generate

Functions

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

Variables

static const bool generate::printPad = false
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-2025 CERN for the benefit of the ATLAS collaboration

Definition in file generate.cxx.