BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnVSPStation Class Reference

#include <BmnVSPStation.h>

Collaboration diagram for BmnVSPStation:

Public Member Functions

 BmnVSPStation ()
 BmnVSPStation (TXMLNode *stationNode, Int_t iStation, Double_t xpos_station, Double_t ypos_station, Double_t zpos_station)
virtual ~BmnVSPStation ()
Int_t GetStationNumber ()
Int_t GetNModules ()
Double_t GetXMinStation ()
Double_t GetXMaxStation ()
Double_t GetYMinStation ()
Double_t GetYMaxStation ()
Double_t GetZMinStation ()
Double_t GetZMaxStation ()
Double_t GetXSize ()
Double_t GetYSize ()
Double_t GetZSize ()
Double_t GetXPosition ()
Double_t GetYPosition ()
Double_t GetZPosition ()
Double_t GetXShiftOfModule (Int_t module_num)
Double_t GetYShiftOfModule (Int_t module_num)
Double_t GetZShiftOfModule (Int_t module_num)
BmnVSPModule * GetModule (Int_t module_num)
void Reset ()
Int_t AddPointToStation (Double_t xcoord, Double_t ycoord, Double_t zcoord, Double_t px, Double_t py, Double_t pz, Double_t dEloss, Int_t refID)
Int_t CountNAddedToStationPoints ()
void ProcessPointsInStation ()
Int_t CountNProcessedPointInStation ()
Int_t GetPointModuleOwnership (Double_t xcoord, Double_t ycoord, Double_t zcoord)
 BmnVSPStation ()
 BmnVSPStation (TXMLNode *stationNode, Int_t iStation, Double_t xpos_station, Double_t ypos_station, Double_t zpos_station)
virtual ~BmnVSPStation ()
Int_t GetStationNumber ()
Int_t GetNModules ()
Double_t GetXMinStation ()
Double_t GetXMaxStation ()
Double_t GetYMinStation ()
Double_t GetYMaxStation ()
Double_t GetZMinStation ()
Double_t GetZMaxStation ()
Double_t GetXSize ()
Double_t GetYSize ()
Double_t GetZSize ()
Double_t GetXPosition ()
Double_t GetYPosition ()
Double_t GetZPosition ()
Double_t GetXShiftOfModule (Int_t module_num)
Double_t GetYShiftOfModule (Int_t module_num)
Double_t GetZShiftOfModule (Int_t module_num)
BmnVSPModule * GetModule (Int_t module_num)
void Reset ()
Int_t AddPointToStation (Double_t xcoord, Double_t ycoord, Double_t zcoord, Double_t px, Double_t py, Double_t pz, Double_t dEloss, Int_t refID)
Int_t CountNAddedToStationPoints ()
void ProcessPointsInStation ()
Int_t CountNProcessedPointInStation ()
Int_t GetPointModuleOwnership (Double_t xcoord, Double_t ycoord, Double_t zcoord)

Protected Member Functions

void DefineStationBorders ()
void DefineStationBorders ()

Protected Attributes

Int_t StationNumber
Int_t NModules
Double_t XMinStation
Double_t XMaxStation
Double_t YMinStation
Double_t YMaxStation
Double_t ZMinStation
Double_t ZMaxStation
Double_t XSize
Double_t YSize
Double_t ZSize
Double_t XPosition
Double_t YPosition
Double_t ZPosition
Double_t * XShiftOfModules
Double_t * YShiftOfModules
Double_t * ZShiftOfModules
BmnVSPModule ** Modules

Private Member Functions

Bool_t CreateConfigurationFromXMLNode (TXMLNode *node)
Int_t CountNumberOfModules (TXMLNode *node)
Bool_t ParseModule (TXMLNode *node, Int_t iModule)
BmnVSPLayer ParseLayer (TXMLNode *node, Int_t iLayer, Int_t iModule)
DeadZoneOfStripLayer ParseDeadZone (TXMLNode *node, Int_t iModule)
Int_t CountDeadZonePoints (TXMLNode *node)
Bool_t CreateConfigurationFromXMLNode (TXMLNode *node)
Int_t CountNumberOfModules (TXMLNode *node)
Bool_t ParseModule (TXMLNode *node, Int_t iModule)
BmnVSPLayer ParseLayer (TXMLNode *node, Int_t iLayer, Int_t iModule)
DeadZoneOfStripLayer ParseDeadZone (TXMLNode *node, Int_t iModule)
Int_t CountDeadZonePoints (TXMLNode *node)

Detailed Description

Definition at line 13 of file BmnVSPStation.h.

