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

#include <CbmStsSector.h>

Inheritance diagram for CbmStsSector:
[legend]
Collaboration diagram for CbmStsSector:
[legend]

Public Member Functions

 CbmStsSector ()
 
 CbmStsSector (TString tempName, Int_t detId)
 
virtual ~CbmStsSector ()
 
TString GetDetectorName () const
 
Int_t GetDetectorId () const
 
Int_t GetSystemId () const
 
Int_t GetStationNr () const
 
Int_t GetSectorNr () const
 
Int_t GetNChannels () const
 
Int_t GetNChannelsFront () const
 
Int_t GetNChannelsBack () const
 
Int_t GetNSensors () const
 
TObjArray * GetSensors ()
 
CbmStsSensorGetSensor (Int_t iSensor)
 
CbmStsSensorGetSensorByNr (Int_t sensorNr)
 
void AddSensor (CbmStsSensorDigiPar *sensorPar)
 
void AddSensor (CbmStsSensor *sensor)
 
Int_t GetType () const
 
Double_t GetRotation () const
 
Double_t GetDx () const
 
Double_t GetDy () const
 
Double_t GetStereoF () const
 
Double_t GetStereoB () const
 
Double_t GetSigmaX () const
 
Double_t GetSigmaY () const
 
Double_t GetSigmaXY () const
 
Int_t PointIndex (Int_t iFStrip, Int_t IBStrip)
 
Int_t Intersect (Int_t iFStrip, Int_t iBStrip, Double_t &xCross, Double_t &yCross, Double_t &zCross)
 
Int_t IntersectClusters (Double_t fChan, Double_t bChan, Double_t &xCross, Double_t &yCross, Double_t &zCross)
 
void Reset ()
 
void Print ()
 
 CbmStsSector ()
 
 CbmStsSector (TString tempName, Int_t detId)
 
virtual ~CbmStsSector ()
 
TString GetDetectorName () const
 
Int_t GetDetectorId () const
 
Int_t GetSystemId () const
 
Int_t GetStationNr () const
 
Int_t GetSectorNr () const
 
Int_t GetNChannels () const
 
Int_t GetNChannelsFront () const
 
Int_t GetNChannelsBack () const
 
Int_t GetNSensors () const
 
TObjArray * GetSensors ()
 
CbmStsSensorGetSensor (Int_t iSensor)
 
CbmStsSensorGetSensorByNr (Int_t sensorNr)
 
void AddSensor (CbmStsSensorDigiPar *sensorPar)
 
void AddSensor (CbmStsSensor *sensor)
 
Int_t GetType () const
 
Double_t GetRotation () const
 
Double_t GetDx () const
 
Double_t GetDy () const
 
Double_t GetStereoF () const
 
Double_t GetStereoB () const
 
Double_t GetSigmaX () const
 
Double_t GetSigmaY () const
 
Double_t GetSigmaXY () const
 
Int_t PointIndex (Int_t iFStrip, Int_t IBStrip)
 
Int_t Intersect (Int_t iFStrip, Int_t iBStrip, Double_t &xCross, Double_t &yCross, Double_t &zCross)
 
Int_t IntersectClusters (Double_t fChan, Double_t bChan, Double_t &xCross, Double_t &yCross, Double_t &zCross)
 
void Reset ()
 
void Print ()
 

Detailed Description

Definition at line 43 of file CbmStsSector.h.

Constructor & Destructor Documentation

◆ CbmStsSector() [1/4]

CbmStsSector::CbmStsSector ( )

Default constructor

Definition at line 23 of file CbmStsSector.cxx.

◆ CbmStsSector() [2/4]

CbmStsSector::CbmStsSector ( TString  tempName,
Int_t  detId 
)

Standard constructor

Parameters
detIdUnique detector identifier
iTypeSensor type (1,2,3)
x0sector centre x coordinate in global c.s [cm]
y0sector centre y coordinate in global c.s [cm]
rotationrotation in global c.s. [rad]
lxsector length in x [cm]
lysector length in y [cm]
dxReadout pitch (strip) or pixel width in x [cm]
dyPixel width in y [cm].
stereoFStereoF angle [rad] (for double sided strip)
stereoBStereoB angle [rad] (for double sided strip)

Definition at line 48 of file CbmStsSector.cxx.

◆ ~CbmStsSector() [1/2]

CbmStsSector::~CbmStsSector ( )
virtual

Destructor

Definition at line 72 of file CbmStsSector.cxx.

◆ CbmStsSector() [3/4]

CbmStsSector::CbmStsSector ( )

Default constructor

◆ CbmStsSector() [4/4]

CbmStsSector::CbmStsSector ( TString  tempName,
Int_t  detId 
)

Standard constructor

Parameters
detIdUnique detector identifier
iTypeSensor type (1,2,3)
x0sector centre x coordinate in global c.s [cm]
y0sector centre y coordinate in global c.s [cm]
rotationrotation in global c.s. [rad]
lxsector length in x [cm]
lysector length in y [cm]
dxReadout pitch (strip) or pixel width in x [cm]
dyPixel width in y [cm].
stereoFStereoF angle [rad] (for double sided strip)
stereoBStereoB angle [rad] (for double sided strip)

