4#include "KVFAZIAMidRapExplorer.h"
5#include "KVFAZIABeltConfig.h"
16 fBlockParams[0].fBeltDistanceTarget, fBlockParams[0].fInterBlockSpacing,
17 -fBlockParams[0].fDistanceOffset);
20 GetVolumePositioningMatrix(fBlockParams[0].fBeltDistanceTarget, fBlockParams[0].fThetaBelt, fBlockParams[0].fPhiBelt));
23 fBlockParams[1].fBeltDistanceTarget, fBlockParams[1].fInterBlockSpacing,
24 fBlockParams[1].fDistanceOffset);
26 GetVolumePositioningMatrix(fBlockParams[1].fBeltDistanceTarget, fBlockParams[1].fThetaBelt, fBlockParams[1].fPhiBelt));
35 for (
int ibelt = 0; ibelt < 2; ++ibelt) {
69 for (
int belt = 0; belt <= 1; ++belt) {
71 for (
Int_t qq = 1; qq <= 4; qq += 1) {
77 Form(
"BELT_%d_BLOCK_%d_QUARTET_%d_%s-T%d", belt, bb, qq, sdet.
Data(),
tt),
78 Form(
"%s-%d", sdet.
Data(), (bb + block_offset) * 100 + 10 * qq +
tt)
R__EXTERN TGeoManager * gGeoManager
char * Form(const char *fmt,...)
static const Char_t * GetDataSetEnv(const Char_t *dataset, const Char_t *type, const Char_t *defval)
Extension of TEnv to allow the writing of comments in the file.
A rectangular array of FAZIA blocks.
FAZIA setup with two belts of 6 blocks.
void SetNameOfDetectors(KVEnv &)
struct KVFAZIAMidRapExplorer::@1 fBlockParams[2]
void GetGeometryParameters()
void SetGeometryImportParameters(Double_t dt=0.25, Double_t dp=1.0, Double_t tmin=2., Double_t pmin=0, Double_t tmax=20., Double_t pmax=360., Double_t xorg=0, Double_t yorg=0, Double_t zorg=0)
TString fDataSet
name of associated dataset, used with MakeMultiDetector()
Extension of ROOT TString class which allows backwards compatibility with ROOT v3....
void Begin(TString delim) const
KVString Next(Bool_t strip_whitespace=kFALSE) const
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
TGeoVolume * GetTopVolume() const
virtual TGeoNode * AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=nullptr, Option_t *option="")
const char * Data() const
Double_t Min(Double_t a, Double_t b)
Double_t Max(Double_t a, Double_t b)