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. | |
std::vector< Int_t > | fClusterCharges |
std::vector< Bool_t > | fLocalMax |
std::vector< CbmMuchPad * > | fClusterPads |
std::vector< std::vector< Int_t > > | fNeighbours |
std::vector< Double_t > | IgnoredAddresses |
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 |
Double_t | fGemTX = 0.0 |
Double_t | fGemTY = 0.0 |
Double_t | fRpcTX = 0.0 |
Double_t | fRpcTY = 0.0 |
Definition at line 51 of file CbmMuchFindHitsGem.h.
CbmMuchFindHitsGem::CbmMuchFindHitsGem | ( | const char * | digiFileName, |
Int_t | flag ) |
Definition at line 47 of file CbmMuchFindHitsGem.cxx.
|
inlinevirtual |
Definition at line 54 of file CbmMuchFindHitsGem.h.
|
private |
|
private |
|
private |
Definition at line 457 of file CbmMuchFindHitsGem.cxx.
References CreateCluster(), fDigiIndices, CbmMuchPad::GetDigiIndex(), CbmMuchPad::GetNeighbours(), and CbmMuchPad::SetDigiIndex().
Referenced by CreateCluster(), ExecClusteringPeaks(), ExecClusteringSimple(), and FindClusters().
|
private |
--------------------------—Drift time correction for GEM and RPC hits---------------------—
GEM
Definition at line 619 of file CbmMuchFindHitsGem.cxx.
References bBeamTimeDigi, fDigiManager, fFlag, fGemTX, fGemTY, fGeoScheme, fHits, fRpcTX, fRpcTY, CbmDigiManager::Get(), CbmMuchDigi::GetAdc(), CbmMuchDigi::GetAddress(), CbmMuchModule::GetDetectorType(), CbmCluster::GetDigi(), CbmMuchPad::GetDx(), CbmMuchPad::GetDxy(), CbmMuchPad::GetDy(), CbmMuchAddress::GetElementAddress(), CbmMuchGeoScheme::GetLayerSideNr(), CbmCluster::GetNofDigis(), CbmMuchModuleGem::GetPad(), CbmMuchDigi::GetTime(), CbmMuchPad::GetX(), CbmMuchPad::GetY(), IgnoredAddresses, kMuchModule, kMuchPixelHit, sqrt(), x, and y.
Referenced by ExecClusteringPeaks(), ExecClusteringSimple(), and ProcessData().
|
virtual |
Definition at line 165 of file CbmMuchFindHitsGem.cxx.
References fClusters, fDigiManager, fEventMode, fEvents, fHits, fNofTimeslices, fuClusters, CbmDigiManager::GetNofDigis(), IgnoredAddresses, kMuch, kMuchCluster, kMuchDigi, kMuchPixelHit, and ProcessData().
|
private |
Definition at line 534 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(), IgnoredAddresses, and CbmMuchPad::SetDigiIndex().
Referenced by ProcessData().
|
private |
Definition at line 471 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(), IgnoredAddresses, and CbmMuchPad::SetDigiIndex().
Referenced by ProcessData().
|
private |
Definition at line 290 of file CbmMuchFindHitsGem.cxx.
References CbmMuchModule::AddDigi(), CbmCluster::AddDigis(), bBeamTimeDigi, CreateCluster(), fAlgorithm, fClusterSeparationTime, fDigiIndices, fDigiManager, fFiredPads, fFlag, fGeoScheme, fNofTimeslices, fuClusters, CbmDigiManager::Get(), CbmMuchAddress::GetAddress(), CbmMuchDigi::GetAddress(), CbmMuchAddress::GetChannelIndex(), CbmMuchGeoScheme::GetGemModules(), CbmMuchAddress::GetLayerIndex(), CbmMuchAddress::GetLayerSideIndex(), CbmMuchGeoScheme::GetModuleByDetId(), CbmMuchAddress::GetModuleIndex(), CbmDigiManager::GetNofDigis(), CbmMuchModuleGem::GetPad(), CbmMuchAddress::GetSectorIndex(), CbmMuchAddress::GetStationIndex(), CbmMuchDigi::GetTime(), IgnoredAddresses, kMuch, kMuchCluster, kMuchDigi, CbmCluster::SetAddress(), and CbmMuchPad::SetDigiIndex().
Referenced by ProcessData().
|
privatevirtual |
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 77 of file CbmMuchFindHitsGem.cxx.
References bBeamTimeDigi, fClusters, fDigiFile, fDigiManager, fEventMode, fEvents, fFlag, fGemTX, fGemTY, fGeoScheme, fHits, fRpcTX, fRpcTY, CbmDigiManager::Init(), CbmMuchGeoScheme::Init(), CbmDigiManager::Instance(), and CbmDigiManager::UseMuchBeamTimeDigi().
|
private |
void CbmMuchFindHitsGem::ProcessData | ( | CbmEvent * | event | ) |
Definition at line 245 of file CbmMuchFindHitsGem.cxx.
References CreateHits(), ExecClusteringPeaks(), ExecClusteringSimple(), fAlgorithm, fClusters, fDigiIndices, fEvent, fFiredPads, FindClusters(), and kMuchCluster.
Referenced by Exec().
|
inline |
Definition at line 57 of file CbmMuchFindHitsGem.h.
References fAlgorithm.
|
inline |
Definition at line 63 of file CbmMuchFindHitsGem.h.
References bBeamTimeDigi.
|
inline |
Definition at line 59 of file CbmMuchFindHitsGem.h.
References fClusterSeparationTime.
|
inline |
Definition at line 58 of file CbmMuchFindHitsGem.h.
References fThresholdRatio.
|
private |
Definition at line 105 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), Init(), and SetBeamTimeDigi().
|
private |
Definition at line 74 of file CbmMuchFindHitsGem.h.
Referenced by FindClusters(), ProcessData(), and SetAlgorithm().
|
private |
Definition at line 82 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks().
|
private |
Definition at line 84 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks().
|
private |
Definition at line 88 of file CbmMuchFindHitsGem.h.
Referenced by Exec(), Init(), and ProcessData().
|
private |
Definition at line 75 of file CbmMuchFindHitsGem.h.
Referenced by FindClusters(), and SetClusterSeparationTime().
|
private |
Definition at line 72 of file CbmMuchFindHitsGem.h.
Referenced by Init().
|
private |
Definition at line 92 of file CbmMuchFindHitsGem.h.
Referenced by CreateCluster(), ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), and ProcessData().
|
private |
Definition at line 80 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), Exec(), ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), and Init().
|
private |
Definition at line 77 of file CbmMuchFindHitsGem.h.
Referenced by ProcessData().
|
private |
Definition at line 94 of file CbmMuchFindHitsGem.h.
|
private |
Interface to digi branch.
Definition at line 81 of file CbmMuchFindHitsGem.h.
|
private |
Definition at line 93 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), and ProcessData().
|
private |
Definition at line 73 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), FindClusters(), and Init().
|
private |
Definition at line 110 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), and Init().
|
private |
Definition at line 111 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), and Init().
|
private |
Definition at line 90 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), ExecClusteringPeaks(), ExecClusteringSimple(), FindClusters(), and Init().
|
private |
Definition at line 89 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), Exec(), and Init().
|
private |
Definition at line 83 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks().
|
private |
Definition at line 85 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringPeaks().
|
private |
Definition at line 78 of file CbmMuchFindHitsGem.h.
Referenced by Exec(), and FindClusters().
|
private |
Definition at line 113 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), and Init().
|
private |
Definition at line 114 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), and Init().
|
private |
Definition at line 76 of file CbmMuchFindHitsGem.h.
Referenced by ExecClusteringSimple(), and SetThresholdRatio().
|
private |
Definition at line 104 of file CbmMuchFindHitsGem.h.
Referenced by Exec(), and FindClusters().
|
private |
Definition at line 86 of file CbmMuchFindHitsGem.h.
Referenced by CreateHits(), Exec(), ExecClusteringPeaks(), ExecClusteringSimple(), and FindClusters().