CbmRoot
CbmTrdOccupancyQa Class Reference

#include <CbmTrdOccupancyQa.h>

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

Public Member Functions

 CbmTrdOccupancyQa ()
 
 CbmTrdOccupancyQa (const char *name, const char *title="CBM Task", const char *geo="", Double_t triggerThreshold=1.0e-6, Bool_t plotMergedResults=false)
 
virtual ~CbmTrdOccupancyQa ()
 
virtual InitStatus ReInit ()
 
virtual InitStatus Init ()
 
virtual void SetParContainers ()
 
virtual void Exec (Option_t *option)
 
virtual void FinishEvent ()
 
virtual void FinishTask ()
 
void Register ()
 
void SaveHistos2File ()
 
void CreateLayerView ()
 
void SwitchToMergedFile ()
 
void CopyEvent2MemoryMap ()
 
void SetNeighbourReadout (Bool_t neighbourReadout)
 
void SetTriggerThreshold (Double_t triggerthreshold)
 
void SetNeighbourTrigger (Bool_t trigger)
 

Private Member Functions

CbmTrdOccupancyQaoperator= (const CbmTrdOccupancyQa &)
 
 CbmTrdOccupancyQa (const CbmTrdOccupancyQa &)
 

Private Attributes

TClonesArray * fClusters
 
CbmTrdParSetDigifDigiPar
 
CbmTrdParSetGeofGeoPar
 
CbmTrdGeoHandlerfGeoHandler
 
TH1I * fDigiChargeSpectrum
 
TH2I * fLayerDummy
 
Double_t fmin
 
Double_t fmax
 
std::map< Int_t, OccupancyModule * > fModuleMap
 
std::map< Int_t, OccupancyModule * >::iterator fModuleMapIt
 
std::map< Int_t, TH2I * > fModuleOccupancyMap
 
std::map< Int_t, TH2I * >::iterator fModuleOccupancyMapIt
 
std::map< Int_t, TH1F * > fModuleOccupancyMemoryMap
 
std::map< Int_t, TH1F * >::iterator fModuleOccupancyMemoryMapIt
 
std::map< Int_t, TCanvas * > fLayerOccupancyMap
 
std::map< Int_t, TCanvas * >::iterator fLayerOccupancyMapIt
 
std::map< Int_t, TProfile * > fLayerAverageOccupancyMap
 
std::map< Int_t, TProfile * >::iterator fLayerAverageOccupancyMapIt
 
Double_t fTriggerThreshold
 
Bool_t fNeigbourReadout
 
Bool_t fPlotMergedResults
 
TString fGeo
 

Detailed Description

Definition at line 76 of file CbmTrdOccupancyQa.h.

Constructor & Destructor Documentation

◆ CbmTrdOccupancyQa() [1/3]

CbmTrdOccupancyQa::CbmTrdOccupancyQa ( )

Definition at line 42 of file CbmTrdOccupancyQa.cxx.

◆ CbmTrdOccupancyQa() [2/3]

CbmTrdOccupancyQa::CbmTrdOccupancyQa ( const char *  name,
const char *  title = "CBM Task",
const char *  geo = "",
Double_t  triggerThreshold = 1.0e-6,
Bool_t  plotMergedResults = false 
)

Definition at line 45 of file CbmTrdOccupancyQa.cxx.

References fLayerDummy, fmax, fmin, fModuleOccupancyMap, and fModuleOccupancyMapIt.

◆ ~CbmTrdOccupancyQa()

◆ CbmTrdOccupancyQa() [3/3]

CbmTrdOccupancyQa::CbmTrdOccupancyQa ( const CbmTrdOccupancyQa )
private

Member Function Documentation

◆ CopyEvent2MemoryMap()

void CbmTrdOccupancyQa::CopyEvent2MemoryMap ( )

◆ CreateLayerView()

◆ Exec()

◆ FinishEvent()

void CbmTrdOccupancyQa::FinishEvent ( )
virtual

Definition at line 385 of file CbmTrdOccupancyQa.cxx.

References fClusters, fModuleOccupancyMap, and fModuleOccupancyMapIt.

◆ FinishTask()

void CbmTrdOccupancyQa::FinishTask ( )
virtual

Definition at line 396 of file CbmTrdOccupancyQa.cxx.

References CreateLayerView(), and SaveHistos2File().

◆ Init()

InitStatus CbmTrdOccupancyQa::Init ( )
virtual

◆ operator=()

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

◆ Register()

void CbmTrdOccupancyQa::Register ( )

Definition at line 401 of file CbmTrdOccupancyQa.cxx.

◆ ReInit()

InitStatus CbmTrdOccupancyQa::ReInit ( )
virtual

Definition at line 141 of file CbmTrdOccupancyQa.cxx.

References fDigiPar, and fGeoPar.

◆ SaveHistos2File()

void CbmTrdOccupancyQa::SaveHistos2File ( )

◆ SetNeighbourReadout()

void CbmTrdOccupancyQa::SetNeighbourReadout ( Bool_t  neighbourReadout)

Definition at line 650 of file CbmTrdOccupancyQa.cxx.

References fNeigbourReadout.

◆ SetNeighbourTrigger()

void CbmTrdOccupancyQa::SetNeighbourTrigger ( Bool_t  trigger)

Definition at line 170 of file CbmTrdOccupancyQa.cxx.

References fNeigbourReadout.

◆ SetParContainers()

void CbmTrdOccupancyQa::SetParContainers ( )
virtual

Definition at line 132 of file CbmTrdOccupancyQa.cxx.

References fDigiPar, and fGeoPar.

◆ SetTriggerThreshold()

void CbmTrdOccupancyQa::SetTriggerThreshold ( Double_t  triggerthreshold)

