78 double total_thickness = thick + centre_dist;
88 const double distance = 2.20 *
KVUnits::m + 0.5 * total_thickness;
89 const double theta = 1.84;
90 const double phi = -90;
115 Info(
"BuildFAZIA",
"Compact geometry, %f cm from target",
123 trans.
SetDz(distance_block_cible + thick_si1 / 2.);
140 if (bb == 1) centre.
SetXYZ(-1 * (dx - centre_hole / 2), -dx - centre_hole / 2, distance_block_cible);
141 else if (bb == 2) centre.
SetXYZ(-1 * (dx + centre_hole / 2), dx - centre_hole / 2, distance_block_cible);
142 else if (bb == 3) centre.
SetXYZ(-1 * (-dx + centre_hole / 2), dx + centre_hole / 2, distance_block_cible);
143 else if (bb == 0) centre.
SetXYZ(-1 * (-dx - centre_hole / 2), -dx + centre_hole / 2, distance_block_cible);
144 else if (bb == 4) centre.
SetXYZ(-1 * (-dx - centre_hole / 2), -3 * dx + centre_hole / 2, distance_block_cible);
146 Warning(
"BuildFAZIA",
"Block position definition is done only for %d blocks",
fNblocks);
150 printf(
"BLK #%d => theta=%1.2lf - phi=%1.2lf\n", bb, theta, phi);
154 h = rot2 * trans * rot1;
173 env.
SetValue(
"RUTH_SI_1",
"SI1-RUTH");
174 env.
SetValue(
"RUTH_SI_2",
"SI2-RUTH");
ClassImp(KVPartitionList) void KVPartitionList
Initialisation.
R__EXTERN TGeoManager * gGeoManager
Extension of TEnv to allow the writing of comments in the file.
Standard geometry of 16-telescope FAZIA block.
Double_t GetTotalSideWithBlindage() const
FAZIA set-up for LNS 2016.
virtual void GetGeometryParameters()
Defined number of blocks, the distance from the target and the minimum polar angle.
virtual ~KVFAZIALNS2016()
Destructor.
virtual void BuildFAZIA()
void RutherfordTelescope()
virtual void SetNameOfDetectors(KVEnv &env)
Description of a FAZIA detector geometry.
Double_t fFDist
distance of FAZIA detectors from target (in cm)
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)
Double_t fFThetaMin
minimum polar angle for compact geometry (in degrees)
virtual void SetNameOfDetectors(KVEnv &env)
Int_t fNblocks
number of blocks
Description of physical materials used to construct detectors; interface to range tables.
virtual TGeoMedium * GetGeoMedium(const Char_t *="")
virtual void SetValue(const char *name, const char *value, EEnvLevel level=kEnvChange, const char *type=nullptr)
TGeoVolume * MakeTube(const char *name, TGeoMedium *medium, Double_t rmin, Double_t rmax, Double_t dz)
TGeoVolumeAssembly * MakeVolumeAssembly(const char *name)
TGeoVolume * GetTopVolume() const
void SetAngles(Double_t phi, Double_t theta, Double_t psi)
virtual void SetDz(Double_t dz)
virtual void AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=0, Option_t *option="")
virtual void AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=0, Option_t *option="")
virtual void Warning(const char *method, const char *msgfmt,...) const
virtual void Info(const char *method, const char *msgfmt,...) const
void SetXYZ(Double_t x, Double_t y, Double_t z)
RooCmdArg ClassName(const char *name)
constexpr Double_t DegToRad()
constexpr Double_t RadToDeg()