R3BROOT
R3B analysis software
Loading...
Searching...
No Matches
R3BModule Class Reference

#include <R3BModule.h>

Public Member Functions

 R3BModule ()
 
 R3BModule (const TString &name, const TString &title, const Bool_t active=kFALSE)
 
 R3BModule (const TString &name, const TString &title, const Bool_t active, const TString &geoFile, const TGeoTranslation &trans, const TGeoRotation &rot=TGeoRotation())
 
 R3BModule (const TString &name, const TString &title, const Bool_t active, const TString &geoFile, const TGeoCombiTrans &combi=TGeoCombiTrans())
 
virtual void ConstructGeometry () override
 Construct geometry from root files.
 
virtual void ConstructRootGeometry (TGeoMatrix *p=nullptr) override
 
virtual void SetPosition (const TGeoTranslation &trans)
 Method to setup the position of the detector-origin.
 
virtual void SetRotation (const TGeoRotation &rot)
 Method to setup the rotation of the detector.
 

Protected Attributes

TGeoCombiTrans fCombiTrans
 

Detailed Description

Definition at line 21 of file R3BModule.h.

Constructor & Destructor Documentation

◆ R3BModule() [1/4]

R3BModule::R3BModule ( )

Definition at line 18 of file R3BModule.cxx.

◆ R3BModule() [2/4]

R3BModule::R3BModule ( const TString & name,
const TString & title,
const Bool_t active = kFALSE )

Definition at line 23 of file R3BModule.cxx.

◆ R3BModule() [3/4]

R3BModule::R3BModule ( const TString & name,
const TString & title,
const Bool_t active,
const TString & geoFile,
const TGeoTranslation & trans,
const TGeoRotation & rot = TGeoRotation() )

Definition at line 28 of file R3BModule.cxx.

◆ R3BModule() [4/4]

R3BModule::R3BModule ( const TString & name,
const TString & title,
const Bool_t active,
const TString & geoFile,
const TGeoCombiTrans & combi = TGeoCombiTrans() )

Definition at line 38 of file R3BModule.cxx.

Member Function Documentation

◆ ConstructGeometry()

void R3BModule::ConstructGeometry ( )
overridevirtual

Reimplemented in R3BCollimator, R3BPipe, R3BTarget, and R3BVacVesselCool.

Definition at line 49 of file R3BModule.cxx.

◆ ConstructRootGeometry()

void R3BModule::ConstructRootGeometry ( TGeoMatrix * p = nullptr)
overridevirtual

Definition at line 58 of file R3BModule.cxx.

◆ SetPosition()

virtual void R3BModule::SetPosition ( const TGeoTranslation & trans)
inlinevirtual

Reimplemented in R3BAladinMagnet.

Definition at line 46 of file R3BModule.h.

◆ SetRotation()

virtual void R3BModule::SetRotation ( const TGeoRotation & rot)
inlinevirtual

Reimplemented in R3BAladinMagnet.

Definition at line 49 of file R3BModule.h.

Member Data Documentation

◆ fCombiTrans

TGeoCombiTrans R3BModule::fCombiTrans
protected

Definition at line 52 of file R3BModule.h.


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