#include <TSTSTopology.h>

Data Structures | |
| struct | TDetSideConn |
| struct | TRocNxChConn |
Public Types | |
| enum | ESTSSide { kPSide, kNSide, kNSides, kAllSides, kPSide, kNSide, kNSides } |
| enum | ESTSSide { kPSide, kNSide, kNSides, kAllSides, kPSide, kNSide, kNSides } |
| enum | ESTSOddEvenConnectors { kOddConnectors, kEvenConnectors } |
Public Member Functions | |
| TSTSTopology () | |
| virtual | ~TSTSTopology () |
| UInt_t | GetRocArrSize () const |
| UInt_t | GetNxArrSize () const |
| UInt_t | GetNxArrSize (UInt_t roc) const |
| UInt_t | GetDetArrSize () const |
| UInt_t | GetStripArrSize (UInt_t det, UInt_t side) const |
| void | TestMapping (Bool_t doPrint=kFALSE) const |
| Bool_t | IsValidRoc (UInt_t roc) const |
| Bool_t | IsValidNx (UInt_t roc, UInt_t nx) const |
| Bool_t | IsValidCh (UInt_t ch) const |
| UInt_t | GetDetector (UInt_t roc, UInt_t nx) const |
| ESTSSide | GetSide (UInt_t roc, UInt_t nx) const |
| UInt_t | GetConnector (UInt_t roc, UInt_t nx) const |
| UInt_t | GetStrip (UInt_t roc, UInt_t nx, UInt_t ch) const |
| UInt_t | GetStrip (UInt_t det, UInt_t side, UInt_t conn, UInt_t ch) const |
| void | SetConnection (UInt_t roc, UInt_t nx, UInt_t det, ESTSSide side, UInt_t conn) |
| void | SetMapping (UInt_t det, UInt_t side, UInt_t conn, const Char_t *mapping) |
| Bool_t | IsMappingSet (UInt_t det, UInt_t side, UInt_t conn) const |
| TSTSTopology () | |
| ~TSTSTopology () | |
| Int_t | GetRocArrSize () const |
| Int_t | GetNxArrSize () const |
| Int_t | GetNAdcBins () const |
| Int_t | GetNCh () const |
| ESTSSide | GetNSides () const |
| Int_t | GetNStrips (Int_t detId) const |
| Int_t | GetNRocs () const |
| Int_t | GetNNxs () const |
| Bool_t | IsValidRoc (Int_t rocId) const |
| Bool_t | IsValidNx (Int_t rocId, Int_t nxId) const |
| Bool_t | IsValidCh (Int_t ch) const |
| Bool_t | IsValidDet (Int_t det) const |
| Int_t | GetDetector (Int_t rocId, Int_t nxId=kIrrelevantNxId) const |
| ESTSSide | GetSide (Int_t rocId, Int_t nxId=kIrrelevantNxId) const |
| ESTSOddEvenConnectors | GetOddEvenConn (Int_t rocId, Int_t nxId) const |
| Int_t | GetStrip (Int_t rocId, Int_t nxId, Int_t nxCh) const |
Static Public Member Functions | |
| static UInt_t | GetNNxCh () |
| static Char_t | GetSideName (UInt_t side) |
| static ESTSSide | OppositeSide (ESTSSide side) |
| static Int_t | GetNDetectors () |
| static Char_t | GetSideName (Int_t side) |
Protected Member Functions | |
| Double_t | GetStripNoCheck (UInt_t det, UInt_t side, UInt_t conn, UInt_t ch) const |
| UInt_t | GetStripCheckNegative (UInt_t det, UInt_t side, UInt_t conn, UInt_t ch) const |
| Int_t | GetStrip_Dem0b (ESTSSide side, ESTSOddEvenConnectors conn, Int_t nxCh) const |
| Int_t | GetStrip_Dem2b4 (ESTSSide side, ESTSOddEvenConnectors conn, Int_t nxCh) const |
| Int_t | GetStrip_DemFsd (ESTSSide side, ESTSOddEvenConnectors conn, Int_t nxCh) const |
Protected Attributes | |
| std::vector< std::vector < TDetSideConn > > | fRocNxConnections |
| std::vector< std::vector < std::vector< TF1 * > > > | fMappings |
| std::vector< Int_t > | fValidRocs |
| std::vector< std::vector< Int_t > > | fValidNxs |
| std::vector< Int_t > | fNStrips |
| std::vector< Int_t > | fRoc2Detector |
| std::vector< ESTSSide > | fRoc2Side |
| std::vector< std::vector < ESTSOddEvenConnectors > > | fNx2Conn |
| Int_t | fNRocs |
| Int_t | fNNxs |
Static Protected Attributes | |
| static UInt_t const | kNNxCh = 128 |
| static Int_t const | kNDetectors = 3 |
| static Int_t const | kRocArrSize = 7 |
| static Int_t const | kNxArrSize = 3 |
| static Int_t const | kNAdcBins = 4096 |
| static Int_t const | kNCh = 128 |
| static Int_t const | kInvalidDetectorId = -1 |
| static Int_t const | kIrrelevantNxId = -2 |
Definition at line 7 of file TSTSTopology.h.
Definition at line 10 of file TSTSTopology.h.
Definition at line 9 of file TSTSTopology.h.
Definition at line 9 of file TSTSTopology.h.
| TSTSTopology::TSTSTopology | ( | ) | [inline] |
Definition at line 56 of file TSTSTopology.h.
| TSTSTopology::~TSTSTopology | ( | ) | [virtual] |
Definition at line 6 of file TSTSTopology.cxx.
References fMappings.
| TSTSTopology::TSTSTopology | ( | ) |
| TSTSTopology::~TSTSTopology | ( | ) |
| UInt_t TSTSTopology::GetConnector | ( | UInt_t | roc, | |
| UInt_t | nx | |||
| ) | const |
Definition at line 121 of file TSTSTopology.cxx.
References fRocNxConnections.
Referenced by GetStrip(), and TestMapping().
| UInt_t TSTSTopology::GetDetArrSize | ( | ) | const |
Definition at line 94 of file TSTSTopology.cxx.
References fRocNxConnections.
Referenced by TSTSProc::CreateClusterizers(), TSTSProc::CreateHistograms(), TSTSProc::CreateHiterizers(), TSTSProc::FinalizeEvent(), and TestMapping().
| Int_t TSTSTopology::GetDetector | ( | Int_t | rocId, | |
| Int_t | nxId = kIrrelevantNxId | |||
| ) | const [inline] |
Definition at line 61 of file TSTSTopology.h.
References fRoc2Detector.
| UInt_t TSTSTopology::GetDetector | ( | UInt_t | roc, | |
| UInt_t | nx | |||
| ) | const |
Definition at line 107 of file TSTSTopology.cxx.
References fRocNxConnections.
Referenced by TSTSProc::FinalizeEvent(), GetStrip(), TSTSProc::ProcessValidMessage(), and TestMapping().
| Int_t TSTSTopology::GetNAdcBins | ( | ) | const [inline] |
Definition at line 50 of file TSTSTopology.h.
References kNAdcBins.
| Int_t TSTSTopology::GetNCh | ( | ) | const [inline] |
Definition at line 51 of file TSTSTopology.h.
References kNCh.
| static Int_t TSTSTopology::GetNDetectors | ( | ) | [inline, static] |
Definition at line 52 of file TSTSTopology.h.
References kNDetectors.
Referenced by TSTSProc::EvaluateHits(), TSTSEvent::Init(), IsValidDet(), and TSTSProc::ProcessValidMessage().
| static UInt_t TSTSTopology::GetNNxCh | ( | ) | [inline, static] |
Definition at line 69 of file TSTSTopology.h.
References kNNxCh.
Referenced by GetStripArrSize(), IsValidCh(), SetMapping(), and TestMapping().
| Int_t TSTSTopology::GetNNxs | ( | ) | const [inline] |
Definition at line 56 of file TSTSTopology.h.
References fNNxs.
| Int_t TSTSTopology::GetNRocs | ( | ) | const [inline] |
Definition at line 55 of file TSTSTopology.h.
References fNRocs.
| ESTSSide TSTSTopology::GetNSides | ( | ) | const [inline] |
Definition at line 53 of file TSTSTopology.h.
Referenced by TSTSProc::EvaluateHits(), and TSTSProc::ProcessValidMessage().
| Int_t TSTSTopology::GetNStrips | ( | Int_t | detId | ) | const [inline] |
Definition at line 54 of file TSTSTopology.h.
References fNStrips.
| UInt_t TSTSTopology::GetNxArrSize | ( | UInt_t | roc | ) | const |
Definition at line 84 of file TSTSTopology.cxx.
References fRocNxConnections.
| UInt_t TSTSTopology::GetNxArrSize | ( | ) | const |
Definition at line 73 of file TSTSTopology.cxx.
References fRocNxConnections.
Referenced by TestMapping().
| Int_t TSTSTopology::GetNxArrSize | ( | ) | const [inline] |
Definition at line 49 of file TSTSTopology.h.
References kNxArrSize.
| ESTSOddEvenConnectors TSTSTopology::GetOddEvenConn | ( | Int_t | rocId, | |
| Int_t | nxId | |||
| ) | const [inline] |
| UInt_t TSTSTopology::GetRocArrSize | ( | ) | const |
Definition at line 59 of file TSTSTopology.cxx.
References fRocNxConnections.
Referenced by TSTSProc::FinalizeEvent(), and TestMapping().
| Int_t TSTSTopology::GetRocArrSize | ( | ) | const [inline] |
Definition at line 48 of file TSTSTopology.h.
References kRocArrSize.
| ESTSSide TSTSTopology::GetSide | ( | Int_t | rocId, | |
| Int_t | nxId = kIrrelevantNxId | |||
| ) | const [inline] |
Definition at line 62 of file TSTSTopology.h.
References fRoc2Side.
| TSTSTopology::ESTSSide TSTSTopology::GetSide | ( | UInt_t | roc, | |
| UInt_t | nx | |||
| ) | const |
Definition at line 114 of file TSTSTopology.cxx.
References fRocNxConnections.
Referenced by TSTSProc::FinalizeEvent(), GetStrip(), TSTSProc::ProcessValidMessage(), and TestMapping().
| static Char_t TSTSTopology::GetSideName | ( | UInt_t | side | ) | [inline, static] |
Definition at line 84 of file TSTSTopology.h.
References kPSide.
Referenced by TSTSProc::CreateHistograms(), GetStripCheckNegative(), TSTSClusterizer::PrintBuffer(), and TestMapping().
| static Char_t TSTSTopology::GetSideName | ( | Int_t | side | ) | [inline, static] |
Definition at line 63 of file TSTSTopology.h.
References kPSide.
| UInt_t TSTSTopology::GetStrip | ( | UInt_t | roc, | |
| UInt_t | nx, | |||
| UInt_t | ch | |||
| ) | const |
Definition at line 154 of file TSTSTopology.cxx.
References GetConnector(), GetDetector(), and GetSide().
Referenced by TSTSProc::FinalizeEvent(), GetStripArrSize(), and TSTSProc::ProcessValidMessage().
| UInt_t TSTSTopology::GetStrip | ( | UInt_t | det, | |
| UInt_t | side, | |||
| UInt_t | conn, | |||
| UInt_t | ch | |||
| ) | const |
Definition at line 147 of file TSTSTopology.cxx.
References GetStripNoCheck().
| Int_t TSTSTopology::GetStrip | ( | Int_t | rocId, | |
| Int_t | nxId, | |||
| Int_t | nxCh | |||
| ) | const |
Definition at line 95 of file TSTSTopology.cxx.
References GetDetector(), GetOddEvenConn(), GetSide(), GetStrip_Dem0b(), GetStrip_Dem2b4(), and GetStrip_DemFsd().
| Int_t TSTSTopology::GetStrip_Dem0b | ( | ESTSSide | side, | |
| ESTSOddEvenConnectors | conn, | |||
| Int_t | nxCh | |||
| ) | const [protected] |
Definition at line 118 of file TSTSTopology.cxx.
References kEvenConnectors, and kPSide.
Referenced by GetStrip().
| Int_t TSTSTopology::GetStrip_Dem2b4 | ( | ESTSSide | side, | |
| ESTSOddEvenConnectors | conn, | |||
| Int_t | nxCh | |||
| ) | const [protected] |
Definition at line 143 of file TSTSTopology.cxx.
References kEvenConnectors, and kPSide.
Referenced by GetStrip().
| Int_t TSTSTopology::GetStrip_DemFsd | ( | ESTSSide | side, | |
| ESTSOddEvenConnectors | conn, | |||
| Int_t | nxCh | |||
| ) | const [protected] |
Definition at line 167 of file TSTSTopology.cxx.
References kEvenConnectors, and kPSide.
Referenced by GetStrip().
| UInt_t TSTSTopology::GetStripArrSize | ( | UInt_t | det, | |
| UInt_t | side | |||
| ) | const |
Definition at line 164 of file TSTSTopology.cxx.
References fMappings, GetNNxCh(), GetStrip(), and IsMappingSet().
Referenced by TSTSProc::CreateHistograms(), and TestMapping().
| UInt_t TSTSTopology::GetStripCheckNegative | ( | UInt_t | det, | |
| UInt_t | side, | |||
| UInt_t | conn, | |||
| UInt_t | ch | |||
| ) | const [protected] |
Definition at line 135 of file TSTSTopology.cxx.
References GetSideName(), and GetStripNoCheck().
Referenced by TestMapping().
| Double_t TSTSTopology::GetStripNoCheck | ( | UInt_t | det, | |
| UInt_t | side, | |||
| UInt_t | conn, | |||
| UInt_t | ch | |||
| ) | const [protected] |
Definition at line 128 of file TSTSTopology.cxx.
References fMappings.
Referenced by GetStrip(), and GetStripCheckNegative().
| Bool_t TSTSTopology::IsMappingSet | ( | UInt_t | det, | |
| UInt_t | side, | |||
| UInt_t | conn | |||
| ) | const |
Definition at line 217 of file TSTSTopology.cxx.
References fMappings.
Referenced by GetStripArrSize().
| Bool_t TSTSTopology::IsValidCh | ( | UInt_t | ch | ) | const |
Definition at line 210 of file TSTSTopology.cxx.
References GetNNxCh().
| Bool_t TSTSTopology::IsValidCh | ( | Int_t | ch | ) | const [inline] |
Definition at line 59 of file TSTSTopology.h.
References kNCh.
| Bool_t TSTSTopology::IsValidDet | ( | Int_t | det | ) | const [inline] |
Definition at line 60 of file TSTSTopology.h.
References GetNDetectors().
| Bool_t TSTSTopology::IsValidNx | ( | Int_t | rocId, | |
| Int_t | nxId | |||
| ) | const [inline] |
Definition at line 58 of file TSTSTopology.h.
References fValidNxs.
| Bool_t TSTSTopology::IsValidNx | ( | UInt_t | roc, | |
| UInt_t | nx | |||
| ) | const |
Definition at line 197 of file TSTSTopology.cxx.
References fRocNxConnections.
Referenced by TestMapping().
| Bool_t TSTSTopology::IsValidRoc | ( | Int_t | rocId | ) | const [inline] |
Definition at line 57 of file TSTSTopology.h.
References fValidRocs.
| Bool_t TSTSTopology::IsValidRoc | ( | UInt_t | roc | ) | const |
Definition at line 182 of file TSTSTopology.cxx.
References fRocNxConnections.
Referenced by TSTSProc::FinalizeEvent(), and TestMapping().
Definition at line 85 of file TSTSTopology.h.
References kNSide, and kPSide.
Referenced by TSTSHiterizer::IsClusterBuffersContainSufficientTimeInterval(), and TSTSHiterizer::ReconstructHits().
| void TSTSTopology::SetConnection | ( | UInt_t | roc, | |
| UInt_t | nx, | |||
| UInt_t | det, | |||
| ESTSSide | side, | |||
| UInt_t | conn | |||
| ) |
Definition at line 23 of file TSTSTopology.cxx.
References fRocNxConnections.
| void TSTSTopology::SetMapping | ( | UInt_t | det, | |
| UInt_t | side, | |||
| UInt_t | conn, | |||
| const Char_t * | mapping | |||
| ) |
Definition at line 39 of file TSTSTopology.cxx.
References fMappings, GetNNxCh(), and kNSides.
| void TSTSTopology::TestMapping | ( | Bool_t | doPrint = kFALSE |
) | const |
Definition at line 233 of file TSTSTopology.cxx.
References TSTSTopology::TRocNxChConn::fCh, TSTSTopology::TRocNxChConn::fConn, TSTSTopology::TRocNxChConn::fNx, TSTSTopology::TRocNxChConn::fRoc, TSTSTopology::TRocNxChConn::fSet, GetConnector(), GetDetArrSize(), GetDetector(), GetNNxCh(), GetNxArrSize(), GetRocArrSize(), GetSide(), GetSideName(), GetStripArrSize(), GetStripCheckNegative(), IsValidNx(), IsValidRoc(), and kNSides.
std::vector< std::vector < std::vector < TF1 * > > > TSTSTopology::fMappings [protected] |
Definition at line 45 of file TSTSTopology.h.
Referenced by GetStripArrSize(), GetStripNoCheck(), IsMappingSet(), SetMapping(), and ~TSTSTopology().
Int_t TSTSTopology::fNNxs [protected] |
Definition at line 37 of file TSTSTopology.h.
Referenced by GetNNxs().
Int_t TSTSTopology::fNRocs [protected] |
Definition at line 36 of file TSTSTopology.h.
Referenced by GetNRocs().
std::vector< Int_t > TSTSTopology::fNStrips [protected] |
Definition at line 25 of file TSTSTopology.h.
Referenced by GetNStrips().
std::vector< std::vector< ESTSOddEvenConnectors > > TSTSTopology::fNx2Conn [protected] |
Definition at line 28 of file TSTSTopology.h.
Referenced by GetOddEvenConn().
std::vector< Int_t > TSTSTopology::fRoc2Detector [protected] |
Definition at line 26 of file TSTSTopology.h.
Referenced by GetDetector().
std::vector< ESTSSide > TSTSTopology::fRoc2Side [protected] |
Definition at line 27 of file TSTSTopology.h.
Referenced by GetSide().
std::vector< std::vector< TDetSideConn > > TSTSTopology::fRocNxConnections [protected] |
Definition at line 44 of file TSTSTopology.h.
Referenced by GetConnector(), GetDetArrSize(), GetDetector(), GetNxArrSize(), GetRocArrSize(), GetSide(), IsValidNx(), IsValidRoc(), and SetConnection().
std::vector< std::vector< Int_t > > TSTSTopology::fValidNxs [protected] |
Definition at line 24 of file TSTSTopology.h.
Referenced by IsValidNx().
std::vector< Int_t > TSTSTopology::fValidRocs [protected] |
Definition at line 23 of file TSTSTopology.h.
Referenced by IsValidRoc().
Int_t const TSTSTopology::kInvalidDetectorId = -1 [static, protected] |
Definition at line 20 of file TSTSTopology.h.
Int_t const TSTSTopology::kIrrelevantNxId = -2 [static, protected] |
Definition at line 21 of file TSTSTopology.h.
Int_t const TSTSTopology::kNAdcBins = 4096 [static, protected] |
Definition at line 18 of file TSTSTopology.h.
Referenced by GetNAdcBins().
Int_t const TSTSTopology::kNCh = 128 [static, protected] |
Definition at line 19 of file TSTSTopology.h.
Referenced by GetNCh(), and IsValidCh().
Int_t const TSTSTopology::kNDetectors = 3 [static, protected] |
Definition at line 14 of file TSTSTopology.h.
Referenced by GetNDetectors().
UInt_t const TSTSTopology::kNNxCh = 128 [static, protected] |
Definition at line 14 of file TSTSTopology.h.
Referenced by GetNNxCh().
Int_t const TSTSTopology::kNxArrSize = 3 [static, protected] |
Definition at line 16 of file TSTSTopology.h.
Referenced by GetNxArrSize().
Int_t const TSTSTopology::kRocArrSize = 7 [static, protected] |
Definition at line 15 of file TSTSTopology.h.
Referenced by GetRocArrSize().
1.7.1