CbmRoot
|
#include <CbmMuchFindHitsGem.h>
Public Member Functions | |
CbmMuchFindHitsGem (const char *digiFileName, Int_t flag) | |
virtual | ~CbmMuchFindHitsGem () |
virtual void | Exec (Option_t *opt) |
void | ProcessData (CbmEvent *) |
void | SetAlgorithm (Int_t iAlgorithm) |
void | SetThresholdRatio (Double_t thresholdRatio) |
void | SetClusterSeparationTime (Double_t time) |
void | SetBeamTimeDigi (Bool_t beam) |
Private Member Functions | |
virtual InitStatus | Init () |
void | FindClusters (CbmEvent *) |
void | CreateCluster (CbmMuchPad *pad) |
void | ExecClusteringSimple (CbmMuchCluster *cluster, Int_t iCluster, CbmEvent *event) |
void | ExecClusteringPeaks (CbmMuchCluster *cluster, Int_t iCluster, CbmEvent *event) |
void | CreateHits (CbmMuchCluster *cluster, Int_t iCluster, CbmEvent *event) |
CbmMuchFindHitsGem (const CbmMuchFindHitsGem &) | |
CbmMuchFindHitsGem | operator= (const CbmMuchFindHitsGem &) |
ClassDef (CbmMuchFindHitsGem, 1) | |
Private Attributes | |
TString | fDigiFile |
Int_t | fFlag |
Int_t | fAlgorithm |
Double_t | fClusterSeparationTime |
Double_t | fThresholdRatio |
Int_t | fEvent |
Int_t | fNofTimeslices |
CbmDigiManager * | fDigiManager |
TClonesArray * | fEvents |
Interface to digi branch. More... | |
std::vector< Int_t > | fClusterCharges |
std::vector< Bool_t > | fLocalMax |
std::vector< CbmMuchPad * > | fClusterPads |
std::vector< std::vector< Int_t > > | fNeighbours |
TClonesArray * | fClusters |
TClonesArray * | fHits |
CbmMuchGeoScheme * | fGeoScheme |
std::vector< Int_t > | fDigiIndices |
std::vector< CbmMuchPad * > | fFiredPads |
Bool_t | fEventMode = kFALSE |
UInt_t | fuClusters = 0 |
Bool_t | bBeamTimeDigi = kFALSE |
Definition at line 46 of file CbmMuchFindHitsGem.h.
CbmMuchFindHitsGem::CbmMuchFindHitsGem | ( | const char * | digiFileName, |
Int_t | flag | ||
) |
Definition at line 41 of file CbmMuchFindHitsGem.cxx.
|
inlinevirtual |
Definition at line 49 of file CbmMuchFindHitsGem.h.
|
private |
|
private |
|
private |
Definition at line 407 of file CbmMuchFindHitsGem.cxx.
References fDigiIndices, CbmMuchPad::GetDigiIndex(), CbmMuchPad::GetNeighbours(), i, and CbmMuchPad::SetDigiIndex().
Referenced by ExecClusteringPeaks(), ExecClusteringSimple(), and FindClusters().
|
private |
added
--------------------------—Drift time correction for GEM and RPC hits---------------------—
GEM
Definition at line 569 of file CbmMuchFindHitsGem.cxx.
References bBeamTimeDigi, fDigiManager, fFlag, fGeoScheme, fHits, CbmDigiManager::Get(), CbmMuchDigi::GetAdc(), CbmMuchDigi::GetAddress(), CbmMuchModule::GetDetectorType(), CbmCluster::GetDigi(), CbmMuchPad::GetDx(), CbmMuchPad::GetDxy(), CbmMuchPad::GetDy(), CbmMuchAddress::GetElementAddress(), CbmMuchGeoScheme::GetLayerSideNr(), CbmMuchGeoScheme::GetModuleByDetId(), CbmCluster::GetNofDigis(), CbmMuchModuleGem::GetPad(), CbmMuchModule::GetPosition(), CbmMuchDigi::GetTime(), CbmMuchPad::GetX(), CbmMuchPad::GetY(), i, kMuchModule, kMuchPixelHit, sqrt(), x, and y.
Referenced by ExecClusteringPeaks(), ExecClusteringSimple(), and ProcessData().
|
virtual |
Definition at line 132 of file CbmMuchFindHitsGem.cxx.
References fClusters, fDigiManager, fEventMode, fEvents, fHits, fNofTimeslices, fuClusters, CbmDigiManager::GetNofDigis(), kMuch, kMuchCluster, kMuchDigi, kMuchPixelHit, and ProcessData().
|
private |
Definition at line 484 of file CbmMuchFindHitsGem.cxx.
References CbmCluster::AddDigis(), bBeamTimeDigi, CreateCluster(), CreateHits(), fClusterCharges, fClusterPads, fDigiIndices, fDigiManager, fFiredPads, fGeoScheme, fLocalMax, fNeighbours, CbmDigiManager::Get(), CbmMuchDigi::GetAdc(), CbmMuchDigi::GetAddress(), CbmCluster::GetDigi(), CbmMuchGeoScheme::GetModuleByDetId(), CbmMuchPad::GetNeighbours(), CbmCluster::GetNofDigis(), CbmMuchModuleGem::GetPad(), i, and CbmMuchPad::SetDigiIndex().
Referenced by ProcessData().
|
private |
Definition at line 420 of file CbmMuchFindHitsGem.cxx.
References CbmCluster::AddDigis(), bBeamTimeDigi, CreateCluster(), CreateHits(), fDigiIndices, fDigiManager, fFiredPads, fGeoScheme, fThresholdRatio, CbmDigiManager::Get(), CbmMuchDigi::GetAdc(), CbmMuchDigi::GetAddress(), CbmCluster::GetDigi(), CbmMuchGeoScheme::GetModuleByDetId(), CbmCluster::GetNofDigis(), CbmMuchModuleGem::GetPad(), m, and CbmMuchPad::SetDigiIndex().
Referenced by ProcessData().
|
private |
Definition at line 265 of file CbmMuchFindHitsGem.cxx.
References CbmMuchModule::AddDigi(), CbmCluster::AddDigis(), bBeamTimeDigi, CreateCluster(), fAlgorithm, fClusterSeparationTime, fDigiIndices, fDigiManager, fFiredPads, fGeoScheme, fNofTimeslices, fuClusters, CbmDigiManager::Get(), CbmMuchAddress::GetAddress(), CbmMuchDigi::GetAddress(), CbmMuchModule::GetDigis(), CbmMuchGeoScheme::GetGemModules(), CbmMuchAddress::GetLayerIndex(), CbmMuchAddress::GetLayerSideIndex(), CbmMuchGeoScheme::GetModuleByDetId(), CbmMuchAddress::GetModuleIndex(), CbmDigiManager::GetNofDigis(), CbmMuchModuleGem::GetPad(), CbmMuchAddress::GetStationIndex(), CbmMuchDigi::GetTime(), kMuch, kMuchCluster, kMuchDigi, m, CbmCluster::SetAddress(), and CbmMuchPad::SetDigiIndex().
Referenced by ProcessData().
|
privatevirtual |
Definition at line 69 of file CbmMuchFindHitsGem.cxx.
References bBeamTimeDigi, fClusters, fDigiFile, fDigiManager, fEventMode, fEvents, fFlag, fGeoScheme, fHits, CbmDigiManager::Init(), CbmMuchGeoScheme::Init(), CbmDigiManager::Instance(), and CbmDigiManager::UseMuchBeamTimeDigi().
|
private |
void CbmMuchFindHitsGem::ProcessData | ( | CbmEvent * | event | ) |
Definition at line 215 of file CbmMuchFindHitsGem.cxx.
References CreateHits(), ExecClusteringPeaks(), ExecClusteringSimple(), fAlgorithm, fClusters, fDigiIndices, fEvent, fFiredPads, FindClusters(), and kMuchCluster.
Referenced by Exec().
|
inline |
Definition at line 52 of file CbmMuchFindHitsGem.h.
References fAlgorithm.
|
inline |
Definition at line 62 of file CbmMuchFindHitsGem.h.
References bBeamTimeDigi.
|
inline |
Definition at line 56 of file CbmMuchFindHitsGem.h.
References fClusterSeparationTime.
|
inline |
Definition at line 53 of file CbmMuchFindHitsGem.h.
References fThresholdRatio.
|
private |
Definition at line 108 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), Init(), and SetBeamTimeDigi().
|
private |
Definition at line 76 of file CbmMuchFindHitsGem.h.
Referenced by FindClusters(), ProcessData(), and SetAlgorithm().
|
private |
Definition at line 86 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks().
|
private |
Definition at line 88 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks().
|
private |
Definition at line 91 of file CbmMuchFindHitsGem.h.
Referenced by Exec(), Init(), and ProcessData().
|
private |
Definition at line 78 of file CbmMuchFindHitsGem.h.
Referenced by FindClusters(), and SetClusterSeparationTime().
|
private |
Definition at line 74 of file CbmMuchFindHitsGem.h.
Referenced by Init().
|
private |
Definition at line 95 of file CbmMuchFindHitsGem.h.
Referenced by CreateCluster(), ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), and ProcessData().
|
private |
Definition at line 84 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), Exec(), ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), and Init().
|
private |
Definition at line 81 of file CbmMuchFindHitsGem.h.
Referenced by ProcessData().
|
private |
Definition at line 97 of file CbmMuchFindHitsGem.h.
|
private |
Interface to digi branch.
Definition at line 85 of file CbmMuchFindHitsGem.h.
|
private |
Definition at line 96 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), and ProcessData().
|
private |
Definition at line 75 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), and Init().
|
private |
Definition at line 93 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), and Init().
|
private |
Definition at line 92 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), Exec(), and Init().
|
private |
Definition at line 87 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks().
|
private |
Definition at line 89 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks().
|
private |
Definition at line 82 of file CbmMuchFindHitsGem.h.
Referenced by Exec(), and FindClusters().
|
private |
Definition at line 80 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringSimple(), and SetThresholdRatio().
|
private |
Definition at line 107 of file CbmMuchFindHitsGem.h.
Referenced by Exec(), and FindClusters().