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

#include <BmnATestDetector.h>

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

Public Types

typedef std::vector< BmnATestDetectorPlaneDetectorSet
 
typedef std::vector< BmnATestDetectorPlaneDetectorSet
 

Public Member Functions

 BmnATestDetector (Double_t detectorStep, const char *dumpPath=nullptr)
 
 BmnATestDetector (const char *jsonPath)
 
const BmnATestDetectorPlaneGetDetectors () const
 
const SVectGLGetTestA () const
 
Double_t GetMinZ () const
 
Double_t GetMaxZ () const
 
Bool_t Save (const char *path) const
 
Bool_t Load (const char *path)
 
 BmnATestDetector (Double_t detectorStep, const char *dumpPath=nullptr)
 
 BmnATestDetector (const char *jsonPath)
 
const BmnATestDetectorPlaneGetDetectors () const
 
const SVectGLGetTestA () const
 
Double_t GetMinZ () const
 
Double_t GetMaxZ () const
 
Bool_t Save (const char *path) const
 
Bool_t Load (const char *path)
 
- Public Member Functions inherited from BmnSimpleDetModel
virtual Int_t MaxModulesInStation () const noexcept override
 
virtual Int_t Alignables () const noexcept override
 
virtual Int_t IDfromHit (Int_t HitDetectorID) const noexcept override
 
 BmnSimpleDetModel ()=delete
 
 BmnSimpleDetModel (Int_t moduleCnt)
 
virtual Int_t MaxModulesInStation () const noexcept override
 
virtual Int_t Alignables () const noexcept override
 
virtual Int_t IDfromHit (Int_t HitDetectorID) const noexcept override
 
 BmnSimpleDetModel ()=delete
 
 BmnSimpleDetModel (Int_t moduleCnt)
 
- Public Member Functions inherited from BmnDetectorModel
 BmnDetectorModel ()=default
 
virtual ~BmnDetectorModel ()=default
 
Bool_t Init ()
 
Int_t EncodedID (Int_t idx) const
 
Int_t Idx (Int_t ID) const
 
Int_t IdxFromHit (Int_t hitID) const
 
Bool_t UnknownID (Int_t ID) const
 

Additional Inherited Members

- Protected Member Functions inherited from BmnSimpleDetModel
virtual void Reset () noexcept override
 
virtual Int_t NextID () noexcept override
 
virtual void Reset () noexcept override
 
virtual Int_t NextID () noexcept override
 

Detailed Description

Definition at line 19 of file BmnATestDetector.h.

Member Typedef Documentation

◆ DetectorSet [1/2]

Definition at line 22 of file BmnATestDetector.h.

◆ DetectorSet [2/2]

Definition at line 22 of file BmnATestDetector.h.

Constructor & Destructor Documentation

◆ BmnATestDetector() [1/4]

BmnATestDetector::BmnATestDetector ( Double_t  detectorStep,
const char *  dumpPath = nullptr 
)

Definition at line 18 of file BmnATestDetector.cxx.

References BMN_ALIGN_PARAM_TOLERENCE, BMN_TEST_MODULE_COUNT, i, iX, iZ, and Save().

◆ BmnATestDetector() [2/4]

BmnATestDetector::BmnATestDetector ( const char *  jsonPath)
inline

Definition at line 25 of file BmnATestDetector.h.

References Load().

◆ BmnATestDetector() [3/4]

BmnATestDetector::BmnATestDetector ( Double_t  detectorStep,
const char *  dumpPath = nullptr 
)

◆ BmnATestDetector() [4/4]

BmnATestDetector::BmnATestDetector ( const char *  jsonPath)
inline

Definition at line 25 of file BmnATestDetector.h.

References Load().

Member Function Documentation

◆ GetDetectors() [1/2]

const BmnATestDetectorPlane * BmnATestDetector::GetDetectors ( ) const
inline

Definition at line 31 of file BmnATestDetector.h.

Referenced by BmnAlignerTest::Draw(), and BmnAlignerTest::PrepareData().

◆ GetDetectors() [2/2]

const BmnATestDetectorPlane * BmnATestDetector::GetDetectors ( ) const
inline

Definition at line 31 of file BmnATestDetector.h.

◆ GetMaxZ() [1/2]

Double_t BmnATestDetector::GetMaxZ ( ) const
inline

Definition at line 34 of file BmnATestDetector.h.

References BMN_TEST_MODULE_COUNT.

Referenced by BmnAlignerTest::Draw().

◆ GetMaxZ() [2/2]

Double_t BmnATestDetector::GetMaxZ ( ) const
inline

Definition at line 34 of file BmnATestDetector.h.

References BMN_TEST_MODULE_COUNT.

◆ GetMinZ() [1/2]

Double_t BmnATestDetector::GetMinZ ( ) const
inline

Definition at line 33 of file BmnATestDetector.h.

◆ GetMinZ() [2/2]

Double_t BmnATestDetector::GetMinZ ( ) const
inline

Definition at line 33 of file BmnATestDetector.h.

◆ GetTestA() [1/2]

const SVectGL * BmnATestDetector::GetTestA ( ) const
inline

Definition at line 32 of file BmnATestDetector.h.

Referenced by BmnAlignerTest::Draw(), and BmnAlignerTest::ReportResults().

◆ GetTestA() [2/2]

const SVectGL * BmnATestDetector::GetTestA ( ) const
inline

Definition at line 32 of file BmnATestDetector.h.

◆ Load() [1/2]

Bool_t BmnATestDetector::Load ( const char *  path)

Definition at line 60 of file BmnATestDetector.cxx.

References BMN_TEST_MODULE_COUNT, i, iX, iY, and iZ.

Referenced by BmnATestDetector().

◆ Load() [2/2]

Bool_t BmnATestDetector::Load ( const char *  path)

◆ Save() [1/2]

◆ Save() [2/2]

Bool_t BmnATestDetector::Save ( const char *  path) const

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