CbmRoot
CbmLitClusteringQa Class Reference

#include <CbmLitClusteringQa.h>

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

Public Member Functions

 CbmLitClusteringQa ()
 Constructor. More...
 
virtual ~CbmLitClusteringQa ()
 Destructor. More...
 
virtual InitStatus Init ()
 Derived from FairTask. More...
 
virtual void Exec (Option_t *opt)
 Derived from FairTask. More...
 
virtual void Finish ()
 Derived from FairTask. More...
 
void SetOutputDir (const string &outputDir)
 
void SetMuchDigiFileName (const string &digiFileName)
 

Private Member Functions

Int_t GetStationId (Int_t address, ECbmModuleId detId)
 
void ReadDataBranches ()
 Read data branches. More...
 
void InitMuchGeoScheme (const string &digiFileName)
 
void ProcessPoints (Int_t iEvent, CbmMCDataArray *points, const string &detName, ECbmModuleId detId)
 
template<class Digi >
void ProcessDigis (const string &detName)
 
void ProcessClusters (const TClonesArray *clusters, const TClonesArray *clusterMatches, const string &detName, ECbmModuleId detId)
 
void ProcessHits (const TClonesArray *hits, const TClonesArray *hitMatches, const string &detName, ECbmModuleId detId)
 
void FillEventCounterHistograms (Int_t iEvent)
 
void CreateHistograms ()
 
void CreateNofObjectsHistograms (ECbmModuleId detId, const string &detName)
 
void CreateNofObjectsHistograms (ECbmModuleId detId, const string &detName, const string &parameter, const string &xTitle)
 
void CreateClusterParametersHistograms (ECbmModuleId detId, const string &detName)
 
void FillResidualAndPullHistograms (CbmMCDataArray *points, const TClonesArray *hits, const TClonesArray *hitMatches, const string &detName, ECbmModuleId detId)
 
void FillHitEfficiencyHistograms (Int_t iEvent, CbmMCDataArray *points, const TClonesArray *hits, const TClonesArray *hitMatches, const string &detName, ECbmModuleId detId)
 
void CreateHitEfficiencyHistograms (ECbmModuleId detId, const string &detName, const string &parameter, const string &xTitle, Int_t nofBins, Double_t minBin, Double_t maxBin)
 
 CbmLitClusteringQa (const CbmLitClusteringQa &)=delete
 
CbmLitClusteringQaoperator= (const CbmLitClusteringQa &)=delete
 
 ClassDef (CbmLitClusteringQa, 2)
 

Private Attributes

CbmHistManagerfHM = nullptr
 
std::string fOutputDir = ""
 
CbmLitDetectorSetup fDet {}
 
CbmDigiManagerfDigiMan = nullptr
 
CbmMCDataArrayfMCTracks = nullptr
 Interface to digi data. More...
 
CbmMCDataArrayfMvdPoints = nullptr
 CbmMCTrack. More...
 
TClonesArray * fMvdClusters = nullptr
 CbmMvdPoint. More...
 
TClonesArray * fMvdHits = nullptr
 CbmMvdCluster. More...
 
CbmMCDataArrayfStsPoints = nullptr
 CbmMvdHit. More...
 
TClonesArray * fStsClusters = nullptr
 CbmStsPoint. More...
 
TClonesArray * fStsHits = nullptr
 CbmStsCluster. More...
 
TClonesArray * fStsClusterMatches = nullptr
 CbmStsHit array. More...
 
TClonesArray * fStsHitMatches = nullptr
 CbmMatch (cluster) More...
 
CbmMCDataArrayfRichPoints = nullptr
 CbmMatch (hit) More...
 
TClonesArray * fRichHits = nullptr
 CbmRichPoint. More...
 
CbmMCDataArrayfMuchPoints = nullptr
 CbmRichHit. More...
 
TClonesArray * fMuchClusters = nullptr
 CbmMuchPoint. More...
 
TClonesArray * fMuchPixelHits = nullptr
 CbmMuchCluster. More...
 
TClonesArray * fMuchClusterMatches = nullptr
 CbmMuchPixelHit. More...
 
TClonesArray * fMuchPixelHitMatches = nullptr
 CbmMatch array. More...
 
CbmMCDataArrayfTrdPoints = nullptr
 CbmMatch (hit) More...
 
TClonesArray * fTrdClusters = nullptr
 CbmTrdPoint. More...
 
TClonesArray * fTrdHits = nullptr
 CbmTrdCluster. More...
 
TClonesArray * fTrdClusterMatches = nullptr
 CbmTrdHit. More...
 
TClonesArray * fTrdHitMatches = nullptr
 CbmMatch (cluster) More...
 
CbmMCDataArrayfTofPoints = nullptr
 CbmMatch (hit) More...
 
TClonesArray * fTofHits = nullptr
 CbmTofPoint. More...
 
string fMuchDigiFileName = ""
 CbmTofHit. More...
 
CbmTimeSlicefTimeSlice = nullptr
 
CbmMCEventListfEventList = nullptr
 

Detailed Description

Definition at line 25 of file CbmLitClusteringQa.h.

Constructor & Destructor Documentation

