CbmRoot
Loading...
Searching...
No Matches
CbmTrdCheckUtil Class Reference

#include <CbmTrdCheckUtil.h>

Inheritance diagram for CbmTrdCheckUtil:
[legend]
Collaboration diagram for CbmTrdCheckUtil:
[legend]

Public Member Functions

 CbmTrdCheckUtil ()
 default Constructor with messages
 
 CbmTrdCheckUtil (std::string readfile)
 
 CbmTrdCheckUtil (Double_t cal, Double_t tau, Int_t mode)
 Constructor with messages and preset reconstruction mode.
 
 CbmTrdCheckUtil (Double_t cal, Double_t tau, std::vector< Int_t > mask)
 Constructor with messages and selection mask.
 
virtual ~CbmTrdCheckUtil ()
 Destructor.
 
CbmTrdDigiMakeDigi (std::vector< Int_t > samples, Int_t channel, Int_t module, Int_t layer, ULong64_t time)
 
void SetSetter (Bool_t set)
 
void DumpPlots ()
 
void CreateHist (std::string name, Int_t xbins, Double_t xlow, Double_t xhigh, Int_t ybins=0, Double_t ylow=1., Double_t yhigh=1.)
 
void CreateHist3D (std::string name, Int_t xbins, Double_t xlow, Double_t xhigh, Int_t ybins, Double_t ylow, Double_t yhigh, Int_t zbins, Double_t zlow, Double_t zhigh)
 
void CreateProfile (std::string name, Int_t xbins, Double_t xlow, Double_t xhigh, Int_t ybins=0, Double_t ylow=1., Double_t yhigh=1.)
 
void CreateProfile3D (std::string name, Int_t xbins, Double_t xlow, Double_t xhigh, Int_t ybins, Double_t ylow, Double_t yhigh, Int_t zbins, Double_t zlow, Double_t zhigh)
 
void Fill (std::string name, Double_t x, Double_t y=9999.)
 
void FillProfile (std::string name, Double_t x, Double_t y, Double_t z=9999.)
 
void FillProfile3D (std::string name, Double_t x, Double_t y, Double_t z, Double_t w=1.)
 
void Fill (std::string name, Double_t x, Double_t y, Double_t z)
 
void Fill3D (std::string name, Double_t x, Double_t y, Double_t z)
 
void FillW (std::string name, Double_t x, Double_t w)
 
Double_t GetCont2D (std::string name, Double_t x, Double_t y)
 
Bool_t GetSetter ()
 

Public Attributes

Bool_t fSet = false
 
std::map< TString, TH1D * > f1D
 
std::map< TString, TH2D * > f2D
 
std::map< TString, TH3D * > f3D
 
std::map< TString, TProfile * > fProfile1D
 
std::map< TString, TProfile2D * > fProfile2D
 
std::map< TString, TProfile3D * > fProfile3D
 

Private Member Functions

 CbmTrdCheckUtil (const CbmTrdCheckUtil &)
 
CbmTrdCheckUtil operator= (const CbmTrdCheckUtil &)
 
 ClassDef (CbmTrdCheckUtil, 1)
 

Detailed Description

Definition at line 25 of file CbmTrdCheckUtil.h.

Constructor & Destructor Documentation

◆ CbmTrdCheckUtil() [1/5]

CbmTrdCheckUtil::CbmTrdCheckUtil ( )

default Constructor with messages

Definition at line 27 of file CbmTrdCheckUtil.cxx.

◆ CbmTrdCheckUtil() [2/5]

CbmTrdCheckUtil::CbmTrdCheckUtil ( std::string readfile)

◆ CbmTrdCheckUtil() [3/5]

CbmTrdCheckUtil::CbmTrdCheckUtil ( Double_t cal,
Double_t tau,
Int_t mode )

Constructor with messages and preset reconstruction mode.

◆ CbmTrdCheckUtil() [4/5]

CbmTrdCheckUtil::CbmTrdCheckUtil ( Double_t cal,
Double_t tau,
std::vector< Int_t > mask )

Constructor with messages and selection mask.

◆ ~CbmTrdCheckUtil()

virtual CbmTrdCheckUtil::~CbmTrdCheckUtil ( )
inlinevirtual

Destructor.

Definition at line 44 of file CbmTrdCheckUtil.h.

◆ CbmTrdCheckUtil() [5/5]

CbmTrdCheckUtil::CbmTrdCheckUtil ( const CbmTrdCheckUtil & )
private

Member Function Documentation

◆ ClassDef()

CbmTrdCheckUtil::ClassDef ( CbmTrdCheckUtil ,
1  )
private

◆ CreateHist()

void CbmTrdCheckUtil::CreateHist ( std::string name,
Int_t xbins,
Double_t xlow,
Double_t xhigh,
Int_t ybins = 0,
Double_t ylow = 1.,
Double_t yhigh = 1. )

◆ CreateHist3D()

void CbmTrdCheckUtil::CreateHist3D ( std::string name,
Int_t xbins,
Double_t xlow,
Double_t xhigh,
Int_t ybins,
Double_t ylow,
Double_t yhigh,
Int_t zbins,
Double_t zlow,
Double_t zhigh )

Definition at line 40 of file CbmTrdCheckUtil.cxx.

References f3D.

◆ CreateProfile()

