BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnSiProfModule Class Reference

#include <BmnSiProfModule.h>

Public Member Functions

 BmnSiProfModule ()
 BmnSiProfModule (Double_t z_start_pos, Double_t module_thick)
virtual ~BmnSiProfModule ()
void SetVerbosity (Bool_t verb)
Bool_t GetVerbosity ()
Double_t GetXMinModule ()
Double_t GetXMaxModule ()
Double_t GetYMinModule ()
Double_t GetYMaxModule ()
Double_t GetXSize ()
Double_t GetYSize ()
void SetZStartModulePosition (Double_t zpos_module)
Double_t GetZStartModulePosition ()
Double_t GetModuleThickness ()
Double_t GetZPositionRegistered ()
void AddStripLayer (BmnSiProfLayer strip_layer)
Bool_t SetStripSignalInLayer (Int_t layer_num, Int_t strip_num, Double_t signal)
Bool_t AddStripSignalInLayer (Int_t layer_num, Int_t strip_num, Double_t signal)
Bool_t SetStripMatchInLayer (Int_t layer_num, Int_t strip_num, BmnMatch strip_match)
Double_t GetStripSignalInLayer (Int_t layer_num, Int_t strip_num)
BmnMatch GetStripMatchInLayer (Int_t layer_num, Int_t strip_num)
Int_t GetNStripLayers ()
BmnSiProfLayer & GetStripLayer (Int_t num)
vector< BmnSiProfLayer > & GetStripLayers ()
void ResetModuleData ()
Bool_t IsPointInsideModule (Double_t x, Double_t y)
Bool_t IsPointInsideModule (Double_t x, Double_t y, Double_t z)
Bool_t IsPointInsideZThickness (Double_t z)
Bool_t AddRealPointFullOne (Double_t x, Double_t y, Double_t z, Double_t px, Double_t py, Double_t pz, Double_t signal, Int_t refID)
Bool_t AddRealPointSimple (Double_t x, Double_t y, Double_t z, Double_t px, Double_t py, Double_t pz, Double_t signal, Int_t refID)
StripCluster MakeCluster (Int_t layer_num, Double_t xcoord, Double_t ycoord, Double_t signal, Double_t radius)
void CalculateStripHitIntersectionPoints ()
Bool_t SearchIntersectionPoint (Double_t &x, Double_t &y, Double_t strip_pos_layerA, Double_t strip_pos_layerB, Int_t layerA_index, Int_t layerB_index)
Int_t GetNRealPoints ()
Double_t GetRealPointX (Int_t indx)
Double_t GetRealPointMC (Int_t indx)
void ResetRealPoints ()
Int_t GetNIntersectionPoints ()
Double_t GetIntersectionPointX (Int_t indx)
Double_t GetIntersectionPointY (Int_t indx)
Double_t GetIntersectionPointXError (Int_t indx)
Double_t GetIntersectionPointYError (Int_t indx)
Int_t GetIntersectionPoint_LowerLayerClusterSize (Int_t indx)
Int_t GetIntersectionPoint_UpperLayerClusterSize (Int_t indx)
Double_t GetIntersectionPoint_LowerLayerSripPosition (Int_t indx)
Double_t GetIntersectionPoint_UpperLayerSripPosition (Int_t indx)
Double_t GetIntersectionPoint_LowerLayerSripTotalSignal (Int_t indx)
Double_t GetIntersectionPoint_UpperLayerSripTotalSignal (Int_t indx)
BmnMatch GetIntersectionPointMatch (Int_t indx)
void ResetIntersectionPoints ()

Private Member Functions

void DefineModuleBorders ()
 BmnSiProfModule (const BmnSiProfModule &)=delete
BmnSiProfModule & operator= (const BmnSiProfModule &)=delete

Private Attributes

Bool_t Verbosity
Double_t XMinModule
Double_t XMaxModule
Double_t YMinModule
Double_t YMaxModule
Double_t ZStartModulePosition
Double_t ModuleThickness
vector< BmnSiProfLayer > StripLayers
vector< Double_t > RealPointsX
vector< Double_t > RealPointsY
vector< Double_t > RealPointsMC
vector< Double_t > IntersectionPointsX
vector< Double_t > IntersectionPointsY
vector< Double_t > IntersectionPointsXErrors
vector< Double_t > IntersectionPointsYErrors
vector< Int_t > IntersectionPoints_LowerLayerClusterSize
vector< Int_t > IntersectionPoints_UpperLayerClusterSize
vector< Double_t > IntersectionPoints_LowerLayerStripPosition
vector< Double_t > IntersectionPoints_UpperLayerStripPosition
vector< Double_t > IntersectionPoints_LowerLayerStripTotalSignal
vector< Double_t > IntersectionPoints_UpperLayerStripTotalSignal
vector< BmnMatch > IntersectionPointMatches

