CbmRoot
|
#include <CbmLitClusteringQa.h>
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 ¶meter, 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 ¶meter, const string &xTitle, Int_t nofBins, Double_t minBin, Double_t maxBin) |
CbmLitClusteringQa (const CbmLitClusteringQa &)=delete | |
CbmLitClusteringQa & | operator= (const CbmLitClusteringQa &)=delete |
ClassDef (CbmLitClusteringQa, 2) | |
Definition at line 31 of file CbmLitClusteringQa.h.
CbmLitClusteringQa::CbmLitClusteringQa | ( | ) |
Constructor.
Definition at line 73 of file CbmLitClusteringQa.cxx.
|
virtual |
|
privatedelete |
|
private |
|
private |
Definition at line 481 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Create1(), CbmHistManager::Create2(), fDet, fHM, CbmLitDetectorSetup::GetDet(), kMuch, kMvd, kRich, kSts, kTof, kTrd, max(), and min().
Referenced by CreateHistograms().
|
private |
Definition at line 415 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Create1(), CreateClusterParametersHistograms(), CreateHitEfficiencyHistograms(), CreateNofObjectsHistograms(), fHM, kMuch, kMvd, kRich, kSts, kTof, and kTrd.
Referenced by Init().
|
private |
Definition at line 556 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Add(), fDet, fHM, and CbmLitDetectorSetup::GetDet().
Referenced by CreateHistograms().
|
private |
Definition at line 441 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Create1(), fDet, fHM, CbmLitDetectorSetup::GetDet(), kMuch, kMvd, kRich, kSts, kTof, and kTrd.
Referenced by CreateHistograms().
|
private |
Definition at line 461 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Create1(), fDet, fHM, CbmLitDetectorSetup::GetDet(), kMuch, kMvd, kRich, kSts, kTof, and kTrd.
|
virtual |
Derived from FairTask.
Definition at line 100 of file CbmLitClusteringQa.cxx.
References fHM, FillEventCounterHistograms(), FillHitEfficiencyHistograms(), FillResidualAndPullHistograms(), fMuchClusterMatches, fMuchClusters, fMuchPixelHitMatches, fMuchPixelHits, fMuchPoints, fStsClusterMatches, fStsClusters, fStsHitMatches, fStsHits, fStsPoints, fTrdClusterMatches, fTrdClusters, fTrdHitMatches, fTrdHits, fTrdPoints, CbmHistManager::H1(), kMuch, kSts, kTrd, ProcessClusters(), ProcessDigis(), ProcessHits(), and ProcessPoints().
|
private |
Definition at line 287 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Exists(), fDigiMan, fHM, fMuchClusters, fMuchPixelHits, fMuchPoints, fMvdClusters, fMvdHits, fMvdPoints, fRichHits, fRichPoints, fStsClusters, fStsHits, fStsPoints, fTofHits, fTofPoints, fTrdClusters, fTrdHits, fTrdPoints, CbmDigiManager::GetNofDigis(), CbmHistManager::H1(), CbmDigiManager::IsPresent(), kMuch, kMvd, kSts, kTrd, and CbmMCDataArray::Size().
Referenced by Exec().
|
private |
Definition at line 383 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Exists(), fHM, CbmHit::GetAddress(), CbmLink::GetEntry(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), GetStationId(), CbmHistManager::H1(), hits, and points.
Referenced by Exec().
|
private |
Definition at line 338 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Exists(), fEventList, fHM, fTimeSlice, CbmHit::GetAddress(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmLink::GetEntry(), CbmMCEventList::GetEventTime(), CbmLink::GetIndex(), CbmMatch::GetMatchedLink(), GetStationId(), CbmHit::GetTime(), CbmHit::GetTimeError(), CbmPixelHit::GetX(), CbmPixelHit::GetY(), CbmHistManager::H2(), hits, and points.
Referenced by Exec().
|
virtual |
Derived from FairTask.
Definition at line 133 of file CbmLitClusteringQa.cxx.
References CbmSimulationReport::Create(), fHM, fOutputDir, and CbmHistManager::WriteToFile().
|
private |
Definition at line 211 of file CbmLitClusteringQa.cxx.
References CbmTrdAddress::GetLayerId(), CbmStsSetup::GetStationNumber(), CbmMuchGeoScheme::Instance(), CbmStsSetup::Instance(), kMuch, kSts, and kTrd.
Referenced by FillHitEfficiencyHistograms(), FillResidualAndPullHistograms(), ProcessClusters(), ProcessDigis(), ProcessHits(), and ProcessPoints().
|
virtual |
Derived from FairTask.
Definition at line 80 of file CbmLitClusteringQa.cxx.
References CreateHistograms(), CbmLitDetectorSetup::DetermineSetup(), fDet, fHM, fMuchDigiFileName, CbmStsSetup::Init(), InitMuchGeoScheme(), CbmStsSetup::Instance(), CbmStsSetup::IsInit(), and ReadDataBranches().
|
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().
|
privatedelete |
|
private |
Definition at line 251 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Exists(), fHM, CbmCluster::GetAddress(), CbmCluster::GetNofDigis(), CbmMatch::GetNofLinks(), GetStationId(), and CbmHistManager::H1().
Referenced by Exec().
|
private |
Definition at line 236 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Exists(), fDigiMan, fHM, CbmDigiManager::Get(), CbmDigiManager::GetMatch(), CbmDigiManager::GetNofDigis(), GetStationId(), CbmHistManager::H1(), CbmDigiManager::IsMatchPresent(), and CbmDigiManager::IsPresent().
Referenced by Exec().
|
private |
Definition at line 268 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Exists(), fHM, CbmHit::GetAddress(), CbmPixelHit::GetDx(), CbmPixelHit::GetDy(), CbmMatch::GetNofLinks(), GetStationId(), CbmHistManager::H1(), and hits.
Referenced by Exec().
|
private |
Definition at line 223 of file CbmLitClusteringQa.cxx.
References CbmHistManager::Exists(), fHM, GetStationId(), CbmHistManager::H1(), and points.
Referenced by Exec().
|
private |
Read data branches.
Definition at line 169 of file CbmLitClusteringQa.cxx.
References fEventList, fMCTracks, fMuchClusterMatches, fMuchClusters, fMuchPixelHitMatches, fMuchPixelHits, fMuchPoints, fMvdHits, fMvdPoints, fRichHits, fRichPoints, fStsClusterMatches, fStsClusters, fStsHitMatches, fStsHits, fStsPoints, fTimeSlice, fTofHits, fTofPoints, fTrdClusterMatches, fTrdClusters, fTrdHitMatches, fTrdHits, fTrdPoints, CbmMCDataManager::GetObject(), and CbmMCDataManager::InitBranch().
Referenced by Init().
|
inline |
Definition at line 60 of file CbmLitClusteringQa.h.
References fMuchDigiFileName.
|
inline |
|
private |
Definition at line 116 of file CbmLitClusteringQa.h.
Referenced by CreateClusterParametersHistograms(), CreateHitEfficiencyHistograms(), CreateNofObjectsHistograms(), CreateNofObjectsHistograms(), Init(), and InitMuchGeoScheme().
|
private |
Definition at line 117 of file CbmLitClusteringQa.h.
Referenced by FillEventCounterHistograms(), and ProcessDigis().
|
private |
Definition at line 155 of file CbmLitClusteringQa.h.
Referenced by FillResidualAndPullHistograms(), and ReadDataBranches().
|
private |
Definition at line 114 of file CbmLitClusteringQa.h.
Referenced by CreateClusterParametersHistograms(), CreateHistograms(), CreateHitEfficiencyHistograms(), CreateNofObjectsHistograms(), CreateNofObjectsHistograms(), Exec(), FillEventCounterHistograms(), FillHitEfficiencyHistograms(), FillResidualAndPullHistograms(), Finish(), Init(), ProcessClusters(), ProcessDigis(), ProcessHits(), ProcessPoints(), and ~CbmLitClusteringQa().
|
private |
Interface to digi data.
Definition at line 120 of file CbmLitClusteringQa.h.
Referenced by ReadDataBranches().
|
private |
Definition at line 140 of file CbmLitClusteringQa.h.
Referenced by Exec(), and ReadDataBranches().
|
private |
Definition at line 138 of file CbmLitClusteringQa.h.
Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().
|
private |
Definition at line 152 of file CbmLitClusteringQa.h.
Referenced by Init(), InitMuchGeoScheme(), and SetMuchDigiFileName().
|
private |
CbmMatch array.
Definition at line 141 of file CbmLitClusteringQa.h.
Referenced by Exec(), and ReadDataBranches().
|
private |
Definition at line 139 of file CbmLitClusteringQa.h.
Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().
|
private |
Definition at line 137 of file CbmLitClusteringQa.h.
Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().
|
private |
Definition at line 123 of file CbmLitClusteringQa.h.
Referenced by FillEventCounterHistograms().
|
private |
Definition at line 124 of file CbmLitClusteringQa.h.
Referenced by FillEventCounterHistograms(), and ReadDataBranches().
|
private |
Definition at line 122 of file CbmLitClusteringQa.h.
Referenced by FillEventCounterHistograms(), and ReadDataBranches().
|
private |
Definition at line 115 of file CbmLitClusteringQa.h.
Referenced by Finish(), and SetOutputDir().
|
private |
Definition at line 135 of file CbmLitClusteringQa.h.
Referenced by FillEventCounterHistograms(), and ReadDataBranches().
|
private |
CbmMatch (hit)
Definition at line 134 of file CbmLitClusteringQa.h.
Referenced by FillEventCounterHistograms(), and ReadDataBranches().
|
private |
CbmStsHit array.
Definition at line 131 of file CbmLitClusteringQa.h.
Referenced by Exec(), and ReadDataBranches().
|
private |
Definition at line 128 of file CbmLitClusteringQa.h.
Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().
|
private |
CbmMatch (cluster)
Definition at line 132 of file CbmLitClusteringQa.h.
Referenced by Exec(), and ReadDataBranches().
|
private |
Definition at line 130 of file CbmLitClusteringQa.h.
Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().
|
private |
Definition at line 126 of file CbmLitClusteringQa.h.
Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().
|
private |
Definition at line 154 of file CbmLitClusteringQa.h.
Referenced by FillResidualAndPullHistograms(), and ReadDataBranches().
|
private |
Definition at line 150 of file CbmLitClusteringQa.h.
Referenced by FillEventCounterHistograms(), and ReadDataBranches().
|
private |
CbmMatch (hit)
Definition at line 149 of file CbmLitClusteringQa.h.
Referenced by FillEventCounterHistograms(), and ReadDataBranches().
|
private |
Definition at line 146 of file CbmLitClusteringQa.h.
Referenced by Exec(), and ReadDataBranches().
|
private |
Definition at line 144 of file CbmLitClusteringQa.h.
Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().
|
private |
CbmMatch (cluster)
Definition at line 147 of file CbmLitClusteringQa.h.
Referenced by Exec(), and ReadDataBranches().
|
private |
Definition at line 145 of file CbmLitClusteringQa.h.
Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().
|
private |
CbmMatch (hit)
Definition at line 143 of file CbmLitClusteringQa.h.
Referenced by Exec(), FillEventCounterHistograms(), and ReadDataBranches().