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 20 of file CbmMuchModuleGemRectangular.h.
CbmMuchModuleGemRectangular::CbmMuchModuleGemRectangular | ( | ) |
Definition at line 23 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 37 of file CbmMuchModuleGemRectangular.cxx.
References CbmMuchModule::fDetectorType.
|
inlinevirtual |
Definition at line 30 of file CbmMuchModuleGemRectangular.h.
|
inlineinherited |
Definition at line 64 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 67 of file CbmMuchModuleGem.h.
References CbmMuchModuleGem::fSectors.
Referenced by CbmMuchSegmentSector::SegmentModule(), CbmMuchSegmentAuto::SegmentSector(), and CbmMuchSegmentManual::SegmentSector().
|
protectedinherited |
|
protected |
|
inlineinherited |
Definition at line 68 of file CbmMuchModule.h.
References CbmMuchModule::fDigis.
|
virtualinherited |
Reimplemented from CbmMuchModule.
Definition at line 88 of file CbmMuchModuleGem.cxx.
References CbmMuchModuleGem::fSectors.
|
inherited |
Definition at line 101 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::DrawPads(), and CbmMuchModuleGem::fSectors.
|
inlineinherited |
Definition at line 55 of file CbmMuchModule.h.
References CbmMuchModule::fClusters.
Referenced by CbmMuchGeoScheme::ClearClusterArrays().
|
inlineinherited |
Definition at line 49 of file CbmMuchModule.h.
References CbmMuchModule::fCutRadius.
Referenced by CbmMuchSegmentAuto::SegmentSector(), and CbmMuchSegmentManual::SegmentSector().
|
inlineinherited |
Accessors
Definition at line 48 of file CbmMuchModule.h.
References CbmMuchModule::fDetectorId.
Referenced by CbmMuchClustering::ClusteringWard(), CbmMuchGeoScheme::GetGemModules(), CbmMuchGeoScheme::GetModules(), CbmMuchSegmentManual::GetPadMaxSize(), CbmMuchSegmentManual::GetSectorMaxSize(), CbmMuchGeoScheme::InitModules(), CbmMuchSegmentAuto::SegmentModule(), CbmMuchSegmentSector::SegmentModule(), CbmMuchSegmentManual::SegmentModule(), CbmMuchSegmentAuto::SegmentSector(), CbmMuchSegmentManual::SegmentSector(), CbmClusteringGeometry::SetMuchModuleGeometryRadial(), and CbmClusteringGeometry::SetMuchModuleGeometryRadialFast().
|
inlineinherited |
Definition at line 52 of file CbmMuchModule.h.
References CbmMuchModule::fDetectorType.
Referenced by CbmMuchGeoScheme::ClearClusterArrays(), CbmMuchGeoScheme::CreateClusterArrays(), CbmMuchGeoScheme::CreateHitArrays(), CbmMuchFindHitsGem::CreateHits(), CbmMuchDigitizeGem::DetectorParameters(), CbmMuchHitFinderQa::DigitizerQa(), CbmMuchSegmentAuto::DrawSegmentation(), CbmMuchSegmentSector::DrawSegmentation(), CbmMuchSegmentManual::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), CbmMuchDigitizerQa::FillChargePerPoint(), CbmMuchDigitizerQa::FillTotalPadsHistos(), CbmMuchDigitizeGem::GenerateNoise(), CbmMuchGeoScheme::GetGemModules(), CbmMuchFindVectors::GetHits(), CbmMuchFindVectorsGem::GetHits(), CbmMuchDigitizerQa::GetMaxPadSize(), CbmMuchHitFinderQa::GetMaxPadSize(), CbmMuchDigitizerQa::GetMinPadSize(), CbmMuchHitFinderQa::GetMinPadSize(), CbmMuchDigitizerQa::GetNChannels(), CbmMuchHitFinderQa::GetNChannels(), CbmMuchDigitizerQa::GetNSectors(), CbmMuchHitFinderQa::GetNSectors(), CbmMuchFindVectorsQA::Init(), CbmMuchHitFinderQa::Init(), CbmMuchMergeVectorsQA::Init(), CbmMuchMergeVectors::Init(), CbmMuchFindVectors::Init(), CbmMuchFindVectorsGem::Init(), CbmMuchDigitizeGem::Init(), CbmMuchSegmentAuto::InitLayerSide(), CbmMuchHitFinderQa::OccupancyQa(), CbmMuchDigitizerQa::OccupancyQa(), CbmMuchSegmentAuto::Print(), CbmMuchSegmentManual::Print(), CbmMuchSegmentSector::SegmentLayerSide(), and CbmMuchSegmentManual::SegmentLayerSide().
|
inlineinherited |
Definition at line 70 of file CbmMuchModule.h.
References CbmMuchModule::fDigis.
Referenced by CbmMuchFindHitsGem::FindClusters().
|
inline |
Definition at line 35 of file CbmMuchModuleGemRectangular.h.
References fGrid.
|
inline |
Definition at line 38 of file CbmMuchModuleGemRectangular.h.
References fGridDx.
|
inline |
Definition at line 39 of file CbmMuchModuleGemRectangular.h.
References fGridDy.
|
protected |
Definition at line 82 of file CbmMuchModuleGemRectangular.cxx.
References fGridDx, CbmMuchModule::fPosition, CbmMuchModule::fSize, and x.
Referenced by GetSector(), and InitNeighbourSectors().
|
protected |
Definition at line 92 of file CbmMuchModuleGemRectangular.cxx.
References fGridDy, CbmMuchModule::fPosition, CbmMuchModule::fSize, and y.
Referenced by GetSector(), and InitNeighbourSectors().
|
inline |
Definition at line 36 of file CbmMuchModuleGemRectangular.h.
References fGridNx.
|
inline |
Definition at line 37 of file CbmMuchModuleGemRectangular.h.
References fGridNy.
|
inlineinherited |
Definition at line 54 of file CbmMuchModule.h.
References CbmMuchModule::fHits.
|
inherited |
Definition at line 58 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::GetNChannels(), CbmMuchModuleGem::GetNSectors(), and CbmMuchModuleGem::GetSectorByIndex().
Referenced by CbmMuchDigitizeGem::GenerateNoisePerModule(), CbmMuchDigitizerQa::GetNChannels(), CbmMuchHitFinderQa::GetNChannels(), CbmClusteringGeometry::SetMuchModuleGeometryRadial(), and CbmClusteringGeometry::SetMuchModuleGeometryRadialFast().
|
inlineinherited |
Definition at line 57 of file CbmMuchModuleGem.h.
References CbmMuchModuleGem::fSectors.
Referenced by CbmMuchSegmentAuto::DrawSegmentation(), CbmMuchSegmentSector::DrawSegmentation(), CbmMuchSegmentManual::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), CbmMuchModuleGem::GetNPads(), CbmMuchDigitizerQa::GetNSectors(), CbmMuchHitFinderQa::GetNSectors(), CbmMuchModuleGem::GetPads(), InitGrid(), InitModule(), CbmMuchModuleGemRadial::InitModule(), InitNeighbourPads(), InitNeighbourSectors(), CbmMuchSegmentAuto::Print(), CbmMuchSegmentManual::Print(), CbmMuchSegmentAuto::SegmentModule(), CbmMuchSegmentManual::SegmentModule(), CbmMuchSegmentAuto::SegmentSector(), CbmMuchSegmentManual::SegmentSector(), CbmClusteringGeometry::SetMuchModuleGeometryRadial(), and CbmClusteringGeometry::SetMuchModuleGeometryRadialFast().
CbmMuchPadRectangular * CbmMuchModuleGemRectangular::GetPad | ( | Double_t | x, |
Double_t | y | ||
) |
Definition at line 102 of file CbmMuchModuleGemRectangular.cxx.
References CbmMuchSectorRectangular::GetPad(), GetSector(), x, and y.
Referenced by CbmMuchDigitizeGem::ExecPoint(), and InitNeighbourPads().
|
inherited |
Gets pad by the given address
Definition at line 79 of file CbmMuchModuleGem.cxx.
References CbmMuchAddress::GetChannelIndex(), CbmMuchSector::GetPadByChannelIndex(), and CbmMuchModuleGem::GetSector().
Referenced by CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), CbmMuchClustering::ClusteringWard(), CbmMuchFindHitsGem::CreateHits(), CbmMuchHitFinderQa::DigitizerQa(), CbmMuchHitFinderQa::Exec(), CbmMuchFindHitsGem::ExecClusteringPeaks(), CbmMuchFindHitsGem::ExecClusteringSimple(), CbmMuchDigitizerQa::FillChargePerPoint(), CbmMuchFindHitsGem::FindClusters(), CbmMuchDigitizeGem::GenerateNoisePerModule(), CbmMuchHitFinderQa::OccupancyQa(), CbmMuchDigitizerQa::OccupancyQa(), CbmMuchDigitizerQa::PrintFrontLayerDigis(), and CbmMuchModuleGem::SetPadFired().
|
inherited |
Gets array of pads for this module.
Definition at line 41 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::GetNChannels(), CbmMuchModuleGem::GetNSectors(), CbmMuchSector::GetPadByChannelIndex(), and CbmMuchModuleGem::GetSectorByIndex().
Referenced by CbmMuchDigitizerQa::FillTotalPadsHistos(), CbmMuchDigitizerQa::GetMaxPadSize(), CbmMuchHitFinderQa::GetMaxPadSize(), CbmMuchDigitizerQa::GetMinPadSize(), CbmMuchHitFinderQa::GetMinPadSize(), and CbmMuchHitFinderQa::Init().
|
inlineinherited |
Definition at line 53 of file CbmMuchModule.h.
References CbmMuchModule::fPoints.
|
inlineinherited |
Definition at line 51 of file CbmMuchModule.h.
References CbmMuchModule::fPosition.
Referenced by CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), CbmMuchClustering::ClusteringWard(), CbmMuchFindHitsGem::CreateHits(), CbmMuchLayer::GetDz(), CbmMuchSegmentManual::IntersectsRad(), CbmMuchSegmentAuto::SegmentModule(), CbmMuchSegmentSector::SegmentModule(), and CbmMuchSegmentManual::SegmentModule().
CbmMuchSectorRectangular * CbmMuchModuleGemRectangular::GetSector | ( | Double_t | x, |
Double_t | y | ||
) |
Definition at line 75 of file CbmMuchModuleGemRectangular.cxx.
References GetGridIndexX(), GetGridIndexY(), x, and y.
Referenced by CbmMuchDigitizeGem::ExecPoint(), and GetPad().
|
inherited |
Gets sector by the given address
Definition at line 71 of file CbmMuchModuleGem.cxx.
References CbmMuchModuleGem::fSectors, and CbmMuchAddress::GetSectorIndex().
Referenced by CbmMuchSegmentAuto::DrawSegmentation(), CbmMuchModuleGem::GetPad(), and CbmMuchSegmentAuto::Print().
CbmMuchSectorRectangular * CbmMuchModuleGemRectangular::GetSector | ( | Int_t | ix, |
Int_t | iy | ||
) |
Definition at line 63 of file CbmMuchModuleGemRectangular.cxx.
References fGrid, fGridNx, fGridNy, and CbmMuchModuleGem::fSectors.
|
inlineinherited |
Definition at line 54 of file CbmMuchModuleGem.h.
References CbmMuchModuleGem::fSectors.
Referenced by CbmMuchSegmentSector::DrawSegmentation(), CbmMuchSegmentManual::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), CbmMuchModuleGem::GetNPads(), CbmMuchModuleGem::GetPads(), CbmMuchModuleGemRadial::InitModule(), CbmMuchSegmentManual::Print(), CbmClusteringGeometry::SetMuchModuleGeometryRadial(), and CbmClusteringGeometry::SetMuchModuleGeometryRadialFast().
|
inlineinherited |
Definition at line 50 of file CbmMuchModule.h.
References CbmMuchModule::fSize.
Referenced by CbmMuchDigitizeGem::DetectorParameters(), CbmMuchLayer::GetDz(), CbmMuchSegmentManual::IntersectsRad(), CbmMuchSegmentAuto::SegmentModule(), and CbmMuchSegmentManual::SegmentModule().
|
protected |
Definition at line 112 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(), max(), x, and y.
Referenced by InitModule().
|
virtual |
Reimplemented from CbmMuchModuleGem.
Definition at line 253 of file CbmMuchModuleGemRectangular.cxx.
References CbmMuchSectorRectangular::AddPads(), CbmMuchModule::fPosition, CbmMuchModuleGem::fSectors, CbmMuchModuleGem::GetNSectors(), InitGrid(), InitNeighbourPads(), and InitNeighbourSectors().
Referenced by CbmMuchSegmentManual::DrawSegmentation().
|
protected |
Definition at line 207 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 166 of file CbmMuchModuleGemRectangular.cxx.
References fGrid, fGridNx, fGridNy, CbmMuchModuleGem::fSectors, GetGridIndexX(), GetGridIndexY(), CbmMuchModuleGem::GetNSectors(), and CbmMuchSectorRectangular::SetNeighbours().
Referenced by InitModule().
|
inlineinherited |
Definition at line 62 of file CbmMuchModule.h.
References CbmMuchModule::fClusters.
Referenced by CbmMuchGeoScheme::CreateClusterArrays().
|
inlineinherited |
Definition at line 61 of file CbmMuchModule.h.
References CbmMuchModule::fHits, and hits.
Referenced by CbmMuchGeoScheme::CreateHitArrays().
|
inherited |
Definition at line 110 of file CbmMuchModuleGem.cxx.
References CbmMuchModuleGem::GetPad(), and CbmMuchPad::SetFired().
|
inlineinherited |
Definition at line 60 of file CbmMuchModule.h.
References CbmMuchModule::fPoints, and points.
Referenced by CbmMuchGeoScheme::CreatePointArrays().
|
protectedinherited |
Definition at line 81 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetClusters(), and CbmMuchModule::SetClusters().
|
protectedinherited |
Definition at line 75 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetCutRadius().
|
protectedinherited |
Definition at line 73 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetDetectorId().
|
protectedinherited |
Definition at line 74 of file CbmMuchModule.h.
Referenced by CbmMuchModuleGemRadial::CbmMuchModuleGemRadial(), CbmMuchModuleGemRectangular(), and CbmMuchModule::GetDetectorType().
|
protectedinherited |
Definition at line 82 of file CbmMuchModule.h.
Referenced by CbmMuchModule::AddDigi(), CbmMuchModule::ClearDigis(), and CbmMuchModule::GetDigis().
|
protected |
Definition at line 48 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGrid(), GetSector(), InitGrid(), and InitNeighbourSectors().
|
protected |
Definition at line 45 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGridDx(), GetGridIndexX(), and InitGrid().
|
protected |
Definition at line 46 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGridDy(), GetGridIndexY(), and InitGrid().
|
protected |
Definition at line 43 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGridNx(), GetSector(), InitGrid(), and InitNeighbourSectors().
|
protected |
Definition at line 44 of file CbmMuchModuleGemRectangular.h.
Referenced by GetGridNy(), GetSector(), InitGrid(), and InitNeighbourSectors().
|
protectedinherited |
Definition at line 80 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetHits(), and CbmMuchModule::SetHits().
|
protectedinherited |
Definition at line 79 of file CbmMuchModule.h.
Referenced by CbmMuchModule::GetPoints(), and CbmMuchModule::SetPoints().
|
protectedinherited |
Definition at line 78 of file CbmMuchModule.h.
Referenced by GetGridIndexX(), GetGridIndexY(), CbmMuchModule::GetPosition(), InitGrid(), and InitModule().
|
protectedinherited |
Definition at line 79 of file CbmMuchModuleGem.h.
Referenced by CbmMuchModuleGem::AddSector(), CbmMuchModuleGem::DrawModule(), CbmMuchModuleGem::DrawPads(), CbmMuchModuleGem::GetNSectors(), GetSector(), CbmMuchModuleGem::GetSector(), CbmMuchModuleGem::GetSectorByIndex(), CbmMuchModuleGemRadial::GetSectorByRadius(), InitGrid(), InitModule(), InitNeighbourPads(), and InitNeighbourSectors().
|
protectedinherited |
Definition at line 76 of file CbmMuchModule.h.
Referenced by GetGridIndexX(), GetGridIndexY(), CbmMuchModule::GetSize(), and InitGrid().
|
protected |
Definition at line 42 of file CbmMuchModuleGemRectangular.h.
Referenced by InitGrid().