CbmRoot
Loading...
Searching...
No Matches
cbm::explore::Histograms Class Reference

#include <Histograms.h>

Inheritance diagram for cbm::explore::Histograms:
[legend]
Collaboration diagram for cbm::explore::Histograms:
[legend]

Public Member Functions

 Histograms ()
 
virtual ~Histograms ()
 
void FillHistos (HistoData fill) override
 
void Reset ()
 Clear all histograms.
 
TH1 * GetHisto (const std::string &name) const
 
std::string GetHistoPath (const std::string &name) const
 
std::vector< HistoGetHistos () const
 
std::vector< FolderGetFolders () const
 
void Div (const HistogramCollection &other)
 

Protected Member Functions

template<typename Histo_t >
void CreateHisto (Histo_t *&histo, const char *folder, const char *name, const char *title, int nbins, double xlow, double xmax)
 
void CreateFolder (const char *path, const char *name)
 

Private Attributes

TH1I * fHStsDigisTime = nullptr
 
TH1I * fHStsClustersTime = nullptr
 
TH1F * fHStsHitsX = nullptr
 
TH1F * fHStsHitsY = nullptr
 
TH1F * fHStsHitsZ = nullptr
 
TH1I * fHStsHitsTime = nullptr
 
TH1F * fHStsHitsDx = nullptr
 
TH1F * fHStsHitsDy = nullptr
 
TH1F * fHStsHitsDxy = nullptr
 
TH1F * fHStsHitsTimeError = nullptr
 
TH1F * fHStsHitsDu = nullptr
 
TH1F * fHStsHitsDv = nullptr
 
TH1I * fHNHitsFromCluster = nullptr
 
std::vector< FolderfFolders
 
std::vector< HistofHistos
 

Detailed Description

Definition at line 14 of file Histograms.h.

Constructor & Destructor Documentation

◆ Histograms()

◆ ~Histograms()

virtual cbm::explore::Histograms::~Histograms ( )
inlinevirtual

Definition at line 19 of file Histograms.h.

Member Function Documentation

◆ CreateFolder()

void HistogramCollection::CreateFolder ( const char * path,
const char * name )
protectedinherited

Definition at line 51 of file HistogramCollection.cxx.

References cbm::explore::HistogramCollection::fFolders.

Referenced by Histograms().

◆ CreateHisto()

template<typename Histo_t >
void cbm::explore::HistogramCollection::CreateHisto ( Histo_t *& histo,
const char * folder,
const char * name,
const char * title,
int nbins,
double xlow,
double xmax )
inlineprotectedinherited

Definition at line 63 of file HistogramCollection.h.

References cbm::explore::HistogramCollection::fHistos.

Referenced by Histograms().

◆ Div()

void HistogramCollection::Div ( const HistogramCollection & other)
inherited

◆ FillHistos()

◆ GetFolders()

std::vector< Folder > cbm::explore::HistogramCollection::GetFolders ( ) const
inlineinherited

Definition at line 55 of file HistogramCollection.h.

References cbm::explore::HistogramCollection::fFolders.

◆ GetHisto()

TH1 * HistogramCollection::GetHisto ( const std::string & name) const
inherited

◆ GetHistoPath()

std::string HistogramCollection::GetHistoPath ( const std::string & name) const
inherited

◆ GetHistos()

std::vector< Histo > cbm::explore::HistogramCollection::GetHistos ( ) const
inlineinherited

Definition at line 53 of file HistogramCollection.h.

References cbm::explore::HistogramCollection::fHistos.

◆ Reset()

void HistogramCollection::Reset ( )
inherited

Clear all histograms.

Definition at line 14 of file HistogramCollection.cxx.

References cbm::explore::HistogramCollection::fHistos.

Member Data Documentation

◆ fFolders

std::vector<Folder> cbm::explore::HistogramCollection::fFolders
privateinherited

◆ fHistos

◆ fHNHitsFromCluster

TH1I* cbm::explore::Histograms::fHNHitsFromCluster = nullptr
private

Definition at line 42 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsClustersTime

TH1I* cbm::explore::Histograms::fHStsClustersTime = nullptr
private

Definition at line 28 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsDigisTime

TH1I* cbm::explore::Histograms::fHStsDigisTime = nullptr
private

Definition at line 25 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsDu

TH1F* cbm::explore::Histograms::fHStsHitsDu = nullptr
private

Definition at line 39 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsDv

TH1F* cbm::explore::Histograms::fHStsHitsDv = nullptr
private

Definition at line 40 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsDx

TH1F* cbm::explore::Histograms::fHStsHitsDx = nullptr
private

Definition at line 35 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsDxy

TH1F* cbm::explore::Histograms::fHStsHitsDxy = nullptr
private

Definition at line 37 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsDy

TH1F* cbm::explore::Histograms::fHStsHitsDy = nullptr
private

Definition at line 36 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsTime

TH1I* cbm::explore::Histograms::fHStsHitsTime = nullptr
private

Definition at line 34 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsTimeError

TH1F* cbm::explore::Histograms::fHStsHitsTimeError = nullptr
private

Definition at line 38 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsX

TH1F* cbm::explore::Histograms::fHStsHitsX = nullptr
private

Definition at line 31 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsY

TH1F* cbm::explore::Histograms::fHStsHitsY = nullptr
private

Definition at line 32 of file Histograms.h.

Referenced by FillHistos(), and Histograms().

◆ fHStsHitsZ

TH1F* cbm::explore::Histograms::fHStsHitsZ = nullptr
private

Definition at line 33 of file Histograms.h.

Referenced by FillHistos(), and Histograms().


The documentation for this class was generated from the following files: