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  Resplot
namespace  Resplot::generate

Functions

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

Variables

static const bool Resplot::generate::printPad = false
const int Resplot::generate::Nevent_min = 0
const int Resplot::generate::Nevent_max = 5000
const double Resplot::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.