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

#include <BmnProfQa.h>

Inheritance diagram for BmnProfQa:
Collaboration diagram for BmnProfQa:

Public Member Functions

 BmnProfQa ()
 Constructor.
 BmnProfQa (TString name, TString gemConf)
 Constructor.
virtual ~BmnProfQa ()
 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 std::string &dir)
 Setters.
void SetInnerTrackerSetup (map< DetectorId, Bool_t > setup)
void SetDetectorPresence (DetectorId det, Bool_t use)
void SetInnerTracksBranchName (TString name)
void ResetProf ()
void RegisterCommands ()
 BmnProfQa ()
 Constructor.
 BmnProfQa (TString name, TString gemConf)
 Constructor.
virtual ~BmnProfQa ()
 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 std::string &dir)
 Setters.
void SetInnerTrackerSetup (map< DetectorId, Bool_t > setup)
void SetDetectorPresence (DetectorId det, Bool_t use)
void SetInnerTracksBranchName (TString name)
void ResetProf ()
void RegisterCommands ()
Public Member Functions inherited from BmnQaBase
 BmnQaBase ()
 Constructor.
 BmnQaBase (const char *name, Int_t iVerbose)
 Constructor.
virtual ~BmnQaBase ()
 Destructor.
void SetOutputDir (const std::string &dir)
void SetMonitorMode (const Bool_t mm)
Bool_t GetMonitorMode () const
void SetObjServer (THttpServer *s)
THttpServer * GetObjServer () const
 BmnQaBase ()
 Constructor.
 BmnQaBase (const char *name, Int_t iVerbose)
 Constructor.
virtual ~BmnQaBase ()
 Destructor.
void SetOutputDir (const std::string &dir)
void SetMonitorMode (const Bool_t mm)
Bool_t GetMonitorMode () const
void SetObjServer (THttpServer *s)
THttpServer * GetObjServer () const

Private Member Functions

void ReadDataBranches ()
 Read data branches from input data files.
void CreateHistograms ()
void ProcessGlobal ()
 BmnProfQa (const BmnProfQa &)=delete
BmnProfQa & operator= (const BmnProfQa &)=delete
void ReadDataBranches ()
 Read data branches from input data files.
void CreateHistograms ()
void ProcessGlobal ()
 BmnProfQa (const BmnProfQa &)=delete
BmnProfQa & operator= (const BmnProfQa &)=delete

Private Attributes

map< DetectorId, Bool_t > fInnerTrackerSetup
TClonesArray * fProfHits
TClonesArray * fProfDigits
DstEventHeader * fDstEventHeader
TString fConfigProf
unique_ptr< BmnSiProfStationSet > fProfDetector
unique_ptr< BmnGemStripStationSet > fGemDetector
unique_ptr< BmnSiliconStationSet > fSilDetector
unique_ptr< BmnCSCStationSet > fCscDetector
TString fInnerTrackBranchName
const Int_t fNItersToUpdate = 200
const chrono::seconds fTimeToUpdate = chrono::seconds(5)
Int_t fNItersSinceUpdate
chrono::time_point< chrono::system_clock > fTicksLastUpdate

Additional Inherited Members

Protected Member Functions inherited from BmnQaBase
virtual void ReadEventHeader ()
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)
template<typename SST>
void CreateStripDigiHists (SST &ss, DetectorId detId)
void FillStripDigiHists (DetectorId detId, TClonesArray *hits)
template<typename SST>
void CreateStripHits (SST &ss, DetectorId detId)
void FillStripHits (DetectorId detId, TClonesArray *hits)
 BmnQaBase (const BmnQaBase &)=delete
BmnQaBase & operator= (const BmnQaBase &)=delete
virtual void ReadEventHeader ()
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)
template<typename SST>
void CreateStripDigiHists (SST &ss, DetectorId detId)
void FillStripDigiHists (DetectorId detId, TClonesArray *hits)
template<typename SST>
void CreateStripHits (SST &ss, DetectorId detId)
void FillStripHits (DetectorId detId, TClonesArray *hits)
 BmnQaBase (const BmnQaBase &)=delete
