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

#include <BmnSiliconStationSet.h>

Collaboration diagram for BmnSiliconStationSet:

Public Member Functions

 BmnSiliconStationSet ()
 BmnSiliconStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr)
virtual ~BmnSiliconStationSet ()
Int_t GetNStations ()
Double_t GetXStationPosition (Int_t station_num)
Double_t GetYStationPosition (Int_t station_num)
Double_t GetZStationPosition (Int_t station_num)
Double_t GetBeamHoleRadius (Int_t station_num)
BmnSiliconStation * GetSiliconStation (Int_t station_num)
BmnSiliconStation * GetStation (Int_t station_num)
void Reset ()
Bool_t AddPointToDetector (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 CountNAddedToDetectorPoints ()
void ProcessPointsInDetector ()
Int_t CountNProcessedPointsInDetector ()
Int_t GetPointStationOwnership (Double_t zcoord)
Int_t GetPointStationOwnership (Double_t xcoord, Double_t ycoord, Double_t zcoord)
 BmnSiliconStationSet ()
 BmnSiliconStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr)
virtual ~BmnSiliconStationSet ()
Int_t GetNStations ()
Double_t GetXStationPosition (Int_t station_num)
Double_t GetYStationPosition (Int_t station_num)
Double_t GetZStationPosition (Int_t station_num)
Double_t GetBeamHoleRadius (Int_t station_num)
BmnSiliconStation * GetSiliconStation (Int_t station_num)
BmnSiliconStation * GetStation (Int_t station_num)
void Reset ()
Bool_t AddPointToDetector (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 CountNAddedToDetectorPoints ()
void ProcessPointsInDetector ()
Int_t CountNProcessedPointsInDetector ()
Int_t GetPointStationOwnership (Double_t zcoord)
Int_t GetPointStationOwnership (Double_t xcoord, Double_t ycoord, Double_t zcoord)

Static Public Member Functions

static unique_ptr< BmnSiliconStationSet > Create (Int_t period, Int_t stp=0)
static unique_ptr< BmnSiliconStationSet > Create (Int_t period, Int_t stp=0)

Protected Attributes

Int_t NStations
Double_t * XStationPositions
Double_t * YStationPositions
Double_t * ZStationPositions
BmnSiliconStation ** SiliconStations
map< Int_t, TVector3 > * fStatShifts

Private Member Functions

Bool_t CreateConfigurationFromXMLFile (TString xml_config_file)
Int_t CountNumberOfStations (TXMLNode *node)
Bool_t ParseStation (TXMLNode *node, Int_t iStation)
Bool_t CreateConfigurationFromXMLFile (TString xml_config_file)
Int_t CountNumberOfStations (TXMLNode *node)
Bool_t ParseStation (TXMLNode *node, Int_t iStation)

Detailed Description

Definition at line 13 of file BmnSiliconStationSet.h.

Constructor & Destructor Documentation

◆ BmnSiliconStationSet() [1/4]

BmnSiliconStationSet::BmnSiliconStationSet ( )

Definition at line 9 of file BmnSiliconStationSet.cxx.

References fStatShifts, NStations, SiliconStations, XStationPositions, YStationPositions, and ZStationPositions.

Referenced by ParseStation().

Here is the caller graph for this function:

◆ BmnSiliconStationSet() [2/4]

BmnSiliconStationSet::BmnSiliconStationSet ( TString xml_config_file,
map< Int_t, TVector3 > * shifts = nullptr )

Definition at line 18 of file BmnSiliconStationSet.cxx.

References CreateConfigurationFromXMLFile(), fStatShifts, NStations, SiliconStations, XStationPositions, YStationPositions, and ZStationPositions.

Here is the call graph for this function:

◆ ~BmnSiliconStationSet() [1/2]

BmnSiliconStationSet::~BmnSiliconStationSet ( )
virtual

◆ BmnSiliconStationSet() [3/4]

BmnSiliconStationSet::BmnSiliconStationSet ( )

◆ BmnSiliconStationSet() [4/4]

BmnSiliconStationSet::BmnSiliconStationSet ( TString xml_config_file,
map< Int_t, TVector3 > * shifts = nullptr )

◆ ~BmnSiliconStationSet() [2/2]

virtual BmnSiliconStationSet::~BmnSiliconStationSet ( )
virtual

Member Function Documentation

◆ AddPointToDetector() [1/2]

Bool_t BmnSiliconStationSet::AddPointToDetector ( 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 105 of file BmnSiliconStationSet.cxx.

References GetPointStationOwnership(), and SiliconStations.

Here is the call graph for this function:

◆ AddPointToDetector() [2/2]

Bool_t BmnSiliconStationSet::AddPointToDetector ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord,
Double_t px,
Double_t py,
Double_t pz,
Double_t dEloss,
Int_t refID )

◆ CountNAddedToDetectorPoints() [1/2]

Int_t BmnSiliconStationSet::CountNAddedToDetectorPoints ( )

Definition at line 126 of file BmnSiliconStationSet.cxx.

References NStations, and SiliconStations.

◆ CountNAddedToDetectorPoints() [2/2]

Int_t BmnSiliconStationSet::CountNAddedToDetectorPoints ( )

◆ CountNProcessedPointsInDetector() [1/2]

Int_t BmnSiliconStationSet::CountNProcessedPointsInDetector ( )

Definition at line 142 of file BmnSiliconStationSet.cxx.

References NStations, and SiliconStations.

◆ CountNProcessedPointsInDetector() [2/2]

Int_t BmnSiliconStationSet::CountNProcessedPointsInDetector ( )

◆ CountNumberOfStations() [1/2]

Int_t BmnSiliconStationSet::CountNumberOfStations ( TXMLNode * node)
private

Definition at line 234 of file BmnSiliconStationSet.cxx.

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

Referenced by CreateConfigurationFromXMLFile().

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

◆ CountNumberOfStations() [2/2]

Int_t BmnSiliconStationSet::CountNumberOfStations ( TXMLNode * node)
private

◆ Create() [1/2]

unique_ptr< BmnSiliconStationSet > BmnSiliconStationSet::Create ( Int_t period,
Int_t stp = 0 )
static

Definition at line 289 of file BmnSiliconStationSet.cxx.

References f.

Referenced by BmnTrackingQaExp::ReadDataBranches(), and BmnOnlineDecoder::StripView().

Here is the caller graph for this function:

◆ Create() [2/2]

unique_ptr< BmnSiliconStationSet > BmnSiliconStationSet::Create ( Int_t period,
Int_t stp = 0 )
static

◆ CreateConfigurationFromXMLFile() [1/2]

Bool_t BmnSiliconStationSet::CreateConfigurationFromXMLFile ( TString xml_config_file)
private

Definition at line 180 of file BmnSiliconStationSet.cxx.

References CountNumberOfStations(), TXMLNode::GetChildren(), TXMLNode::GetNextNode(), TXMLNode::GetNodeName(), TXMLDocument::GetRootNode(), TDOMParser::GetXMLDocument(), i, NStations, TDOMParser::ParseFile(), ParseStation(), TXMLParser::SetValidate(), SiliconStations, XStationPositions, YStationPositions, and ZStationPositions.

Referenced by BmnSiliconStationSet().

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

◆ CreateConfigurationFromXMLFile() [2/2]

Bool_t BmnSiliconStationSet::CreateConfigurationFromXMLFile ( TString xml_config_file)
private

◆ GetBeamHoleRadius() [1/2]

Double_t BmnSiliconStationSet::GetBeamHoleRadius ( Int_t station_num)
inline

Definition at line 39 of file BmnSiliconStationSet.h.

◆ GetBeamHoleRadius() [2/2]

Double_t BmnSiliconStationSet::GetBeamHoleRadius ( Int_t station_num)
inline

Definition at line 39 of file BmnSiliconStationSet.h.

◆ GetNStations() [1/2]

Int_t BmnSiliconStationSet::GetNStations ( )
inline

Definition at line 35 of file BmnSiliconStationSet.h.

References NStations.

Referenced by corrSummator(), EmbEffView(), BmnAlignerApply::Init(), makeAlignFile(), readCorrections(), rescaleAmplitudeSi(), and StripView().

Here is the caller graph for this function:

◆ GetNStations() [2/2]

Int_t BmnSiliconStationSet::GetNStations ( )
inline

Definition at line 35 of file BmnSiliconStationSet.h.

References NStations.

◆ GetPointStationOwnership() [1/4]

Int_t BmnSiliconStationSet::GetPointStationOwnership ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord )

Definition at line 165 of file BmnSiliconStationSet.cxx.

References NModules, NStations, and SiliconStations.

◆ GetPointStationOwnership() [2/4]

Int_t BmnSiliconStationSet::GetPointStationOwnership ( Double_t xcoord,
Double_t ycoord,
Double_t zcoord )

◆ GetPointStationOwnership() [3/4]

Int_t BmnSiliconStationSet::GetPointStationOwnership ( Double_t zcoord)

Definition at line 151 of file BmnSiliconStationSet.cxx.

References NModules, NStations, and SiliconStations.

Referenced by AddPointToDetector().

Here is the caller graph for this function:

◆ GetPointStationOwnership() [4/4]

Int_t BmnSiliconStationSet::GetPointStationOwnership ( Double_t zcoord)

◆ GetSiliconStation() [1/2]

BmnSiliconStation * BmnSiliconStationSet::GetSiliconStation ( Int_t station_num)

Definition at line 89 of file BmnSiliconStationSet.cxx.

References NStations, and SiliconStations.

Referenced by corrSummator(), EmbEffView(), GetStation(), makeAlignFile(), StripView(), and TestSiliconConfig_Visual().

Here is the caller graph for this function:

◆ GetSiliconStation() [2/2]

BmnSiliconStation * BmnSiliconStationSet::GetSiliconStation ( Int_t station_num)