◆ ~CbmStsSector() [2/2]

virtual CbmStsSector::~CbmStsSector ( )
virtual

Destructor

Member Function Documentation

◆ AddSensor() [1/4]

◆ AddSensor() [2/4]

void CbmStsSector::AddSensor ( CbmStsSensor sensor)

◆ AddSensor() [3/4]

◆ AddSensor() [4/4]

void CbmStsSector::AddSensor ( CbmStsSensorDigiPar sensorPar)

◆ GetDetectorId() [1/2]

Int_t CbmStsSector::GetDetectorId ( ) const
inline

Definition at line 70 of file CbmStsSector.h.

Referenced by CbmStsRealDigitize::Exec().

◆ GetDetectorId() [2/2]

Int_t CbmStsSector::GetDetectorId ( ) const
inline

Definition at line 70 of file CbmStsSector.h.

◆ GetDetectorName() [1/2]

TString CbmStsSector::GetDetectorName ( ) const
inline

Accessors

Definition at line 69 of file CbmStsSector.h.

◆ GetDetectorName() [2/2]

TString CbmStsSector::GetDetectorName ( ) const
inline

Accessors

Definition at line 69 of file CbmStsSector.h.

◆ GetDx() [1/2]

Double_t CbmStsSector::GetDx ( ) const
inline

Definition at line 95 of file CbmStsSector.h.

Referenced by CbmStsDigitize::Exec(), and CbmL1::Init().

◆ GetDx() [2/2]

Double_t CbmStsSector::GetDx ( ) const
inline

Definition at line 95 of file CbmStsSector.h.

◆ GetDy() [1/2]

Double_t CbmStsSector::GetDy ( ) const
inline

Definition at line 96 of file CbmStsSector.h.

Referenced by CbmL1::Init().

◆ GetDy() [2/2]

Double_t CbmStsSector::GetDy ( ) const
inline

Definition at line 96 of file CbmStsSector.h.

◆ GetNChannels() [1/2]

Int_t CbmStsSector::GetNChannels ( ) const
inline

Definition at line 78 of file CbmStsSector.h.

Referenced by CbmStsStation::GetNChannels(), and Print().

◆ GetNChannels() [2/2]

Int_t CbmStsSector::GetNChannels ( ) const
inline

Definition at line 78 of file CbmStsSector.h.

◆ GetNChannelsBack() [1/2]

Int_t CbmStsSector::GetNChannelsBack ( ) const
inline

Definition at line 80 of file CbmStsSector.h.

Referenced by CbmStsDigitize::Exec().

◆ GetNChannelsBack() [2/2]

Int_t CbmStsSector::GetNChannelsBack ( ) const
inline

Definition at line 80 of file CbmStsSector.h.

◆ GetNChannelsFront() [1/2]

Int_t CbmStsSector::GetNChannelsFront ( ) const
inline

Definition at line 79 of file CbmStsSector.h.

Referenced by CbmStsDigitize::Exec(), and CbmStsRealDigitize::Exec().

◆ GetNChannelsFront() [2/2]

Int_t CbmStsSector::GetNChannelsFront ( ) const
inline

Definition at line 79 of file CbmStsSector.h.

◆ GetNSensors() [1/2]

◆ GetNSensors() [2/2]

Int_t CbmStsSector::GetNSensors ( ) const
inline

Definition at line 82 of file CbmStsSector.h.

◆ GetRotation() [1/2]

Double_t CbmStsSector::GetRotation ( ) const
inline

Definition at line 94 of file CbmStsSector.h.

Referenced by CbmL1::Init().

◆ GetRotation() [2/2]

Double_t CbmStsSector::GetRotation ( ) const
inline

Definition at line 94 of file CbmStsSector.h.

◆ GetSectorNr() [1/2]

◆ GetSectorNr() [2/2]

Int_t CbmStsSector::GetSectorNr ( ) const
inline

Definition at line 76 of file CbmStsSector.h.

◆ GetSensor() [1/2]

◆ GetSensor() [2/2]

CbmStsSensor * CbmStsSector::GetSensor ( Int_t  iSensor)
inline

Definition at line 85 of file CbmStsSector.h.

◆ GetSensorByNr() [1/2]

CbmStsSensor * CbmStsSector::GetSensorByNr ( Int_t  sensorNr)

Definition at line 111 of file CbmStsSector.cxx.

References GetSectorNr().

◆ GetSensorByNr() [2/2]

CbmStsSensor * CbmStsSector::GetSensorByNr ( Int_t  sensorNr)

◆ GetSensors() [1/2]

TObjArray * CbmStsSector::GetSensors ( )
inline

Definition at line 83 of file CbmStsSector.h.

◆ GetSensors() [2/2]

TObjArray * CbmStsSector::GetSensors ( )
inline

Definition at line 83 of file CbmStsSector.h.

◆ GetSigmaX() [1/2]

Double_t CbmStsSector::GetSigmaX ( ) const
inline

Definition at line 99 of file CbmStsSector.h.

