CbmRoot
|
#include <CbmMuchModuleGem.h>
Public Member Functions | |
CbmMuchModuleGem () | |
CbmMuchModuleGem (Int_t iStation, Int_t iLayer, Bool_t iSide, Int_t iModule, TVector3 position, TVector3 size, Double_t cutRadius) | |
virtual | ~CbmMuchModuleGem () |
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) |
virtual Bool_t | InitModule () |
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 | |
ClassDef (CbmMuchModuleGem, 2) | |
Protected Attributes | |
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 CbmMuchModuleGem.h.
CbmMuchModuleGem::CbmMuchModuleGem | ( | ) |
Default constructor
Definition at line 23 of file CbmMuchModuleGem.cxx.
CbmMuchModuleGem::CbmMuchModuleGem | ( | Int_t | iStation, |
Int_t | iLayer, | ||
Bool_t | iSide, | ||
Int_t | iModule, | ||
TVector3 | position, | ||
TVector3 | size, | ||
Double_t | cutRadius | ||
) |
Standard constructor
iStation | Station index |
iLayer | Layer index |
iSide | Defines side of the layer (0 - Front, 1 - Back) |
iModule | Module index |
position | Location of the module center in global c.s. (all dimensions in [cm]) |
cutRadius | Radius of the cut (if any, otherwise = -1.) [cm] |
Definition at line 28 of file CbmMuchModuleGem.cxx.
|
inlinevirtual |
Destructor
Definition at line 46 of file CbmMuchModuleGem.h.
|
inlineinherited |
Definition at line 64 of file CbmMuchModule.h.
References CbmMuchModule::fDigis.
Referenced by CbmMuchFindHitsGem::FindClusters().
|
inline |
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 fSectors.
Referenced by CbmMuchSegmentSector::SegmentModule(), CbmMuchSegmentAuto::SegmentSector(), and CbmMuchSegmentManual::SegmentSector().
|
protected |
|
inlineinherited |
Definition at line 68 of file CbmMuchModule.h.
References CbmMuchModule::fDigis.
|
virtual |
Reimplemented from CbmMuchModule.
Definition at line 88 of file CbmMuchModuleGem.cxx.
References fSectors.
void CbmMuchModuleGem::DrawPads | ( | ) |
Definition at line 101 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::DrawPads(), and 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().
|
inlineinherited |
Definition at line 54 of file CbmMuchModule.h.
References CbmMuchModule::fHits.
Int_t CbmMuchModuleGem::GetNPads | ( | ) |
Definition at line 58 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::GetNChannels(), GetNSectors(), and GetSectorByIndex().
Referenced by CbmMuchDigitizeGem::GenerateNoisePerModule(), CbmMuchDigitizerQa::GetNChannels(), CbmMuchHitFinderQa::GetNChannels(), CbmClusteringGeometry::SetMuchModuleGeometryRadial(), and CbmClusteringGeometry::SetMuchModuleGeometryRadialFast().
|
inline |
Definition at line 57 of file CbmMuchModuleGem.h.
References fSectors.
Referenced by CbmMuchSegmentAuto::DrawSegmentation(), CbmMuchSegmentSector::DrawSegmentation(), CbmMuchSegmentManual::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), GetNPads(), CbmMuchDigitizerQa::GetNSectors(), CbmMuchHitFinderQa::GetNSectors(), GetPads(), CbmMuchModuleGemRectangular::InitGrid(), CbmMuchModuleGemRectangular::InitModule(), CbmMuchModuleGemRadial::InitModule(), CbmMuchModuleGemRectangular::InitNeighbourPads(), CbmMuchModuleGemRectangular::InitNeighbourSectors(), CbmMuchSegmentAuto::Print(), CbmMuchSegmentManual::Print(), CbmMuchSegmentAuto::SegmentModule(), CbmMuchSegmentManual::SegmentModule(), CbmMuchSegmentAuto::SegmentSector(), CbmMuchSegmentManual::SegmentSector(), CbmClusteringGeometry::SetMuchModuleGeometryRadial(), and CbmClusteringGeometry::SetMuchModuleGeometryRadialFast().
CbmMuchPad * CbmMuchModuleGem::GetPad | ( | Int_t | address | ) |
Gets pad by the given address
Definition at line 79 of file CbmMuchModuleGem.cxx.
References CbmMuchAddress::GetChannelIndex(), CbmMuchSector::GetPadByChannelIndex(), and 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 SetPadFired().
vector< CbmMuchPad * > CbmMuchModuleGem::GetPads | ( | ) |
Gets array of pads for this module.
Definition at line 41 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::GetNChannels(), GetNSectors(), CbmMuchSector::GetPadByChannelIndex(), and 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().
CbmMuchSector * CbmMuchModuleGem::GetSector | ( | Int_t | address | ) |
Gets sector by the given address
Definition at line 71 of file CbmMuchModuleGem.cxx.
References fSectors, and CbmMuchAddress::GetSectorIndex().
Referenced by CbmMuchSegmentAuto::DrawSegmentation(), GetPad(), and CbmMuchSegmentAuto::Print().
|
inline |
Definition at line 54 of file CbmMuchModuleGem.h.
References fSectors.
Referenced by CbmMuchSegmentSector::DrawSegmentation(), CbmMuchSegmentManual::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), GetNPads(), 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().
|
inlinevirtual |
Reimplemented from CbmMuchModule.
Reimplemented in CbmMuchModuleGemRadial, and CbmMuchModuleGemRectangular.
Definition at line 70 of file CbmMuchModuleGem.h.
|
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().
void CbmMuchModuleGem::SetPadFired | ( | Int_t | address, |
Int_t | digiIndex, | ||
Int_t | adcCharge | ||
) |
Definition at line 110 of file CbmMuchModuleGem.cxx.
References 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::CbmMuchModuleGemRectangular(), and CbmMuchModule::GetDetectorType().
|
protectedinherited |
Definition at line 82 of file CbmMuchModule.h.
Referenced by CbmMuchModule::AddDigi(), CbmMuchModule::ClearDigis(), and CbmMuchModule::GetDigis().
|
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 CbmMuchModuleGemRectangular::GetGridIndexX(), CbmMuchModuleGemRectangular::GetGridIndexY(), CbmMuchModule::GetPosition(), CbmMuchModuleGemRectangular::InitGrid(), and CbmMuchModuleGemRectangular::InitModule().
|
protected |
Definition at line 79 of file CbmMuchModuleGem.h.
Referenced by AddSector(), DrawModule(), DrawPads(), GetNSectors(), CbmMuchModuleGemRectangular::GetSector(), GetSector(), GetSectorByIndex(), CbmMuchModuleGemRadial::GetSectorByRadius(), CbmMuchModuleGemRectangular::InitGrid(), CbmMuchModuleGemRectangular::InitModule(), CbmMuchModuleGemRectangular::InitNeighbourPads(), and CbmMuchModuleGemRectangular::InitNeighbourSectors().
|
protectedinherited |
Definition at line 76 of file CbmMuchModule.h.
Referenced by CbmMuchModuleGemRectangular::GetGridIndexX(), CbmMuchModuleGemRectangular::GetGridIndexY(), CbmMuchModule::GetSize(), and CbmMuchModuleGemRectangular::InitGrid().