BmnRoot
Loading...
Searching...
No Matches
BmnSiBTStationSet Class Reference

#include <BmnSiBTStationSet.h>

Collaboration diagram for BmnSiBTStationSet:
[legend]

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)
 
BmnSiBTStationGetStation (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)
 
 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)
 
BmnSiBTStationGetStation (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< BmnSiBTStationSetCreate (Int_t period, Int_t stp=0)
 
static unique_ptr< BmnSiBTStationSetCreate (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].
 

Detailed Description

Definition at line 13 of file BmnSiBTStationSet.h.

Constructor & Destructor Documentation

◆ BmnSiBTStationSet() [1/4]

BmnSiBTStationSet::BmnSiBTStationSet ( )

Definition at line 9 of file BmnSiBTStationSet.cxx.

◆ BmnSiBTStationSet() [2/4]

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

Definition at line 17 of file BmnSiBTStationSet.cxx.

◆ ~BmnSiBTStationSet() [1/2]

BmnSiBTStationSet::~BmnSiBTStationSet ( )
virtual

◆ BmnSiBTStationSet() [3/4]

BmnSiBTStationSet::BmnSiBTStationSet ( )

◆ BmnSiBTStationSet() [4/4]

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

◆ ~BmnSiBTStationSet() [2/2]

virtual BmnSiBTStationSet::~BmnSiBTStationSet ( )
virtual

Member Function Documentation

◆ AddPointToDetector() [1/2]

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.

Referenced by BmnSiBTDigitizer::ProcessMCPoints().

◆ AddPointToDetector() [2/2]

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 
)

◆ CountNAddedToDetectorPoints() [1/2]

Int_t BmnSiBTStationSet::CountNAddedToDetectorPoints ( )

◆ CountNAddedToDetectorPoints() [2/2]

Int_t BmnSiBTStationSet::CountNAddedToDetectorPoints ( )

◆ CountNProcessedPointsInDetector() [1/2]

Int_t BmnSiBTStationSet::CountNProcessedPointsInDetector ( )

◆ CountNProcessedPointsInDetector() [2/2]

Int_t BmnSiBTStationSet::CountNProcessedPointsInDetector ( )

◆ Create() [1/2]

◆ Create() [2/2]

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

◆ GetNStations() [1/2]

Int_t BmnSiBTStationSet::GetNStations ( )
inline

Definition at line 38 of file BmnSiBTStationSet.h.

References NStations.

Referenced by BmnSiBTHitMaker::ProcessDigits(), and BmnSiBTDigitizer::ProcessMCPoints().

◆ GetNStations() [2/2]

Int_t BmnSiBTStationSet::GetNStations ( )
inline

Definition at line 38 of file BmnSiBTStationSet.h.

References NStations.

◆ GetPointStationOwnership() [1/4]

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

Definition at line 166 of file BmnSiBTStationSet.cxx.

References BmnSiBTStation::GetNModules(), NStations, and Stations.

◆ GetPointStationOwnership() [2/4]

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

◆ GetPointStationOwnership() [3/4]

Int_t BmnSiBTStationSet::GetPointStationOwnership ( Double_t  zcoord)

Definition at line 152 of file BmnSiBTStationSet.cxx.

References BmnSiBTStation::GetNModules(), NStations, and Stations.

Referenced by AddPointToDetector().

◆ GetPointStationOwnership() [4/4]

Int_t BmnSiBTStationSet::GetPointStationOwnership ( Double_t  zcoord)

◆ GetStation() [1/2]

BmnSiBTStation * BmnSiBTStationSet::GetStation ( Int_t  station_num)

Definition at line 90 of file BmnSiBTStationSet.cxx.

References NStations, and Stations.

Referenced by BmnSiBTHitMaker::ProcessDigits(), and BmnSiBTDigitizer::ProcessMCPoints().

◆ GetStation() [2/2]

BmnSiBTStation * BmnSiBTStationSet::GetStation ( Int_t  station_num)

◆ GetXStationPosition() [1/2]

Double_t BmnSiBTStationSet::GetXStationPosition ( Int_t  station_num)

Definition at line 63 of file BmnSiBTStationSet.cxx.

References NStations, and XStationPositions.

◆ GetXStationPosition() [2/2]

Double_t BmnSiBTStationSet::GetXStationPosition ( Int_t  station_num)

◆ GetYStationPosition() [1/2]

Double_t BmnSiBTStationSet::GetYStationPosition ( Int_t  station_num)

Definition at line 72 of file BmnSiBTStationSet.cxx.

References NStations, and YStationPositions.

◆ GetYStationPosition() [2/2]

Double_t BmnSiBTStationSet::GetYStationPosition ( Int_t  station_num)

◆ GetZStationPosition() [1/2]

Double_t BmnSiBTStationSet::GetZStationPosition ( Int_t  station_num)

Definition at line 81 of file BmnSiBTStationSet.cxx.

References NStations, and ZStationPositions.

◆ GetZStationPosition() [2/2]

Double_t BmnSiBTStationSet::GetZStationPosition ( Int_t  station_num)

◆ ProcessPointsInDetector() [1/2]

void BmnSiBTStationSet::ProcessPointsInDetector ( )

◆ ProcessPointsInDetector() [2/2]

void BmnSiBTStationSet::ProcessPointsInDetector ( )

◆ Reset() [1/2]

void BmnSiBTStationSet::Reset ( )

◆ Reset() [2/2]

void BmnSiBTStationSet::Reset ( )

Member Data Documentation

◆ fStatShifts

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

Stations [array].

Definition at line 25 of file BmnSiBTStationSet.h.

◆ NStations

◆ Stations

◆ XStationPositions

Double_t * BmnSiBTStationSet::XStationPositions
protected

Definition at line 20 of file BmnSiBTStationSet.h.

Referenced by GetXStationPosition(), and ~BmnSiBTStationSet().

◆ YStationPositions

Double_t * BmnSiBTStationSet::YStationPositions
protected

x-position of each station [array]

Definition at line 21 of file BmnSiBTStationSet.h.

Referenced by GetYStationPosition(), and ~BmnSiBTStationSet().

◆ ZStationPositions

Double_t * BmnSiBTStationSet::ZStationPositions
protected

y-position of each station [array]

Definition at line 22 of file BmnSiBTStationSet.h.

Referenced by GetZStationPosition(), and ~BmnSiBTStationSet().


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