BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnATestDetector Class Reference

#include <BmnATestDetector.h>

Inheritance diagram for BmnATestDetector:
Collaboration diagram for BmnATestDetector:

Public Types

typedef std::vector< BmnATestDetectorPlane > DetectorSet
typedef std::vector< BmnATestDetectorPlane > DetectorSet

Public Member Functions

 BmnATestDetector (Double_t detectorStep, const char *dumpPath=nullptr)
 BmnATestDetector (const char *jsonPath)
const BmnATestDetectorPlane * GetDetectors () const
const SVectGL * GetTestA () 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 BmnATestDetectorPlane * GetDetectors () const
const SVectGL * GetTestA () 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
 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

Private Member Functions

void RebuildDetectors ()
void RebuildDetectors ()

Private Attributes

Double_t fNominalZ [BMN_TEST_MODULE_COUNT]
SVectGL fMisalignments [BMN_TEST_MODULE_COUNT]
BmnATestDetectorPlane fDetectors [BMN_TEST_MODULE_COUNT]

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 BmnSimpleDetModel::BmnSimpleDetModel(), BMN_ALIGN_PARAM_TOLERENCE, BMN_RND, BMN_TEST_MODULE_COUNT, fMisalignments, fNominalZ, i, iX, iZ, RebuildDetectors(), and Save().

Here is the call graph for this function:

◆ BmnATestDetector() [2/4]

BmnATestDetector::BmnATestDetector ( const char * jsonPath)
inline

Definition at line 25 of file BmnATestDetector.h.

References BmnSimpleDetModel::BmnSimpleDetModel(), BMN_TEST_MODULE_COUNT, and Load().

Here is the call graph for this function:

◆ 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 BmnSimpleDetModel::BmnSimpleDetModel(), BMN_TEST_MODULE_COUNT, and Load().

Here is the call graph for this function:

Member Function Documentation

◆ GetDetectors() [1/2]

const BmnATestDetectorPlane * BmnATestDetector::GetDetectors ( ) const
inline

Definition at line 31 of file BmnATestDetector.h.

References fDetectors.

◆ GetDetectors() [2/2]

const BmnATestDetectorPlane * BmnATestDetector::GetDetectors ( ) const
inline

Definition at line 31 of file BmnATestDetector.h.

References fDetectors.

◆ GetMaxZ() [1/2]

Double_t BmnATestDetector::GetMaxZ ( ) const
inline

Definition at line 34 of file BmnATestDetector.h.

References BMN_TEST_MODULE_COUNT, and fNominalZ.

◆ GetMaxZ() [2/2]

Double_t BmnATestDetector::GetMaxZ ( ) const
inline

Definition at line 34 of file BmnATestDetector.h.

References BMN_TEST_MODULE_COUNT, and fNominalZ.

◆ GetMinZ() [1/2]

Double_t BmnATestDetector::GetMinZ ( ) const
inline

Definition at line 33 of file BmnATestDetector.h.

References fNominalZ.

◆ GetMinZ() [2/2]

Double_t BmnATestDetector::GetMinZ ( ) const
inline

Definition at line 33 of file BmnATestDetector.h.

References fNominalZ.

◆ GetTestA() [1/2]

const SVectGL * BmnATestDetector::GetTestA ( ) const
inline

Definition at line 32 of file BmnATestDetector.h.

References fMisalignments.

◆ GetTestA() [2/2]

const SVectGL * BmnATestDetector::GetTestA ( ) const
inline

Definition at line 32 of file BmnATestDetector.h.

References fMisalignments.

◆ Load() [1/2]

Bool_t BmnATestDetector::Load ( const char * path)

Definition at line 60 of file BmnATestDetector.cxx.

References BMN_TEST_MODULE_COUNT, fMisalignments, fNominalZ, i, iX, iY, iZ, and RebuildDetectors().

Referenced by BmnATestDetector().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Load() [2/2]

Bool_t BmnATestDetector::Load ( const char * path)

◆ RebuildDetectors() [1/2]

void BmnATestDetector::RebuildDetectors ( )
private

Definition at line 90 of file BmnATestDetector.cxx.

References BMN_TEST_MODULE_COUNT, fDetectors, fMisalignments, fNominalZ, and i.

Referenced by BmnATestDetector(), and Load().

Here is the caller graph for this function:

◆ RebuildDetectors() [2/2]

void BmnATestDetector::RebuildDetectors ( )
private

◆ Save() [1/2]

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

Definition at line 40 of file BmnATestDetector.cxx.

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

Referenced by BmnATestDetector().

Here is the caller graph for this function:

◆ Save() [2/2]

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

Member Data Documentation

◆ fDetectors

BmnATestDetectorPlane BmnATestDetector::fDetectors
private

Definition at line 44 of file BmnATestDetector.h.

Referenced by GetDetectors(), and RebuildDetectors().

◆ fMisalignments

SVectGL BmnATestDetector::fMisalignments
private

Definition at line 43 of file BmnATestDetector.h.

Referenced by BmnATestDetector(), GetTestA(), Load(), RebuildDetectors(), and Save().

◆ fNominalZ

Double_t BmnATestDetector::fNominalZ
private

Definition at line 42 of file BmnATestDetector.h.

Referenced by BmnATestDetector(), GetMaxZ(), GetMinZ(), Load(), RebuildDetectors(), and Save().


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