◆ GetStation() [1/2]

BmnSiliconStation * BmnSiliconStationSet::GetStation ( Int_t station_num)
inline

Definition at line 41 of file BmnSiliconStationSet.h.

References GetSiliconStation().

Referenced by rescaleAmplitudeSi().

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

◆ GetStation() [2/2]

BmnSiliconStation * BmnSiliconStationSet::GetStation ( Int_t station_num)
inline

Definition at line 41 of file BmnSiliconStationSet.h.

References GetSiliconStation().

Here is the call graph for this function:

◆ GetXStationPosition() [1/2]

Double_t BmnSiliconStationSet::GetXStationPosition ( Int_t station_num)

Definition at line 62 of file BmnSiliconStationSet.cxx.

References NStations, and XStationPositions.

◆ GetXStationPosition() [2/2]

Double_t BmnSiliconStationSet::GetXStationPosition ( Int_t station_num)

◆ GetYStationPosition() [1/2]

Double_t BmnSiliconStationSet::GetYStationPosition ( Int_t station_num)

Definition at line 71 of file BmnSiliconStationSet.cxx.

References NStations, and YStationPositions.

◆ GetYStationPosition() [2/2]

Double_t BmnSiliconStationSet::GetYStationPosition ( Int_t station_num)

◆ GetZStationPosition() [1/2]

Double_t BmnSiliconStationSet::GetZStationPosition ( Int_t station_num)

Definition at line 80 of file BmnSiliconStationSet.cxx.

References NStations, and ZStationPositions.

◆ GetZStationPosition() [2/2]

Double_t BmnSiliconStationSet::GetZStationPosition ( Int_t station_num)

◆ ParseStation() [1/2]

Bool_t BmnSiliconStationSet::ParseStation ( TXMLNode * node,
Int_t iStation )
private

Definition at line 247 of file BmnSiliconStationSet.cxx.

References fStatShifts, TXMLNode::GetAttributes(), TXMLAttr::GetName(), TXMLAttr::GetValue(), TXMLNode::HasAttributes(), SiliconStations, XStationPositions, YStationPositions, and ZStationPositions.

Referenced by CreateConfigurationFromXMLFile().

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

◆ ParseStation() [2/2]

Bool_t BmnSiliconStationSet::ParseStation ( TXMLNode * node,
Int_t iStation )
private

References BmnSiliconStationSet().

Here is the call graph for this function:

◆ ProcessPointsInDetector() [1/2]

void BmnSiliconStationSet::ProcessPointsInDetector ( )

Definition at line 135 of file BmnSiliconStationSet.cxx.

References NStations, and SiliconStations.

◆ ProcessPointsInDetector() [2/2]

void BmnSiliconStationSet::ProcessPointsInDetector ( )

◆ Reset() [1/2]

void BmnSiliconStationSet::Reset ( )

Definition at line 98 of file BmnSiliconStationSet.cxx.

References NStations, and SiliconStations.

◆ Reset() [2/2]

void BmnSiliconStationSet::Reset ( )

Member Data Documentation

◆ fStatShifts

map< Int_t, TVector3 > * BmnSiliconStationSet::fStatShifts
protected

Definition at line 24 of file BmnSiliconStationSet.h.

Referenced by BmnSiliconStationSet(), BmnSiliconStationSet(), and ParseStation().

◆ NStations

◆ SiliconStations

◆ XStationPositions

Double_t * BmnSiliconStationSet::XStationPositions
protected

◆ YStationPositions

Double_t * BmnSiliconStationSet::YStationPositions
protected

◆ ZStationPositions

Double_t * BmnSiliconStationSet::ZStationPositions
protected

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