CbmRoot
|
#include <CbmTrdOccupancyQa.h>
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 | |
CbmTrdOccupancyQa & | operator= (const CbmTrdOccupancyQa &) |
CbmTrdOccupancyQa (const CbmTrdOccupancyQa &) | |
Private Attributes | |
TClonesArray * | fClusters |
CbmTrdParSetDigi * | fDigiPar |
CbmTrdParSetGeo * | fGeoPar |
CbmTrdGeoHandler * | fGeoHandler |
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 |
Definition at line 81 of file CbmTrdOccupancyQa.h.
CbmTrdOccupancyQa::CbmTrdOccupancyQa | ( | ) |
Definition at line 45 of file CbmTrdOccupancyQa.cxx.
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 47 of file CbmTrdOccupancyQa.cxx.
References fLayerDummy, fmax, fmin, fModuleOccupancyMap, and fModuleOccupancyMapIt.
|
virtual |
Definition at line 92 of file CbmTrdOccupancyQa.cxx.
References CbmTrdParSetDigi::clear(), fClusters, fDigiChargeSpectrum, fDigiPar, fLayerDummy, fLayerOccupancyMap, fLayerOccupancyMapIt, fModuleMap, fModuleMapIt, fModuleOccupancyMap, fModuleOccupancyMapIt, fModuleOccupancyMemoryMap, and fModuleOccupancyMemoryMapIt.
|
private |
void CbmTrdOccupancyQa::CopyEvent2MemoryMap | ( | ) |
Definition at line 384 of file CbmTrdOccupancyQa.cxx.
References fLayerAverageOccupancyMap, fModuleMap, fModuleOccupancyMap, fModuleOccupancyMapIt, fModuleOccupancyMemoryMap, and fTriggerThreshold.
Referenced by Exec().
void CbmTrdOccupancyQa::CreateLayerView | ( | ) |
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 425 of file CbmTrdOccupancyQa.cxx.
References counter, fGeo, fLayerAverageOccupancyMap, fLayerAverageOccupancyMapIt, fLayerOccupancyMap, fLayerOccupancyMapIt, fmax, fmin, fModuleMap, fModuleOccupancyMemoryMap, fModuleOccupancyMemoryMapIt, fPlotMergedResults, fTriggerThreshold, and SwitchToMergedFile().
Referenced by FinishTask().
|
virtual |
Definition at line 171 of file CbmTrdOccupancyQa.cxx.
References CopyEvent2MemoryMap(), fClusters, fDigiChargeSpectrum, fDigiPar, fGeoPar, fLayerAverageOccupancyMap, fLayerDummy, fLayerOccupancyMap, fModuleMap, fModuleOccupancyMap, fModuleOccupancyMemoryMap, fNeigbourReadout, fTriggerThreshold, CbmDigiManager::Get(), CbmTrdDigi::GetAddress(), CbmTrdDigi::GetCharge(), CbmTrdAddress::GetColumnId(), CbmCluster::GetDigi(), CbmTrdAddress::GetLayerId(), CbmTrdAddress::GetModuleAddress(), CbmTrdParSet::GetModulePar(), CbmTrdParModDigi::GetModuleRow(), CbmTrdParModDigi::GetNofColumns(), CbmCluster::GetNofDigis(), CbmDigiManager::GetNofDigis(), CbmTrdParModDigi::GetNofRows(), CbmTrdAddress::GetRowId(), CbmTrdAddress::GetSectorId(), CbmTrdParModDigi::GetSizeX(), CbmTrdParModDigi::GetSizeY(), CbmTrdParModGeo::GetX(), CbmTrdParModGeo::GetY(), CbmDigiManager::Instance(), and kTrd.
|
virtual |
Definition at line 361 of file CbmTrdOccupancyQa.cxx.
References fClusters, fModuleOccupancyMap, and fModuleOccupancyMapIt.
|
virtual |
Definition at line 372 of file CbmTrdOccupancyQa.cxx.
References CreateLayerView(), and SaveHistos2File().
|
virtual |
Definition at line 149 of file CbmTrdOccupancyQa.cxx.
References fClusters, fGeoHandler, CbmDigiManager::Init(), CbmTrdGeoHandler::Init(), CbmDigiManager::Instance(), and kTrd.
|
private |
void CbmTrdOccupancyQa::Register | ( | ) |
Definition at line 378 of file CbmTrdOccupancyQa.cxx.
|
virtual |
Definition at line 137 of file CbmTrdOccupancyQa.cxx.
void CbmTrdOccupancyQa::SaveHistos2File | ( | ) |
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 630 of file CbmTrdOccupancyQa.cxx.
References fDigiChargeSpectrum, fModuleOccupancyMemoryMap, and fModuleOccupancyMemoryMapIt.
Referenced by FinishTask().
void CbmTrdOccupancyQa::SetNeighbourReadout | ( | Bool_t | neighbourReadout | ) |
Definition at line 628 of file CbmTrdOccupancyQa.cxx.
References fNeigbourReadout.
void CbmTrdOccupancyQa::SetNeighbourTrigger | ( | Bool_t | trigger | ) |
Definition at line 168 of file CbmTrdOccupancyQa.cxx.
References fNeigbourReadout.
|
virtual |
Definition at line 127 of file CbmTrdOccupancyQa.cxx.
void CbmTrdOccupancyQa::SetTriggerThreshold | ( | Double_t | triggerthreshold | ) |
Definition at line 629 of file CbmTrdOccupancyQa.cxx.
References fTriggerThreshold.
void CbmTrdOccupancyQa::SwitchToMergedFile | ( | ) |
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 399 of file CbmTrdOccupancyQa.cxx.
References fModuleOccupancyMap, and fModuleOccupancyMapIt.
Referenced by CreateLayerView().
|
private |
Definition at line 107 of file CbmTrdOccupancyQa.h.
Referenced by Exec(), FinishEvent(), Init(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 111 of file CbmTrdOccupancyQa.h.
Referenced by Exec(), SaveHistos2File(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 108 of file CbmTrdOccupancyQa.h.
Referenced by Exec(), ReInit(), SetParContainers(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 128 of file CbmTrdOccupancyQa.h.
Referenced by CreateLayerView().
|
private |
Definition at line 110 of file CbmTrdOccupancyQa.h.
Referenced by Init().
|
private |
Definition at line 109 of file CbmTrdOccupancyQa.h.
Referenced by Exec(), ReInit(), and SetParContainers().
|
private |
Definition at line 123 of file CbmTrdOccupancyQa.h.
Referenced by CopyEvent2MemoryMap(), CreateLayerView(), and Exec().
|
private |
Definition at line 124 of file CbmTrdOccupancyQa.h.
Referenced by CreateLayerView().
|
private |
Definition at line 112 of file CbmTrdOccupancyQa.h.
Referenced by CbmTrdOccupancyQa(), Exec(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 121 of file CbmTrdOccupancyQa.h.
Referenced by CreateLayerView(), Exec(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 122 of file CbmTrdOccupancyQa.h.
Referenced by CreateLayerView(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 114 of file CbmTrdOccupancyQa.h.
Referenced by CbmTrdOccupancyQa(), and CreateLayerView().
|
private |
Definition at line 113 of file CbmTrdOccupancyQa.h.
Referenced by CbmTrdOccupancyQa(), and CreateLayerView().
|
private |
Definition at line 115 of file CbmTrdOccupancyQa.h.
Referenced by CopyEvent2MemoryMap(), CreateLayerView(), Exec(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 116 of file CbmTrdOccupancyQa.h.
Referenced by ~CbmTrdOccupancyQa().
|
private |
Definition at line 117 of file CbmTrdOccupancyQa.h.
Referenced by CbmTrdOccupancyQa(), CopyEvent2MemoryMap(), Exec(), FinishEvent(), SwitchToMergedFile(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 118 of file CbmTrdOccupancyQa.h.
Referenced by CbmTrdOccupancyQa(), CopyEvent2MemoryMap(), FinishEvent(), SwitchToMergedFile(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 119 of file CbmTrdOccupancyQa.h.
Referenced by CopyEvent2MemoryMap(), CreateLayerView(), Exec(), SaveHistos2File(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 120 of file CbmTrdOccupancyQa.h.
Referenced by CreateLayerView(), SaveHistos2File(), and ~CbmTrdOccupancyQa().
|
private |
Definition at line 126 of file CbmTrdOccupancyQa.h.
Referenced by Exec(), SetNeighbourReadout(), and SetNeighbourTrigger().
|
private |
Definition at line 127 of file CbmTrdOccupancyQa.h.
Referenced by CreateLayerView().
|
private |
Definition at line 125 of file CbmTrdOccupancyQa.h.
Referenced by CopyEvent2MemoryMap(), CreateLayerView(), Exec(), and SetTriggerThreshold().