BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnClusteringQa Class Reference

#include <BmnClusteringQa.h>

Inheritance diagram for BmnClusteringQa:
Collaboration diagram for BmnClusteringQa:

Public Member Functions

 BmnClusteringQa ()
 Constructor.
virtual ~BmnClusteringQa ()
 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)
 Setters.
void SetOnlyPrimes (const Bool_t prime)
Bool_t GetOnlyPrimes () const
 BmnClusteringQa ()
 Constructor.
virtual ~BmnClusteringQa ()
 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)
 Setters.
void SetOnlyPrimes (const Bool_t prime)
Bool_t GetOnlyPrimes () const

Private Member Functions

Int_t GetStationId (Int_t address, DetectorId detId)
void ReadDataBranches ()
 Read data branches.
void ProcessPoints (const TClonesArray *points, const string &detName, DetectorId detId)
void ProcessDigis (const TClonesArray *digis, const TClonesArray *digiMatches, const string &detName, DetectorId detId)
void ProcessClusters (const TClonesArray *clusters, const TClonesArray *clusterMatches, const string &detName, DetectorId detId)
void ProcessHits (const TClonesArray *hits, const TClonesArray *hitMatches, const string &detName, DetectorId detId)
void ReadEventHeader ()
void FillEventCounterHistograms ()
void CreateHistograms ()
void CreateNofObjectsHistograms (DetectorId detId, const string &detName)
void CreateNofObjectsHistograms (DetectorId detId, const string &detName, const string &parameter, const string &xTitle)
void CreateClusterParametersHistograms (DetectorId detId, const string &detName)
void FillResidualAndPullHistograms (const TClonesArray *points, const TClonesArray *hits, const TClonesArray *hitMatches, const string &detName, DetectorId detId)
void FillHitEfficiencyHistograms (const TClonesArray *points, const TClonesArray *hits, const TClonesArray *hitMatches, const string &detName, DetectorId detId)
void CreateHitEfficiencyHistograms (DetectorId detId, const string &detName, const string &parameter, const string &xTitle, Int_t nofBins, Double_t minBin, Double_t maxBin)
void CreateH1 (const string &name, const string &xTitle, const string &yTitle, Int_t nofBins, Double_t minBin, Double_t maxBin)
void CreateH2 (const string &name, const string &xTitle, const string &yTitle, const string &zTitle, Int_t nofBinsX, Double_t minBinX, Double_t maxBinX, Int_t nofBinsY, Double_t minBinY, Double_t maxBinY)
 BmnClusteringQa (const BmnClusteringQa &)=delete
BmnClusteringQa & operator= (const BmnClusteringQa &)=delete
Int_t GetStationId (Int_t address, DetectorId detId)
void ReadDataBranches ()
 Read data branches.
void ProcessPoints (const TClonesArray *points, const string &detName, DetectorId detId)
void ProcessDigis (const TClonesArray *digis, const TClonesArray *digiMatches, const string &detName, DetectorId detId)
void ProcessClusters (const TClonesArray *clusters, const TClonesArray *clusterMatches, const string &detName, DetectorId detId)
void ProcessHits (const TClonesArray *hits, const TClonesArray *hitMatches, const string &detName, DetectorId detId)
void ReadEventHeader ()
void FillEventCounterHistograms ()
void CreateHistograms ()
void CreateNofObjectsHistograms (DetectorId detId, const string &detName)
void CreateNofObjectsHistograms (DetectorId detId, const string &detName, const string &parameter, const string &xTitle)
void CreateClusterParametersHistograms (DetectorId detId, const string &detName)
void FillResidualAndPullHistograms (const TClonesArray *points, const TClonesArray *hits, const TClonesArray *hitMatches, const string &detName, DetectorId detId)
void FillHitEfficiencyHistograms (const TClonesArray *points, const TClonesArray *hits, const TClonesArray *hitMatches, const string &detName, DetectorId detId)
void CreateHitEfficiencyHistograms (DetectorId detId, const string &detName, const string &parameter, const string &xTitle, Int_t nofBins, Double_t minBin, Double_t maxBin)
void CreateH1 (const string &name, const string &xTitle, const string &yTitle, Int_t nofBins, Double_t minBin, Double_t maxBin)
void CreateH2 (const string &name, const string &xTitle, const string &yTitle, const string &zTitle, Int_t nofBinsX, Double_t minBinX, Double_t maxBinX, Int_t nofBinsY, Double_t minBinY, Double_t maxBinY)
 BmnClusteringQa (const BmnClusteringQa &)=delete
