CbmRoot
|
#include <CbmMuchModuleGemRectangular.h>
Public Member Functions | |
CbmMuchModuleGemRectangular () | |
CbmMuchModuleGemRectangular (Int_t iStation, Int_t iLayer, Bool_t iSide, Int_t iModule, TVector3 position, TVector3 size, Double_t cutRadius) | |
virtual | ~CbmMuchModuleGemRectangular () |
virtual Bool_t | InitModule () |
CbmMuchSectorRectangular * | GetSector (Double_t x, Double_t y) |
CbmMuchSectorRectangular * | GetSector (Int_t ix, Int_t iy) |
CbmMuchPadRectangular * | GetPad (Double_t x, Double_t y) |
std::vector< std::vector< Int_t > > | GetGrid () |
Int_t | GetGridNx () |
Int_t | GetGridNy () |
Double_t | GetGridDx () |
Double_t | GetGridDy () |
CbmMuchSector * | GetSector (Int_t address) |
CbmMuchPad * | GetPad (Int_t address) |
CbmMuchSector * | GetSectorByIndex (Int_t iSector) |
Int_t | GetNSectors () const |
std::vector< CbmMuchPad * > | GetPads () |
Int_t | GetNPads () |
void | AddSector (CbmMuchSector *sector) |
void | DrawModule (Color_t color) |
void | DrawPads () |
void | SetPadFired (Int_t address, Int_t digiIndex, Int_t adcCharge) |
Int_t | GetDetectorId () const |
Double_t | GetCutRadius () const |
TVector3 | GetSize () const |
TVector3 | GetPosition () const |
Int_t | GetDetectorType () const |
TClonesArray * | GetPoints () const |
TClonesArray * | GetHits () const |
TClonesArray * | GetClusters () const |
void | SetPoints (TClonesArray *points) |
void | SetHits (TClonesArray *hits) |
void | SetClusters (TClonesArray *clusters) |
void | AddDigi (Double_t time, Int_t id) |
void | ClearDigis () |
std::multimap< Double_t, Int_t > | GetDigis () |
Protected Member Functions | |
void | InitNeighbourSectors () |
void | InitNeighbourPads () |
Int_t | GetGridIndexX (Double_t x) |
Int_t | GetGridIndexY (Double_t y) |
Bool_t | InitGrid (Bool_t useModuleDesign) |
ClassDef (CbmMuchModuleGemRectangular, 1) | |
ClassDef (CbmMuchModuleGem, 2) | |
Protected Attributes | |
Bool_t | fUseModuleDesign |
Int_t | fGridNx |
Int_t | fGridNy |
Double_t | fGridDx |
Double_t | fGridDy |
std::vector< std::vector< Int_t > > | fGrid |
std::vector< CbmMuchSector * > | fSectors |
Int_t | fDetectorId |
Int_t | fDetectorType |
Double_t | fCutRadius |
TVector3 | fSize |
TVector3 | fPosition |
TClonesArray * | fPoints |
TClonesArray * | fHits |
TClonesArray * | fClusters |
std::multimap< Double_t, Int_t > | fDigis |
Definition at line 24 of file CbmMuchModuleGemRectangular.h.
CbmMuchModuleGemRectangular::CbmMuchModuleGemRectangular | ( | ) |
Definition at line 27 of file CbmMuchModuleGemRectangular.cxx.
References CbmMuchModule::fDetectorType.
CbmMuchModuleGemRectangular::CbmMuchModuleGemRectangular | ( | Int_t | iStation, |
Int_t | iLayer, | ||
Bool_t | iSide, | ||
Int_t | iModule, | ||
TVector3 | position, | ||
TVector3 | size, | ||
Double_t | cutRadius ) |
Definition at line 42 of file CbmMuchModuleGemRectangular.cxx.
References CbmMuchModule::fDetectorType.
|
inlinevirtual |
Definition at line 29 of file CbmMuchModuleGemRectangular.h.
|
inlineinherited |
Definition at line 63 of file CbmMuchModule.h.
References CbmMuchModule::fDigis.
Referenced by CbmMuchFindHitsGem::FindClusters().
|
inlineinherited |
Adds a given sector to the array.
sector | CbmMuchSector which should be added to the array. |
Definition at line 66 of file CbmMuchModuleGem.h.
References CbmMuchModuleGem::fSectors.
|
protectedinherited |
|
protected |
|
inlineinherited |
Definition at line 65 of file CbmMuchModule.h.
References CbmMuchModule::fDigis.
|
virtualinherited |
Reimplemented from CbmMuchModule.
Definition at line 93 of file CbmMuchModuleGem.cxx.
References CbmMuchModuleGem::fSectors.
|
inherited |
Definition at line 107 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::DrawPads(), and CbmMuchModuleGem::fSectors.
|
inlineinherited |
Definition at line 54 of file CbmMuchModule.h.
References CbmMuchModule::fClusters.
Referenced by CbmMuchGeoScheme::ClearClusterArrays().
|
inlineinherited |
Definition at line 48 of file CbmMuchModule.h.
References CbmMuchModule::fCutRadius.
Referenced by CbmMuchSegmentAuto::SegmentSector(), and CbmMuchSegmentManual::SegmentSector().
|
inlineinherited |
Accessors
Definition at line 47 of file CbmMuchModule.h.
References CbmMuchModule::fDetectorId.
Referenced by CbmMuchClustering::ClusteringWard(), CbmMuchGeoScheme::GetGemModules(), CbmMuchGeoScheme::GetModules(), CbmMuchSegmentManual::GetPadMaxSize(), CbmMuchSegmentManual::GetSectorMaxSize(), and CbmMuchGeoScheme::InitModules().
|
inlineinherited |
Definition at line 51 of file CbmMuchModule.h.
References CbmMuchModule::fDetectorType.
Referenced by CbmMuchDigitizerQa::CheckConsistency(), CbmMuchGeoScheme::ClearClusterArrays(), CbmMuchGeoScheme::CreateClusterArrays(), CbmMuchGeoScheme::CreateHitArrays(), CbmMuchFindHitsGem::CreateHits(), CbmMuchSegmentAuto::DrawSegmentation(), CbmMuchSegmentManual::DrawSegmentation(), CbmMuchSegmentSector::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), CbmMuchDigitizerQa::FillTotalPadsHistos(), CbmMuchDigitizeGem::GenerateNoise(), CbmMuchGeoScheme::GetGemModules(), CbmMuchDigitizeGem::Init(), CbmMuchDigitizerQa::InitChannelPadInfo(), CbmMuchSegmentAuto::InitLayerSide(), CbmMuchSegmentAuto::Print(), CbmMuchSegmentManual::Print(), CbmMuchSegmentManual::SegmentLayerSide(), and CbmMuchSegmentSector::SegmentLayerSide().
|
inlineinherited |
Definition at line 67 of file CbmMuchModule.h.
References CbmMuchModule::fDigis.
|
inline |
Definition at line 34 of file CbmMuchModuleGemRectangular.h.
References fGrid.
|
inline |
Definition at line 37 of file CbmMuchModuleGemRectangular.h.
References fGridDx.
|
inline |
Definition at line 38 of file CbmMuchModuleGemRectangular.h.
References fGridDy.
|
protected |
Definition at line 77 of file CbmMuchModuleGemRectangular.cxx.
References fGridDx, CbmMuchModule::fPosition, CbmMuchModule::fSize, and x.
Referenced by GetSector(), and InitNeighbourSectors().
|
protected |
Definition at line 88 of file CbmMuchModuleGemRectangular.cxx.
References fGridDy, CbmMuchModule::fPosition, CbmMuchModule::fSize, and y.
Referenced by GetSector(), and InitNeighbourSectors().
|
inline |
Definition at line 35 of file CbmMuchModuleGemRectangular.h.
References fGridNx.
|
inline |
Definition at line 36 of file CbmMuchModuleGemRectangular.h.
References fGridNy.
|
inlineinherited |
Definition at line 53 of file CbmMuchModule.h.
References CbmMuchModule::fHits.
|
inherited |
Definition at line 60 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::GetNChannels(), CbmMuchModuleGem::GetNSectors(), and CbmMuchModuleGem::GetSectorByIndex().
|
inlineinherited |
Definition at line 56 of file CbmMuchModuleGem.h.
References CbmMuchModuleGem::fSectors.
Referenced by CbmMuchSegmentAuto::DrawSegmentation(), CbmMuchSegmentManual::DrawSegmentation(), CbmMuchSegmentSector::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), CbmMuchModuleGem::GetNPads(), CbmMuchModuleGem::GetPads(), InitGrid(), CbmMuchModuleGemRadial::InitModule(), InitModule(), InitNeighbourPads(), InitNeighbourSectors(), CbmMuchSegmentAuto::Print(), and CbmMuchSegmentManual::Print().
|
inherited |
Gets pad by the given address
Definition at line 83 of file CbmMuchModuleGem.cxx.
References CbmMuchAddress::GetChannelIndex(), CbmMuchSector::GetPadByChannelIndex(), and CbmMuchModuleGem::GetSector().
Referenced by CbmMuchDigitizerQa::CheckConsistency(), CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), CbmMuchClustering::ClusteringWard(), CbmMuchFindHitsGem::CreateHits(), CbmMuchFindHitsGem::ExecClusteringPeaks(), CbmMuchFindHitsGem::ExecClusteringSimple(), CbmMuchFindHitsGem::FindClusters(), CbmMuchDigitizerQa::GetPad(), and CbmMuchModuleGem::SetPadFired().
CbmMuchPadRectangular * CbmMuchModuleGemRectangular::GetPad | ( | Double_t | x, |
Double_t | y ) |
Definition at line 99 of file CbmMuchModuleGemRectangular.cxx.
References CbmMuchSectorRectangular::GetPad(), GetSector(), x, and y.
Referenced by CbmMuchDigitizeGem::ExecPoint(), and InitNeighbourPads().
|
inherited |
Gets array of pads for this module.
Definition at line 42 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::GetNChannels(), CbmMuchModuleGem::GetNSectors(), CbmMuchSector::GetPadByChannelIndex(), and CbmMuchModuleGem::GetSectorByIndex().
|
inlineinherited |
Definition at line 52 of file CbmMuchModule.h.
References CbmMuchModule::fPoints.
|
inlineinherited |
Definition at line 50 of file CbmMuchModule.h.
References CbmMuchModule::fPosition.
Referenced by CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), and CbmMuchClustering::ClusteringWard().
|
inherited |
Gets sector by the given address
Definition at line 74 of file CbmMuchModuleGem.cxx.
References CbmMuchModuleGem::fSectors, and CbmMuchAddress::GetSectorIndex().
Referenced by CbmMuchSegmentAuto::DrawSegmentation(), CbmMuchModuleGem::GetPad(), and CbmMuchSegmentAuto::Print().
CbmMuchSectorRectangular * CbmMuchModuleGemRectangular::GetSector | ( | Double_t | x, |
Double_t | y ) |
Definition at line 70 of file CbmMuchModuleGemRectangular.cxx.
References GetGridIndexX(), GetGridIndexY(), GetSector(), x, and y.
Referenced by CbmMuchDigitizeGem::ExecPoint(), GetPad(), and GetSector().
CbmMuchSectorRectangular * CbmMuchModuleGemRectangular::GetSector | ( | Int_t | ix, |
Int_t | iy ) |
Definition at line 58 of file CbmMuchModuleGemRectangular.cxx.
References fGrid, fGridNx, fGridNy, and CbmMuchModuleGem::fSectors.
|
inlineinherited |
Definition at line 53 of file CbmMuchModuleGem.h.
References CbmMuchModuleGem::fSectors.
Referenced by CbmMuchSegmentManual::DrawSegmentation(), CbmMuchSegmentSector::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), CbmMuchModuleGem::GetNPads(), CbmMuchModuleGem::GetPads(), CbmMuchModuleGemRadial::InitModule(), CbmMuchSegmentManual::Print(), CbmClusteringGeometry::SetMuchModuleGeometryRadial(), and CbmClusteringGeometry::SetMuchModuleGeometryRadialFast().
|
inlineinherited |
Definition at line 49 of file CbmMuchModule.h.
References CbmMuchModule::fSize.
|
protected |
Definition at line 109 of file CbmMuchModuleGemRectangular.cxx.
References fGrid, fGridDx, fGridDy, fGridNx, fGridNy, CbmMuchModule::fPosition, CbmMuchModuleGem::fSectors, CbmMuchModule::fSize, fUseModuleDesign, CbmMuchModuleGem::GetNSectors(), CbmMuchSector::GetSectorIndex(), CbmMuchSectorRectangular::GetSize(), CbmMuchSectorRectangular::Inside(), CbmMuchSectorRectangular::IsIncomplete(), x, and y.
Referenced by InitModule().
|
virtual |
Reimplemented from CbmMuchModuleGem.
Definition at line 245 of file CbmMuchModuleGemRectangular.cxx.
References CbmMuchSectorRectangular::AddPads(), CbmMuchModule::fPosition, CbmMuchModuleGem::fSectors, CbmMuchModuleGem::GetNSectors(), InitGrid(), InitNeighbourPads(), and InitNeighbourSectors().
|
protected |
Definition at line 202 of file CbmMuchModuleGemRectangular.cxx.
References CbmMuchModuleGem::fSectors, CbmMuchSector::GetNChannels(), CbmMuchSectorRectangular::GetNeighbours(), CbmMuchModuleGem::GetNSectors(), GetPad(), CbmMuchSector::GetPadByChannelIndex(), CbmMuchSectorRectangular::GetPadDx(), CbmMuchSectorRectangular::GetPadDy(), CbmMuchPad::SetNeighbours(), x, and y.
Referenced by InitModule().
|
protected |
Definition at line 162 of file CbmMuchModuleGemRectangular.cxx.
References fGrid, fGridNx, fGridNy, CbmMuchModuleGem::fSectors, GetGridIndexX(), GetGridIndexY(), CbmMuchModuleGem::GetNSectors(), and CbmMuchSectorRectangular::SetNeighbours().
Referenced by InitModule().
|
inlineinherited |
Definition at line 61 of file CbmMuchModule.h.
References CbmMuchModule::fClusters.
Referenced by CbmMuchGeoScheme::CreateClusterArrays().
|
inlineinherited |
Definition at line 60 of file CbmMuchModule.h.
References CbmMuchModule::fHits, and hits.
Referenced by CbmMuchGeoScheme::CreateHitArrays().
|
inherited |
Definition at line 117 of file CbmMuchModuleGem.cxx.
References CbmMuchModuleGem::GetPad(), and CbmMuchPad::SetFired().
|
inlineinherited |
Definition at line 59 of file CbmMuchModule.h.
References CbmMuchModule::fPoints, and points.
|
protectedinherited |
Definition at line 77 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetClusters(), and CbmMuchModule::SetClusters().
|
protectedinherited |
Definition at line 72 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetCutRadius().
|
protectedinherited |
Definition at line 70 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetDetectorId().
|
protectedinherited |
Definition at line 71 of file CbmMuchModule.h.
Referenced by CbmMuchModuleGemRadial::CbmMuchModuleGemRadial(), CbmMuchModuleGemRectangular(), CbmMuchModuleGemRectangular(), and CbmMuchModule::GetDetectorType().
|
protectedinherited |
Definition at line 78 of file CbmMuchModule.h.
Referenced by CbmMuchModule::AddDigi(), CbmMuchModule::ClearDigis(), and CbmMuchModule::GetDigis().
|
protected |
Definition at line 46 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGrid(), GetSector(), InitGrid(), and InitNeighbourSectors().
|
protected |
Definition at line 44 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGridDx(), GetGridIndexX(), and InitGrid().
|
protected |
Definition at line 45 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGridDy(), GetGridIndexY(), and InitGrid().
|
protected |
Definition at line 42 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGridNx(), GetSector(), InitGrid(), and InitNeighbourSectors().
|
protected |
Definition at line 43 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGridNy(), GetSector(), InitGrid(), and InitNeighbourSectors().
|
protectedinherited |
Definition at line 76 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetHits(), and CbmMuchModule::SetHits().
|
protectedinherited |
Definition at line 75 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetPoints(), and CbmMuchModule::SetPoints().
|
protectedinherited |
Definition at line 74 of file CbmMuchModule.h.
Referenced by GetGridIndexX(), GetGridIndexY(), CbmMuchModule::GetPosition(), InitGrid(), and InitModule().
|
protectedinherited |
Definition at line 78 of file CbmMuchModuleGem.h.
Referenced by CbmMuchModuleGem::AddSector(), CbmMuchModuleGem::DrawModule(), CbmMuchModuleGem::DrawPads(), CbmMuchModuleGem::GetNSectors(), CbmMuchModuleGem::GetSector(), GetSector(), CbmMuchModuleGem::GetSectorByIndex(), CbmMuchModuleGemRadial::GetSectorByRadius(), InitGrid(), InitModule(), InitNeighbourPads(), and InitNeighbourSectors().
|
protectedinherited |
Definition at line 73 of file CbmMuchModule.h.
Referenced by GetGridIndexX(), GetGridIndexY(), CbmMuchModule::GetSize(), and InitGrid().
|
protected |
Definition at line 41 of file CbmMuchModuleGemRectangular.h.
Referenced by InitGrid().