FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairMagnet Class Reference

#include <FairMagnet.h>

Inheritance diagram for FairMagnet:
FairModule

Public Member Functions

 FairMagnet (const char *name, const char *Title="PND Magnet")
 
 FairMagnet ()
 
virtual ~FairMagnet ()
 
void ConstructGeometry ()
 
void ConstructASCIIGeometry ()
 
Bool_t IsSensitive (const std::string &name)
 
virtual FairModuleCloneModule () const
 
- Public Member Functions inherited from FairModule
 FairModule ()
 
 FairModule (const char *Name, const char *title, Bool_t Active=kFALSE)
 
virtual ~FairModule ()
 
virtual void Print (Option_t *) const
 
virtual void SetGeometryFileName (TString fname, TString geoVer="0")
 
virtual TString GetGeometryFileName ()
 
virtual TString GetGeometryFileVer ()
 
virtual void ConstructOpGeometry ()
 
virtual void ConstructRootGeometry (TGeoMatrix *shiftM=nullptr)
 
virtual void ModifyGeometry () __attribute__((deprecated("Use FairAlignmentHandler instead
 
virtual void see Tutorial4 for
examples 
LOG (warn)<< "This function is deprecated. Use FairAlignmentHandler instead
 
virtual void RegisterAlignmentMatrices ()
 
virtual void ConstructGDMLGeometry (__attribute__((unused)) TGeoMatrix *posrot)
 
virtual void SetSpecialPhysicsCuts ()
 
virtual void BeginWorkerRun () const
 
virtual void FinishWorkerRun () const
 
template<class T , class U >
void ConstructASCIIGeometry (T *dataType1, TString containerName="", U *datatype2=nullptr)
 
virtual Bool_t CheckIfSensitive (__attribute__((unused)) std::string name) __attribute__((deprecated("The method CheckIfSensitive is deprecated. Implement IsSensitive in the detector classes.")))
 
virtual void ExpandNode (TGeoNode *Node)
 
virtual void ExpandNodeForGDML (__attribute__((unused)) TGeoNode *curNode)
 
virtual Int_t getVolId (const TString &) const
 
Int_t GetModId ()
 
void SetVerboseLevel (Int_t level)
 
Bool_t IsActive ()
 
void SetModId (Int_t id)
 
void SetMotherVolume (TString volName)
 
void ProcessNodes (TList *aList)
 
virtual void SetParContainers ()
 
virtual void InitParContainers ()
 
TList * GetListOfGeoPar ()
 
FairVolumegetFairVolume (FairGeoNode *fNode)
 
void AddSensitiveVolume (TGeoVolume *v)
 

Additional Inherited Members

- Public Attributes inherited from FairModule
virtual void see Tutorial4 for
examples see Tutorial4 for 
examples
 
TString fMotherVolumeName
 
- Static Public Attributes inherited from FairModule
static thread_local
FairVolumeList
vList = 0
 
static thread_local Int_t fNbOfVolumes = 0
 
static thread_local TRefArray * svList = 0
 
static thread_local TArrayI * volNumber = 0
 
- Protected Member Functions inherited from FairModule
 FairModule (const FairModule &)
 
FairModuleoperator= (const FairModule &)
 
 ClassDef (FairModule, 4)
 cahed pointer to MC (available only after initialization) More...
 
- Protected Attributes inherited from FairModule
TString fgeoVer
 
TString fgeoName
 
Int_t fModId
 
Bool_t fActive
 
Int_t fNbOfSensitiveVol
 
Int_t fVerboseLevel
 
TList * flGeoPar
 
Bool_t fGeoSaved
 list of Detector Geometry parameters More...
 
TVirtualMC * fMC
 flag for initialisation More...
 

Detailed Description

Definition at line 16 of file FairMagnet.h.

Constructor & Destructor Documentation

FairMagnet::FairMagnet ( const char *  name,
const char *  Title = "PND Magnet" 
)

Definition at line 24 of file FairMagnet.cxx.

FairMagnet::FairMagnet ( )

Definition at line 20 of file FairMagnet.cxx.

FairMagnet::~FairMagnet ( )
virtual

Definition at line 18 of file FairMagnet.cxx.

Member Function Documentation

FairModule * FairMagnet::CloneModule ( ) const
virtual

Clone this object (used in MT mode only)

Reimplemented from FairModule.

Definition at line 57 of file FairMagnet.cxx.

void FairMagnet::ConstructASCIIGeometry ( )
virtual

construct geometry from standard ASSCII files (Hades Format)

Reimplemented from FairModule.

Definition at line 50 of file FairMagnet.cxx.

void FairMagnet::ConstructGeometry ( )
virtual

method called from the MC application to construct the geometry, has to be implimented by user

Reimplemented from FairModule.

Definition at line 32 of file FairMagnet.cxx.

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

Set the sensitivity flag for volumes, called from ConstructASCIIRootGeometry(), and has to be implimented for detectors which use ConstructASCIIRootGeometry() to build the geometry

Reimplemented from FairModule.

Definition at line 44 of file FairMagnet.cxx.


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