BmnClusteringQa & operator= (const BmnClusteringQa &)=delete

Private Attributes

BmnHistManager * fHM
string fOutputDir
TClonesArray * fMCTracks
TClonesArray * fGemPoints
TClonesArray * fGemDigits
TClonesArray * fGemHits
TClonesArray * fGemDigitMatches
TClonesArray * fGemHitMatches
BmnGemStripStationSet * fGemDetector
BmnSiliconStationSet * fSilDetector
TClonesArray * fSilHits
TClonesArray * fSilPoints
TClonesArray * fSilHitMatches
TClonesArray * fDch1Points
TClonesArray * fDch1Hits
TClonesArray * fDch1HitMatches
Bool_t fPrimes

Detailed Description

Definition at line 25 of file BmnClusteringQa.h.

Constructor & Destructor Documentation

◆ BmnClusteringQa() [1/4]

BmnClusteringQa::BmnClusteringQa ( )

Definition at line 44 of file BmnClusteringQa.cxx.

References fDch1HitMatches, fDch1Hits, fDch1Points, fGemDetector, fGemDigitMatches, fGemDigits, fGemHitMatches, fGemHits, fGemPoints, fHM, fMCTracks, fOutputDir, and fPrimes.

Referenced by BmnClusteringQa(), and operator=().

Here is the caller graph for this function:

◆ ~BmnClusteringQa() [1/2]

BmnClusteringQa::~BmnClusteringQa ( )
virtual

Definition at line 75 of file BmnClusteringQa.cxx.

References fHM.

◆ BmnClusteringQa() [2/4]

BmnClusteringQa::BmnClusteringQa ( const BmnClusteringQa & )
privatedelete

References BmnClusteringQa().

Here is the call graph for this function:

◆ BmnClusteringQa() [3/4]

BmnClusteringQa::BmnClusteringQa ( )

◆ ~BmnClusteringQa() [2/2]

virtual BmnClusteringQa::~BmnClusteringQa ( )
virtual

◆ BmnClusteringQa() [4/4]

BmnClusteringQa::BmnClusteringQa ( const BmnClusteringQa & )
privatedelete

References BmnClusteringQa().

Here is the call graph for this function:

Member Function Documentation

◆ CreateClusterParametersHistograms() [1/2]

void BmnClusteringQa::CreateClusterParametersHistograms ( DetectorId detId,
const string & detName )
private

◆ CreateClusterParametersHistograms() [2/2]

void BmnClusteringQa::CreateClusterParametersHistograms ( DetectorId detId,
const string & detName )
private

◆ CreateH1() [1/2]

void BmnClusteringQa::CreateH1 ( const string & name,
const string & xTitle,
const string & yTitle,
Int_t nofBins,
Double_t minBin,
Double_t maxBin )
private

Definition at line 509 of file BmnClusteringQa.cxx.

References fHM.

Referenced by CreateHistograms().

Here is the caller graph for this function:

◆ CreateH1() [2/2]

void BmnClusteringQa::CreateH1 ( const string & name,
const string & xTitle,
const string & yTitle,
Int_t nofBins,
Double_t minBin,
Double_t maxBin )
private

◆ CreateH2() [1/2]

void BmnClusteringQa::CreateH2 ( const string & name,
const string & xTitle,
const string & yTitle,
const string & zTitle,
Int_t nofBinsX,
Double_t minBinX,
Double_t maxBinX,
Int_t nofBinsY,
Double_t minBinY,
Double_t maxBinY )
private