Constructor & Destructor Documentation

◆ BmnVSPStation() [1/4]

BmnVSPStation::BmnVSPStation ( )

Definition at line 3 of file BmnVSPStation.cxx.

References Modules, NModules, StationNumber, XMaxStation, XMinStation, XPosition, XShiftOfModules, XSize, YMaxStation, YMinStation, YPosition, YShiftOfModules, YSize, ZMaxStation, ZMinStation, ZPosition, ZShiftOfModules, and ZSize.

Referenced by CountDeadZonePoints().

Here is the caller graph for this function:

◆ BmnVSPStation() [2/4]

BmnVSPStation::BmnVSPStation ( TXMLNode * stationNode,
Int_t iStation,
Double_t xpos_station,
Double_t ypos_station,
Double_t zpos_station )

Definition at line 24 of file BmnVSPStation.cxx.

References CreateConfigurationFromXMLNode(), DefineStationBorders(), Modules, NModules, StationNumber, XMaxStation, XMinStation, XPosition, XShiftOfModules, XSize, YMaxStation, YMinStation, YPosition, YShiftOfModules, YSize, ZMaxStation, ZMinStation, ZPosition, ZShiftOfModules, and ZSize.

Here is the call graph for this function:

◆ ~BmnVSPStation() [1/2]

BmnVSPStation::~BmnVSPStation ( )
virtual

Definition at line 62 of file BmnVSPStation.cxx.

References i, Modules, NModules, XShiftOfModules, YShiftOfModules, and ZShiftOfModules.

◆ BmnVSPStation() [3/4]

BmnVSPStation::BmnVSPStation ( )

◆ BmnVSPStation() [4/4]

BmnVSPStation::BmnVSPStation ( TXMLNode * stationNode,
Int_t iStation,
Double_t xpos_station,
Double_t ypos_station,
Double_t zpos_station )

◆ ~BmnVSPStation() [2/2]

virtual BmnVSPStation::~BmnVSPStation ( )
virtual

Member Function Documentation

◆ AddPointToStation() [1/2]

Int_t BmnVSPStation::AddPointToStation ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord,
Double_t px,
Double_t py,
Double_t pz,
Double_t dEloss,
Int_t refID )

Definition at line 134 of file BmnVSPStation.cxx.

References GetPointModuleOwnership(), and Modules.

Here is the call graph for this function:

◆ AddPointToStation() [2/2]

Int_t BmnVSPStation::AddPointToStation ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord,
Double_t px,
Double_t py,
Double_t pz,
Double_t dEloss,
Int_t refID )

◆ CountDeadZonePoints() [1/2]

Int_t BmnVSPStation::CountDeadZonePoints ( TXMLNode * node)
private

Definition at line 443 of file BmnVSPStation.cxx.

References TXMLNode::GetChildren(), TXMLNode::GetNextNode(), and TXMLNode::GetNodeName().

Referenced by ParseDeadZone().

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

◆ CountDeadZonePoints() [2/2]

Int_t BmnVSPStation::CountDeadZonePoints ( TXMLNode * node)
private

References BmnVSPStation().

Here is the call graph for this function:

◆ CountNAddedToStationPoints() [1/2]

Int_t BmnVSPStation::CountNAddedToStationPoints ( )

Definition at line 159 of file BmnVSPStation.cxx.

References Modules, and NModules.

◆ CountNAddedToStationPoints() [2/2]

Int_t BmnVSPStation::CountNAddedToStationPoints ( )

◆ CountNProcessedPointInStation() [1/2]

Int_t BmnVSPStation::CountNProcessedPointInStation ( )

Definition at line 175 of file BmnVSPStation.cxx.

References Modules, and NModules.

◆ CountNProcessedPointInStation() [2/2]

Int_t BmnVSPStation::CountNProcessedPointInStation ( )

◆ CountNumberOfModules() [1/2]

Int_t BmnVSPStation::CountNumberOfModules ( TXMLNode * node)
private

Definition at line 253 of file BmnVSPStation.cxx.

References TXMLNode::GetChildren(), TXMLNode::GetNextNode(), and TXMLNode::GetNodeName().

Referenced by CreateConfigurationFromXMLNode().

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

◆ CountNumberOfModules() [2/2]

Int_t BmnVSPStation::CountNumberOfModules ( TXMLNode * node)
private

◆ CreateConfigurationFromXMLNode() [1/2]

Bool_t BmnVSPStation::CreateConfigurationFromXMLNode ( TXMLNode * node)
private

Definition at line 221 of file BmnVSPStation.cxx.

References CountNumberOfModules(), TXMLNode::GetChildren(), TXMLNode::GetNextNode(), TXMLNode::GetNodeName(), i, Modules, NModules, ParseModule(), XShiftOfModules, YShiftOfModules, and ZShiftOfModules.

Referenced by BmnVSPStation().

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

◆ CreateConfigurationFromXMLNode() [2/2]

Bool_t BmnVSPStation::CreateConfigurationFromXMLNode ( TXMLNode * node)
private

◆ DefineStationBorders() [1/2]

void BmnVSPStation::DefineStationBorders ( )
protected

Definition at line 193 of file BmnVSPStation.cxx.

References i, Modules, NModules, XMaxStation, XMinStation, YMaxStation, YMinStation, ZMaxStation, and ZMinStation.

Referenced by BmnVSPStation().

Here is the caller graph for this function:

◆ DefineStationBorders() [2/2]

void BmnVSPStation::DefineStationBorders ( )
protected

◆ GetModule() [1/2]

BmnVSPModule * BmnVSPStation::GetModule ( Int_t module_num)

Definition at line 117 of file BmnVSPStation.cxx.

References Modules, and NModules.

Referenced by DrawCreatedStationFront(), DrawCreatedStationTop(), CbmStsDigiScheme::InitNewNew(), LoadDataFromDigits(), BmnVSPDigitizer::ProcessMCPoints(), and VSPClusterAnalyser().

Here is the caller graph for this function:

◆ GetModule() [2/2]

BmnVSPModule * BmnVSPStation::GetModule ( Int_t module_num)

◆ GetNModules() [1/2]

Int_t BmnVSPStation::GetNModules ( )
inline

Definition at line 55 of file BmnVSPStation.h.

References NModules.

Referenced by DrawCreatedStationFront(), DrawCreatedStationTop(), CbmStsDigiScheme::InitNewNew(), BmnVSPHitMaker::ProcessDigits(), and BmnVSPDigitizer::ProcessMCPoints().

Here is the caller graph for this function:

◆ GetNModules() [2/2]

Int_t BmnVSPStation::GetNModules ( )
inline

Definition at line 55 of file BmnVSPStation.h.

References NModules.

◆ GetPointModuleOwnership() [1/2]

Int_t BmnVSPStation::GetPointModuleOwnership ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord )

Definition at line 184 of file BmnVSPStation.cxx.

References Modules, and NModules.

Referenced by AddPointToStation().

Here is the caller graph for this function:

◆ GetPointModuleOwnership() [2/2]

Int_t BmnVSPStation::GetPointModuleOwnership ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord )

◆ GetStationNumber() [1/2]

Int_t BmnVSPStation::GetStationNumber ( )
inline

Definition at line 54 of file BmnVSPStation.h.

References StationNumber.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetStationNumber() [2/2]

Int_t BmnVSPStation::GetStationNumber ( )
inline

Definition at line 54 of file BmnVSPStation.h.

References StationNumber.

◆ GetXMaxStation() [1/2]

Double_t BmnVSPStation::GetXMaxStation ( )
inline

Definition at line 57 of file BmnVSPStation.h.

References XMaxStation.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetXMaxStation() [2/2]

Double_t BmnVSPStation::GetXMaxStation ( )
inline

Definition at line 57 of file BmnVSPStation.h.

References XMaxStation.

◆ GetXMinStation() [1/2]

Double_t BmnVSPStation::GetXMinStation ( )
inline

Definition at line 56 of file BmnVSPStation.h.

References XMinStation.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetXMinStation() [2/2]

Double_t BmnVSPStation::GetXMinStation ( )
inline

Definition at line 56 of file BmnVSPStation.h.

References XMinStation.

◆ GetXPosition() [1/2]

Double_t BmnVSPStation::GetXPosition ( )
inline

Definition at line 65 of file BmnVSPStation.h.

References XPosition.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetXPosition() [2/2]

Double_t BmnVSPStation::GetXPosition ( )
inline

Definition at line 65 of file BmnVSPStation.h.

References XPosition.

◆ GetXShiftOfModule() [1/2]

Double_t BmnVSPStation::GetXShiftOfModule ( Int_t module_num)

Definition at line 90 of file BmnVSPStation.cxx.

References NModules, and XShiftOfModules.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetXShiftOfModule() [2/2]

Double_t BmnVSPStation::GetXShiftOfModule ( Int_t module_num)

◆ GetXSize() [1/2]

Double_t BmnVSPStation::GetXSize ( )
inline

