CbmRoot
|
#include <CbmMuchSegmentAuto.h>
Public Member Functions | |
CbmMuchSegmentAuto () | |
CbmMuchSegmentAuto (const char *digiFileName) | |
void | SetNStations (Int_t nStations) |
void | SetSigmaMin (Double_t *sigmaXmin, Double_t *sigmaYmin) |
void | SetSigmaMax (Double_t *sigmaXmax, Double_t *sigmaYmax) |
void | SetOccupancyMax (Double_t *occupancyMax) |
virtual InitStatus | Init () |
virtual void | Exec (Option_t *option) |
virtual void | FinishTask () |
virtual | ~CbmMuchSegmentAuto () |
Private Member Functions | |
virtual void | SetParContainers () |
void | InitLayerSide (CbmMuchLayerSide *layerSide) |
void | SegmentModule (CbmMuchModuleGem *module) |
void | SegmentSector (CbmMuchModuleGem *module, CbmMuchSectorRectangular *sector) |
Bool_t | ShouldSegmentByX (CbmMuchSectorRectangular *sector) |
Bool_t | ShouldSegmentByY (CbmMuchSectorRectangular *sector) |
Int_t | IntersectsRad (CbmMuchSectorRectangular *sector, Double_t radius) |
void | DrawSegmentation () |
void | Print (Option_t *="") const |
CbmMuchSegmentAuto (const CbmMuchSegmentAuto &) | |
CbmMuchSegmentAuto & | operator= (const CbmMuchSegmentAuto &) |
Private Attributes | |
Int_t | fEvents |
TClonesArray * | fPoints |
TH1D ** | fHistHitDensity |
Int_t | fNStations |
TObjArray * | fStations |
TString | fDigiFileName |
CbmGeoMuchPar * | fGeoPar |
std::vector< Double_t > | fExp0 |
std::vector< Double_t > | fExp1 |
std::vector< Double_t > | fSigmaXmin |
std::vector< Double_t > | fSigmaYmin |
std::vector< Double_t > | fSigmaXmax |
std::vector< Double_t > | fSigmaYmax |
std::vector< Double_t > | fOccupancyMax |
Definition at line 29 of file CbmMuchSegmentAuto.h.
CbmMuchSegmentAuto::CbmMuchSegmentAuto | ( | ) |
Default constructor
Definition at line 48 of file CbmMuchSegmentAuto.cxx.
CbmMuchSegmentAuto::CbmMuchSegmentAuto | ( | const char * | digiFileName | ) |
Default constructor
Definition at line 67 of file CbmMuchSegmentAuto.cxx.
|
virtual |
Destructor
Definition at line 86 of file CbmMuchSegmentAuto.cxx.
|
private |
|
private |
Definition at line 583 of file CbmMuchSegmentAuto.cxx.
References fDigiFileName, fNStations, fStations, CbmMuchModule::GetDetectorType(), CbmMuchStation::GetLayer(), CbmMuchLayerSide::GetModule(), CbmMuchSector::GetNChannels(), CbmMuchLayerSide::GetNModules(), CbmMuchModuleGem::GetNSectors(), CbmMuchSectorRectangular::GetPosition(), CbmMuchStation::GetRmin(), CbmMuchModuleGem::GetSector(), CbmMuchLayer::GetSide(), CbmMuchSectorRectangular::GetSize(), and max().
Referenced by FinishTask().
|
virtual |
Definition at line 156 of file CbmMuchSegmentAuto.cxx.
References fEvents, fHistHitDensity, fNStations, fPoints, CbmMuchAddress::GetLayerIndex(), CbmMuchAddress::GetStationIndex(), and pos.
|
virtual |
Definition at line 182 of file CbmMuchSegmentAuto.cxx.
References DrawSegmentation(), f, fDigiFileName, fEvents, fExp0, fExp1, fHistHitDensity, fNStations, fStations, CbmMuchStation::GetLayer(), CbmMuchStation::GetNLayers(), CbmMuchStation::GetRmax(), CbmMuchStation::GetRmin(), CbmMuchLayer::GetSideB(), CbmMuchLayer::GetSideF(), i, InitLayerSide(), xMath::Pi(), and Print().
|
virtual |
Definition at line 129 of file CbmMuchSegmentAuto.cxx.
References fEvents, fGeoPar, fHistHitDensity, fNStations, fPoints, fStations, CbmGeoMuchPar::GetStations(), and i.
|
private |
Initialization
Definition at line 249 of file CbmMuchSegmentAuto.cxx.
References CbmMuchModule::GetDetectorType(), CbmMuchLayerSide::GetModule(), CbmMuchLayerSide::GetNModules(), and SegmentModule().
Referenced by FinishTask().
|
private |
Definition at line 465 of file CbmMuchSegmentAuto.cxx.
References CbmMuchSectorRectangular::GetPosition(), and CbmMuchSectorRectangular::GetSize().
Referenced by SegmentSector().
|
private |
|
private |
Definition at line 498 of file CbmMuchSegmentAuto.cxx.
References fDigiFileName, fStations, CbmMuchModule::GetDetectorType(), CbmMuchStation::GetLayer(), CbmMuchLayerSide::GetModule(), CbmMuchSector::GetNChannels(), CbmMuchStation::GetNLayers(), CbmMuchLayerSide::GetNModules(), CbmMuchModuleGem::GetNSectors(), CbmMuchSectorRectangular::GetPadDx(), CbmMuchSectorRectangular::GetPadDy(), CbmMuchModuleGem::GetSector(), CbmMuchLayer::GetSide(), max(), and min().
Referenced by FinishTask().
|
private |
Definition at line 263 of file CbmMuchSegmentAuto.cxx.
References CbmMuchModule::GetDetectorId(), CbmMuchModuleGem::GetNSectors(), CbmMuchModule::GetPosition(), CbmMuchModule::GetSize(), i, and SegmentSector().
Referenced by InitLayerSide().
|
private |
Definition at line 294 of file CbmMuchSegmentAuto.cxx.
References CbmMuchModuleGem::AddSector(), fStations, CbmMuchSector::GetAddress(), CbmMuchModule::GetCutRadius(), CbmMuchModule::GetDetectorId(), CbmMuchAddress::GetLayerIndex(), CbmMuchAddress::GetLayerSideIndex(), CbmMuchAddress::GetModuleIndex(), CbmMuchModuleGem::GetNSectors(), CbmMuchSectorRectangular::GetPosition(), CbmMuchStation::GetRmax(), CbmMuchSectorRectangular::GetSize(), CbmMuchAddress::GetStationIndex(), i, IntersectsRad(), ShouldSegmentByX(), and ShouldSegmentByY().
Referenced by SegmentModule().
void CbmMuchSegmentAuto::SetNStations | ( | Int_t | nStations | ) |
Definition at line 89 of file CbmMuchSegmentAuto.cxx.
References fNStations, fOccupancyMax, fSigmaXmax, fSigmaXmin, fSigmaYmax, and fSigmaYmin.
void CbmMuchSegmentAuto::SetOccupancyMax | ( | Double_t * | occupancyMax | ) |
Definition at line 111 of file CbmMuchSegmentAuto.cxx.
References fNStations, and fOccupancyMax.
|
privatevirtual |
void CbmMuchSegmentAuto::SetSigmaMax | ( | Double_t * | sigmaXmax, |
Double_t * | sigmaYmax | ||
) |
Definition at line 104 of file CbmMuchSegmentAuto.cxx.
References fNStations, fSigmaXmax, and fSigmaYmax.
void CbmMuchSegmentAuto::SetSigmaMin | ( | Double_t * | sigmaXmin, |
Double_t * | sigmaYmin | ||
) |
Definition at line 98 of file CbmMuchSegmentAuto.cxx.
References fNStations, fSigmaXmin, and fSigmaYmin.
|
private |
Definition at line 373 of file CbmMuchSegmentAuto.cxx.
References exp(), fExp0, fExp1, fOccupancyMax, fSigmaXmax, fSigmaXmin, CbmMuchSector::GetAddress(), CbmMuchSectorRectangular::GetPosition(), CbmMuchSectorRectangular::GetSigmaX(), CbmMuchSectorRectangular::GetSize(), and CbmMuchAddress::GetStationIndex().
Referenced by SegmentSector().
|
private |
Definition at line 419 of file CbmMuchSegmentAuto.cxx.
References exp(), fExp0, fExp1, fOccupancyMax, fSigmaYmax, fSigmaYmin, CbmMuchSector::GetAddress(), CbmMuchSectorRectangular::GetPosition(), CbmMuchSectorRectangular::GetSigmaY(), CbmMuchSectorRectangular::GetSize(), and CbmMuchAddress::GetStationIndex().
Referenced by SegmentSector().
|
private |
Definition at line 57 of file CbmMuchSegmentAuto.h.
Referenced by DrawSegmentation(), FinishTask(), and Print().
|
private |
Definition at line 51 of file CbmMuchSegmentAuto.h.
Referenced by Exec(), FinishTask(), and Init().
|
private |
Definition at line 60 of file CbmMuchSegmentAuto.h.
Referenced by FinishTask(), ShouldSegmentByX(), and ShouldSegmentByY().
|
private |
Definition at line 62 of file CbmMuchSegmentAuto.h.
Referenced by FinishTask(), ShouldSegmentByX(), and ShouldSegmentByY().
|
private |
Definition at line 58 of file CbmMuchSegmentAuto.h.
Referenced by Init(), and SetParContainers().
|
private |
Definition at line 53 of file CbmMuchSegmentAuto.h.
Referenced by Exec(), FinishTask(), and Init().
|
private |
Definition at line 54 of file CbmMuchSegmentAuto.h.
Referenced by DrawSegmentation(), Exec(), FinishTask(), Init(), SetNStations(), SetOccupancyMax(), SetSigmaMax(), and SetSigmaMin().
|
private |
Definition at line 68 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetOccupancyMax(), ShouldSegmentByX(), and ShouldSegmentByY().
|
private |
Definition at line 52 of file CbmMuchSegmentAuto.h.
|
private |
Definition at line 66 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetSigmaMax(), and ShouldSegmentByX().
|
private |
Definition at line 64 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetSigmaMin(), and ShouldSegmentByX().
|
private |
Definition at line 67 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetSigmaMax(), and ShouldSegmentByY().
|
private |
Definition at line 65 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetSigmaMin(), and ShouldSegmentByY().
|
private |
Definition at line 55 of file CbmMuchSegmentAuto.h.
Referenced by DrawSegmentation(), FinishTask(), Init(), Print(), and SegmentSector().