CbmRoot
Loading...
Searching...
No Matches
CbmMagnet Class Reference

#include <CbmMagnet.h>

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

Public Member Functions

 CbmMagnet (const char *name, const char *title="CBM Magnet", Double_t px=0., Double_t py=0., Double_t pz=0., Double_t rx=0., Double_t ry=0., Double_t rz=0.)
 
 CbmMagnet ()
 
virtual ~CbmMagnet ()
 
virtual void ConstructGeometry ()
 
virtual Bool_t IsSensitive (const std::string &name)
 
Bool_t CheckIfSensitive (std::string name)
 

Private Member Functions

 CbmMagnet (const CbmMagnet &)
 
CbmMagnetoperator= (const CbmMagnet &)
 

Private Attributes

TGeoRotation * frot
 
TGeoCombiTrans * fposrot
 

Detailed Description

Definition at line 13 of file CbmMagnet.h.

Constructor & Destructor Documentation

◆ CbmMagnet() [1/3]

CbmMagnet::CbmMagnet ( const char * name,
const char * title = "CBM Magnet",
Double_t px = 0.,
Double_t py = 0.,
Double_t pz = 0.,
Double_t rx = 0.,
Double_t ry = 0.,
Double_t rz = 0. )

Definition at line 17 of file CbmMagnet.cxx.

◆ CbmMagnet() [2/3]

CbmMagnet::CbmMagnet ( )

Definition at line 15 of file CbmMagnet.cxx.

◆ ~CbmMagnet()

CbmMagnet::~CbmMagnet ( )
virtual

Definition at line 25 of file CbmMagnet.cxx.

◆ CbmMagnet() [3/3]

CbmMagnet::CbmMagnet ( const CbmMagnet & )
private

Member Function Documentation

◆ CheckIfSensitive()

Bool_t CbmMagnet::CheckIfSensitive ( std::string name)

Definition at line 74 of file CbmMagnet.cxx.

References IsSensitive().

◆ ConstructGeometry()

void CbmMagnet::ConstructGeometry ( )
virtual

Definition at line 27 of file CbmMagnet.cxx.

References fposrot.

◆ IsSensitive()

Bool_t CbmMagnet::IsSensitive ( const std::string & name)
virtual

Definition at line 68 of file CbmMagnet.cxx.

Referenced by CheckIfSensitive().

◆ operator=()

CbmMagnet & CbmMagnet::operator= ( const CbmMagnet & )
private

Member Data Documentation

◆ fposrot

TGeoCombiTrans* CbmMagnet::fposrot
private

Definition at line 26 of file CbmMagnet.h.

Referenced by ConstructGeometry().

◆ frot

TGeoRotation* CbmMagnet::frot
private

Definition at line 25 of file CbmMagnet.h.


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