Definition at line 62 of file BmnVSPStation.h.

References XSize.

Referenced by DrawCreatedStationFront(), DrawCreatedStationTop(), and CbmStsDigiScheme::InitNewNew().

Here is the caller graph for this function:

◆ GetXSize() [2/2]

Double_t BmnVSPStation::GetXSize ( )
inline

Definition at line 62 of file BmnVSPStation.h.

References XSize.

◆ GetYMaxStation() [1/2]

Double_t BmnVSPStation::GetYMaxStation ( )
inline

Definition at line 59 of file BmnVSPStation.h.

References YMaxStation.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetYMaxStation() [2/2]

Double_t BmnVSPStation::GetYMaxStation ( )
inline

Definition at line 59 of file BmnVSPStation.h.

References YMaxStation.

◆ GetYMinStation() [1/2]

Double_t BmnVSPStation::GetYMinStation ( )
inline

Definition at line 58 of file BmnVSPStation.h.

References YMinStation.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetYMinStation() [2/2]

Double_t BmnVSPStation::GetYMinStation ( )
inline

Definition at line 58 of file BmnVSPStation.h.

References YMinStation.

◆ GetYPosition() [1/2]

Double_t BmnVSPStation::GetYPosition ( )
inline

Definition at line 66 of file BmnVSPStation.h.

References YPosition.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetYPosition() [2/2]

Double_t BmnVSPStation::GetYPosition ( )
inline

Definition at line 66 of file BmnVSPStation.h.

References YPosition.

◆ GetYShiftOfModule() [1/2]

Double_t BmnVSPStation::GetYShiftOfModule ( Int_t module_num)

Definition at line 99 of file BmnVSPStation.cxx.

References NModules, and YShiftOfModules.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetYShiftOfModule() [2/2]

Double_t BmnVSPStation::GetYShiftOfModule ( Int_t module_num)

◆ GetYSize() [1/2]

Double_t BmnVSPStation::GetYSize ( )
inline

Definition at line 63 of file BmnVSPStation.h.

References YSize.

Referenced by DrawCreatedStationFront(), DrawCreatedStationTop(), and CbmStsDigiScheme::InitNewNew().

Here is the caller graph for this function:

◆ GetYSize() [2/2]

Double_t BmnVSPStation::GetYSize ( )
inline

Definition at line 63 of file BmnVSPStation.h.

References YSize.

◆ GetZMaxStation() [1/2]

Double_t BmnVSPStation::GetZMaxStation ( )
inline

Definition at line 61 of file BmnVSPStation.h.

References ZMaxStation.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetZMaxStation() [2/2]

Double_t BmnVSPStation::GetZMaxStation ( )
inline

Definition at line 61 of file BmnVSPStation.h.

References ZMaxStation.

◆ GetZMinStation() [1/2]

Double_t BmnVSPStation::GetZMinStation ( )
inline

Definition at line 60 of file BmnVSPStation.h.

References ZMinStation.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetZMinStation() [2/2]

Double_t BmnVSPStation::GetZMinStation ( )
inline

Definition at line 60 of file BmnVSPStation.h.

References ZMinStation.

◆ GetZPosition() [1/2]

Double_t BmnVSPStation::GetZPosition ( )
inline

Definition at line 67 of file BmnVSPStation.h.

References ZPosition.

Referenced by DrawCreatedStationFront(), DrawCreatedStationTop(), and CbmStsDigiScheme::InitNewNew().

Here is the caller graph for this function:

◆ GetZPosition() [2/2]

Double_t BmnVSPStation::GetZPosition ( )
inline

Definition at line 67 of file BmnVSPStation.h.

References ZPosition.

◆ GetZShiftOfModule() [1/2]

Double_t BmnVSPStation::GetZShiftOfModule ( Int_t module_num)

Definition at line 108 of file BmnVSPStation.cxx.

References NModules, and ZShiftOfModules.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetZShiftOfModule() [2/2]

Double_t BmnVSPStation::GetZShiftOfModule ( Int_t module_num)

◆ GetZSize() [1/2]

Double_t BmnVSPStation::GetZSize ( )
inline

Definition at line 64 of file BmnVSPStation.h.

References ZSize.

Referenced by DrawCreatedStationFront(), and DrawCreatedStationTop().

Here is the caller graph for this function:

◆ GetZSize() [2/2]

Double_t BmnVSPStation::GetZSize ( )
inline

Definition at line 64 of file BmnVSPStation.h.

References ZSize.

◆ ParseDeadZone() [1/2]