BmnQaBase & operator= (const BmnQaBase &)=delete
Protected Attributes inherited from BmnQaBase
THttpServer * fServer
TString fOutName
BmnHistManager * fHM
string fOutputDir
BmnSimulationReport * fReport
Bool_t fMonitorMode
UInt_t fRunId
UInt_t fPrevRunId
Int_t fEventNo
Int_t fEventId
const Int_t fNItersToUpdate = 500
const chrono::seconds fTimeToUpdate = chrono::seconds(5)
Int_t fNItersSinceUpdate
 redraw each timeout seconds
chrono::time_point< chrono::system_clock > fTicksLastUpdate

Detailed Description

Definition at line 26 of file BmnProfQa.h.

Constructor & Destructor Documentation

◆ BmnProfQa() [1/6]

BmnProfQa::BmnProfQa ( )
inline

Definition at line 32 of file BmnProfQa.h.

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

Here is the caller graph for this function:

◆ BmnProfQa() [2/6]

BmnProfQa::BmnProfQa ( TString name,
TString gemConf )

Definition at line 29 of file BmnProfQa.cxx.

References BmnQaBase::BmnQaBase(), fConfigProf, fDstEventHeader, fNItersSinceUpdate, fProfDigits, and fProfHits.

Here is the call graph for this function:

◆ ~BmnProfQa() [1/2]

BmnProfQa::~BmnProfQa ( )
virtual

Definition at line 38 of file BmnProfQa.cxx.

◆ BmnProfQa() [3/6]

BmnProfQa::BmnProfQa ( const BmnProfQa & )
privatedelete

References BmnProfQa().

Here is the call graph for this function:

◆ BmnProfQa() [4/6]

BmnProfQa::BmnProfQa ( )
inline

Definition at line 32 of file BmnProfQa.h.

◆ BmnProfQa() [5/6]

BmnProfQa::BmnProfQa ( TString name,
TString gemConf )

◆ ~BmnProfQa() [2/2]

virtual BmnProfQa::~BmnProfQa ( )
virtual

◆ BmnProfQa() [6/6]

BmnProfQa::BmnProfQa ( const BmnProfQa & )
privatedelete

References BmnProfQa().

Here is the call graph for this function:

Member Function Documentation

◆ CreateHistograms() [1/2]

void BmnProfQa::CreateHistograms ( )
privatevirtual

Implements BmnQaBase.

Definition at line 119 of file BmnProfQa.cxx.

References BmnQaBase::CreateH1(), BmnQaBase::CreateH2(), fProfDetector, BmnDetectorList::GetSystemNameCaps(), BmnProfQaReport::HistNameProfDigit(), BmnProfQaReport::HistNameProfHits(), and kSiProf.

Referenced by Init().

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

◆ CreateHistograms() [2/2]

void BmnProfQa::CreateHistograms ( )
privatevirtual

Implements BmnQaBase.

◆ Exec() [1/2]

void BmnProfQa::Exec ( Option_t * opt)
virtual

Reimplemented from BmnQaBase.

Definition at line 66 of file BmnProfQa.cxx.

References BmnQaBase::fEventId, BmnQaBase::fEventNo, BmnQaBase::fMonitorMode, fNItersSinceUpdate, fNItersToUpdate, BmnQaBase::fPrevRunId, BmnQaBase::fReport, BmnQaBase::fRunId, BmnQaBase::fServer, fTicksLastUpdate, fTimeToUpdate, and ProcessGlobal().

Here is the call graph for this function:

◆ Exec() [2/2]

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

Reimplemented from BmnQaBase.

◆ Finish() [1/2]

void BmnProfQa::Finish ( )
virtual

◆ Finish() [2/2]

