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

#include <BmnSiBTModule.h>

Public Member Functions

 BmnSiBTModule ()
 BmnSiBTModule (Double_t z_start_pos, Double_t module_thick)
virtual ~BmnSiBTModule ()
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 (BmnSiBTLayer 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 ()
BmnSiBTLayer & GetStripLayer (Int_t num)
vector< BmnSiBTLayer > & 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 ()
 BmnSiBTModule (const BmnSiBTModule &)=delete
BmnSiBTModule & operator= (const BmnSiBTModule &)=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< BmnSiBTLayer > 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 BmnSiBTModule.h.

Constructor & Destructor Documentation

◆ BmnSiBTModule() [1/3]

BmnSiBTModule::BmnSiBTModule ( )

Definition at line 10 of file BmnSiBTModule.cxx.

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

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

Here is the caller graph for this function:

◆ BmnSiBTModule() [2/3]

BmnSiBTModule::BmnSiBTModule ( Double_t z_start_pos,
Double_t module_thick )

◆ ~BmnSiBTModule()

BmnSiBTModule::~BmnSiBTModule ( )
virtual

Definition at line 40 of file BmnSiBTModule.cxx.

◆ BmnSiBTModule() [3/3]

BmnSiBTModule::BmnSiBTModule ( const BmnSiBTModule & )
privatedelete

References BmnSiBTModule().

Here is the call graph for this function:

Member Function Documentation

◆ AddRealPointFullOne()

Bool_t BmnSiBTModule::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 142 of file BmnSiBTModule.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 BmnSiBTModule::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 222 of file BmnSiBTModule.cxx.

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

Here is the call graph for this function:

◆ AddStripLayer()

void BmnSiBTModule::AddStripLayer ( BmnSiBTLayer strip_layer)

Definition at line 48 of file BmnSiBTModule.cxx.

References DefineModuleBorders(), and StripLayers.

Here is the call graph for this function:

◆ AddStripSignalInLayer()

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

Definition at line 63 of file BmnSiBTModule.cxx.

References signal(), and StripLayers.

Here is the call graph for this function:

◆ CalculateStripHitIntersectionPoints()

◆ DefineModuleBorders()

void BmnSiBTModule::DefineModuleBorders ( )
private

Definition at line 781 of file BmnSiBTModule.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 BmnSiBTModule::GetIntersectionPoint_LowerLayerClusterSize ( Int_t indx)
inline

Definition at line 134 of file BmnSiBTModule.h.

References IntersectionPoints_LowerLayerClusterSize.

Referenced by BmnSiBTHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPoint_LowerLayerSripPosition()

Double_t BmnSiBTModule::GetIntersectionPoint_LowerLayerSripPosition ( Int_t indx)
inline

Definition at line 142 of file BmnSiBTModule.h.

References IntersectionPoints_LowerLayerStripPosition.

Referenced by BmnSiBTHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPoint_LowerLayerSripTotalSignal()

Double_t BmnSiBTModule::GetIntersectionPoint_LowerLayerSripTotalSignal ( Int_t indx)
inline

Definition at line 150 of file BmnSiBTModule.h.

References IntersectionPoints_LowerLayerStripTotalSignal.

◆ GetIntersectionPoint_UpperLayerClusterSize()

Int_t BmnSiBTModule::GetIntersectionPoint_UpperLayerClusterSize ( Int_t indx)
inline

Definition at line 138 of file BmnSiBTModule.h.

References IntersectionPoints_UpperLayerClusterSize.

Referenced by BmnSiBTHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPoint_UpperLayerSripPosition()

Double_t BmnSiBTModule::GetIntersectionPoint_UpperLayerSripPosition ( Int_t indx)
inline

Definition at line 146 of file BmnSiBTModule.h.

References IntersectionPoints_UpperLayerStripPosition.

Referenced by BmnSiBTHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPoint_UpperLayerSripTotalSignal()

Double_t BmnSiBTModule::GetIntersectionPoint_UpperLayerSripTotalSignal ( Int_t indx)
inline

Definition at line 154 of file BmnSiBTModule.h.

References IntersectionPoints_UpperLayerStripTotalSignal.

◆ GetIntersectionPointMatch()

BmnMatch BmnSiBTModule::GetIntersectionPointMatch ( Int_t indx)
inline

Definition at line 158 of file BmnSiBTModule.h.

References IntersectionPointMatches.

Referenced by BmnSiBTHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ GetIntersectionPointX()

Double_t BmnSiBTModule::GetIntersectionPointX ( Int_t indx)
inline

Definition at line 118 of file BmnSiBTModule.h.

References IntersectionPointsX.

◆ GetIntersectionPointXError()

Double_t BmnSiBTModule::GetIntersectionPointXError ( Int_t indx)
inline

Definition at line 126 of file BmnSiBTModule.h.

References IntersectionPointsXErrors.

◆ GetIntersectionPointY()

Double_t BmnSiBTModule::GetIntersectionPointY ( Int_t indx)
inline

Definition at line 122 of file BmnSiBTModule.h.

References IntersectionPointsY.

◆ GetIntersectionPointYError()

Double_t BmnSiBTModule::GetIntersectionPointYError ( Int_t indx)
inline

Definition at line 130 of file BmnSiBTModule.h.

References IntersectionPointsYErrors.

◆ GetModuleThickness()

Double_t BmnSiBTModule::GetModuleThickness ( )
inline

Definition at line 41 of file BmnSiBTModule.h.

References ModuleThickness.

Referenced by DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetNIntersectionPoints()

Int_t BmnSiBTModule::GetNIntersectionPoints ( )
inline

Definition at line 117 of file BmnSiBTModule.h.

References IntersectionPointsX.

◆ GetNRealPoints()

Int_t BmnSiBTModule::GetNRealPoints ( )
inline

Definition at line 104 of file BmnSiBTModule.h.

References RealPointsX.

◆ GetNStripLayers()

Int_t BmnSiBTModule::GetNStripLayers ( )
inline

Definition at line 55 of file BmnSiBTModule.h.

References StripLayers.

Referenced by BmnHistSiBT::BmnHistSiBT(), DrawCreatedStationFront(), and BmnSiBTDigitizer::ProcessMCPoints().

Here is the caller graph for this function:

◆ GetRealPointMC()

Double_t BmnSiBTModule::GetRealPointMC ( Int_t indx)
inline

Definition at line 106 of file BmnSiBTModule.h.

References RealPointsMC.

◆ GetRealPointX()

Double_t BmnSiBTModule::GetRealPointX ( Int_t indx)
inline

Definition at line 105 of file BmnSiBTModule.h.

References RealPointsX.

◆ GetStripLayer()

BmnSiBTLayer & BmnSiBTModule::GetStripLayer ( Int_t num)
inline

Definition at line 56 of file BmnSiBTModule.h.

References StripLayers.

Referenced by BmnHistSiBT::BmnHistSiBT(), and DrawCreatedStationFront().

Here is the caller graph for this function:

◆ GetStripLayers()

vector< BmnSiBTLayer > & BmnSiBTModule::GetStripLayers ( )
inline

Definition at line 57 of file BmnSiBTModule.h.

References StripLayers.

◆ GetStripMatchInLayer()

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

Definition at line 87 of file BmnSiBTModule.cxx.

References StripLayers.

◆ GetStripSignalInLayer()

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

Definition at line 79 of file BmnSiBTModule.cxx.

References StripLayers.

◆ GetVerbosity()

Bool_t BmnSiBTModule::GetVerbosity ( )
inline

Definition at line 27 of file BmnSiBTModule.h.

References Verbosity.

◆ GetXMaxModule()

Double_t BmnSiBTModule::GetXMaxModule ( )
inline

Definition at line 31 of file BmnSiBTModule.h.

References XMaxModule.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetXMinModule()

Double_t BmnSiBTModule::GetXMinModule ( )
inline

Definition at line 30 of file BmnSiBTModule.h.

References XMinModule.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetXSize()

Double_t BmnSiBTModule::GetXSize ( )
inline

Definition at line 35 of file BmnSiBTModule.h.

References XMaxModule, and XMinModule.

◆ GetYMaxModule()

Double_t BmnSiBTModule::GetYMaxModule ( )
inline

Definition at line 33 of file BmnSiBTModule.h.

References YMaxModule.

Referenced by DrawCreatedStationFront().

Here is the caller graph for this function:

◆ GetYMinModule()

Double_t BmnSiBTModule::GetYMinModule ( )
inline

Definition at line 32 of file BmnSiBTModule.h.

References YMinModule.

Referenced by DrawCreatedStationFront().

Here is the caller graph for this function:

◆ GetYSize()

Double_t BmnSiBTModule::GetYSize ( )
inline

Definition at line 36 of file BmnSiBTModule.h.

References YMaxModule, and YMinModule.

◆ GetZPositionRegistered()

Double_t BmnSiBTModule::GetZPositionRegistered ( )

Definition at line 42 of file BmnSiBTModule.cxx.

References ModuleThickness, and ZStartModulePosition.

◆ GetZStartModulePosition()

Double_t BmnSiBTModule::GetZStartModulePosition ( )
inline

Definition at line 39 of file BmnSiBTModule.h.

References ZStartModulePosition.

Referenced by DrawCreatedStationTop().

Here is the caller graph for this function:

◆ IsPointInsideModule() [1/2]

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

Definition at line 107 of file BmnSiBTModule.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 BmnSiBTModule::IsPointInsideModule ( Double_t x,
Double_t y,
Double_t z )

Definition at line 116 of file BmnSiBTModule.cxx.

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

Here is the call graph for this function:

◆ IsPointInsideZThickness()

Bool_t BmnSiBTModule::IsPointInsideZThickness ( Double_t z)

Definition at line 129 of file BmnSiBTModule.cxx.

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

Here is the call graph for this function:

◆ MakeCluster()

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

Definition at line 263 of file BmnSiBTModule.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=()

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

References BmnSiBTModule().

Here is the call graph for this function:

◆ ResetIntersectionPoints()

◆ ResetModuleData()

void BmnSiBTModule::ResetModuleData ( )

Definition at line 95 of file BmnSiBTModule.cxx.

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

Here is the call graph for this function:

◆ ResetRealPoints()

void BmnSiBTModule::ResetRealPoints ( )
inline

Definition at line 108 of file BmnSiBTModule.h.

References RealPointsMC, RealPointsX, and RealPointsY.

Referenced by ResetModuleData().

Here is the caller graph for this function:

◆ SearchIntersectionPoint()

Bool_t BmnSiBTModule::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 688 of file BmnSiBTModule.cxx.

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

Here is the call graph for this function:

◆ SetStripMatchInLayer()

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

Definition at line 71 of file BmnSiBTModule.cxx.

References StripLayers.

Referenced by BmnSiBTHitMaker::ProcessDigits().

Here is the caller graph for this function:

◆ SetStripSignalInLayer()

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

Definition at line 55 of file BmnSiBTModule.cxx.

References signal(), and StripLayers.

Referenced by BmnSiBTHitMaker::ProcessDigits().

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

◆ SetVerbosity()

void BmnSiBTModule::SetVerbosity ( Bool_t verb)
inline

Definition at line 26 of file BmnSiBTModule.h.

References Verbosity.

◆ SetZStartModulePosition()

void BmnSiBTModule::SetZStartModulePosition ( Double_t zpos_module)
inline

Definition at line 38 of file BmnSiBTModule.h.

References ZStartModulePosition.

Member Data Documentation

◆ IntersectionPointMatches

vector<BmnMatch> BmnSiBTModule::IntersectionPointMatches
private

◆ IntersectionPoints_LowerLayerClusterSize

vector<Int_t> BmnSiBTModule::IntersectionPoints_LowerLayerClusterSize
private

◆ IntersectionPoints_LowerLayerStripPosition

vector<Double_t> BmnSiBTModule::IntersectionPoints_LowerLayerStripPosition
private

◆ IntersectionPoints_LowerLayerStripTotalSignal

vector<Double_t> BmnSiBTModule::IntersectionPoints_LowerLayerStripTotalSignal
private

◆ IntersectionPoints_UpperLayerClusterSize

vector<Int_t> BmnSiBTModule::IntersectionPoints_UpperLayerClusterSize
private

◆ IntersectionPoints_UpperLayerStripPosition

vector<Double_t> BmnSiBTModule::IntersectionPoints_UpperLayerStripPosition
private

◆ IntersectionPoints_UpperLayerStripTotalSignal

vector<Double_t> BmnSiBTModule::IntersectionPoints_UpperLayerStripTotalSignal
private

◆ IntersectionPointsX

vector<Double_t> BmnSiBTModule::IntersectionPointsX
private

◆ IntersectionPointsXErrors

vector<Double_t> BmnSiBTModule::IntersectionPointsXErrors
private

◆ IntersectionPointsY

vector<Double_t> BmnSiBTModule::IntersectionPointsY
private

◆ IntersectionPointsYErrors

vector<Double_t> BmnSiBTModule::IntersectionPointsYErrors
private

◆ ModuleThickness

Double_t BmnSiBTModule::ModuleThickness
private

◆ RealPointsMC

vector<Double_t> BmnSiBTModule::RealPointsMC
private

◆ RealPointsX

vector<Double_t> BmnSiBTModule::RealPointsX
private

◆ RealPointsY

vector<Double_t> BmnSiBTModule::RealPointsY
private

Definition at line 188 of file BmnSiBTModule.h.

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

◆ StripLayers

◆ Verbosity

Bool_t BmnSiBTModule::Verbosity
private

◆ XMaxModule

Double_t BmnSiBTModule::XMaxModule
private

◆ XMinModule

Double_t BmnSiBTModule::XMinModule
private

◆ YMaxModule

Double_t BmnSiBTModule::YMaxModule
private

◆ YMinModule

Double_t BmnSiBTModule::YMinModule
private

◆ ZStartModulePosition


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