|
BmnRoot 26.10.0-19-g6979a6c6
Software framework of the BM@N experiment
|
#include <BmnSiBTStationSet.h>
Public Member Functions | |
| BmnSiBTStationSet () | |
| BmnSiBTStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr) | |
| virtual | ~BmnSiBTStationSet () |
| Int_t | GetNStations () |
| Double_t | GetXStationPosition (Int_t station_num) |
| Double_t | GetYStationPosition (Int_t station_num) |
| Double_t | GetZStationPosition (Int_t station_num) |
| BmnSiBTStation * | 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< BmnSiBTStationSet > | Create (Int_t period, Int_t stp=0) |
Protected Attributes | |
| Int_t | NStations |
| Double_t * | XStationPositions |
| Double_t * | YStationPositions |
| x-position of each station [array] | |
| Double_t * | ZStationPositions |
| y-position of each station [array] | |
| BmnSiBTStation ** | Stations |
| z-position of each station [array] | |
| map< Int_t, TVector3 > * | fStatShifts |
| Stations [array]. | |
Private Member Functions | |
| Bool_t | CreateConfigurationFromXMLFile (TString xml_config_file) |
| Int_t | CountNumberOfStations (TXMLNode *node) |
| Bool_t | ParseStation (TXMLNode *node, Int_t iStation) |
Definition at line 13 of file BmnSiBTStationSet.h.
| BmnSiBTStationSet::BmnSiBTStationSet | ( | ) |
Definition at line 9 of file BmnSiBTStationSet.cxx.
References NStations, Stations, XStationPositions, YStationPositions, and ZStationPositions.
| BmnSiBTStationSet::BmnSiBTStationSet | ( | TString | xml_config_file, |
| map< Int_t, TVector3 > * | shifts = nullptr ) |
Definition at line 17 of file BmnSiBTStationSet.cxx.
References CreateConfigurationFromXMLFile(), fStatShifts, NStations, Stations, XStationPositions, YStationPositions, and ZStationPositions.
|
virtual |
Definition at line 33 of file BmnSiBTStationSet.cxx.
References i, NStations, Stations, XStationPositions, YStationPositions, and ZStationPositions.
| Bool_t BmnSiBTStationSet::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 106 of file BmnSiBTStationSet.cxx.
References GetPointStationOwnership(), and Stations.
| Int_t BmnSiBTStationSet::CountNAddedToDetectorPoints | ( | ) |
Definition at line 127 of file BmnSiBTStationSet.cxx.
| Int_t BmnSiBTStationSet::CountNProcessedPointsInDetector | ( | ) |
Definition at line 143 of file BmnSiBTStationSet.cxx.
Definition at line 231 of file BmnSiBTStationSet.cxx.
References TXMLNode::GetChildren(), TXMLNode::GetNextNode(), and TXMLNode::GetNodeName().
Referenced by CreateConfigurationFromXMLFile().
|
static |
Definition at line 286 of file BmnSiBTStationSet.cxx.
References f.
Referenced by BmnOnlineDecoder::StripView().
Definition at line 181 of file BmnSiBTStationSet.cxx.
References CountNumberOfStations(), TXMLNode::GetChildren(), TXMLNode::GetNextNode(), TXMLNode::GetNodeName(), TXMLDocument::GetRootNode(), TDOMParser::GetXMLDocument(), i, NStations, TDOMParser::ParseFile(), ParseStation(), TXMLParser::SetValidate(), Stations, XStationPositions, YStationPositions, and ZStationPositions.
Referenced by BmnSiBTStationSet().
|
inline |
Definition at line 38 of file BmnSiBTStationSet.h.
References NStations.
| Int_t BmnSiBTStationSet::GetPointStationOwnership | ( | Double_t | xcoord, |
| Double_t | ycoord, | ||
| Double_t | zcoord ) |
Definition at line 166 of file BmnSiBTStationSet.cxx.
Definition at line 152 of file BmnSiBTStationSet.cxx.
References NModules, NStations, and Stations.
Referenced by AddPointToDetector(), and TestSiBTConfig_Visual().
| BmnSiBTStation * BmnSiBTStationSet::GetStation | ( | Int_t | station_num | ) |
Definition at line 90 of file BmnSiBTStationSet.cxx.
References NStations, and Stations.
Referenced by TestSiBTConfig_Visual().
Definition at line 63 of file BmnSiBTStationSet.cxx.
References NStations, and XStationPositions.
Definition at line 72 of file BmnSiBTStationSet.cxx.
References NStations, and YStationPositions.
Definition at line 81 of file BmnSiBTStationSet.cxx.
References NStations, and ZStationPositions.
Definition at line 244 of file BmnSiBTStationSet.cxx.
References fStatShifts, TXMLNode::GetAttributes(), TXMLAttr::GetName(), TXMLAttr::GetValue(), TXMLNode::HasAttributes(), Stations, XStationPositions, YStationPositions, and ZStationPositions.
Referenced by CreateConfigurationFromXMLFile().
| void BmnSiBTStationSet::ProcessPointsInDetector | ( | ) |
Definition at line 136 of file BmnSiBTStationSet.cxx.
| void BmnSiBTStationSet::Reset | ( | ) |
Definition at line 99 of file BmnSiBTStationSet.cxx.
Definition at line 25 of file BmnSiBTStationSet.h.
Referenced by BmnSiBTStationSet(), and ParseStation().
|
protected |
Definition at line 18 of file BmnSiBTStationSet.h.
Referenced by BmnSiBTStationSet(), BmnSiBTStationSet(), ~BmnSiBTStationSet(), CountNAddedToDetectorPoints(), CountNProcessedPointsInDetector(), CreateConfigurationFromXMLFile(), GetNStations(), GetPointStationOwnership(), GetPointStationOwnership(), GetStation(), GetXStationPosition(), GetYStationPosition(), GetZStationPosition(), ProcessPointsInDetector(), and Reset().
|
protected |
Definition at line 24 of file BmnSiBTStationSet.h.
Referenced by BmnSiBTStationSet(), BmnSiBTStationSet(), ~BmnSiBTStationSet(), AddPointToDetector(), CountNAddedToDetectorPoints(), CountNProcessedPointsInDetector(), CreateConfigurationFromXMLFile(), GetPointStationOwnership(), GetPointStationOwnership(), GetStation(), ParseStation(), ProcessPointsInDetector(), and Reset().
|
protected |
Definition at line 20 of file BmnSiBTStationSet.h.
Referenced by BmnSiBTStationSet(), BmnSiBTStationSet(), ~BmnSiBTStationSet(), CreateConfigurationFromXMLFile(), GetXStationPosition(), and ParseStation().
|
protected |
Definition at line 21 of file BmnSiBTStationSet.h.
Referenced by BmnSiBTStationSet(), BmnSiBTStationSet(), ~BmnSiBTStationSet(), CreateConfigurationFromXMLFile(), GetYStationPosition(), and ParseStation().
|
protected |
Definition at line 22 of file BmnSiBTStationSet.h.
Referenced by BmnSiBTStationSet(), BmnSiBTStationSet(), ~BmnSiBTStationSet(), CreateConfigurationFromXMLFile(), GetZStationPosition(), and ParseStation().