|
BmnRoot
|
#include <BmnVSPStationSet.h>
Public Member Functions | |
| BmnVSPStationSet () | |
| BmnVSPStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr) | |
| virtual | ~BmnVSPStationSet () |
| 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) |
| BmnVSPStation * | GetVSPStation (Int_t station_num) |
| BmnVSPStation * | 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) |
| BmnVSPStationSet () | |
| BmnVSPStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr) | |
| virtual | ~BmnVSPStationSet () |
| 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) |
| BmnVSPStation * | GetVSPStation (Int_t station_num) |
| BmnVSPStation * | 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< BmnVSPStationSet > | Create (Int_t period, Int_t stp=0) |
| static unique_ptr< BmnVSPStationSet > | Create (Int_t period, Int_t stp=0) |
Protected Attributes | |
| Int_t | NStations |
| Double_t * | XStationPositions |
| Double_t * | YStationPositions |
| Double_t * | ZStationPositions |
| BmnVSPStation ** | VSPStations |
| map< Int_t, TVector3 > * | fStatShifts |
Definition at line 13 of file BmnVSPStationSet.h.
| BmnVSPStationSet::BmnVSPStationSet | ( | ) |
Definition at line 9 of file BmnVSPStationSet.cxx.
| BmnVSPStationSet::BmnVSPStationSet | ( | TString | xml_config_file, |
| map< Int_t, TVector3 > * | shifts = nullptr |
||
| ) |
Definition at line 18 of file BmnVSPStationSet.cxx.
|
virtual |
Definition at line 32 of file BmnVSPStationSet.cxx.
References i, NStations, VSPStations, XStationPositions, YStationPositions, and ZStationPositions.
| BmnVSPStationSet::BmnVSPStationSet | ( | ) |
| BmnVSPStationSet::BmnVSPStationSet | ( | TString | xml_config_file, |
| map< Int_t, TVector3 > * | shifts = nullptr |
||
| ) |
|
virtual |
| Bool_t BmnVSPStationSet::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 104 of file BmnVSPStationSet.cxx.
References GetPointStationOwnership(), and VSPStations.
Referenced by BmnVSPDigitizer::ProcessMCPoints().
| Bool_t BmnVSPStationSet::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 BmnVSPStationSet::CountNAddedToDetectorPoints | ( | ) |
Definition at line 125 of file BmnVSPStationSet.cxx.
References BmnVSPStation::CountNAddedToStationPoints(), NStations, and VSPStations.
Referenced by BmnVSPDigitizer::ProcessMCPoints().
| Int_t BmnVSPStationSet::CountNAddedToDetectorPoints | ( | ) |
| Int_t BmnVSPStationSet::CountNProcessedPointsInDetector | ( | ) |
Definition at line 141 of file BmnVSPStationSet.cxx.
References BmnVSPStation::CountNProcessedPointInStation(), NStations, and VSPStations.
Referenced by BmnVSPHitMaker::ProcessDigits().
| Int_t BmnVSPStationSet::CountNProcessedPointsInDetector | ( | ) |
|
static |
Definition at line 283 of file BmnVSPStationSet.cxx.
References f, nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::parse(), and nlohmann::basic_json< ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType >::value().
Referenced by BmnHistVsp::BmnHistVsp(), and BmnOnlineDecoder::StripView().
|
static |
|
inline |
Definition at line 39 of file BmnVSPStationSet.h.
|
inline |
Definition at line 39 of file BmnVSPStationSet.h.
|
inline |
Definition at line 35 of file BmnVSPStationSet.h.
References NStations.
Referenced by BmnToCbmHitConverter::ApplyAlignment(), BmnToCbmHitConverter::Exec(), BmnVSPHitMaker::ProcessDigits(), BmnVSPDigitizer::ProcessMCPoints(), and BmnVSPHitMaker::~BmnVSPHitMaker().
|
inline |
Definition at line 35 of file BmnVSPStationSet.h.
References NStations.
| Int_t BmnVSPStationSet::GetPointStationOwnership | ( | Double_t | xcoord, |
| Double_t | ycoord, | ||
| Double_t | zcoord | ||
| ) |
Definition at line 164 of file BmnVSPStationSet.cxx.
References BmnVSPStation::GetNModules(), NStations, and VSPStations.
| Int_t BmnVSPStationSet::GetPointStationOwnership | ( | Double_t | xcoord, |
| Double_t | ycoord, | ||
| Double_t | zcoord | ||
| ) |
| Int_t BmnVSPStationSet::GetPointStationOwnership | ( | Double_t | zcoord | ) |
Definition at line 150 of file BmnVSPStationSet.cxx.
References BmnVSPStation::GetNModules(), NStations, and VSPStations.
Referenced by AddPointToDetector(), and BmnVSPHitProducer::Exec().
| Int_t BmnVSPStationSet::GetPointStationOwnership | ( | Double_t | zcoord | ) |
|
inline |
Definition at line 41 of file BmnVSPStationSet.h.
References GetVSPStation().
|
inline |
Definition at line 41 of file BmnVSPStationSet.h.
References GetVSPStation().
| BmnVSPStation * BmnVSPStationSet::GetVSPStation | ( | Int_t | station_num | ) |
Definition at line 88 of file BmnVSPStationSet.cxx.
References NStations, and VSPStations.
Referenced by GetStation(), BmnVSPHitMaker::ProcessDigits(), BmnVSPDigitizer::ProcessMCPoints(), and BmnVSPHitMaker::~BmnVSPHitMaker().
| BmnVSPStation * BmnVSPStationSet::GetVSPStation | ( | Int_t | station_num | ) |
| Double_t BmnVSPStationSet::GetXStationPosition | ( | Int_t | station_num | ) |
Definition at line 61 of file BmnVSPStationSet.cxx.
References NStations, and XStationPositions.
| Double_t BmnVSPStationSet::GetXStationPosition | ( | Int_t | station_num | ) |
| Double_t BmnVSPStationSet::GetYStationPosition | ( | Int_t | station_num | ) |
Definition at line 70 of file BmnVSPStationSet.cxx.
References NStations, and YStationPositions.
| Double_t BmnVSPStationSet::GetYStationPosition | ( | Int_t | station_num | ) |
| Double_t BmnVSPStationSet::GetZStationPosition | ( | Int_t | station_num | ) |
Definition at line 79 of file BmnVSPStationSet.cxx.
References NStations, and ZStationPositions.
Referenced by BmnToCbmHitConverter::ApplyAlignment().
| Double_t BmnVSPStationSet::GetZStationPosition | ( | Int_t | station_num | ) |
| void BmnVSPStationSet::ProcessPointsInDetector | ( | ) |
Definition at line 134 of file BmnVSPStationSet.cxx.
References NStations, BmnVSPStation::ProcessPointsInStation(), and VSPStations.
Referenced by BmnVSPHitMaker::ProcessDigits().
| void BmnVSPStationSet::ProcessPointsInDetector | ( | ) |
| void BmnVSPStationSet::Reset | ( | ) |
Definition at line 97 of file BmnVSPStationSet.cxx.
References NStations, BmnVSPStation::Reset(), and VSPStations.
Referenced by BmnVSPHitMaker::ProcessDigits(), and BmnVSPDigitizer::ProcessMCPoints().
| void BmnVSPStationSet::Reset | ( | ) |
|
protected |
Definition at line 24 of file BmnVSPStationSet.h.
|
protected |
Definition at line 17 of file BmnVSPStationSet.h.
Referenced by CountNAddedToDetectorPoints(), CountNProcessedPointsInDetector(), GetNStations(), GetPointStationOwnership(), GetPointStationOwnership(), GetVSPStation(), GetXStationPosition(), GetYStationPosition(), GetZStationPosition(), ProcessPointsInDetector(), Reset(), and ~BmnVSPStationSet().
|
protected |
Definition at line 23 of file BmnVSPStationSet.h.
Referenced by AddPointToDetector(), CountNAddedToDetectorPoints(), CountNProcessedPointsInDetector(), GetPointStationOwnership(), GetPointStationOwnership(), GetVSPStation(), ProcessPointsInDetector(), Reset(), and ~BmnVSPStationSet().
|
protected |
Definition at line 19 of file BmnVSPStationSet.h.
Referenced by GetXStationPosition(), and ~BmnVSPStationSet().
|
protected |
Definition at line 20 of file BmnVSPStationSet.h.
Referenced by GetYStationPosition(), and ~BmnVSPStationSet().
|
protected |
Definition at line 21 of file BmnVSPStationSet.h.
Referenced by GetZStationPosition(), and ~BmnVSPStationSet().