Belle II Software development
PXDdEdxPDFs.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11/* basf2 headers. */
12#include <framework/dbobjects/dEdxPDFs.h>
13
14/* ROOT headers. */
15#include <TH2F.h>
16
17namespace Belle2 {
26 class PXDdEdxPDFs: public dEdxPDFs {
27
28 public:
29
33 PXDdEdxPDFs() = default;
34
40 const TH2F* getPXDPDF(const unsigned int hypothesis, const bool truncated) const
41 {
42 return getPDF(hypothesis, truncated);
43 }
44
45 private:
46
49
50 };
51
53}
Specialized class for holding the PXD dE/dx PDFs.
Definition: PXDdEdxPDFs.h:26
ClassDef(PXDdEdxPDFs, 1)
Class version for the ROOT streamer.
const TH2F * getPXDPDF(const unsigned int hypothesis, const bool truncated) const
Return the PXD dE/dx PDF for the given particle hypothesis.
Definition: PXDdEdxPDFs.h:40
PXDdEdxPDFs()=default
Default constructor.
Base class for holding the dE/dx PDFs.
Definition: dEdxPDFs.h:31
const TH2F * getPDF(const unsigned int hypothesis, const bool truncated) const
Return the dE/dx PDF for the given particle hypothesis.
Definition: dEdxPDFs.h:45
Abstract base class for different kinds of events.