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

#include <R3BDetector.h>

Public Member Functions

 R3BDetector ()
 
 R3BDetector (const TString &name, const Int_t detId)
 
 R3BDetector (const TString &name, const Int_t detId, const TString &geoFile, const TGeoTranslation &trans, const TGeoRotation &rot=TGeoRotation())
 
 R3BDetector (const TString &name, const Int_t detId, const TString &geoFile, const TGeoCombiTrans &combi=TGeoCombiTrans())
 
void ConstructGeometry () override
 Construct geometry from root files.
 
void ConstructRootGeometry (TGeoMatrix *geo=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.
 
virtual void SetCombiTrans (const TGeoCombiTrans &combi)
 Method to setup the translation + rotation of the detector.
 
virtual void SetEnergyCut (const Double_t cutE)
 
virtual void SetActive (const Bool_t flag)
 

Protected Attributes

TGeoCombiTrans fCombiTrans
 
Double_t fCutE
 

Detailed Description

Definition at line 20 of file R3BDetector.h.

Constructor & Destructor Documentation

◆ R3BDetector() [1/4]

R3BDetector::R3BDetector ( )

Definition at line 18 of file R3BDetector.cxx.

◆ R3BDetector() [2/4]

R3BDetector::R3BDetector ( const TString & name,
const Int_t detId )

Definition at line 24 of file R3BDetector.cxx.

◆ R3BDetector() [3/4]

R3BDetector::R3BDetector ( const TString & name,
const Int_t detId,
const TString & geoFile,
const TGeoTranslation & trans,
const TGeoRotation & rot = TGeoRotation() )

Definition at line 31 of file R3BDetector.cxx.

◆ R3BDetector() [4/4]

R3BDetector::R3BDetector ( const TString & name,
const Int_t detId,
const TString & geoFile,
const TGeoCombiTrans & combi = TGeoCombiTrans() )

Definition at line 40 of file R3BDetector.cxx.

Member Function Documentation

◆ ConstructGeometry()

void R3BDetector::ConstructGeometry ( )
override

Definition at line 49 of file R3BDetector.cxx.

◆ ConstructRootGeometry()

void R3BDetector::ConstructRootGeometry ( TGeoMatrix * geo = nullptr)
override

Definition at line 58 of file R3BDetector.cxx.

◆ SetActive()

virtual void R3BDetector::SetActive ( const Bool_t flag)
inlinevirtual

Definition at line 53 of file R3BDetector.h.

◆ SetCombiTrans()

virtual void R3BDetector::SetCombiTrans ( const TGeoCombiTrans & combi)
inlinevirtual

Definition at line 49 of file R3BDetector.h.

◆ SetEnergyCut()

virtual void R3BDetector::SetEnergyCut ( const Double_t cutE)
inlinevirtual

Definition at line 51 of file R3BDetector.h.

◆ SetPosition()

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

Definition at line 43 of file R3BDetector.h.

◆ SetRotation()

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

Definition at line 46 of file R3BDetector.h.

Member Data Documentation

◆ fCombiTrans

TGeoCombiTrans R3BDetector::fCombiTrans
protected

Definition at line 56 of file R3BDetector.h.

◆ fCutE

Double_t R3BDetector::fCutE
protected

Definition at line 57 of file R3BDetector.h.


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