4 #include "KVFAZIA_2B.h"
7 #include "KVFAZIABlock.h"
27 void KVFAZIA_2B::GetGeometryParameters()
52 void KVFAZIA_2B::BuildFAZIA()
54 Info(
"BuildFAZIA",
"Compact geometry, %f cm from target, theta-min=%f deg.",
59 Double_t distance_block_cible = fFDist * KVUnits::cm;
60 Double_t thick_si1 = 300 * KVUnits::um;
62 trans.
SetDz(distance_block_cible + thick_si1 / 2.);
67 Int_t block_starting_number = fStartingBlockNumber;
79 printf(
"centre_hole=%lf - dx=%lf\n", centre_hole, dx);
86 for (
Int_t bb = 0; bb < fNblocks; bb += 1) {
98 theta = theta_min + arc;
99 if (bb == 0) phi = 90;
100 else if (bb == 1) phi = 360 - 90;
104 h = rot2 * trans * rot1;
106 top->
AddNode(block, block_starting_number++, ph);
R__EXTERN TGeoManager * gGeoManager
Standard geometry of 16-telescope FAZIA block.
virtual void Build()
Set default dimensions for all parts of geometry.
Double_t GetTotalSideWithBlindage() const
FAZIA set-up with two blocks used in LNS 2014 commissioning.
virtual ~KVFAZIA_2B()
Destructor.
Description of a FAZIA detector geometry.
TGeoVolume * GetTopVolume() const
void SetAngles(Double_t phi, Double_t theta, Double_t psi)
void SetDz(Double_t dz) override
virtual TGeoNode * AddNode(TGeoVolume *vol, Int_t copy_no, TGeoMatrix *mat=nullptr, Option_t *option="")
virtual void Info(const char *method, const char *msgfmt,...) const
RooCmdArg ClassName(const char *name)
RVec< PromoteType< T > > tan(const RVec< T > &v)
constexpr Double_t DegToRad()
constexpr Double_t RadToDeg()