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 28 of file CbmMuchModuleGem.h.
CbmMuchModuleGem::CbmMuchModuleGem | ( | ) |
Default constructor
Definition at line 27 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 32 of file CbmMuchModuleGem.cxx.
|
inlinevirtual |
Destructor
Definition at line 45 of file CbmMuchModuleGem.h.
|
inlineinherited |
Definition at line 63 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 66 of file CbmMuchModuleGem.h.
References fSectors.
|
protected |
|
inlineinherited |
Definition at line 65 of file CbmMuchModule.h.
References CbmMuchModule::fDigis.
|
virtual |
Reimplemented from CbmMuchModule.
Definition at line 93 of file CbmMuchModuleGem.cxx.
References fSectors.
void CbmMuchModuleGem::DrawPads | ( | ) |
Definition at line 107 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::DrawPads(), and 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.
|
inlineinherited |
Definition at line 53 of file CbmMuchModule.h.
References CbmMuchModule::fHits.
Int_t CbmMuchModuleGem::GetNPads | ( | ) |
Definition at line 60 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::GetNChannels(), GetNSectors(), and GetSectorByIndex().
|
inline |
Definition at line 56 of file CbmMuchModuleGem.h.
References fSectors.
Referenced by CbmMuchSegmentAuto::DrawSegmentation(), CbmMuchSegmentManual::DrawSegmentation(), CbmMuchSegmentSector::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), GetNPads(), GetPads(), CbmMuchModuleGemRectangular::InitGrid(), CbmMuchModuleGemRadial::InitModule(), CbmMuchModuleGemRectangular::InitModule(), CbmMuchModuleGemRectangular::InitNeighbourPads(), CbmMuchModuleGemRectangular::InitNeighbourSectors(), CbmMuchSegmentAuto::Print(), and CbmMuchSegmentManual::Print().
CbmMuchPad * CbmMuchModuleGem::GetPad | ( | Int_t | address | ) |
Gets pad by the given address
Definition at line 83 of file CbmMuchModuleGem.cxx.
References CbmMuchAddress::GetChannelIndex(), CbmMuchSector::GetPadByChannelIndex(), and GetSector().
Referenced by CbmMuchDigitizerQa::CheckConsistency(), CbmMuchClustering::ClusteringA1(), CbmMuchClustering::ClusteringSL(), CbmMuchClustering::ClusteringWard(), CbmMuchFindHitsGem::CreateHits(), CbmMuchFindHitsGem::ExecClusteringPeaks(), CbmMuchFindHitsGem::ExecClusteringSimple(), CbmMuchFindHitsGem::FindClusters(), CbmMuchDigitizerQa::GetPad(), and SetPadFired().
vector< CbmMuchPad * > CbmMuchModuleGem::GetPads | ( | ) |
Gets array of pads for this module.
Definition at line 42 of file CbmMuchModuleGem.cxx.
References CbmMuchSector::GetNChannels(), GetNSectors(), CbmMuchSector::GetPadByChannelIndex(), and 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().
CbmMuchSector * CbmMuchModuleGem::GetSector | ( | Int_t | address | ) |
Gets sector by the given address
Definition at line 74 of file CbmMuchModuleGem.cxx.
References fSectors, and CbmMuchAddress::GetSectorIndex().
Referenced by CbmMuchSegmentAuto::DrawSegmentation(), GetPad(), and CbmMuchSegmentAuto::Print().
|
inline |
Definition at line 53 of file CbmMuchModuleGem.h.
References fSectors.
Referenced by CbmMuchSegmentManual::DrawSegmentation(), CbmMuchSegmentSector::DrawSegmentation(), CbmMuchDigitizeGem::ExecPoint(), GetNPads(), GetPads(), CbmMuchModuleGemRadial::InitModule(), CbmMuchSegmentManual::Print(), CbmClusteringGeometry::SetMuchModuleGeometryRadial(), and CbmClusteringGeometry::SetMuchModuleGeometryRadialFast().
|
inlineinherited |
Definition at line 49 of file CbmMuchModule.h.
References CbmMuchModule::fSize.
|
inlinevirtual |
Reimplemented from CbmMuchModule.
Reimplemented in CbmMuchModuleGemRadial, and CbmMuchModuleGemRectangular.
Definition at line 69 of file CbmMuchModuleGem.h.
|
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().
void CbmMuchModuleGem::SetPadFired | ( | Int_t | address, |
Int_t | digiIndex, | ||
Int_t | adcCharge ) |
Definition at line 117 of file CbmMuchModuleGem.cxx.
References 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(), CbmMuchModuleGemRectangular::CbmMuchModuleGemRectangular(), and CbmMuchModule::GetDetectorType().
|
protectedinherited |
Definition at line 78 of file CbmMuchModule.h.
Referenced by CbmMuchModule::AddDigi(), CbmMuchModule::ClearDigis(), and CbmMuchModule::GetDigis().
|
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 CbmMuchModuleGemRectangular::GetGridIndexX(), CbmMuchModuleGemRectangular::GetGridIndexY(), CbmMuchModule::GetPosition(), CbmMuchModuleGemRectangular::InitGrid(), and CbmMuchModuleGemRectangular::InitModule().
|
protected |
Definition at line 78 of file CbmMuchModuleGem.h.
Referenced by AddSector(), DrawModule(), DrawPads(), GetNSectors(), GetSector(), CbmMuchModuleGemRectangular::GetSector(), GetSectorByIndex(), CbmMuchModuleGemRadial::GetSectorByRadius(), CbmMuchModuleGemRectangular::InitGrid(), CbmMuchModuleGemRectangular::InitModule(), CbmMuchModuleGemRectangular::InitNeighbourPads(), and CbmMuchModuleGemRectangular::InitNeighbourSectors().
|
protectedinherited |
Definition at line 73 of file CbmMuchModule.h.
Referenced by CbmMuchModuleGemRectangular::GetGridIndexX(), CbmMuchModuleGemRectangular::GetGridIndexY(), CbmMuchModule::GetSize(), and CbmMuchModuleGemRectangular::InitGrid().