Detailed Description

Definition at line 13 of file BmnSiProfModule.h.

Constructor & Destructor Documentation

◆ BmnSiProfModule() [1/3]

BmnSiProfModule::BmnSiProfModule ( )

Definition at line 10 of file BmnSiProfModule.cxx.

References ModuleThickness, Verbosity, XMaxModule, XMinModule, YMaxModule, YMinModule, and ZStartModulePosition.

Referenced by BmnSiProfModule(), and operator=().

Here is the caller graph for this function:

◆ BmnSiProfModule() [2/3]

BmnSiProfModule::BmnSiProfModule ( Double_t z_start_pos,
Double_t module_thick )

◆ ~BmnSiProfModule()

BmnSiProfModule::~BmnSiProfModule ( )
virtual

Definition at line 40 of file BmnSiProfModule.cxx.

◆ BmnSiProfModule() [3/3]

BmnSiProfModule::BmnSiProfModule ( const BmnSiProfModule & )
privatedelete

References BmnSiProfModule().

Here is the call graph for this function:

Member Function Documentation

◆ AddRealPointFullOne()

Bool_t BmnSiProfModule::AddRealPointFullOne ( Double_t x,
Double_t y,
Double_t z,
Double_t px,
Double_t py,
Double_t pz,
Double_t signal,
Int_t refID )

Definition at line 141 of file BmnSiProfModule.cxx.

References IsPointInsideModule(), MakeCluster(), RealPointsMC, RealPointsX, RealPointsY, signal(), StripLayers, Verbosity, x, y, and z.

Here is the call graph for this function:

◆ AddRealPointSimple()

Bool_t BmnSiProfModule::AddRealPointSimple ( Double_t x,
Double_t y,
Double_t z,
Double_t px,
Double_t py,
Double_t pz,
Double_t signal,
Int_t refID )

Definition at line 221 of file BmnSiProfModule.cxx.

References IsPointInsideModule(), RealPointsMC, RealPointsX, RealPointsY, signal(), StripLayers, Verbosity, x, y, and z.

Here is the call graph for this function:

◆ AddStripLayer()

void BmnSiProfModule::AddStripLayer ( BmnSiProfLayer strip_layer)

Definition at line 48 of file BmnSiProfModule.cxx.

References DefineModuleBorders(), and StripLayers.

Here is the call graph for this function:

◆ AddStripSignalInLayer()

Bool_t BmnSiProfModule::AddStripSignalInLayer ( Int_t layer_num,
Int_t strip_num,
Double_t signal )

Definition at line 63 of file BmnSiProfModule.cxx.

References signal(), and StripLayers.

Here is the call graph for this function:

◆ CalculateStripHitIntersectionPoints()

◆ DefineModuleBorders()

void BmnSiProfModule::DefineModuleBorders ( )
private

Definition at line 780 of file BmnSiProfModule.cxx.

References StripLayers, XMaxModule, XMinModule, YMaxModule, and YMinModule.

Referenced by AddStripLayer(), and ResetModuleData().

Here is the caller graph for this function:

◆ GetIntersectionPoint_LowerLayerClusterSize()

Int_t BmnSiProfModule::GetIntersectionPoint_LowerLayerClusterSize ( Int_t indx)
inline

Definition at line 134 of file BmnSiProfModule.h.

References IntersectionPoints_LowerLayerClusterSize.

Referenced by BmnSiProfHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPoint_LowerLayerSripPosition()

Double_t BmnSiProfModule::GetIntersectionPoint_LowerLayerSripPosition ( Int_t indx)
inline

Definition at line 142 of file BmnSiProfModule.h.

References IntersectionPoints_LowerLayerStripPosition.

Referenced by BmnSiProfHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPoint_LowerLayerSripTotalSignal()

Double_t BmnSiProfModule::GetIntersectionPoint_LowerLayerSripTotalSignal ( Int_t indx)
inline

