11#include <framework/gearbox/Const.h>
45 pdffile->Get(TString::Format(
"hist_d0_%d", pdgCode))->Copy(pxdhist);
49 pdffile->Get(TString::Format(
"hist_d0_%d_trunc", pdgCode))->Copy(pxdhist_trunc);
53 pdffile->Get(TString::Format(
"hist_d1_%d", pdgCode))->Copy(svdhist);
57 pdffile->Get(TString::Format(
"hist_d1_%d_trunc", pdgCode))->Copy(svdhist_trunc);
61 pdffile->Get(TString::Format(
"hist_d2_%d", pdgCode))->Copy(cdchist);
65 pdffile->Get(TString::Format(
"hist_d2_%d_trunc", pdgCode))->Copy(cdchist_trunc);
79 const TH2F*
getPXDPDF(
int part,
bool truncated)
const
88 const TH2F*
getSVDPDF(
int part,
bool truncated)
const
97 const TH2F*
getCDCPDF(
int part,
bool truncated)
const
static const unsigned int c_SetSize
Number of elements (for use in array bounds etc.)
const ParticleType & at(unsigned int index) const
Return particle at given index, or end() if out of range.
int getPDGCode() const
PDG code.
static const ParticleSet chargedStableSet
set of charged stable particles
dE/dx wire gain calibration constants
std::vector< TH2F > m_CDCpdfs_trunc
2D histograms of CDC dE/dx versus momentum
DedxPDFs(TFile *pdffile)
Constructor.
DedxPDFs()
Default constructor.
std::vector< TH2F > m_PXDpdfs
2D histograms of PXD dE/dx versus momentum
std::vector< TH2F > m_PXDpdfs_trunc
2D histograms of PXD dE/dx versus momentum
const TH2F * getPXDPDF(int part, bool truncated) const
Return pdf for the PXD dE/dx for the given particle.
std::vector< TH2F > m_CDCpdfs
2D histograms of CDC dE/dx versus momentum
ClassDef(DedxPDFs, 2)
ClassDef.
std::vector< TH2F > m_SVDpdfs_trunc
2D histograms of SVD dE/dx versus momentum
const TH2F * getCDCPDF(int part, bool truncated) const
Return pdf for the PXD dE/dx for the given particle.
std::vector< TH2F > m_SVDpdfs
2D histograms of SVD dE/dx versus momentum
const TH2F * getSVDPDF(int part, bool truncated) const
Return pdf for the PXD dE/dx for the given particle.
Abstract base class for different kinds of events.