CbmRoot
Loading...
Searching...
No Matches
CbmMuchSegmentAuto Class Reference

#include <CbmMuchSegmentAuto.h>

Inheritance diagram for CbmMuchSegmentAuto:
[legend]
Collaboration diagram for CbmMuchSegmentAuto:
[legend]

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 &)
 
CbmMuchSegmentAutooperator= (const CbmMuchSegmentAuto &)
 

Private Attributes

Int_t fEvents
 
TClonesArray * fPoints
 
TH1D ** fHistHitDensity
 
Int_t fNStations
 
TObjArray * fStations
 
TString fDigiFileName
 
CbmGeoMuchParfGeoPar
 
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
 

Detailed Description

Definition at line 33 of file CbmMuchSegmentAuto.h.

Constructor & Destructor Documentation

◆ CbmMuchSegmentAuto() [1/3]

CbmMuchSegmentAuto::CbmMuchSegmentAuto ( )

Default constructor

Definition at line 53 of file CbmMuchSegmentAuto.cxx.

◆ CbmMuchSegmentAuto() [2/3]

CbmMuchSegmentAuto::CbmMuchSegmentAuto ( const char * digiFileName)

Default constructor

Definition at line 74 of file CbmMuchSegmentAuto.cxx.

◆ ~CbmMuchSegmentAuto()

CbmMuchSegmentAuto::~CbmMuchSegmentAuto ( )
virtual

Destructor

Definition at line 95 of file CbmMuchSegmentAuto.cxx.

◆ CbmMuchSegmentAuto() [3/3]

CbmMuchSegmentAuto::CbmMuchSegmentAuto ( const CbmMuchSegmentAuto & )
private

Member Function Documentation

◆ DrawSegmentation()

◆ Exec()

void CbmMuchSegmentAuto::Exec ( Option_t * option)
virtual

◆ FinishTask()

void CbmMuchSegmentAuto::FinishTask ( )
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().

◆ Init()

InitStatus CbmMuchSegmentAuto::Init ( )
virtual

◆ InitLayerSide()

void CbmMuchSegmentAuto::InitLayerSide ( CbmMuchLayerSide * layerSide)
private

◆ IntersectsRad()

Int_t CbmMuchSegmentAuto::IntersectsRad ( CbmMuchSectorRectangular * sector,
Double_t radius )
private

◆ operator=()

CbmMuchSegmentAuto & CbmMuchSegmentAuto::operator= ( const CbmMuchSegmentAuto & )
private

◆ Print()

◆ SegmentModule()

void CbmMuchSegmentAuto::SegmentModule ( CbmMuchModuleGem * module)
private

Definition at line 281 of file CbmMuchSegmentAuto.cxx.

References SegmentSector().

Referenced by InitLayerSide().

◆ SegmentSector()

◆ SetNStations()

void CbmMuchSegmentAuto::SetNStations ( Int_t nStations)

Definition at line 98 of file CbmMuchSegmentAuto.cxx.

References fNStations, fOccupancyMax, fSigmaXmax, fSigmaXmin, fSigmaYmax, and fSigmaYmin.

◆ SetOccupancyMax()

void CbmMuchSegmentAuto::SetOccupancyMax ( Double_t * occupancyMax)

Definition at line 123 of file CbmMuchSegmentAuto.cxx.

References fNStations, and fOccupancyMax.

◆ SetParContainers()

void CbmMuchSegmentAuto::SetParContainers ( )
privatevirtual

Get parameter containers

Definition at line 131 of file CbmMuchSegmentAuto.cxx.

References fGeoPar.

◆ SetSigmaMax()

void CbmMuchSegmentAuto::SetSigmaMax ( Double_t * sigmaXmax,
Double_t * sigmaYmax )

Definition at line 115 of file CbmMuchSegmentAuto.cxx.

References fNStations, fSigmaXmax, and fSigmaYmax.

◆ SetSigmaMin()

void CbmMuchSegmentAuto::SetSigmaMin ( Double_t * sigmaXmin,
Double_t * sigmaYmin )

Definition at line 108 of file CbmMuchSegmentAuto.cxx.

References fNStations, fSigmaXmin, and fSigmaYmin.

◆ ShouldSegmentByX()

◆ ShouldSegmentByY()

Member Data Documentation

◆ fDigiFileName

TString CbmMuchSegmentAuto::fDigiFileName
private

Definition at line 61 of file CbmMuchSegmentAuto.h.

Referenced by DrawSegmentation(), FinishTask(), and Print().

◆ fEvents

Int_t CbmMuchSegmentAuto::fEvents
private

Definition at line 55 of file CbmMuchSegmentAuto.h.

Referenced by Exec(), FinishTask(), and Init().

◆ fExp0

std::vector<Double_t> CbmMuchSegmentAuto::fExp0
private

Definition at line 63 of file CbmMuchSegmentAuto.h.

Referenced by FinishTask(), ShouldSegmentByX(), and ShouldSegmentByY().

◆ fExp1

std::vector<Double_t> CbmMuchSegmentAuto::fExp1
private

Definition at line 64 of file CbmMuchSegmentAuto.h.

Referenced by FinishTask(), ShouldSegmentByX(), and ShouldSegmentByY().

◆ fGeoPar

CbmGeoMuchPar* CbmMuchSegmentAuto::fGeoPar
private

Definition at line 62 of file CbmMuchSegmentAuto.h.

Referenced by Init(), and SetParContainers().

◆ fHistHitDensity

TH1D** CbmMuchSegmentAuto::fHistHitDensity
private

Definition at line 57 of file CbmMuchSegmentAuto.h.

Referenced by Exec(), FinishTask(), and Init().

◆ fNStations

Int_t CbmMuchSegmentAuto::fNStations
private

◆ fOccupancyMax

std::vector<Double_t> CbmMuchSegmentAuto::fOccupancyMax
private

◆ fPoints

TClonesArray* CbmMuchSegmentAuto::fPoints
private

Definition at line 56 of file CbmMuchSegmentAuto.h.

Referenced by Exec(), and Init().

◆ fSigmaXmax

std::vector<Double_t> CbmMuchSegmentAuto::fSigmaXmax
private

Definition at line 68 of file CbmMuchSegmentAuto.h.

Referenced by SetNStations(), SetSigmaMax(), and ShouldSegmentByX().

◆ fSigmaXmin

std::vector<Double_t> CbmMuchSegmentAuto::fSigmaXmin
private

Definition at line 66 of file CbmMuchSegmentAuto.h.

Referenced by SetNStations(), SetSigmaMin(), and ShouldSegmentByX().

◆ fSigmaYmax

std::vector<Double_t> CbmMuchSegmentAuto::fSigmaYmax
private

Definition at line 69 of file CbmMuchSegmentAuto.h.

Referenced by SetNStations(), SetSigmaMax(), and ShouldSegmentByY().

◆ fSigmaYmin

std::vector<Double_t> CbmMuchSegmentAuto::fSigmaYmin
private

Definition at line 67 of file CbmMuchSegmentAuto.h.

Referenced by SetNStations(), SetSigmaMin(), and ShouldSegmentByY().

◆ fStations

TObjArray* CbmMuchSegmentAuto::fStations
private

Definition at line 59 of file CbmMuchSegmentAuto.h.

Referenced by DrawSegmentation(), FinishTask(), Init(), Print(), and SegmentSector().


The documentation for this class was generated from the following files: