|
BmnRoot
|
#include <CbmStsSensor.h>
Public Member Functions | |
| CbmStsSensor () | |
| CbmStsSensor (Int_t detId, Int_t iType, Double_t x0, Double_t y0, Double_t rotation, Double_t lx, Double_t ly, Double_t dx, Double_t dy, Double_t stereoF, Double_t stereoB) | |
| CbmStsSensor (TString tempName, Int_t detId, Int_t iType, Double_t x0, Double_t y0, Double_t z0, Double_t rotation, Double_t lx, Double_t ly, Double_t d, Double_t dx, Double_t dy, Double_t stereoF, Double_t stereoB) | |
| virtual | ~CbmStsSensor () |
| TString | GetDetectorName () const |
| Int_t | GetDetectorId () const |
| Int_t | GetSystemId () const |
| Int_t | GetStationNr () const |
| Int_t | GetSectorNr () const |
| Int_t | GetSensorNr () const |
| Int_t | GetType () const |
| Double_t | GetX0 () const |
| Double_t | GetY0 () const |
| Double_t | GetZ0 () const |
| Double_t | GetRotation () const |
| Double_t | GetLx () const |
| Double_t | GetLy () const |
| Double_t | GetD () 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 | GetNChannels () const |
| Int_t | GetNChannelsFront () const |
| Int_t | GetNChannelsBack () const |
| Double_t | GetBackStripShift () const |
| Double_t | GetFrontStripShift () const |
| Int_t | GetChannel (Double_t x, Double_t y, Int_t iSide) |
| Float_t | GetChannelPlus (Double_t x, Double_t y, Int_t iSide) |
| Int_t | GetFrontChannel (Double_t x, Double_t y, Double_t z, Double_t &dPitch) |
| Int_t | GetBackChannel (Double_t x, Double_t y, Double_t z, Double_t &dPitch) |
| Bool_t | Inside (Double_t x, Double_t y) |
| Bool_t | ActivateChannels (Int_t ipt, Double_t x, Double_t y) |
| Int_t | Intersect (Int_t iFStrip, Int_t iBStrip, std::vector< Double_t > &xCross, std::vector< Double_t > &yCross) |
| 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) |
| Int_t | PointIndex (Int_t iFStrip, Int_t IBStrip) |
| void | Reset () |
| void | Print () |
| CbmStsSensor () | |
| CbmStsSensor (Int_t detId, Int_t iType, Double_t x0, Double_t y0, Double_t rotation, Double_t lx, Double_t ly, Double_t dx, Double_t dy, Double_t stereoF, Double_t stereoB) | |
| CbmStsSensor (TString tempName, Int_t detId, Int_t iType, Double_t x0, Double_t y0, Double_t z0, Double_t rotation, Double_t lx, Double_t ly, Double_t d, Double_t dx, Double_t dy, Double_t stereoF, Double_t stereoB) | |
| virtual | ~CbmStsSensor () |
| TString | GetDetectorName () const |
| Int_t | GetDetectorId () const |
| Int_t | GetSystemId () const |
| Int_t | GetStationNr () const |
| Int_t | GetSectorNr () const |
| Int_t | GetSensorNr () const |
| Int_t | GetType () const |
| Double_t | GetX0 () const |
| Double_t | GetY0 () const |
| Double_t | GetZ0 () const |
| Double_t | GetRotation () const |
| Double_t | GetLx () const |
| Double_t | GetLy () const |
| Double_t | GetD () 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 | GetNChannels () const |
| Int_t | GetNChannelsFront () const |
| Int_t | GetNChannelsBack () const |
| Double_t | GetBackStripShift () const |
| Double_t | GetFrontStripShift () const |
| Int_t | GetChannel (Double_t x, Double_t y, Int_t iSide) |
| Float_t | GetChannelPlus (Double_t x, Double_t y, Int_t iSide) |
| Int_t | GetFrontChannel (Double_t x, Double_t y, Double_t z, Double_t &dPitch) |
| Int_t | GetBackChannel (Double_t x, Double_t y, Double_t z, Double_t &dPitch) |
| Bool_t | Inside (Double_t x, Double_t y) |
| Bool_t | ActivateChannels (Int_t ipt, Double_t x, Double_t y) |
| Int_t | Intersect (Int_t iFStrip, Int_t iBStrip, std::vector< Double_t > &xCross, std::vector< Double_t > &yCross) |
| 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) |
| Int_t | PointIndex (Int_t iFStrip, Int_t IBStrip) |
| void | Reset () |
| void | Print () |
Definition at line 46 of file CbmStsSensor.h.
| CbmStsSensor::CbmStsSensor | ( | ) |
Default constructor
Definition at line 25 of file CbmStsSensor.cxx.
| CbmStsSensor::CbmStsSensor | ( | Int_t | detId, |
| Int_t | iType, | ||
| Double_t | x0, | ||
| Double_t | y0, | ||
| Double_t | rotation, | ||
| Double_t | lx, | ||
| Double_t | ly, | ||
| Double_t | dx, | ||
| Double_t | dy, | ||
| Double_t | stereoF, | ||
| Double_t | stereoB | ||
| ) |
Standard constructor
| detId | Unique detector identifier |
| iType | Sensor type (1,2,3) |
| x0 | sensor centre x coordinate in global c.s [cm] |
| y0 | sensor centre y coordinate in global c.s [cm] |
| rotation | rotation in global c.s. [rad] |
| lx | sensor length in x [cm] |
| ly | sensor length in y [cm] |
| dx | Readout pitch (strip) or pixel width in x [cm] |
| dy | Pixel width in y [cm]. |
| stereoF | StereoF angle [rad] (for double sided strip) |
| stereoB | StereoB angle [rad] (for double sided strip) |
Definition at line 230 of file CbmStsSensor.cxx.
| CbmStsSensor::CbmStsSensor | ( | TString | tempName, |
| Int_t | detId, | ||
| Int_t | iType, | ||
| Double_t | x0, | ||
| Double_t | y0, | ||
| Double_t | z0, | ||
| Double_t | rotation, | ||
| Double_t | lx, | ||
| Double_t | ly, | ||
| Double_t | d, | ||
| Double_t | dx, | ||
| Double_t | dy, | ||
| Double_t | stereoF, | ||
| Double_t | stereoB | ||
| ) |
Definition at line 62 of file CbmStsSensor.cxx.
|
virtual |
Destructor
Definition at line 389 of file CbmStsSensor.cxx.
| CbmStsSensor::CbmStsSensor | ( | ) |
Default constructor
| CbmStsSensor::CbmStsSensor | ( | Int_t | detId, |
| Int_t | iType, | ||
| Double_t | x0, | ||
| Double_t | y0, | ||
| Double_t | rotation, | ||
| Double_t | lx, | ||
| Double_t | ly, | ||
| Double_t | dx, | ||
| Double_t | dy, | ||
| Double_t | stereoF, | ||
| Double_t | stereoB | ||
| ) |
Standard constructor
| detId | Unique detector identifier |
| iType | Sensor type (1,2,3) |
| x0 | sensor centre x coordinate in global c.s [cm] |
| y0 | sensor centre y coordinate in global c.s [cm] |
| rotation | rotation in global c.s. [rad] |
| lx | sensor length in x [cm] |
| ly | sensor length in y [cm] |
| dx | Readout pitch (strip) or pixel width in x [cm] |
| dy | Pixel width in y [cm]. |
| stereoF | StereoF angle [rad] (for double sided strip) |
| stereoB | StereoB angle [rad] (for double sided strip) |
| CbmStsSensor::CbmStsSensor | ( | TString | tempName, |
| Int_t | detId, | ||
| Int_t | iType, | ||
| Double_t | x0, | ||
| Double_t | y0, | ||
| Double_t | z0, | ||
| Double_t | rotation, | ||
| Double_t | lx, | ||
| Double_t | ly, | ||
| Double_t | d, | ||
| Double_t | dx, | ||
| Double_t | dy, | ||
| Double_t | stereoF, | ||
| Double_t | stereoB | ||
| ) |
|
virtual |
Destructor
| Bool_t CbmStsSensor::ActivateChannels | ( | Int_t | ipt, |
| Double_t | x, | ||
| Double_t | y | ||
| ) |
Activate the channels corresponding to a MCPoint.
| ipt | Index of MCPoint |
| x | x coordinate of point (global c.s.) |
| y | y coordinate of point (global c.s.) @value kTRUE if the point is inside the sensor, else kFALSE |
Definition at line 702 of file CbmStsSensor.cxx.
| Bool_t CbmStsSensor::ActivateChannels | ( | Int_t | ipt, |
| Double_t | x, | ||
| Double_t | y | ||
| ) |
Activate the channels corresponding to a MCPoint.
| ipt | Index of MCPoint |
| x | x coordinate of point (global c.s.) |
| y | y coordinate of point (global c.s.) @value kTRUE if the point is inside the sensor, else kFALSE |
| Int_t CbmStsSensor::GetBackChannel | ( | Double_t | x, |
| Double_t | y, | ||
| Double_t | z, | ||
| Double_t & | dPitch | ||
| ) |
Definition at line 650 of file CbmStsSensor.cxx.
Referenced by CbmStsDigitize::ProduceHitResponse(), CbmStsRealDigitize::ProduceHitResponse(), CbmStsDigitize::ProduceHitResponseAZ(), BmnGemFastDigitize::ProduceHitResponseFast(), and CbmStsDigitize::ProduceHitResponseSi().
| Int_t CbmStsSensor::GetBackChannel | ( | Double_t | x, |
| Double_t | y, | ||
| Double_t | z, | ||
| Double_t & | dPitch | ||
| ) |
|
inline |
Definition at line 111 of file CbmStsSensor.h.
|
inline |
Definition at line 111 of file CbmStsSensor.h.
| Int_t CbmStsSensor::GetChannel | ( | Double_t | x, |
| Double_t | y, | ||
| Int_t | iSide | ||
| ) |
Calculate channel number for a coordinate pair.
| x | x coordinate in global c.s. [cm] |
| y | y coordinate in global c.s. [cm] |
| iSide | 0 = front side, 1 = back side @value iChan channel number. -1 if point is outside sensor. Will return the same for both sides in case of pixel sensor. |
Definition at line 395 of file CbmStsSensor.cxx.
References GetSensorNr(), and GetStationNr().
Referenced by CbmStsIdealDigitize::Exec().
| Int_t CbmStsSensor::GetChannel | ( | Double_t | x, |
| Double_t | y, | ||
| Int_t | iSide | ||
| ) |
Calculate channel number for a coordinate pair.
| x | x coordinate in global c.s. [cm] |
| y | y coordinate in global c.s. [cm] |
| iSide | 0 = front side, 1 = back side @value iChan channel number. -1 if point is outside sensor. Will return the same for both sides in case of pixel sensor. |
| Float_t CbmStsSensor::GetChannelPlus | ( | Double_t | x, |
| Double_t | y, | ||
| Int_t | iSide | ||
| ) |
Definition at line 505 of file CbmStsSensor.cxx.
References GetSensorNr(), and GetStationNr().
Referenced by CbmStsRealDigitize::FindFiredStrips().
| Float_t CbmStsSensor::GetChannelPlus | ( | Double_t | x, |
| Double_t | y, | ||
| Int_t | iSide | ||
| ) |
|
inline |
Definition at line 100 of file CbmStsSensor.h.
|
inline |
Definition at line 100 of file CbmStsSensor.h.
|
inline |
Definition at line 81 of file CbmStsSensor.h.
|
inline |
Definition at line 81 of file CbmStsSensor.h.
|
inline |
Accessors
Definition at line 80 of file CbmStsSensor.h.
|
inline |
Accessors
Definition at line 80 of file CbmStsSensor.h.
|
inline |
Definition at line 101 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), CbmStsDigitize::Exec(), CbmStsDigitize::ProduceHitResponseAZ(), BmnGemFastDigitize::ProduceHitResponseFast(), and CbmStsDigitize::ProduceHitResponseSi().
|
inline |
Definition at line 101 of file CbmStsSensor.h.
|
inline |
Definition at line 102 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), and BmnGemFastDigitize::ProduceHitResponseFast().
|
inline |
Definition at line 102 of file CbmStsSensor.h.
| Int_t CbmStsSensor::GetFrontChannel | ( | Double_t | x, |
| Double_t | y, | ||
| Double_t | z, | ||
| Double_t & | dPitch | ||
| ) |
Definition at line 614 of file CbmStsSensor.cxx.
Referenced by CbmStsDigitize::ProduceHitResponse(), CbmStsRealDigitize::ProduceHitResponse(), CbmStsDigitize::ProduceHitResponseAZ(), BmnGemFastDigitize::ProduceHitResponseFast(), and CbmStsDigitize::ProduceHitResponseSi().
| Int_t CbmStsSensor::GetFrontChannel | ( | Double_t | x, |
| Double_t | y, | ||
| Double_t | z, | ||
| Double_t & | dPitch | ||
| ) |
|
inline |
Definition at line 112 of file CbmStsSensor.h.
|
inline |
Definition at line 112 of file CbmStsSensor.h.
|
inline |
Definition at line 98 of file CbmStsSensor.h.
Referenced by CbmStsIdealDigitize::Exec(), and CbmL1::Init().
|
inline |
Definition at line 98 of file CbmStsSensor.h.
|
inline |
Definition at line 99 of file CbmStsSensor.h.
Referenced by CbmStsIdealDigitize::Exec(), and CbmL1::Init().
|
inline |
Definition at line 99 of file CbmStsSensor.h.
|
inline |
Definition at line 108 of file CbmStsSensor.h.
Referenced by Print().
|
inline |
Definition at line 108 of file CbmStsSensor.h.
|
inline |
Definition at line 110 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), CbmStsSector::AddSensor(), CbmStsDigitize::ProduceHitResponseAZ(), and BmnGemFastDigitize::ProduceHitResponseFast().
|
inline |
Definition at line 110 of file CbmStsSensor.h.
|
inline |
Definition at line 109 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), CbmStsSector::AddSensor(), CbmStsDigitize::ProduceHitResponseAZ(), and BmnGemFastDigitize::ProduceHitResponseFast().
|
inline |
Definition at line 109 of file CbmStsSensor.h.
|
inline |
Definition at line 97 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), and CbmStsIdealDigitize::Exec().
|
inline |
Definition at line 97 of file CbmStsSensor.h.
|
inline |
Definition at line 87 of file CbmStsSensor.h.
Referenced by CbmStsFindHitsQa::Exec(), and CbmStsIdealDigitize::Exec().
|
inline |
Definition at line 87 of file CbmStsSensor.h.
|
inline |
Definition at line 91 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), CbmStsFindHitsQa::Exec(), GetChannel(), GetChannelPlus(), and Print().
|
inline |
Definition at line 91 of file CbmStsSensor.h.
|
inline |
Definition at line 105 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), and CbmStsSector::AddSensor().
|
inline |
Definition at line 105 of file CbmStsSensor.h.
|
inline |
Definition at line 107 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), and CbmStsSector::AddSensor().
|
inline |
Definition at line 107 of file CbmStsSensor.h.
|
inline |
Definition at line 106 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), and CbmStsSector::AddSensor().
|
inline |
Definition at line 106 of file CbmStsSensor.h.
|
inline |
Definition at line 85 of file CbmStsSensor.h.
Referenced by CbmStsFindHitsQa::Exec(), CbmStsIdealDigitize::Exec(), CbmStsMatchHits::ExecReal(), GetChannel(), GetChannelPlus(), CbmStsDigitize::ProduceHitResponse(), and BmnGemFastDigitize::ProduceHitResponseFast().
|
inline |
Definition at line 85 of file CbmStsSensor.h.
|
inline |
Definition at line 104 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), and BmnKFStsHit::Create().
|
inline |
Definition at line 104 of file CbmStsSensor.h.
|
inline |
Definition at line 103 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), and BmnKFStsHit::Create().
|
inline |
Definition at line 103 of file CbmStsSensor.h.
|
inline |
Definition at line 83 of file CbmStsSensor.h.
|
inline |
Definition at line 83 of file CbmStsSensor.h.
|
inline |
Definition at line 93 of file CbmStsSensor.h.
Referenced by CbmStsSector::AddSensor(), and CbmStsIdealDigitize::Exec().
|
inline |
Definition at line 93 of file CbmStsSensor.h.
|
inline |
Definition at line 94 of file CbmStsSensor.h.
Referenced by CbmStsFindHitsQa::Exec(), CbmStsIdealDigitize::Exec(), and CbmL1::Init().
|
inline |
Definition at line 94 of file CbmStsSensor.h.
|
inline |
Definition at line 95 of file CbmStsSensor.h.
Referenced by CbmStsFindHitsQa::Exec(), CbmStsIdealDigitize::Exec(), and CbmL1::Init().
|
inline |
Definition at line 95 of file CbmStsSensor.h.
|
inline |
Definition at line 96 of file CbmStsSensor.h.
Referenced by CbmStsIdealDigitize::Exec(), CbmStsStation::GetNofZ(), and CbmStsStation::GetZ().
|
inline |
Definition at line 96 of file CbmStsSensor.h.
| Bool_t CbmStsSensor::Inside | ( | Double_t | x, |
| Double_t | y | ||
| ) |
Test whether a coordinate pair (x,y) in global coordinates is inside the sensor
Definition at line 694 of file CbmStsSensor.cxx.
| Bool_t CbmStsSensor::Inside | ( | Double_t | x, |
| Double_t | y | ||
| ) |
Test whether a coordinate pair (x,y) in global coordinates is inside the sensor
| Int_t CbmStsSensor::Intersect | ( | Int_t | iFStrip, |
| Int_t | iBStrip, | ||
| Double_t & | xCross, | ||
| Double_t & | yCross, | ||
| Double_t & | zCross | ||
| ) |
Definition at line 792 of file CbmStsSensor.cxx.
| Int_t CbmStsSensor::Intersect | ( | Int_t | iFStrip, |
| Int_t | iBStrip, | ||
| Double_t & | xCross, | ||
| Double_t & | yCross, | ||
| Double_t & | zCross | ||
| ) |
| Int_t CbmStsSensor::Intersect | ( | Int_t | iFStrip, |
| Int_t | iBStrip, | ||
| std::vector< Double_t > & | xCross, | ||
| std::vector< Double_t > & | yCross | ||
| ) |
Calculates the coordinates of the intersections of front strip i with back strip j in the global coordinate system
| iFStrip | Front strip number |
| iBStrip | Back strip number |
| xCross | Vector of x coordinates of crossings [cm] |
| yCross | Vector of y coordinates of crossings [cm] @value Number of intersections |
Definition at line 730 of file CbmStsSensor.cxx.
Referenced by CbmStsSector::Intersect().
| Int_t CbmStsSensor::Intersect | ( | Int_t | iFStrip, |
| Int_t | iBStrip, | ||
| std::vector< Double_t > & | xCross, | ||
| std::vector< Double_t > & | yCross | ||
| ) |
Calculates the coordinates of the intersections of front strip i with back strip j in the global coordinate system
| iFStrip | Front strip number |
| iBStrip | Back strip number |
| xCross | Vector of x coordinates of crossings [cm] |
| yCross | Vector of y coordinates of crossings [cm] @value Number of intersections |
| Int_t CbmStsSensor::IntersectClusters | ( | Double_t | fChan, |
| Double_t | bChan, | ||
| Double_t & | xCross, | ||
| Double_t & | yCross, | ||
| Double_t & | zCross | ||
| ) |
Definition at line 930 of file CbmStsSensor.cxx.
References glob().
Referenced by CbmStsSector::IntersectClusters().
| Int_t CbmStsSensor::IntersectClusters | ( | Double_t | fChan, |
| Double_t | bChan, | ||
| Double_t & | xCross, | ||
| Double_t & | yCross, | ||
| Double_t & | zCross | ||
| ) |
| Int_t CbmStsSensor::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)
| iFStrip | Front strip number |
| iBStrip | Back strip number @value Index of MCPoint |
Definition at line 1120 of file CbmStsSensor.cxx.
| Int_t CbmStsSensor::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)
| iFStrip | Front strip number |
| iBStrip | Back strip number @value Index of MCPoint |
| void CbmStsSensor::Print | ( | ) |
Screen output
Definition at line 1140 of file CbmStsSensor.cxx.
References GetNChannels(), and GetSensorNr().
| void CbmStsSensor::Print | ( | ) |
Screen output
| void CbmStsSensor::Reset | ( | ) |
Clear the maps of fired strips
Definition at line 1130 of file CbmStsSensor.cxx.
| void CbmStsSensor::Reset | ( | ) |
Clear the maps of fired strips