virtual void BmnProfQa::Finish ( )
virtual

Reimplemented from BmnQaBase.

◆ Init() [1/2]

InitStatus BmnProfQa::Init ( )
virtual

Reimplemented from BmnQaBase.

Definition at line 40 of file BmnProfQa.cxx.

References CreateHistograms(), BmnQaBase::fHM, BmnQaBase::fMonitorMode, BmnQaBase::fOutName, BmnQaBase::fReport, BmnQaBase::fServer, fTicksLastUpdate, ReadDataBranches(), RegisterCommands(), and SetDefaultDrawStyle().

Here is the call graph for this function:

◆ Init() [2/2]

virtual InitStatus BmnProfQa::Init ( )
virtual

Reimplemented from BmnQaBase.

◆ operator=() [1/2]

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

References BmnProfQa().

Here is the call graph for this function:

◆ operator=() [2/2]

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

References BmnProfQa().

Here is the call graph for this function:

◆ ProcessGlobal() [1/2]

void BmnProfQa::ProcessGlobal ( )
privatevirtual

Implements BmnQaBase.

Definition at line 182 of file BmnProfQa.cxx.

References BmnQaBase::fHM, fProfDetector, fProfDigits, BmnStripDigit::GetModule(), BmnStripDigit::GetStation(), BmnStripDigit::GetStripLayer(), BmnStripDigit::GetStripNumber(), BmnStripDigit::GetStripSignal(), BmnDetectorList::GetSystemNameCaps(), BmnProfQaReport::HistNameProfDigit(), BmnProfQaReport::HistNameProfHits(), iX, iY, kSiProf, and signal().

Referenced by Exec().

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

◆ ProcessGlobal() [2/2]

◆ ReadDataBranches() [1/2]

void BmnProfQa::ReadDataBranches ( )
privatevirtual

Implements BmnQaBase.

Definition at line 101 of file BmnProfQa.cxx.

References fConfigProf, fDstEventHeader, fInnerTrackerSetup, fProfDetector, fProfDigits, BmnQaBase::fReport, and kSiProf.

Referenced by Init().

Here is the caller graph for this function:

◆ ReadDataBranches() [2/2]

void BmnProfQa::ReadDataBranches ( )
privatevirtual

Implements BmnQaBase.

◆ RegisterCommands() [1/2]

void BmnProfQa::RegisterCommands ( )

Definition at line 250 of file BmnProfQa.cxx.

References BmnQaBase::fServer.

Referenced by Init().

Here is the caller graph for this function:

◆ RegisterCommands() [2/2]

void BmnProfQa::RegisterCommands ( )

◆ ResetProf() [1/2]

void BmnProfQa::ResetProf ( )

Definition at line 244 of file BmnProfQa.cxx.

References BmnQaBase::fHM.

◆ ResetProf() [2/2]

void BmnProfQa::ResetProf ( )

◆ SetDetectorPresence() [1/2]

void BmnProfQa::SetDetectorPresence ( DetectorId det,
Bool_t use )
inline

Definition at line 65 of file BmnProfQa.h.

References fInnerTrackerSetup, and use.

◆ SetDetectorPresence() [2/2]

void BmnProfQa::SetDetectorPresence ( DetectorId det,
Bool_t use )
inline

Definition at line 65 of file BmnProfQa.h.

References fInnerTrackerSetup, and use.

◆ SetInnerTrackerSetup() [1/2]

void BmnProfQa::SetInnerTrackerSetup ( map< DetectorId, Bool_t > setup)
inline

Definition at line 63 of file BmnProfQa.h.

References fInnerTrackerSetup.

◆ SetInnerTrackerSetup() [2/2]

void BmnProfQa::SetInnerTrackerSetup ( map< DetectorId, Bool_t > setup)
inline

Definition at line 63 of file BmnProfQa.h.

References fInnerTrackerSetup.

◆ SetInnerTracksBranchName() [1/2]