◆ CbmLitClusteringQa() [1/2]

CbmLitClusteringQa::CbmLitClusteringQa ( )

Constructor.

Definition at line 67 of file CbmLitClusteringQa.cxx.

◆ ~CbmLitClusteringQa()

CbmLitClusteringQa::~CbmLitClusteringQa ( )
virtual

Destructor.

Definition at line 69 of file CbmLitClusteringQa.cxx.

References fHM.

◆ CbmLitClusteringQa() [2/2]

CbmLitClusteringQa::CbmLitClusteringQa ( const CbmLitClusteringQa )
privatedelete

Member Function Documentation

◆ ClassDef()

CbmLitClusteringQa::ClassDef ( CbmLitClusteringQa  ,
 
)
private

◆ CreateClusterParametersHistograms()

void CbmLitClusteringQa::CreateClusterParametersHistograms ( ECbmModuleId  detId,
const string &  detName 
)
private

◆ CreateHistograms()

void CbmLitClusteringQa::CreateHistograms ( )
private

◆ CreateHitEfficiencyHistograms()

void CbmLitClusteringQa::CreateHitEfficiencyHistograms ( ECbmModuleId  detId,
const string &  detName,
const string &  parameter,
const string &  xTitle,
Int_t  nofBins,
Double_t  minBin,
Double_t  maxBin 
)
private

Definition at line 737 of file CbmLitClusteringQa.cxx.

References CbmHistManager::Add(), fDet, fHM, and CbmLitDetectorSetup::GetDet().

Referenced by CreateHistograms().

◆ CreateNofObjectsHistograms() [1/2]

void CbmLitClusteringQa::CreateNofObjectsHistograms ( ECbmModuleId  detId,
const string &  detName 
)
private

◆ CreateNofObjectsHistograms() [2/2]

void CbmLitClusteringQa::CreateNofObjectsHistograms ( ECbmModuleId  detId,
const string &  detName,
const string &  parameter,
const string &  xTitle 
)
private

◆ Exec()

◆ FillEventCounterHistograms()

◆ FillHitEfficiencyHistograms()

void CbmLitClusteringQa::FillHitEfficiencyHistograms ( Int_t  iEvent,
CbmMCDataArray points,
const TClonesArray *  hits,
const TClonesArray *  hitMatches,
const string &  detName,
ECbmModuleId  detId 
)
private

◆ FillResidualAndPullHistograms()

void CbmLitClusteringQa::FillResidualAndPullHistograms ( CbmMCDataArray points,
const TClonesArray *  hits,
const TClonesArray *  hitMatches,
const string &  detName,
ECbmModuleId  detId 
)
private

◆ Finish()

void CbmLitClusteringQa::Finish ( )
virtual

Derived from FairTask.

Definition at line 139 of file CbmLitClusteringQa.cxx.

References CbmSimulationReport::Create(), fHM, fOutputDir, and CbmHistManager::WriteToFile().

◆ GetStationId()

◆ Init()

InitStatus CbmLitClusteringQa::Init ( )
virtual

◆ InitMuchGeoScheme()

void CbmLitClusteringQa::InitMuchGeoScheme ( const string &  digiFileName)
private

◆ operator=()

CbmLitClusteringQa& CbmLitClusteringQa::operator= ( const CbmLitClusteringQa )
privatedelete

◆ ProcessClusters()

void CbmLitClusteringQa::ProcessClusters ( const TClonesArray *  clusters,
const TClonesArray *  clusterMatches,
const string &  detName,
ECbmModuleId  detId 
)
private

◆ ProcessDigis()

template<class Digi >
void CbmLitClusteringQa::ProcessDigis ( const string &  detName)
private

◆ ProcessHits()

void CbmLitClusteringQa::ProcessHits ( const TClonesArray *  hits,
const TClonesArray *  hitMatches,
const string &  detName,
ECbmModuleId  detId 
)
private

◆ ProcessPoints()

void CbmLitClusteringQa::ProcessPoints ( Int_t  iEvent,
CbmMCDataArray points,
const string &  detName,
ECbmModuleId  detId 
)
private

Definition at line 221 of file CbmLitClusteringQa.cxx.

References CbmHistManager::Exists(), fHM, GetStationId(), CbmHistManager::H1(), and points.

Referenced by Exec().

◆ ReadDataBranches()

◆ SetMuchDigiFileName()

void CbmLitClusteringQa::SetMuchDigiFileName ( const string &  digiFileName)
inline

Definition at line 54 of file CbmLitClusteringQa.h.

References fMuchDigiFileName.

◆ SetOutputDir()

void CbmLitClusteringQa::SetOutputDir ( const string &  outputDir)
inline

Setters

Definition at line 53 of file CbmLitClusteringQa.h.

References fOutputDir.

Member Data Documentation

◆ fDet

◆ fDigiMan

CbmDigiManager* CbmLitClusteringQa::fDigiMan = nullptr
private

Definition at line 136 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ProcessDigis().

◆ fEventList

CbmMCEventList* CbmLitClusteringQa::fEventList = nullptr
private

Definition at line 174 of file CbmLitClusteringQa.h.