DeadZoneOfStripLayer BmnVSPStation::ParseDeadZone ( TXMLNode * node,
Int_t iModule )
private

Definition at line 400 of file BmnVSPStation.cxx.

References CountDeadZonePoints(), TXMLNode::GetAttributes(), TXMLNode::GetChildren(), TXMLAttr::GetName(), TXMLNode::GetNextNode(), TXMLNode::GetNodeName(), TXMLAttr::GetValue(), TXMLNode::HasAttributes(), DeadZoneOfStripLayer::SetDeadZone(), XPosition, XShiftOfModules, YPosition, and YShiftOfModules.

Referenced by ParseLayer().

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

◆ ParseDeadZone() [2/2]

DeadZoneOfStripLayer BmnVSPStation::ParseDeadZone ( TXMLNode * node,
Int_t iModule )
private

◆ ParseLayer() [1/2]

BmnVSPLayer BmnVSPStation::ParseLayer ( TXMLNode * node,
Int_t iLayer,
Int_t iModule )
private

Definition at line 303 of file BmnVSPStation.cxx.

References BmnVSPLayer::AddDeadZone(), TXMLNode::GetAttributes(), TXMLNode::GetChildren(), TXMLAttr::GetName(), TXMLNode::GetNextNode(), TXMLNode::GetNodeName(), TXMLAttr::GetValue(), TXMLNode::HasAttributes(), LeftToRight, LowerStripLayer, ParseDeadZone(), RightToLeft, BmnVSPLayer::SetStripNumberingBorders(), BmnVSPLayer::SetStripNumberingOrder(), UpperStripLayer, XPosition, XShiftOfModules, YPosition, and YShiftOfModules.

Referenced by ParseModule().

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

◆ ParseLayer() [2/2]

BmnVSPLayer BmnVSPStation::ParseLayer ( TXMLNode * node,
Int_t iLayer,
Int_t iModule )
private

◆ ParseModule() [1/2]

Bool_t BmnVSPStation::ParseModule ( TXMLNode * node,
Int_t iModule )
private

Definition at line 266 of file BmnVSPStation.cxx.

References TXMLNode::GetAttributes(), TXMLNode::GetChildren(), TXMLAttr::GetName(), TXMLNode::GetNextNode(), TXMLNode::GetNodeName(), TXMLAttr::GetValue(), TXMLNode::HasAttributes(), Modules, ParseLayer(), XShiftOfModules, YShiftOfModules, ZPosition, and ZShiftOfModules.

Referenced by CreateConfigurationFromXMLNode().

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

◆ ParseModule() [2/2]

Bool_t BmnVSPStation::ParseModule ( TXMLNode * node,
Int_t iModule )
private

◆ ProcessPointsInStation() [1/2]

void BmnVSPStation::ProcessPointsInStation ( )

Definition at line 168 of file BmnVSPStation.cxx.

References Modules, and NModules.

◆ ProcessPointsInStation() [2/2]

void BmnVSPStation::ProcessPointsInStation ( )

◆ Reset() [1/2]

void BmnVSPStation::Reset ( )

Definition at line 127 of file BmnVSPStation.cxx.

References Modules, and NModules.

◆ Reset() [2/2]

void BmnVSPStation::Reset ( )

Member Data Documentation

◆ Modules

◆ NModules

◆ StationNumber

Int_t BmnVSPStation::StationNumber
protected

◆ XMaxStation

Double_t BmnVSPStation::XMaxStation
protected

◆ XMinStation

Double_t BmnVSPStation::XMinStation
protected

◆ XPosition

Double_t BmnVSPStation::XPosition
protected

◆ XShiftOfModules

Double_t * BmnVSPStation::XShiftOfModules
protected

◆ XSize

Double_t BmnVSPStation::XSize
protected

◆ YMaxStation

Double_t BmnVSPStation::YMaxStation
protected

◆ YMinStation

Double_t BmnVSPStation::YMinStation
protected

◆ YPosition

Double_t BmnVSPStation::YPosition
protected

◆ YShiftOfModules

Double_t * BmnVSPStation::YShiftOfModules
protected

◆ YSize

Double_t BmnVSPStation::YSize
protected

◆ ZMaxStation

Double_t BmnVSPStation::ZMaxStation
protected

◆ ZMinStation

Double_t BmnVSPStation::ZMinStation
protected

◆ ZPosition

Double_t BmnVSPStation::ZPosition
protected

◆ ZShiftOfModules

Double_t * BmnVSPStation::ZShiftOfModules
protected

◆ ZSize

Double_t BmnVSPStation::ZSize
protected

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