◆ GetSigmaX() [2/2]

Double_t CbmStsSector::GetSigmaX ( ) const
inline

Definition at line 99 of file CbmStsSector.h.

◆ GetSigmaXY() [1/2]

Double_t CbmStsSector::GetSigmaXY ( ) const
inline

Definition at line 101 of file CbmStsSector.h.

◆ GetSigmaXY() [2/2]

Double_t CbmStsSector::GetSigmaXY ( ) const
inline

Definition at line 101 of file CbmStsSector.h.

◆ GetSigmaY() [1/2]

Double_t CbmStsSector::GetSigmaY ( ) const
inline

Definition at line 100 of file CbmStsSector.h.

◆ GetSigmaY() [2/2]

Double_t CbmStsSector::GetSigmaY ( ) const
inline

Definition at line 100 of file CbmStsSector.h.

◆ GetStationNr() [1/2]

Int_t CbmStsSector::GetStationNr ( ) const
inline

Definition at line 74 of file CbmStsSector.h.

Referenced by CbmStsDigitize::Exec(), and CbmStsRealDigitize::Exec().

◆ GetStationNr() [2/2]

Int_t CbmStsSector::GetStationNr ( ) const
inline

Definition at line 74 of file CbmStsSector.h.

◆ GetStereoB() [1/2]

Double_t CbmStsSector::GetStereoB ( ) const
inline

Definition at line 98 of file CbmStsSector.h.

Referenced by CbmL1::Init().

◆ GetStereoB() [2/2]

Double_t CbmStsSector::GetStereoB ( ) const
inline

Definition at line 98 of file CbmStsSector.h.

◆ GetStereoF() [1/2]

Double_t CbmStsSector::GetStereoF ( ) const
inline

Definition at line 97 of file CbmStsSector.h.

Referenced by CbmL1::Init().

◆ GetStereoF() [2/2]

Double_t CbmStsSector::GetStereoF ( ) const
inline

Definition at line 97 of file CbmStsSector.h.

◆ GetSystemId() [1/2]

Int_t CbmStsSector::GetSystemId ( ) const
inline

Definition at line 72 of file CbmStsSector.h.

◆ GetSystemId() [2/2]

Int_t CbmStsSector::GetSystemId ( ) const
inline

Definition at line 72 of file CbmStsSector.h.

◆ GetType() [1/2]

◆ GetType() [2/2]

Int_t CbmStsSector::GetType ( ) const
inline

Definition at line 93 of file CbmStsSector.h.

◆ Intersect() [1/2]

Int_t CbmStsSector::Intersect ( Int_t  iFStrip,
Int_t  iBStrip,
Double_t &  xCross,
Double_t &  yCross,
Double_t &  zCross 
)

Definition at line 272 of file CbmStsSector.cxx.

References GetNSensors(), GetSensor(), and CbmStsSensor::Intersect().

◆ Intersect() [2/2]

Int_t CbmStsSector::Intersect ( Int_t  iFStrip,
Int_t  iBStrip,
Double_t &  xCross,
Double_t &  yCross,
Double_t &  zCross 
)

◆ IntersectClusters() [1/2]

Int_t CbmStsSector::IntersectClusters ( Double_t  fChan,
Double_t  bChan,
Double_t &  xCross,
Double_t &  yCross,
Double_t &  zCross 
)

Definition at line 314 of file CbmStsSector.cxx.

References GetNSensors(), GetSensor(), and CbmStsSensor::IntersectClusters().

◆ IntersectClusters() [2/2]

Int_t CbmStsSector::IntersectClusters ( Double_t  fChan,
Double_t  bChan,
Double_t &  xCross,
Double_t &  yCross,
Double_t &  zCross 
)

◆ PointIndex() [1/2]

Int_t CbmStsSector::PointIndex ( Int_t  iFStrip,
Int_t  IBStrip 
)

The index of the MCPoint that has caused a combination of front and back strip to be fired. Returns -1 for combinations of strips fired by different points (fake hits)

Parameters
iFStripFront strip number
iBStripBack strip number @value Index of MCPoint

Definition at line 82 of file CbmStsSector.cxx.

◆ PointIndex() [2/2]

Int_t CbmStsSector::PointIndex ( Int_t  iFStrip,
Int_t  IBStrip 
)

The index of the MCPoint that has caused a combination of front and back strip to be fired. Returns -1 for combinations of strips fired by different points (fake hits)

Parameters
iFStripFront strip number
iBStripBack strip number @value Index of MCPoint

◆ Print() [1/2]

void CbmStsSector::Print ( )

Screen output

Definition at line 101 of file CbmStsSector.cxx.

References GetNChannels(), and GetSectorNr().

Referenced by CbmStsStation::Print().

◆ Print() [2/2]

void CbmStsSector::Print ( )

Screen output

◆ Reset() [1/2]

void CbmStsSector::Reset ( )

Clear the maps of fired strips

Definition at line 92 of file CbmStsSector.cxx.

Referenced by CbmStsStation::Reset().

◆ Reset() [2/2]

void CbmStsSector::Reset ( )

Clear the maps of fired strips


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