KaliVeda
Toolkit for HIC analysis
KVFAZIABeltConfig.h
1 
4 #ifndef __KVFAZIABELTCONFIG3X2_H
5 #define __KVFAZIABELTCONFIG3X2_H
6 
7 #include "TGeoVolume.h"
15 
18 
19  void BuildBelt(int nblocsX, int nblocsY, Double_t distance_correction);
20 
21 public:
22  KVFAZIABeltConfig(int nblocsX, int nblocsY, Double_t dist = 100.0, Double_t inter_block = 0.5, double distance_correction = 5)
23  : TGeoVolumeAssembly("STRUCT_BELT"),
24  fDist(dist), fInterBlock(inter_block)
25  {
27  BuildBelt(nblocsX, nblocsY, distance_correction);
28  }
29  virtual ~KVFAZIABeltConfig() {}
30 
31  ClassDef(KVFAZIABeltConfig, 1) //blocks of FAZIA in a belt of NxM blocks
32 };
33 
34 #endif
double Double_t
#define ClassDef(name, id)
A rectangular array of FAZIA blocks.
Double_t fDist
distance of centre of belt from target
virtual ~KVFAZIABeltConfig()
KVFAZIABeltConfig(int nblocsX, int nblocsY, Double_t dist=100.0, Double_t inter_block=0.5, double distance_correction=5)
void BuildBelt(int nblocsX, int nblocsY, Double_t distance_correction)
set up blocks in grid
Double_t fInterBlock
spacing between blocks
double dist(AxisAngle const &r1, AxisAngle const &r2)