Definition at line 653 of file CbmTrdOccupancyQa.cxx.

References fTriggerThreshold.

◆ SwitchToMergedFile()

void CbmTrdOccupancyQa::SwitchToMergedFile ( )

Definition at line 425 of file CbmTrdOccupancyQa.cxx.

References fModuleOccupancyMap, and fModuleOccupancyMapIt.

Referenced by CreateLayerView().

Member Data Documentation

◆ fClusters

TClonesArray* CbmTrdOccupancyQa::fClusters
private

Definition at line 105 of file CbmTrdOccupancyQa.h.

Referenced by Exec(), FinishEvent(), Init(), and ~CbmTrdOccupancyQa().

◆ fDigiChargeSpectrum

TH1I* CbmTrdOccupancyQa::fDigiChargeSpectrum
private

Definition at line 109 of file CbmTrdOccupancyQa.h.

Referenced by Exec(), SaveHistos2File(), and ~CbmTrdOccupancyQa().

◆ fDigiPar

CbmTrdParSetDigi* CbmTrdOccupancyQa::fDigiPar
private

Definition at line 106 of file CbmTrdOccupancyQa.h.

Referenced by Exec(), ReInit(), SetParContainers(), and ~CbmTrdOccupancyQa().

◆ fGeo

TString CbmTrdOccupancyQa::fGeo
private

Definition at line 126 of file CbmTrdOccupancyQa.h.

Referenced by CreateLayerView().

◆ fGeoHandler

CbmTrdGeoHandler* CbmTrdOccupancyQa::fGeoHandler
private

Definition at line 108 of file CbmTrdOccupancyQa.h.

Referenced by Init().

◆ fGeoPar

CbmTrdParSetGeo* CbmTrdOccupancyQa::fGeoPar
private

Definition at line 107 of file CbmTrdOccupancyQa.h.

Referenced by Exec(), ReInit(), and SetParContainers().

◆ fLayerAverageOccupancyMap

std::map<Int_t, TProfile*> CbmTrdOccupancyQa::fLayerAverageOccupancyMap
private

Definition at line 121 of file CbmTrdOccupancyQa.h.

Referenced by CopyEvent2MemoryMap(), CreateLayerView(), and Exec().

◆ fLayerAverageOccupancyMapIt

std::map<Int_t, TProfile*>::iterator CbmTrdOccupancyQa::fLayerAverageOccupancyMapIt
private

Definition at line 122 of file CbmTrdOccupancyQa.h.

Referenced by CreateLayerView().

◆ fLayerDummy

TH2I* CbmTrdOccupancyQa::fLayerDummy
private

Definition at line 110 of file CbmTrdOccupancyQa.h.

Referenced by CbmTrdOccupancyQa(), Exec(), and ~CbmTrdOccupancyQa().

◆ fLayerOccupancyMap

std::map<Int_t, TCanvas*> CbmTrdOccupancyQa::fLayerOccupancyMap
private

Definition at line 119 of file CbmTrdOccupancyQa.h.

Referenced by CreateLayerView(), Exec(), and ~CbmTrdOccupancyQa().

◆ fLayerOccupancyMapIt

std::map<Int_t, TCanvas*>::iterator CbmTrdOccupancyQa::fLayerOccupancyMapIt
private

Definition at line 120 of file CbmTrdOccupancyQa.h.

Referenced by CreateLayerView(), and ~CbmTrdOccupancyQa().

◆ fmax

Double_t CbmTrdOccupancyQa::fmax
private

Definition at line 112 of file CbmTrdOccupancyQa.h.

Referenced by CbmTrdOccupancyQa(), and CreateLayerView().

◆ fmin

Double_t CbmTrdOccupancyQa::fmin
private

Definition at line 111 of file CbmTrdOccupancyQa.h.

Referenced by CbmTrdOccupancyQa(), and CreateLayerView().

◆ fModuleMap

std::map<Int_t, OccupancyModule*> CbmTrdOccupancyQa::fModuleMap
private

◆ fModuleMapIt

std::map<Int_t, OccupancyModule*>::iterator CbmTrdOccupancyQa::fModuleMapIt
private

Definition at line 114 of file CbmTrdOccupancyQa.h.

Referenced by ~CbmTrdOccupancyQa().

◆ fModuleOccupancyMap

std::map<Int_t, TH2I*> CbmTrdOccupancyQa::fModuleOccupancyMap
private

◆ fModuleOccupancyMapIt

std::map<Int_t, TH2I*>::iterator CbmTrdOccupancyQa::fModuleOccupancyMapIt
private

◆ fModuleOccupancyMemoryMap

std::map<Int_t, TH1F*> CbmTrdOccupancyQa::fModuleOccupancyMemoryMap
private

◆ fModuleOccupancyMemoryMapIt

std::map<Int_t, TH1F*>::iterator CbmTrdOccupancyQa::fModuleOccupancyMemoryMapIt
private

Definition at line 118 of file CbmTrdOccupancyQa.h.

Referenced by CreateLayerView(), SaveHistos2File(), and ~CbmTrdOccupancyQa().

◆ fNeigbourReadout

Bool_t CbmTrdOccupancyQa::fNeigbourReadout
private

Definition at line 124 of file CbmTrdOccupancyQa.h.

Referenced by Exec(), SetNeighbourReadout(), and SetNeighbourTrigger().

◆ fPlotMergedResults

Bool_t CbmTrdOccupancyQa::fPlotMergedResults
private

Definition at line 125 of file CbmTrdOccupancyQa.h.

Referenced by CreateLayerView().

◆ fTriggerThreshold

Double_t CbmTrdOccupancyQa::fTriggerThreshold
private

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