Definition at line 150 of file BmnSiProfModule.h.

References IntersectionPoints_LowerLayerStripTotalSignal.

◆ GetIntersectionPoint_UpperLayerClusterSize()

Int_t BmnSiProfModule::GetIntersectionPoint_UpperLayerClusterSize ( Int_t indx)
inline

Definition at line 138 of file BmnSiProfModule.h.

References IntersectionPoints_UpperLayerClusterSize.

Referenced by BmnSiProfHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPoint_UpperLayerSripPosition()

Double_t BmnSiProfModule::GetIntersectionPoint_UpperLayerSripPosition ( Int_t indx)
inline

Definition at line 146 of file BmnSiProfModule.h.

References IntersectionPoints_UpperLayerStripPosition.

Referenced by BmnSiProfHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPoint_UpperLayerSripTotalSignal()

Double_t BmnSiProfModule::GetIntersectionPoint_UpperLayerSripTotalSignal ( Int_t indx)
inline

Definition at line 154 of file BmnSiProfModule.h.

References IntersectionPoints_UpperLayerStripTotalSignal.

◆ GetIntersectionPointMatch()

BmnMatch BmnSiProfModule::GetIntersectionPointMatch ( Int_t indx)
inline

Definition at line 158 of file BmnSiProfModule.h.

References IntersectionPointMatches.

Referenced by BmnSiProfHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPointX()

Double_t BmnSiProfModule::GetIntersectionPointX ( Int_t indx)
inline

Definition at line 118 of file BmnSiProfModule.h.

References IntersectionPointsX.

◆ GetIntersectionPointXError()

Double_t BmnSiProfModule::GetIntersectionPointXError ( Int_t indx)
inline

Definition at line 126 of file BmnSiProfModule.h.

References IntersectionPointsXErrors.

◆ GetIntersectionPointY()

Double_t BmnSiProfModule::GetIntersectionPointY ( Int_t indx)
inline

Definition at line 122 of file BmnSiProfModule.h.

References IntersectionPointsY.

◆ GetIntersectionPointYError()

Double_t BmnSiProfModule::GetIntersectionPointYError ( Int_t indx)
inline

Definition at line 130 of file BmnSiProfModule.h.

References IntersectionPointsYErrors.

◆ GetModuleThickness()

Double_t BmnSiProfModule::GetModuleThickness ( )
inline

Definition at line 41 of file BmnSiProfModule.h.

References ModuleThickness.

◆ GetNIntersectionPoints()

Int_t BmnSiProfModule::GetNIntersectionPoints ( )
inline

Definition at line 117 of file BmnSiProfModule.h.

References IntersectionPointsX.

◆ GetNRealPoints()

Int_t BmnSiProfModule::GetNRealPoints ( )
inline

Definition at line 104 of file BmnSiProfModule.h.

References RealPointsX.

◆ GetNStripLayers()

Int_t BmnSiProfModule::GetNStripLayers ( )
inline

Definition at line 55 of file BmnSiProfModule.h.

References StripLayers.

Referenced by BmnSiProfDigitizer::ProcessMCPoints().

Here is the caller graph for this function:

◆ GetRealPointMC()

Double_t BmnSiProfModule::GetRealPointMC ( Int_t indx)
inline

Definition at line 106 of file BmnSiProfModule.h.

References RealPointsMC.

◆ GetRealPointX()

Double_t BmnSiProfModule::GetRealPointX ( Int_t indx)
inline

Definition at line 105 of file BmnSiProfModule.h.

References RealPointsX.

◆ GetStripLayer()

BmnSiProfLayer & BmnSiProfModule::GetStripLayer ( Int_t num)
inline

Definition at line 56 of file BmnSiProfModule.h.

References StripLayers.

◆ GetStripLayers()

vector< BmnSiProfLayer > & BmnSiProfModule::GetStripLayers ( )
inline

Definition at line 57 of file BmnSiProfModule.h.

References StripLayers.

◆ GetStripMatchInLayer()

BmnMatch BmnSiProfModule::GetStripMatchInLayer ( Int_t layer_num,
Int_t strip_num )

Definition at line 87 of file BmnSiProfModule.cxx.

References StripLayers.

◆ GetStripSignalInLayer()

Double_t BmnSiProfModule::GetStripSignalInLayer ( Int_t layer_num,
Int_t strip_num )

