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 33 of file CbmMuchSegmentAuto.h.
CbmMuchSegmentAuto::CbmMuchSegmentAuto | ( | ) |
Default constructor
Definition at line 53 of file CbmMuchSegmentAuto.cxx.
CbmMuchSegmentAuto::CbmMuchSegmentAuto | ( | const char * | digiFileName | ) |
Default constructor
Definition at line 74 of file CbmMuchSegmentAuto.cxx.
|
virtual |
Destructor
Definition at line 95 of file CbmMuchSegmentAuto.cxx.
|
private |
|
private |
Definition at line 560 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(), and CbmMuchSectorRectangular::GetSize().
Referenced by FinishTask().
|
virtual |
Definition at line 169 of file CbmMuchSegmentAuto.cxx.
References fEvents, fHistHitDensity, fNStations, fPoints, CbmMuchAddress::GetLayerIndex(), CbmMuchAddress::GetStationIndex(), and pos.
|
virtual |
Save old global file and folder pointer to avoid messing with FairRoot
Restore old global file and folder pointer to avoid messing with FairRoot
Definition at line 196 of file CbmMuchSegmentAuto.cxx.
References DrawSegmentation(), fDigiFileName, fEvents, fExp0, fExp1, fHistHitDensity, fNStations, fStations, CbmMuchStation::GetLayer(), CbmMuchStation::GetNLayers(), CbmMuchStation::GetRmax(), CbmMuchStation::GetRmin(), CbmMuchLayer::GetSideB(), CbmMuchLayer::GetSideF(), InitLayerSide(), and Print().
|
virtual |
Definition at line 143 of file CbmMuchSegmentAuto.cxx.
References fEvents, fGeoPar, fHistHitDensity, fNStations, fPoints, fStations, and CbmGeoMuchPar::GetStations().
|
private |
Initialization
Definition at line 266 of file CbmMuchSegmentAuto.cxx.
References CbmMuchModule::GetDetectorType(), CbmMuchLayerSide::GetModule(), CbmMuchLayerSide::GetNModules(), and SegmentModule().
Referenced by FinishTask().
|
private |
Definition at line 456 of file CbmMuchSegmentAuto.cxx.
References CbmMuchSectorRectangular::GetPosition(), and CbmMuchSectorRectangular::GetSize().
Referenced by SegmentSector().
|
private |
|
private |
Definition at line 484 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(), and CbmMuchLayer::GetSide().
Referenced by FinishTask().
|
private |
Definition at line 281 of file CbmMuchSegmentAuto.cxx.
References SegmentSector().
Referenced by InitLayerSide().
|
private |
Definition at line 312 of file CbmMuchSegmentAuto.cxx.
References fStations, CbmMuchSector::GetAddress(), CbmMuchModule::GetCutRadius(), CbmMuchAddress::GetLayerIndex(), CbmMuchAddress::GetLayerSideIndex(), CbmMuchAddress::GetModuleIndex(), CbmMuchSectorRectangular::GetPosition(), CbmMuchStation::GetRmax(), CbmMuchSectorRectangular::GetSize(), CbmMuchAddress::GetStationIndex(), IntersectsRad(), SegmentSector(), ShouldSegmentByX(), ShouldSegmentByY(), and size().
Referenced by SegmentModule(), and SegmentSector().
void CbmMuchSegmentAuto::SetNStations | ( | Int_t | nStations | ) |
Definition at line 98 of file CbmMuchSegmentAuto.cxx.
References fNStations, fOccupancyMax, fSigmaXmax, fSigmaXmin, fSigmaYmax, and fSigmaYmin.
void CbmMuchSegmentAuto::SetOccupancyMax | ( | Double_t * | occupancyMax | ) |
Definition at line 123 of file CbmMuchSegmentAuto.cxx.
References fNStations, and fOccupancyMax.
|
privatevirtual |
void CbmMuchSegmentAuto::SetSigmaMax | ( | Double_t * | sigmaXmax, |
Double_t * | sigmaYmax ) |
Definition at line 115 of file CbmMuchSegmentAuto.cxx.
References fNStations, fSigmaXmax, and fSigmaYmax.
void CbmMuchSegmentAuto::SetSigmaMin | ( | Double_t * | sigmaXmin, |
Double_t * | sigmaYmin ) |
Definition at line 108 of file CbmMuchSegmentAuto.cxx.
References fNStations, fSigmaXmin, and fSigmaYmin.
|
private |
Definition at line 382 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 61 of file CbmMuchSegmentAuto.h.
Referenced by DrawSegmentation(), FinishTask(), and Print().
|
private |
Definition at line 55 of file CbmMuchSegmentAuto.h.
Referenced by Exec(), FinishTask(), and Init().
|
private |
Definition at line 63 of file CbmMuchSegmentAuto.h.
Referenced by FinishTask(), ShouldSegmentByX(), and ShouldSegmentByY().
|
private |
Definition at line 64 of file CbmMuchSegmentAuto.h.
Referenced by FinishTask(), ShouldSegmentByX(), and ShouldSegmentByY().
|
private |
Definition at line 62 of file CbmMuchSegmentAuto.h.
Referenced by Init(), and SetParContainers().
|
private |
Definition at line 57 of file CbmMuchSegmentAuto.h.
Referenced by Exec(), FinishTask(), and Init().
|
private |
Definition at line 58 of file CbmMuchSegmentAuto.h.
Referenced by DrawSegmentation(), Exec(), FinishTask(), Init(), SetNStations(), SetOccupancyMax(), SetSigmaMax(), and SetSigmaMin().
|
private |
Definition at line 70 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetOccupancyMax(), ShouldSegmentByX(), and ShouldSegmentByY().
|
private |
Definition at line 56 of file CbmMuchSegmentAuto.h.
|
private |
Definition at line 68 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetSigmaMax(), and ShouldSegmentByX().
|
private |
Definition at line 66 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetSigmaMin(), and ShouldSegmentByX().
|
private |
Definition at line 69 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetSigmaMax(), and ShouldSegmentByY().
|
private |
Definition at line 67 of file CbmMuchSegmentAuto.h.
Referenced by SetNStations(), SetSigmaMin(), and ShouldSegmentByY().
|
private |
Definition at line 59 of file CbmMuchSegmentAuto.h.
Referenced by DrawSegmentation(), FinishTask(), Init(), Print(), and SegmentSector().