Definition at line 520 of file BmnClusteringQa.cxx.

References fHM.

Referenced by CreateHistograms().

Here is the caller graph for this function:

◆ CreateH2() [2/2]

void BmnClusteringQa::CreateH2 ( const string & name,
const string & xTitle,
const string & yTitle,
const string & zTitle,
Int_t nofBinsX,
Double_t minBinX,
Double_t maxBinX,
Int_t nofBinsY,
Double_t minBinY,
Double_t maxBinY )
private

◆ CreateHistograms() [1/2]

void BmnClusteringQa::CreateHistograms ( )
private

Definition at line 445 of file BmnClusteringQa.cxx.

References CreateH1(), CreateH2(), TString::Data(), fGemDetector, and fSilDetector.

Referenced by Init().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateHistograms() [2/2]

void BmnClusteringQa::CreateHistograms ( )
private

◆ CreateHitEfficiencyHistograms() [1/2]

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

◆ CreateHitEfficiencyHistograms() [2/2]

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

◆ CreateNofObjectsHistograms() [1/4]

void BmnClusteringQa::CreateNofObjectsHistograms ( DetectorId detId,
const string & detName )
private

◆ CreateNofObjectsHistograms() [2/4]

void BmnClusteringQa::CreateNofObjectsHistograms ( DetectorId detId,
const string & detName )
private

◆ CreateNofObjectsHistograms() [3/4]

void BmnClusteringQa::CreateNofObjectsHistograms ( DetectorId detId,
const string & detName,
const string & parameter,
const string & xTitle )
private

◆ CreateNofObjectsHistograms() [4/4]

void BmnClusteringQa::CreateNofObjectsHistograms ( DetectorId detId,
const string & detName,
const string & parameter,
const string & xTitle )
private

◆ Exec() [1/2]

void BmnClusteringQa::Exec ( Option_t * opt)
virtual

Definition at line 99 of file BmnClusteringQa.cxx.

References fGemHitMatches, fGemHits, fGemPoints, fHM, FillHitEfficiencyHistograms(), FillResidualAndPullHistograms(), kGEM, ProcessHits(), ProcessPoints(), and ReadEventHeader().

Here is the call graph for this function:

◆ Exec() [2/2]

virtual void BmnClusteringQa::Exec ( Option_t * opt)
virtual

◆ FillEventCounterHistograms() [1/2]

void BmnClusteringQa::FillEventCounterHistograms ( )
private

Definition at line 342 of file BmnClusteringQa.cxx.

◆ FillEventCounterHistograms() [2/2]

void BmnClusteringQa::FillEventCounterHistograms ( )
private

◆ FillHitEfficiencyHistograms() [1/2]

void BmnClusteringQa::FillHitEfficiencyHistograms ( const TClonesArray * points,
const TClonesArray * hits,
const TClonesArray * hitMatches,
const string & detName,
DetectorId detId )
private

Definition at line 413 of file BmnClusteringQa.cxx.

References TObjArray::At(), fHM, TObjArray::GetEntriesFast(), BmnHit::GetStation(), GetStationId(), and i.

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FillHitEfficiencyHistograms() [2/2]

void BmnClusteringQa::FillHitEfficiencyHistograms ( const TClonesArray * points,
const TClonesArray * hits,
const TClonesArray * hitMatches,
const string & detName,
DetectorId detId )
private

◆ FillResidualAndPullHistograms() [1/2]

void BmnClusteringQa::FillResidualAndPullHistograms ( const TClonesArray * points,
const TClonesArray * hits,
const TClonesArray * hitMatches,
const string & detName,
DetectorId detId )
private

Definition at line 381 of file BmnClusteringQa.cxx.

References TObjArray::At(), fHM, TObjArray::GetEntriesFast(), and BmnHit::GetStation().

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ FillResidualAndPullHistograms() [2/2]

void BmnClusteringQa::FillResidualAndPullHistograms ( const TClonesArray * points,
const TClonesArray * hits,
const TClonesArray * hitMatches,
const string & detName,
DetectorId detId )
private