Referenced by FillResidualAndPullHistograms(), and ReadDataBranches().

◆ fHM

◆ fMCTracks

CbmMCDataArray* CbmLitClusteringQa::fMCTracks = nullptr
private

Interface to digi data.

Definition at line 139 of file CbmLitClusteringQa.h.

Referenced by ReadDataBranches().

◆ fMuchClusterMatches

TClonesArray* CbmLitClusteringQa::fMuchClusterMatches = nullptr
private

CbmMuchPixelHit.

Definition at line 159 of file CbmLitClusteringQa.h.

Referenced by Exec(), and ReadDataBranches().

◆ fMuchClusters

TClonesArray* CbmLitClusteringQa::fMuchClusters = nullptr
private

◆ fMuchDigiFileName

string CbmLitClusteringQa::fMuchDigiFileName = ""
private

CbmTofHit.

Definition at line 171 of file CbmLitClusteringQa.h.

Referenced by Init(), InitMuchGeoScheme(), and SetMuchDigiFileName().

◆ fMuchPixelHitMatches

TClonesArray* CbmLitClusteringQa::fMuchPixelHitMatches = nullptr
private

CbmMatch array.

Definition at line 160 of file CbmLitClusteringQa.h.

Referenced by Exec(), and ReadDataBranches().

◆ fMuchPixelHits

TClonesArray* CbmLitClusteringQa::fMuchPixelHits = nullptr
private

◆ fMuchPoints

CbmMCDataArray* CbmLitClusteringQa::fMuchPoints = nullptr
private

CbmRichHit.

Definition at line 156 of file CbmLitClusteringQa.h.

Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().

◆ fMvdClusters

TClonesArray* CbmLitClusteringQa::fMvdClusters = nullptr
private

CbmMvdPoint.

Definition at line 142 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms().

◆ fMvdHits

TClonesArray* CbmLitClusteringQa::fMvdHits = nullptr
private

CbmMvdCluster.

Definition at line 143 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fMvdPoints

CbmMCDataArray* CbmLitClusteringQa::fMvdPoints = nullptr
private

CbmMCTrack.

Definition at line 141 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fOutputDir

std::string CbmLitClusteringQa::fOutputDir = ""
private

Definition at line 134 of file CbmLitClusteringQa.h.

Referenced by Finish(), and SetOutputDir().

◆ fRichHits

TClonesArray* CbmLitClusteringQa::fRichHits = nullptr
private

CbmRichPoint.

Definition at line 154 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fRichPoints

CbmMCDataArray* CbmLitClusteringQa::fRichPoints = nullptr
private

CbmMatch (hit)

Definition at line 153 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fStsClusterMatches

TClonesArray* CbmLitClusteringQa::fStsClusterMatches = nullptr
private

CbmStsHit array.

Definition at line 150 of file CbmLitClusteringQa.h.

Referenced by Exec(), and ReadDataBranches().

◆ fStsClusters

TClonesArray* CbmLitClusteringQa::fStsClusters = nullptr
private

◆ fStsHitMatches

TClonesArray* CbmLitClusteringQa::fStsHitMatches = nullptr
private

CbmMatch (cluster)

Definition at line 151 of file CbmLitClusteringQa.h.

Referenced by Exec(), and ReadDataBranches().

◆ fStsHits

TClonesArray* CbmLitClusteringQa::fStsHits = nullptr
private

◆ fStsPoints

CbmMCDataArray* CbmLitClusteringQa::fStsPoints = nullptr
private

CbmMvdHit.

Definition at line 145 of file CbmLitClusteringQa.h.

Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().

◆ fTimeSlice

CbmTimeSlice* CbmLitClusteringQa::fTimeSlice = nullptr
private

Definition at line 173 of file CbmLitClusteringQa.h.

Referenced by FillResidualAndPullHistograms(), and ReadDataBranches().

◆ fTofHits

TClonesArray* CbmLitClusteringQa::fTofHits = nullptr
private

CbmTofPoint.

Definition at line 169 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fTofPoints

CbmMCDataArray* CbmLitClusteringQa::fTofPoints = nullptr
private

CbmMatch (hit)

Definition at line 168 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fTrdClusterMatches

TClonesArray* CbmLitClusteringQa::fTrdClusterMatches = nullptr
private

CbmTrdHit.

Definition at line 165 of file CbmLitClusteringQa.h.

Referenced by Exec(), and ReadDataBranches().

◆ fTrdClusters

TClonesArray* CbmLitClusteringQa::fTrdClusters = nullptr
private

◆ fTrdHitMatches

TClonesArray* CbmLitClusteringQa::fTrdHitMatches = nullptr
private

CbmMatch (cluster)

Definition at line 166 of file CbmLitClusteringQa.h.

Referenced by Exec(), and ReadDataBranches().

◆ fTrdHits

TClonesArray* CbmLitClusteringQa::fTrdHits = nullptr
private

◆ fTrdPoints

CbmMCDataArray* CbmLitClusteringQa::fTrdPoints = nullptr
private

CbmMatch (hit)

Definition at line 162 of file CbmLitClusteringQa.h.

Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().


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