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 ( )

◆ CbmMuchSegmentAuto() [2/3]

CbmMuchSegmentAuto::CbmMuchSegmentAuto ( const char * digiFileName)

◆ ~CbmMuchSegmentAuto()

CbmMuchSegmentAuto::~CbmMuchSegmentAuto ( )
virtual

Destructor

Definition at line 94 of file CbmMuchSegmentAuto.cxx.

◆ CbmMuchSegmentAuto() [3/3]

CbmMuchSegmentAuto::CbmMuchSegmentAuto ( const CbmMuchSegmentAuto & )
private

References CbmMuchSegmentAuto().

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 195 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

Definition at line 142 of file CbmMuchSegmentAuto.cxx.

References fEvents, fGeoPar, fHistHitDensity, fNStations, fPoints, and fStations.

◆ 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

References CbmMuchSegmentAuto().

◆ Print()

◆ SegmentModule()

void CbmMuchSegmentAuto::SegmentModule ( CbmMuchModuleGem * module)
private

Definition at line 280 of file CbmMuchSegmentAuto.cxx.

References SegmentSector().

Referenced by InitLayerSide().

◆ SegmentSector()

◆ SetNStations()

void CbmMuchSegmentAuto::SetNStations ( Int_t nStations)

Definition at line 97 of file CbmMuchSegmentAuto.cxx.

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

◆ SetOccupancyMax()

void CbmMuchSegmentAuto::SetOccupancyMax ( Double_t * occupancyMax)

Definition at line 122 of file CbmMuchSegmentAuto.cxx.

References fNStations, and fOccupancyMax.

◆ SetParContainers()

void CbmMuchSegmentAuto::SetParContainers ( )
privatevirtual

Get parameter containers

Definition at line 130 of file CbmMuchSegmentAuto.cxx.

References fGeoPar.

◆ SetSigmaMax()

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

Definition at line 114 of file CbmMuchSegmentAuto.cxx.

References fNStations, fSigmaXmax, and fSigmaYmax.

◆ SetSigmaMin()

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

Definition at line 107 of file CbmMuchSegmentAuto.cxx.

References fNStations, fSigmaXmin, and fSigmaYmin.

◆ ShouldSegmentByX()

◆ ShouldSegmentByY()

Member Data Documentation

◆ fDigiFileName

TString CbmMuchSegmentAuto::fDigiFileName
private

◆ fEvents

Int_t CbmMuchSegmentAuto::fEvents
private

Definition at line 55 of file CbmMuchSegmentAuto.h.

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

◆ fExp0

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

◆ fExp1

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

◆ fGeoPar

CbmGeoMuchPar* CbmMuchSegmentAuto::fGeoPar
private

◆ fHistHitDensity

TH1D** CbmMuchSegmentAuto::fHistHitDensity
private

Definition at line 57 of file CbmMuchSegmentAuto.h.

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

◆ fNStations

◆ fOccupancyMax

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

◆ fPoints

TClonesArray* CbmMuchSegmentAuto::fPoints
private

Definition at line 56 of file CbmMuchSegmentAuto.h.

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

◆ fSigmaXmax

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

◆ fSigmaXmin

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

◆ fSigmaYmax

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

◆ fSigmaYmin

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

◆ fStations

TObjArray* CbmMuchSegmentAuto::fStations
private

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