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

#include <BmnVSPStationSet.h>

Collaboration diagram for BmnVSPStationSet:
[legend]

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)
 
BmnVSPStationGetVSPStation (Int_t station_num)
 
BmnVSPStationGetStation (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)
 
BmnVSPStationGetVSPStation (Int_t station_num)
 
BmnVSPStationGetStation (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< BmnVSPStationSetCreate (Int_t period, Int_t stp=0)
 
static unique_ptr< BmnVSPStationSetCreate (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
 

Detailed Description

Definition at line 13 of file BmnVSPStationSet.h.

Constructor & Destructor Documentation

◆ BmnVSPStationSet() [1/4]

BmnVSPStationSet::BmnVSPStationSet ( )

Definition at line 9 of file BmnVSPStationSet.cxx.

◆ BmnVSPStationSet() [2/4]

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

Definition at line 18 of file BmnVSPStationSet.cxx.

◆ ~BmnVSPStationSet() [1/2]

BmnVSPStationSet::~BmnVSPStationSet ( )
virtual

◆ BmnVSPStationSet() [3/4]

BmnVSPStationSet::BmnVSPStationSet ( )

◆ BmnVSPStationSet() [4/4]

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

◆ ~BmnVSPStationSet() [2/2]

virtual BmnVSPStationSet::~BmnVSPStationSet ( )
virtual

Member Function Documentation

◆ AddPointToDetector() [1/2]

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().

◆ AddPointToDetector() [2/2]

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 
)

◆ CountNAddedToDetectorPoints() [1/2]

Int_t BmnVSPStationSet::CountNAddedToDetectorPoints ( )

◆ CountNAddedToDetectorPoints() [2/2]

Int_t BmnVSPStationSet::CountNAddedToDetectorPoints ( )

◆ CountNProcessedPointsInDetector() [1/2]

Int_t BmnVSPStationSet::CountNProcessedPointsInDetector ( )

◆ CountNProcessedPointsInDetector() [2/2]

Int_t BmnVSPStationSet::CountNProcessedPointsInDetector ( )

◆ Create() [1/2]

◆ Create() [2/2]

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

◆ GetBeamHoleRadius() [1/2]

Double_t BmnVSPStationSet::GetBeamHoleRadius ( Int_t  station_num)
inline

Definition at line 39 of file BmnVSPStationSet.h.

◆ GetBeamHoleRadius() [2/2]

Double_t BmnVSPStationSet::GetBeamHoleRadius ( Int_t  station_num)
inline

Definition at line 39 of file BmnVSPStationSet.h.

◆ GetNStations() [1/2]

◆ GetNStations() [2/2]

Int_t BmnVSPStationSet::GetNStations ( )
inline

Definition at line 35 of file BmnVSPStationSet.h.

References NStations.

◆ GetPointStationOwnership() [1/4]

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.

◆ GetPointStationOwnership() [2/4]

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

◆ GetPointStationOwnership() [3/4]

Int_t BmnVSPStationSet::GetPointStationOwnership ( Double_t  zcoord)

◆ GetPointStationOwnership() [4/4]

Int_t BmnVSPStationSet::GetPointStationOwnership ( Double_t  zcoord)

◆ GetStation() [1/2]

BmnVSPStation * BmnVSPStationSet::GetStation ( Int_t  station_num)
inline

Definition at line 41 of file BmnVSPStationSet.h.

References GetVSPStation().

◆ GetStation() [2/2]

BmnVSPStation * BmnVSPStationSet::GetStation ( Int_t  station_num)
inline

Definition at line 41 of file BmnVSPStationSet.h.

References GetVSPStation().

◆ GetVSPStation() [1/2]

BmnVSPStation * BmnVSPStationSet::GetVSPStation ( Int_t  station_num)

◆ GetVSPStation() [2/2]

BmnVSPStation * BmnVSPStationSet::GetVSPStation ( Int_t  station_num)

◆ GetXStationPosition() [1/2]

Double_t BmnVSPStationSet::GetXStationPosition ( Int_t  station_num)

Definition at line 61 of file BmnVSPStationSet.cxx.

References NStations, and XStationPositions.

◆ GetXStationPosition() [2/2]

Double_t BmnVSPStationSet::GetXStationPosition ( Int_t  station_num)

◆ GetYStationPosition() [1/2]

Double_t BmnVSPStationSet::GetYStationPosition ( Int_t  station_num)

Definition at line 70 of file BmnVSPStationSet.cxx.

References NStations, and YStationPositions.

◆ GetYStationPosition() [2/2]

Double_t BmnVSPStationSet::GetYStationPosition ( Int_t  station_num)

◆ GetZStationPosition() [1/2]

Double_t BmnVSPStationSet::GetZStationPosition ( Int_t  station_num)

Definition at line 79 of file BmnVSPStationSet.cxx.

References NStations, and ZStationPositions.

Referenced by BmnToCbmHitConverter::ApplyAlignment().

◆ GetZStationPosition() [2/2]

Double_t BmnVSPStationSet::GetZStationPosition ( Int_t  station_num)

◆ ProcessPointsInDetector() [1/2]

void BmnVSPStationSet::ProcessPointsInDetector ( )

◆ ProcessPointsInDetector() [2/2]

void BmnVSPStationSet::ProcessPointsInDetector ( )

◆ Reset() [1/2]

void BmnVSPStationSet::Reset ( )

◆ Reset() [2/2]

void BmnVSPStationSet::Reset ( )

Member Data Documentation

◆ fStatShifts

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

Definition at line 24 of file BmnVSPStationSet.h.

◆ NStations

◆ VSPStations

◆ XStationPositions

Double_t * BmnVSPStationSet::XStationPositions
protected

Definition at line 19 of file BmnVSPStationSet.h.

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

◆ YStationPositions

Double_t * BmnVSPStationSet::YStationPositions
protected

Definition at line 20 of file BmnVSPStationSet.h.

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

◆ ZStationPositions

Double_t * BmnVSPStationSet::ZStationPositions
protected

Definition at line 21 of file BmnVSPStationSet.h.

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


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