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

#include <BmnCSCStationSet.h>

Collaboration diagram for BmnCSCStationSet:
[legend]

Public Member Functions

 BmnCSCStationSet ()
 
 BmnCSCStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr)
 
virtual ~BmnCSCStationSet ()
 
Int_t GetNStations ()
 
Double_t GetXStationPosition (Int_t station_num)
 
Double_t GetYStationPosition (Int_t station_num)
 
Double_t GetZStationPosition (Int_t station_num)
 
BmnCSCStationGetStation (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)
 
 BmnCSCStationSet ()
 
 BmnCSCStationSet (TString xml_config_file, map< Int_t, TVector3 > *shifts=nullptr)
 
virtual ~BmnCSCStationSet ()
 
Int_t GetNStations ()
 
Double_t GetXStationPosition (Int_t station_num)
 
Double_t GetYStationPosition (Int_t station_num)
 
Double_t GetZStationPosition (Int_t station_num)
 
BmnCSCStationGetStation (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< BmnCSCStationSetCreate (Int_t period, Int_t stp=0)
 
static unique_ptr< BmnCSCStationSetCreate (Int_t period, Int_t stp=0)
 

Protected Attributes

Int_t NStations
 
Double_t * XStationPositions
 
Double_t * YStationPositions
 
Double_t * ZStationPositions
 
BmnCSCStation ** Stations
 
map< Int_t, TVector3 > * fStatShifts
 

Detailed Description

Definition at line 13 of file BmnCSCStationSet.h.

Constructor & Destructor Documentation

◆ BmnCSCStationSet() [1/4]

BmnCSCStationSet::BmnCSCStationSet ( )

Definition at line 9 of file BmnCSCStationSet.cxx.

◆ BmnCSCStationSet() [2/4]

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

Definition at line 17 of file BmnCSCStationSet.cxx.

◆ ~BmnCSCStationSet() [1/2]

BmnCSCStationSet::~BmnCSCStationSet ( )
virtual

◆ BmnCSCStationSet() [3/4]

BmnCSCStationSet::BmnCSCStationSet ( )

◆ BmnCSCStationSet() [4/4]

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

◆ ~BmnCSCStationSet() [2/2]

virtual BmnCSCStationSet::~BmnCSCStationSet ( )
virtual

Member Function Documentation

◆ AddPointToDetector() [1/2]

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

References GetPointStationOwnership(), and Stations.

Referenced by BmnCSCDigitizer::ProcessMCPoints().

◆ AddPointToDetector() [2/2]

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

◆ CountNAddedToDetectorPoints() [2/2]

Int_t BmnCSCStationSet::CountNAddedToDetectorPoints ( )

◆ CountNProcessedPointsInDetector() [1/2]

Int_t BmnCSCStationSet::CountNProcessedPointsInDetector ( )

◆ CountNProcessedPointsInDetector() [2/2]

Int_t BmnCSCStationSet::CountNProcessedPointsInDetector ( )

◆ Create() [1/2]

◆ Create() [2/2]

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

◆ GetNStations() [1/2]

Int_t BmnCSCStationSet::GetNStations ( )
inline

◆ GetNStations() [2/2]

Int_t BmnCSCStationSet::GetNStations ( )
inline

Definition at line 38 of file BmnCSCStationSet.h.

References NStations.

◆ GetPointStationOwnership() [1/4]

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

Definition at line 166 of file BmnCSCStationSet.cxx.

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

◆ GetPointStationOwnership() [2/4]

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

◆ GetPointStationOwnership() [3/4]

Int_t BmnCSCStationSet::GetPointStationOwnership ( Double_t  zcoord)

Definition at line 152 of file BmnCSCStationSet.cxx.

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

Referenced by AddPointToDetector().

◆ GetPointStationOwnership() [4/4]

Int_t BmnCSCStationSet::GetPointStationOwnership ( Double_t  zcoord)

◆ GetStation() [1/2]

BmnCSCStation * BmnCSCStationSet::GetStation ( Int_t  station_num)

Definition at line 90 of file BmnCSCStationSet.cxx.

References NStations, and Stations.

Referenced by BmnCSCHitMaker::ProcessDigits(), and BmnCSCDigitizer::ProcessMCPoints().

◆ GetStation() [2/2]

BmnCSCStation * BmnCSCStationSet::GetStation ( Int_t  station_num)

◆ GetXStationPosition() [1/2]

Double_t BmnCSCStationSet::GetXStationPosition ( Int_t  station_num)

Definition at line 63 of file BmnCSCStationSet.cxx.

References NStations, and XStationPositions.

◆ GetXStationPosition() [2/2]

Double_t BmnCSCStationSet::GetXStationPosition ( Int_t  station_num)

◆ GetYStationPosition() [1/2]

Double_t BmnCSCStationSet::GetYStationPosition ( Int_t  station_num)

Definition at line 72 of file BmnCSCStationSet.cxx.

References NStations, and YStationPositions.

◆ GetYStationPosition() [2/2]

Double_t BmnCSCStationSet::GetYStationPosition ( Int_t  station_num)

◆ GetZStationPosition() [1/2]

Double_t BmnCSCStationSet::GetZStationPosition ( Int_t  station_num)

Definition at line 81 of file BmnCSCStationSet.cxx.

References NStations, and ZStationPositions.

◆ GetZStationPosition() [2/2]

Double_t BmnCSCStationSet::GetZStationPosition ( Int_t  station_num)

◆ ProcessPointsInDetector() [1/2]

void BmnCSCStationSet::ProcessPointsInDetector ( )

◆ ProcessPointsInDetector() [2/2]

void BmnCSCStationSet::ProcessPointsInDetector ( )

◆ Reset() [1/2]

void BmnCSCStationSet::Reset ( )

◆ Reset() [2/2]

void BmnCSCStationSet::Reset ( )

Member Data Documentation

◆ fStatShifts

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

Definition at line 24 of file BmnCSCStationSet.h.

◆ NStations

◆ Stations

◆ XStationPositions

Double_t * BmnCSCStationSet::XStationPositions
protected

Definition at line 19 of file BmnCSCStationSet.h.

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

◆ YStationPositions

Double_t * BmnCSCStationSet::YStationPositions
protected

Definition at line 20 of file BmnCSCStationSet.h.

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

◆ ZStationPositions

Double_t * BmnCSCStationSet::ZStationPositions
protected

Definition at line 21 of file BmnCSCStationSet.h.

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


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