16#include <FairDetector.h>
17#include <TGeoMatrix.h>
27 R3BDetector(
const TString& name,
const Int_t detId);
31 const TString& geoFile,
32 const TGeoTranslation& trans = TGeoTranslation(),
33 const TGeoRotation& rot = TGeoRotation());
37 const TString& geoFile,
38 const TGeoCombiTrans& combi = TGeoCombiTrans());
55 virtual void SetActive(
const Bool_t flag) { fActive = flag; }
constexpr double fCutEvalue
TGeoCombiTrans fCombiTrans
virtual void SetCombiTrans(const TGeoCombiTrans &combi)
Method to setup the translation + rotation of the detector.
virtual void SetPosition(const TGeoTranslation &trans)
Method to setup the position of the detector-origin.
void ConstructGeometry() override
Construct geometry from root files.
virtual void SetRotation(const TGeoRotation &rot)
Method to setup the rotation of the detector.
ClassDefOverride(R3BDetector, 3)
virtual void SetActive(const Bool_t flag)
virtual void SetEnergyCut(const double cutE)
void ConstructRootGeometry(TGeoMatrix *geo=nullptr) override