◆ Finish() [1/2]

void BmnClusteringQa::Finish ( )
virtual

Definition at line 136 of file BmnClusteringQa.cxx.

References BmnSimulationReport::Create(), fGemDetector, fHM, fOutputDir, and fSilDetector.

Here is the call graph for this function:

◆ Finish() [2/2]

virtual void BmnClusteringQa::Finish ( )
virtual

◆ GetOnlyPrimes() [1/2]

Bool_t BmnClusteringQa::GetOnlyPrimes ( ) const
inline

Definition at line 58 of file BmnClusteringQa.h.

References fPrimes.

◆ GetOnlyPrimes() [2/2]

Bool_t BmnClusteringQa::GetOnlyPrimes ( ) const
inline

Definition at line 58 of file BmnClusteringQa.h.

References fPrimes.

◆ GetStationId() [1/2]

Int_t BmnClusteringQa::GetStationId ( Int_t address,
DetectorId detId )
private

Definition at line 183 of file BmnClusteringQa.cxx.

Referenced by FillHitEfficiencyHistograms().

Here is the caller graph for this function:

◆ GetStationId() [2/2]

Int_t BmnClusteringQa::GetStationId ( Int_t address,
DetectorId detId )
private

◆ Init() [1/2]

InitStatus BmnClusteringQa::Init ( )
virtual

Definition at line 81 of file BmnClusteringQa.cxx.

References CreateHistograms(), fGemDetector, fHM, fSilDetector, and ReadDataBranches().

Here is the call graph for this function:

◆ Init() [2/2]

virtual InitStatus BmnClusteringQa::Init ( )
virtual

◆ operator=() [1/2]

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

References BmnClusteringQa().

Here is the call graph for this function:

◆ operator=() [2/2]

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

References BmnClusteringQa().

Here is the call graph for this function:

◆ ProcessClusters() [1/2]

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

Definition at line 217 of file BmnClusteringQa.cxx.

◆ ProcessClusters() [2/2]

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

◆ ProcessDigis() [1/2]

void BmnClusteringQa::ProcessDigis ( const TClonesArray * digis,
const TClonesArray * digiMatches,
const string & detName,
DetectorId detId )
private

Definition at line 201 of file BmnClusteringQa.cxx.

◆ ProcessDigis() [2/2]

void BmnClusteringQa::ProcessDigis ( const TClonesArray * digis,
const TClonesArray * digiMatches,
const string & detName,
DetectorId detId )
private

◆ ProcessHits() [1/2]

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

Definition at line 237 of file BmnClusteringQa.cxx.

References TString::Data(), fGemDetector, fGemHitMatches, fGemHits, fGemPoints, fHM, fSilDetector, fSilHitMatches, fSilHits, fSilPoints, BmnLink::GetIndex(), BmnMatch::GetMatchedLink(), BmnHit::GetStation(), and i.

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessHits() [2/2]

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

◆ ProcessPoints() [1/2]

void BmnClusteringQa::ProcessPoints ( const TClonesArray * points,
const string & detName,
DetectorId detId )
private

Definition at line 189 of file BmnClusteringQa.cxx.

References fHM, TObjArray::GetEntriesFast(), and i.

Referenced by Exec().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ProcessPoints() [2/2]

void BmnClusteringQa::ProcessPoints ( const TClonesArray * points,
const string & detName,
DetectorId detId )
private

◆ ReadDataBranches() [1/2]

void BmnClusteringQa::ReadDataBranches ( )
private

Definition at line 154 of file BmnClusteringQa.cxx.

References fDch1Points, fGemHitMatches, fGemHits, fGemPoints, fMCTracks, fSilHitMatches, fSilHits, and fSilPoints.

Referenced by Init().

Here is the caller graph for this function:

◆ ReadDataBranches() [2/2]

void BmnClusteringQa::ReadDataBranches ( )
private

◆ ReadEventHeader() [1/2]

