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

#include <BmnSiProfStationSet.h>

Collaboration diagram for BmnSiProfStationSet:
[legend]

Public Member Functions

 BmnSiProfStationSet ()
 
 BmnSiProfStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr)
 
virtual ~BmnSiProfStationSet ()
 
Int_t GetNStations ()
 
Double_t GetXStationPosition (Int_t station_num)
 
Double_t GetYStationPosition (Int_t station_num)
 
Double_t GetZStationPosition (Int_t station_num)
 
BmnSiProfStationGetStation (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)
 
 BmnSiProfStationSet ()
 
 BmnSiProfStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr)
 
virtual ~BmnSiProfStationSet ()
 
Int_t GetNStations ()
 
Double_t GetXStationPosition (Int_t station_num)
 
Double_t GetYStationPosition (Int_t station_num)
 
Double_t GetZStationPosition (Int_t station_num)
 
BmnSiProfStationGetStation (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< BmnSiProfStationSetCreate (Int_t period, Int_t stp=0)
 
static unique_ptr< BmnSiProfStationSetCreate (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]
 
BmnSiProfStation ** Stations
 z-position of each station [array]
 
map< Int_t, TVector3 > * fStatShifts
 Stations [array].
 

Detailed Description

Definition at line 13 of file BmnSiProfStationSet.h.

Constructor & Destructor Documentation

◆ BmnSiProfStationSet() [1/4]

BmnSiProfStationSet::BmnSiProfStationSet ( )

Definition at line 9 of file BmnSiProfStationSet.cxx.

◆ BmnSiProfStationSet() [2/4]

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

Definition at line 17 of file BmnSiProfStationSet.cxx.

◆ ~BmnSiProfStationSet() [1/2]

BmnSiProfStationSet::~BmnSiProfStationSet ( )
virtual

◆ BmnSiProfStationSet() [3/4]

BmnSiProfStationSet::BmnSiProfStationSet ( )

◆ BmnSiProfStationSet() [4/4]

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

◆ ~BmnSiProfStationSet() [2/2]

virtual BmnSiProfStationSet::~BmnSiProfStationSet ( )
virtual

Member Function Documentation

◆ AddPointToDetector() [1/2]

Bool_t BmnSiProfStationSet::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 BmnSiProfStationSet.cxx.

References GetPointStationOwnership(), and Stations.

Referenced by BmnSiProfDigitizer::ProcessMCPoints().

◆ AddPointToDetector() [2/2]

Bool_t BmnSiProfStationSet::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 BmnSiProfStationSet::CountNAddedToDetectorPoints ( )

◆ CountNAddedToDetectorPoints() [2/2]

Int_t BmnSiProfStationSet::CountNAddedToDetectorPoints ( )

◆ CountNProcessedPointsInDetector() [1/2]

Int_t BmnSiProfStationSet::CountNProcessedPointsInDetector ( )

◆ CountNProcessedPointsInDetector() [2/2]

Int_t BmnSiProfStationSet::CountNProcessedPointsInDetector ( )

◆ Create() [1/2]

◆ Create() [2/2]

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

◆ GetNStations() [1/2]

Int_t BmnSiProfStationSet::GetNStations ( )
inline

◆ GetNStations() [2/2]

Int_t BmnSiProfStationSet::GetNStations ( )
inline

Definition at line 38 of file BmnSiProfStationSet.h.

References NStations.

◆ GetPointStationOwnership() [1/4]

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

Definition at line 166 of file BmnSiProfStationSet.cxx.

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

◆ GetPointStationOwnership() [2/4]

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

◆ GetPointStationOwnership() [3/4]

Int_t BmnSiProfStationSet::GetPointStationOwnership ( Double_t  zcoord)

Definition at line 152 of file BmnSiProfStationSet.cxx.

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

Referenced by AddPointToDetector().

◆ GetPointStationOwnership() [4/4]

Int_t BmnSiProfStationSet::GetPointStationOwnership ( Double_t  zcoord)

◆ GetStation() [1/2]

BmnSiProfStation * BmnSiProfStationSet::GetStation ( Int_t  station_num)

◆ GetStation() [2/2]

BmnSiProfStation * BmnSiProfStationSet::GetStation ( Int_t  station_num)

◆ GetXStationPosition() [1/2]

Double_t BmnSiProfStationSet::GetXStationPosition ( Int_t  station_num)

Definition at line 63 of file BmnSiProfStationSet.cxx.

References NStations, and XStationPositions.

◆ GetXStationPosition() [2/2]

Double_t BmnSiProfStationSet::GetXStationPosition ( Int_t  station_num)

◆ GetYStationPosition() [1/2]

Double_t BmnSiProfStationSet::GetYStationPosition ( Int_t  station_num)

Definition at line 72 of file BmnSiProfStationSet.cxx.

References NStations, and YStationPositions.

◆ GetYStationPosition() [2/2]

Double_t BmnSiProfStationSet::GetYStationPosition ( Int_t  station_num)

◆ GetZStationPosition() [1/2]

Double_t BmnSiProfStationSet::GetZStationPosition ( Int_t  station_num)

Definition at line 81 of file BmnSiProfStationSet.cxx.

References NStations, and ZStationPositions.

◆ GetZStationPosition() [2/2]

Double_t BmnSiProfStationSet::GetZStationPosition ( Int_t  station_num)

◆ ProcessPointsInDetector() [1/2]

void BmnSiProfStationSet::ProcessPointsInDetector ( )

◆ ProcessPointsInDetector() [2/2]

void BmnSiProfStationSet::ProcessPointsInDetector ( )

◆ Reset() [1/2]

void BmnSiProfStationSet::Reset ( )

◆ Reset() [2/2]

void BmnSiProfStationSet::Reset ( )

Member Data Documentation

◆ fStatShifts

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

Stations [array].

Definition at line 25 of file BmnSiProfStationSet.h.

◆ NStations

◆ Stations

◆ XStationPositions

Double_t * BmnSiProfStationSet::XStationPositions
protected

Definition at line 20 of file BmnSiProfStationSet.h.

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

◆ YStationPositions

Double_t * BmnSiProfStationSet::YStationPositions
protected

x-position of each station [array]

Definition at line 21 of file BmnSiProfStationSet.h.

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

◆ ZStationPositions

Double_t * BmnSiProfStationSet::ZStationPositions
protected

y-position of each station [array]

Definition at line 22 of file BmnSiProfStationSet.h.

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


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