Definition at line 79 of file BmnSiProfModule.cxx.

References StripLayers.

◆ GetVerbosity()

Bool_t BmnSiProfModule::GetVerbosity ( )
inline

Definition at line 27 of file BmnSiProfModule.h.

References Verbosity.

◆ GetXMaxModule()

Double_t BmnSiProfModule::GetXMaxModule ( )
inline

Definition at line 31 of file BmnSiProfModule.h.

References XMaxModule.

◆ GetXMinModule()

Double_t BmnSiProfModule::GetXMinModule ( )
inline

Definition at line 30 of file BmnSiProfModule.h.

References XMinModule.

◆ GetXSize()

Double_t BmnSiProfModule::GetXSize ( )
inline

Definition at line 35 of file BmnSiProfModule.h.

References XMaxModule, and XMinModule.

◆ GetYMaxModule()

Double_t BmnSiProfModule::GetYMaxModule ( )
inline

Definition at line 33 of file BmnSiProfModule.h.

References YMaxModule.

◆ GetYMinModule()

Double_t BmnSiProfModule::GetYMinModule ( )
inline

Definition at line 32 of file BmnSiProfModule.h.

References YMinModule.

◆ GetYSize()

Double_t BmnSiProfModule::GetYSize ( )
inline

Definition at line 36 of file BmnSiProfModule.h.

References YMaxModule, and YMinModule.

◆ GetZPositionRegistered()

Double_t BmnSiProfModule::GetZPositionRegistered ( )

Definition at line 42 of file BmnSiProfModule.cxx.

References ModuleThickness, and ZStartModulePosition.

◆ GetZStartModulePosition()

Double_t BmnSiProfModule::GetZStartModulePosition ( )
inline

Definition at line 39 of file BmnSiProfModule.h.

References ZStartModulePosition.

◆ IsPointInsideModule() [1/2]

Bool_t BmnSiProfModule::IsPointInsideModule ( Double_t x,
Double_t y )

Definition at line 106 of file BmnSiProfModule.cxx.

References StripLayers, x, and y.

Referenced by AddRealPointFullOne(), AddRealPointSimple(), and IsPointInsideModule().

Here is the caller graph for this function:

◆ IsPointInsideModule() [2/2]

Bool_t BmnSiProfModule::IsPointInsideModule ( Double_t x,
Double_t y,
Double_t z )

Definition at line 115 of file BmnSiProfModule.cxx.

References fabs(), IsPointInsideModule(), ModuleThickness, x, y, z, and ZStartModulePosition.

Here is the call graph for this function:

◆ IsPointInsideZThickness()

Bool_t BmnSiProfModule::IsPointInsideZThickness ( Double_t z)

Definition at line 128 of file BmnSiProfModule.cxx.

References fabs(), ModuleThickness, z, and ZStartModulePosition.

Here is the call graph for this function:

◆ MakeCluster()

StripCluster BmnSiProfModule::MakeCluster ( Int_t layer_num,
Double_t xcoord,
Double_t ycoord,
Double_t signal,
Double_t radius )

Definition at line 262 of file BmnSiProfModule.cxx.

References StripCluster::AddStrip(), dist(), fabs(), TH1::Fit(), TRandom::Gaus(), StripCluster::GetClusterSize(), TH1::GetFunction(), TH1::GetMean(), TF1::GetParameter(), i, TF1::Integral(), StripCluster::IsCorrect, StripCluster::MeanPosition, nstrips, StripCluster::PositionResidual, TH1::SetBinContent(), TF1::SetParameter(), TMath::Sigma(), signal(), StripCluster::Signals, StripLayers, StripCluster::Strips, and StripCluster::TotalSignal.

Referenced by AddRealPointFullOne().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

BmnSiProfModule & BmnSiProfModule::operator= ( const BmnSiProfModule & )
privatedelete

References BmnSiProfModule().

Here is the call graph for this function:

◆ ResetIntersectionPoints()

◆ ResetModuleData()

void BmnSiProfModule::ResetModuleData ( )

Definition at line 95 of file BmnSiProfModule.cxx.

References DefineModuleBorders(), ResetIntersectionPoints(), ResetRealPoints(), and StripLayers.

Here is the call graph for this function:

◆ ResetRealPoints()

void BmnSiProfModule::ResetRealPoints ( )
inline