void BmnProfQa::SetInnerTracksBranchName ( TString name)
inline

Definition at line 67 of file BmnProfQa.h.

References fInnerTrackBranchName.

◆ SetInnerTracksBranchName() [2/2]

void BmnProfQa::SetInnerTracksBranchName ( TString name)
inline

Definition at line 67 of file BmnProfQa.h.

References fInnerTrackBranchName.

◆ SetOutputDir() [1/2]

void BmnProfQa::SetOutputDir ( const std::string & dir)
inline

Definition at line 61 of file BmnProfQa.h.

References BmnQaBase::fOutputDir.

◆ SetOutputDir() [2/2]

void BmnProfQa::SetOutputDir ( const std::string & dir)
inline

Definition at line 61 of file BmnProfQa.h.

References BmnQaBase::fOutputDir.

Member Data Documentation

◆ fConfigProf

TString BmnProfQa::fConfigProf
private

Definition at line 89 of file BmnProfQa.h.

Referenced by BmnProfQa(), ProcessGlobal(), and ReadDataBranches().

◆ fCscDetector

unique_ptr< BmnCSCStationSet > BmnProfQa::fCscDetector
private

Definition at line 93 of file BmnProfQa.h.

Referenced by ProcessGlobal().

◆ fDstEventHeader

DstEventHeader * BmnProfQa::fDstEventHeader
private

Definition at line 87 of file BmnProfQa.h.

Referenced by BmnProfQa(), ProcessGlobal(), and ReadDataBranches().

◆ fGemDetector

unique_ptr< BmnGemStripStationSet > BmnProfQa::fGemDetector
private

Definition at line 91 of file BmnProfQa.h.

Referenced by ProcessGlobal().

◆ fInnerTrackBranchName

TString BmnProfQa::fInnerTrackBranchName
private

Definition at line 95 of file BmnProfQa.h.

Referenced by ProcessGlobal(), and SetInnerTracksBranchName().

◆ fInnerTrackerSetup

map< DetectorId, Bool_t > BmnProfQa::fInnerTrackerSetup
private

◆ fNItersSinceUpdate

Int_t BmnProfQa::fNItersSinceUpdate
private

Definition at line 99 of file BmnProfQa.h.

Referenced by BmnProfQa(), Exec(), and ProcessGlobal().

◆ fNItersToUpdate

const Int_t BmnProfQa::fNItersToUpdate = 200
private

Definition at line 97 of file BmnProfQa.h.

Referenced by Exec(), and ProcessGlobal().

◆ fProfDetector

unique_ptr< BmnSiProfStationSet > BmnProfQa::fProfDetector
private

Definition at line 90 of file BmnProfQa.h.

Referenced by CreateHistograms(), ProcessGlobal(), and ReadDataBranches().

◆ fProfDigits

TClonesArray * BmnProfQa::fProfDigits
private

Definition at line 85 of file BmnProfQa.h.

Referenced by BmnProfQa(), ProcessGlobal(), and ReadDataBranches().

◆ fProfHits

TClonesArray * BmnProfQa::fProfHits
private

Definition at line 84 of file BmnProfQa.h.

Referenced by BmnProfQa(), and ProcessGlobal().

◆ fSilDetector

unique_ptr< BmnSiliconStationSet > BmnProfQa::fSilDetector
private

Definition at line 92 of file BmnProfQa.h.

Referenced by ProcessGlobal().

◆ fTicksLastUpdate

chrono::time_point< chrono::system_clock > BmnProfQa::fTicksLastUpdate
private

Definition at line 100 of file BmnProfQa.h.

Referenced by Exec(), Init(), and ProcessGlobal().

◆ fTimeToUpdate

const chrono::seconds BmnProfQa::fTimeToUpdate = chrono::seconds(5)
private

Definition at line 98 of file BmnProfQa.h.

Referenced by Exec(), and ProcessGlobal().


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