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

#include <CbmLitClusteringQa.h>

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

Public Member Functions

 CbmLitClusteringQa ()
 Constructor.
 
virtual ~CbmLitClusteringQa ()
 Destructor.
 
virtual InitStatus Init ()
 Derived from FairTask.
 
virtual void Exec (Option_t *opt)
 Derived from FairTask.
 
virtual void Finish ()
 Derived from FairTask.
 
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.
 
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.
 
CbmMCDataArrayfMvdPoints = nullptr
 CbmMCTrack.
 
TClonesArray * fMvdClusters = nullptr
 CbmMvdPoint.
 
TClonesArray * fMvdHits = nullptr
 CbmMvdCluster.
 
CbmMCDataArrayfStsPoints = nullptr
 CbmMvdHit.
 
TClonesArray * fStsClusters = nullptr
 CbmStsPoint.
 
TClonesArray * fStsHits = nullptr
 CbmStsCluster.
 
TClonesArray * fStsClusterMatches = nullptr
 CbmStsHit array.
 
TClonesArray * fStsHitMatches = nullptr
 CbmMatch (cluster)
 
CbmMCDataArrayfRichPoints = nullptr
 CbmMatch (hit)
 
TClonesArray * fRichHits = nullptr
 CbmRichPoint.
 
CbmMCDataArrayfMuchPoints = nullptr
 CbmRichHit.
 
TClonesArray * fMuchClusters = nullptr
 CbmMuchPoint.
 
TClonesArray * fMuchPixelHits = nullptr
 CbmMuchCluster.
 
TClonesArray * fMuchClusterMatches = nullptr
 CbmMuchPixelHit.
 
TClonesArray * fMuchPixelHitMatches = nullptr
 CbmMatch array.
 
CbmMCDataArrayfTrdPoints = nullptr
 CbmMatch (hit)
 
TClonesArray * fTrdClusters = nullptr
 CbmTrdPoint.
 
TClonesArray * fTrdHits = nullptr
 CbmTrdCluster.
 
TClonesArray * fTrdClusterMatches = nullptr
 CbmTrdHit.
 
TClonesArray * fTrdHitMatches = nullptr
 CbmMatch (cluster)
 
CbmMCDataArrayfTofPoints = nullptr
 CbmMatch (hit)
 
TClonesArray * fTofHits = nullptr
 CbmTofPoint.
 
string fMuchDigiFileName = ""
 CbmTofHit.
 
CbmTimeSlicefTimeSlice = nullptr
 
CbmMCEventListfEventList = nullptr
 

Detailed Description

Definition at line 31 of file CbmLitClusteringQa.h.

Constructor & Destructor Documentation

◆ CbmLitClusteringQa() [1/2]

CbmLitClusteringQa::CbmLitClusteringQa ( )

Constructor.

Definition at line 73 of file CbmLitClusteringQa.cxx.

◆ ~CbmLitClusteringQa()

CbmLitClusteringQa::~CbmLitClusteringQa ( )
virtual

Destructor.

Definition at line 75 of file CbmLitClusteringQa.cxx.

References fHM.

◆ CbmLitClusteringQa() [2/2]

CbmLitClusteringQa::CbmLitClusteringQa ( const CbmLitClusteringQa & )
privatedelete

Member Function Documentation

◆ ClassDef()

CbmLitClusteringQa::ClassDef ( CbmLitClusteringQa ,
2  )
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 556 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 133 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

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 148 of file CbmLitClusteringQa.cxx.

References fDet, fMuchDigiFileName, CbmLitDetectorSetup::GetDet(), CbmMuchGeoScheme::Init(), CbmMuchGeoScheme::Instance(), and kMuch.

Referenced by Init().

◆ 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 223 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 60 of file CbmLitClusteringQa.h.

References fMuchDigiFileName.

◆ SetOutputDir()

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

Setters

Definition at line 59 of file CbmLitClusteringQa.h.

References fOutputDir.

Member Data Documentation

◆ fDet

◆ fDigiMan

CbmDigiManager* CbmLitClusteringQa::fDigiMan = nullptr
private

Definition at line 117 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ProcessDigis().

◆ fEventList

CbmMCEventList* CbmLitClusteringQa::fEventList = nullptr
private

Definition at line 155 of file CbmLitClusteringQa.h.

Referenced by FillResidualAndPullHistograms(), and ReadDataBranches().

◆ fHM

◆ fMCTracks

CbmMCDataArray* CbmLitClusteringQa::fMCTracks = nullptr
private

Interface to digi data.

Definition at line 120 of file CbmLitClusteringQa.h.

Referenced by ReadDataBranches().

◆ fMuchClusterMatches

TClonesArray* CbmLitClusteringQa::fMuchClusterMatches = nullptr
private

CbmMuchPixelHit.

Definition at line 140 of file CbmLitClusteringQa.h.

Referenced by Exec(), and ReadDataBranches().

◆ fMuchClusters

TClonesArray* CbmLitClusteringQa::fMuchClusters = nullptr
private

◆ fMuchDigiFileName

string CbmLitClusteringQa::fMuchDigiFileName = ""
private

CbmTofHit.

Definition at line 152 of file CbmLitClusteringQa.h.

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

◆ fMuchPixelHitMatches

TClonesArray* CbmLitClusteringQa::fMuchPixelHitMatches = nullptr
private

CbmMatch array.

Definition at line 141 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 137 of file CbmLitClusteringQa.h.

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

◆ fMvdClusters

TClonesArray* CbmLitClusteringQa::fMvdClusters = nullptr
private

CbmMvdPoint.

Definition at line 123 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms().

◆ fMvdHits

TClonesArray* CbmLitClusteringQa::fMvdHits = nullptr
private

CbmMvdCluster.

Definition at line 124 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fMvdPoints

CbmMCDataArray* CbmLitClusteringQa::fMvdPoints = nullptr
private

CbmMCTrack.

Definition at line 122 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fOutputDir

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

Definition at line 115 of file CbmLitClusteringQa.h.

Referenced by Finish(), and SetOutputDir().

◆ fRichHits

TClonesArray* CbmLitClusteringQa::fRichHits = nullptr
private

CbmRichPoint.

Definition at line 135 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fRichPoints

CbmMCDataArray* CbmLitClusteringQa::fRichPoints = nullptr
private

CbmMatch (hit)

Definition at line 134 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fStsClusterMatches

TClonesArray* CbmLitClusteringQa::fStsClusterMatches = nullptr
private

CbmStsHit array.

Definition at line 131 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 132 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 126 of file CbmLitClusteringQa.h.

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

◆ fTimeSlice

CbmTimeSlice* CbmLitClusteringQa::fTimeSlice = nullptr
private

Definition at line 154 of file CbmLitClusteringQa.h.

Referenced by FillResidualAndPullHistograms(), and ReadDataBranches().

◆ fTofHits

TClonesArray* CbmLitClusteringQa::fTofHits = nullptr
private

CbmTofPoint.

Definition at line 150 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fTofPoints

CbmMCDataArray* CbmLitClusteringQa::fTofPoints = nullptr
private

CbmMatch (hit)

Definition at line 149 of file CbmLitClusteringQa.h.

Referenced by FillEventCounterHistograms(), and ReadDataBranches().

◆ fTrdClusterMatches

TClonesArray* CbmLitClusteringQa::fTrdClusterMatches = nullptr
private

CbmTrdHit.

Definition at line 146 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 147 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 143 of file CbmLitClusteringQa.h.

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


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