Definition at line 108 of file BmnSiProfModule.h.

References RealPointsMC, RealPointsX, and RealPointsY.

Referenced by ResetModuleData().

Here is the caller graph for this function:

◆ SearchIntersectionPoint()

Bool_t BmnSiProfModule::SearchIntersectionPoint ( Double_t & x,
Double_t & y,
Double_t strip_pos_layerA,
Double_t strip_pos_layerB,
Int_t layerA_index,
Int_t layerB_index )

Definition at line 687 of file BmnSiProfModule.cxx.

References TMath::Abs(), LeftToRight, TMath::PiOver2(), StripLayers, TMath::Tan(), x, and y.

Here is the call graph for this function:

◆ SetStripMatchInLayer()

Bool_t BmnSiProfModule::SetStripMatchInLayer ( Int_t layer_num,
Int_t strip_num,
BmnMatch strip_match )

Definition at line 71 of file BmnSiProfModule.cxx.

References StripLayers.

Referenced by BmnSiProfHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ SetStripSignalInLayer()

Bool_t BmnSiProfModule::SetStripSignalInLayer ( Int_t layer_num,
Int_t strip_num,
Double_t signal )

Definition at line 55 of file BmnSiProfModule.cxx.

References signal(), and StripLayers.

Referenced by BmnSiProfHitMaker::ProcessDigits().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetVerbosity()

void BmnSiProfModule::SetVerbosity ( Bool_t verb)
inline

Definition at line 26 of file BmnSiProfModule.h.

References Verbosity.

◆ SetZStartModulePosition()

void BmnSiProfModule::SetZStartModulePosition ( Double_t zpos_module)
inline

Definition at line 38 of file BmnSiProfModule.h.

References ZStartModulePosition.

Member Data Documentation

◆ IntersectionPointMatches

vector<BmnMatch> BmnSiProfModule::IntersectionPointMatches
private

◆ IntersectionPoints_LowerLayerClusterSize

vector<Int_t> BmnSiProfModule::IntersectionPoints_LowerLayerClusterSize
private

◆ IntersectionPoints_LowerLayerStripPosition

vector<Double_t> BmnSiProfModule::IntersectionPoints_LowerLayerStripPosition
private

◆ IntersectionPoints_LowerLayerStripTotalSignal

vector<Double_t> BmnSiProfModule::IntersectionPoints_LowerLayerStripTotalSignal
private

◆ IntersectionPoints_UpperLayerClusterSize

vector<Int_t> BmnSiProfModule::IntersectionPoints_UpperLayerClusterSize
private

◆ IntersectionPoints_UpperLayerStripPosition

vector<Double_t> BmnSiProfModule::IntersectionPoints_UpperLayerStripPosition
private

◆ IntersectionPoints_UpperLayerStripTotalSignal

vector<Double_t> BmnSiProfModule::IntersectionPoints_UpperLayerStripTotalSignal
private

◆ IntersectionPointsX

vector<Double_t> BmnSiProfModule::IntersectionPointsX
private

◆ IntersectionPointsXErrors

vector<Double_t> BmnSiProfModule::IntersectionPointsXErrors
private

◆ IntersectionPointsY

vector<Double_t> BmnSiProfModule::IntersectionPointsY
private

◆ IntersectionPointsYErrors

vector<Double_t> BmnSiProfModule::IntersectionPointsYErrors
private

◆ ModuleThickness

Double_t BmnSiProfModule::ModuleThickness
private

◆ RealPointsMC

vector<Double_t> BmnSiProfModule::RealPointsMC
private

◆ RealPointsX

vector<Double_t> BmnSiProfModule::RealPointsX
private

◆ RealPointsY

vector<Double_t> BmnSiProfModule::RealPointsY
private

Definition at line 188 of file BmnSiProfModule.h.

Referenced by AddRealPointFullOne(), AddRealPointSimple(), and ResetRealPoints().

◆ StripLayers

◆ Verbosity

Bool_t BmnSiProfModule::Verbosity
private

◆ XMaxModule

Double_t BmnSiProfModule::XMaxModule
private

◆ XMinModule

Double_t BmnSiProfModule::XMinModule
private

◆ YMaxModule

Double_t BmnSiProfModule::YMaxModule
private

◆ YMinModule

Double_t BmnSiProfModule::YMinModule
private

◆ ZStartModulePosition


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