void CbmTrdCheckUtil::CreateProfile ( std::string name,
Int_t xbins,
Double_t xlow,
Double_t xhigh,
Int_t ybins = 0,
Double_t ylow = 1.,
Double_t yhigh = 1. )

Definition at line 47 of file CbmTrdCheckUtil.cxx.

References fProfile1D, and fProfile2D.

Referenced by CbmTrdModuleSimR::ProcessPulseBuffer().

◆ CreateProfile3D()

void CbmTrdCheckUtil::CreateProfile3D ( std::string name,
Int_t xbins,
Double_t xlow,
Double_t xhigh,
Int_t ybins,
Double_t ylow,
Double_t yhigh,
Int_t zbins,
Double_t zlow,
Double_t zhigh )

Definition at line 57 of file CbmTrdCheckUtil.cxx.

References fProfile3D.

◆ DumpPlots()

void CbmTrdCheckUtil::DumpPlots ( )
inline

Definition at line 58 of file CbmTrdCheckUtil.h.

References f1D, f2D, f3D, fProfile1D, fProfile2D, fProfile3D, and x.

Referenced by CbmTrdDigitizer::Finish().

◆ Fill() [1/2]

void CbmTrdCheckUtil::Fill ( std::string name,
Double_t x,
Double_t y,
Double_t z )

Definition at line 106 of file CbmTrdCheckUtil.cxx.

References f2D, x, and y.

◆ Fill() [2/2]

◆ Fill3D()

void CbmTrdCheckUtil::Fill3D ( std::string name,
Double_t x,
Double_t y,
Double_t z )

Definition at line 77 of file CbmTrdCheckUtil.cxx.

References f3D, x, and y.

◆ FillProfile()

void CbmTrdCheckUtil::FillProfile ( std::string name,
Double_t x,
Double_t y,
Double_t z = 9999. )

Definition at line 88 of file CbmTrdCheckUtil.cxx.

References fProfile1D, fProfile2D, x, and y.

Referenced by CbmTrdModuleSimR::ProcessPulseBuffer().

◆ FillProfile3D()

void CbmTrdCheckUtil::FillProfile3D ( std::string name,
Double_t x,
Double_t y,
Double_t z,
Double_t w = 1. )

Definition at line 100 of file CbmTrdCheckUtil.cxx.

References fProfile3D, x, and y.

◆ FillW()

void CbmTrdCheckUtil::FillW ( std::string name,
Double_t x,
Double_t w )

Definition at line 112 of file CbmTrdCheckUtil.cxx.

References f1D, and x.

◆ GetCont2D()

Double_t CbmTrdCheckUtil::GetCont2D ( std::string name,
Double_t x,
Double_t y )
inline

Definition at line 101 of file CbmTrdCheckUtil.h.

References f2D, x, and y.

Referenced by CbmTrdRawToDigiR::FillLookUps().

◆ GetSetter()

Bool_t CbmTrdCheckUtil::GetSetter ( )
inline

Definition at line 106 of file CbmTrdCheckUtil.h.

References fSet.

◆ MakeDigi()

CbmTrdDigi * CbmTrdCheckUtil::MakeDigi ( std::vector< Int_t > samples,
Int_t channel,
Int_t module,
Int_t layer,
ULong64_t time )

◆ operator=()

CbmTrdCheckUtil CbmTrdCheckUtil::operator= ( const CbmTrdCheckUtil & )
private

◆ SetSetter()

void CbmTrdCheckUtil::SetSetter ( Bool_t set)
inline

Definition at line 57 of file CbmTrdCheckUtil.h.

References fSet.

Member Data Documentation

◆ f1D

std::map<TString, TH1D*> CbmTrdCheckUtil::f1D

Definition at line 50 of file CbmTrdCheckUtil.h.

Referenced by CreateHist(), DumpPlots(), Fill(), and FillW().

◆ f2D

std::map<TString, TH2D*> CbmTrdCheckUtil::f2D

Definition at line 51 of file CbmTrdCheckUtil.h.

Referenced by CreateHist(), DumpPlots(), Fill(), Fill(), and GetCont2D().

◆ f3D

std::map<TString, TH3D*> CbmTrdCheckUtil::f3D

Definition at line 52 of file CbmTrdCheckUtil.h.

Referenced by CreateHist3D(), DumpPlots(), and Fill3D().

◆ fProfile1D

std::map<TString, TProfile*> CbmTrdCheckUtil::fProfile1D

Definition at line 53 of file CbmTrdCheckUtil.h.

Referenced by CreateProfile(), DumpPlots(), and FillProfile().

◆ fProfile2D

std::map<TString, TProfile2D*> CbmTrdCheckUtil::fProfile2D

Definition at line 54 of file CbmTrdCheckUtil.h.

Referenced by CreateProfile(), DumpPlots(), and FillProfile().

◆ fProfile3D

std::map<TString, TProfile3D*> CbmTrdCheckUtil::fProfile3D

Definition at line 55 of file CbmTrdCheckUtil.h.

Referenced by CreateProfile3D(), DumpPlots(), and FillProfile3D().

◆ fSet

Bool_t CbmTrdCheckUtil::fSet = false

Definition at line 49 of file CbmTrdCheckUtil.h.

Referenced by GetSetter(), and SetSetter().


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