void BmnClusteringQa::ReadEventHeader ( )
private

Definition at line 145 of file BmnClusteringQa.cxx.

References fHM.

Referenced by Exec().

Here is the caller graph for this function:

◆ ReadEventHeader() [2/2]

void BmnClusteringQa::ReadEventHeader ( )
private

◆ SetOnlyPrimes() [1/2]

void BmnClusteringQa::SetOnlyPrimes ( const Bool_t prime)
inline

Definition at line 56 of file BmnClusteringQa.h.

References fPrimes.

◆ SetOnlyPrimes() [2/2]

void BmnClusteringQa::SetOnlyPrimes ( const Bool_t prime)
inline

Definition at line 56 of file BmnClusteringQa.h.

References fPrimes.

◆ SetOutputDir() [1/2]

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

Definition at line 54 of file BmnClusteringQa.h.

References fOutputDir.

◆ SetOutputDir() [2/2]

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

Definition at line 54 of file BmnClusteringQa.h.

References fOutputDir.

Member Data Documentation

◆ fDch1HitMatches

TClonesArray * BmnClusteringQa::fDch1HitMatches
private

Definition at line 175 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), and CreateH2().

◆ fDch1Hits

TClonesArray * BmnClusteringQa::fDch1Hits
private

Definition at line 174 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), and CreateH2().

◆ fDch1Points

TClonesArray * BmnClusteringQa::fDch1Points
private

Definition at line 173 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), CreateH2(), and ReadDataBranches().

◆ fGemDetector

BmnGemStripStationSet * BmnClusteringQa::fGemDetector
private

◆ fGemDigitMatches

TClonesArray * BmnClusteringQa::fGemDigitMatches
private

Definition at line 162 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), and CreateH2().

◆ fGemDigits

TClonesArray * BmnClusteringQa::fGemDigits
private

Definition at line 159 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), and CreateH2().

◆ fGemHitMatches

TClonesArray * BmnClusteringQa::fGemHitMatches
private

Definition at line 164 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), CreateH2(), Exec(), ProcessHits(), and ReadDataBranches().

◆ fGemHits

TClonesArray * BmnClusteringQa::fGemHits
private

Definition at line 161 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), CreateH2(), Exec(), ProcessHits(), and ReadDataBranches().

◆ fGemPoints

TClonesArray * BmnClusteringQa::fGemPoints
private

Definition at line 158 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), CreateH2(), Exec(), ProcessHits(), and ReadDataBranches().

◆ fHM

◆ fMCTracks

TClonesArray * BmnClusteringQa::fMCTracks
private

Definition at line 151 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), CreateH2(), and ReadDataBranches().

◆ fOutputDir

string BmnClusteringQa::fOutputDir
private

Definition at line 148 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), CreateH2(), Finish(), and SetOutputDir().

◆ fPrimes

Bool_t BmnClusteringQa::fPrimes
private

Definition at line 177 of file BmnClusteringQa.h.

Referenced by BmnClusteringQa(), CreateH2(), GetOnlyPrimes(), and SetOnlyPrimes().

◆ fSilDetector

BmnSiliconStationSet * BmnClusteringQa::fSilDetector
private

Definition at line 167 of file BmnClusteringQa.h.

Referenced by CreateH2(), CreateHistograms(), Finish(), Init(), and ProcessHits().

◆ fSilHitMatches

TClonesArray * BmnClusteringQa::fSilHitMatches
private

Definition at line 171 of file BmnClusteringQa.h.

Referenced by CreateH2(), ProcessHits(), and ReadDataBranches().

◆ fSilHits

TClonesArray * BmnClusteringQa::fSilHits
private

Definition at line 169 of file BmnClusteringQa.h.

Referenced by CreateH2(), ProcessHits(), and ReadDataBranches().

◆ fSilPoints

TClonesArray * BmnClusteringQa::fSilPoints
private

Definition at line 170 of file BmnClusteringQa.h.

Referenced by CreateH2(), ProcessHits(), and ReadDataBranches().


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