13#include "TGeoVolume.h"
14#include "TLorentzVector.h"
42 Bool_t
ProcessHits(FairVolume* v =
nullptr)
override;
49 Float_t vesselstart) {
61 TString e, TString f, TString v, Float_t r,
62 Float_t he_balloon_thickness,
63 TString he_balloon_med) {
147 Double_t wX_start, Double_t wX_end,
148 Double_t wY_start, Double_t wY_end,
149 Int_t color, TGeoMedium* material,
159 Double_t wX_start, Double_t wX_end,
160 Double_t wY_start, Double_t wY_end,
161 Int_t color, TGeoMedium* material,
167 void add_block(TGeoVolumeAssembly* outer_wall,
168 TGeoVolumeAssembly* longitudinal_rib,
169 TGeoVolumeAssembly* vertical_rib, TGeoVolumeAssembly* lisc,
170 int block_number,
int nx,
int ny,
double z1,
double z2,
171 double z_shift,
double cell_thickness_z,
double wall_thickness,
172 double lisc_thickness_start,
double lisc_thickness_end,
173 double rib_thickness);
176 TGeoVolumeAssembly*
GeoCornerRib(
const TString& xname,
double rib_thickness,
177 double lt1,
double lt2,
double dz,
178 double slopeX,
double slopeY, Int_t color,
179 TGeoMedium* material, Bool_t sens);
183 int makeId(
double z,
double x,
double y);
186 int liscId(
const TString& ShapeTypeName,
int block_number,
int Zlayer,
187 int number,
int position);
194 TGeoVolume*
GeoSideObj(
const TString& xname,
double dz,
double a1,
double b1,
195 double a2,
double b2,
double dA,
double dB,
196 Int_t color, TGeoMedium* material, Bool_t sens);
199 TGeoVolume*
GeoCornerLiSc1(
const TString& xname,
double dz,
bool isClockwise,
200 double a1,
double a2,
double b1,
double b2,
201 double dA,
double dB, Int_t color,
202 TGeoMedium* material, Bool_t sens);
205 TGeoVolume*
GeoCornerLiSc2(
const TString& xname,
double dz,
bool isClockwise,
206 double a1,
double a2,
double b1,
double b2,
207 double dA,
double dB, Int_t color,
208 TGeoMedium* material, Bool_t sens);
TGeoVolume * GeoTrapezoidHollow(TString xname, Double_t thick, Double_t wz, Double_t wX_start, Double_t wX_end, Double_t wY_start, Double_t wY_end, Int_t color, TGeoMedium *material, Bool_t sens)
TString supportMedIn_name
medium of internal support structure(Default = Aluminium).
TGeoVolumeAssembly * GeoCornerRib(const TString &xname, double rib_thickness, double lt1, double lt2, double dz, double slopeX, double slopeY, Int_t color, TGeoMedium *material, Bool_t sens)
TString decayVolumeMed_name
medium of decay volume(Default= helium).
void SetUseSupport(Int_t use=1)
int makeId(double z, double x, double y)
void SetVesselDimensions(Float_t x1, Float_t x2, Float_t y1, Float_t y2, Float_t vesselstart)
TGeoMedium * supportMedOut
TGeoMedium * decayVolumeMed
TGeoMedium * f_he_balloon_med
TGeoVolume * GeoCornerLiSc1(const TString &xname, double dz, bool isClockwise, double a1, double a2, double b1, double b2, double dA, double dB, Int_t color, TGeoMedium *material, Bool_t sens)
void SetVesselStructure(Float_t a, Float_t b, Float_t c, TString d, Float_t l, TString e, TString f, TString v, Float_t r, Float_t he_balloon_thickness, TString he_balloon_med)
Float_t VetoStartInnerX
Width of the Vessel along X at the start.
double wy(double z)
slope along the length (y)
Float_t f_LidThickness
Thickness of the entrance/exit lid of the Decay Volume.
Float_t VetoEndInnerX
Width of the Vessel along X at the end.
TGeoVolume * make_geo_trapezoid(const TString &xname, Double_t wz, Double_t wX_start, Double_t wX_end, Double_t wY_start, Double_t wY_end, Int_t color, TGeoMedium *material, Bool_t sens)
veto & operator=(const veto &)=delete
Int_t GetLiquidVeto() const
TGeoVolume * GeoCornerLiSc2(const TString &xname, double dz, bool isClockwise, double a1, double a2, double b1, double b2, double dA, double dB, Int_t color, TGeoMedium *material, Bool_t sens)
Float_t f_OuterSupportThickness
Float_t f_VetoThickness
Thickness of the liquid scintillator along z(Default = 20cm).
TGeoVolume * make_segments()
void SetLiquidVeto(Int_t liquid=1)
Bool_t ProcessHits(FairVolume *v=nullptr) override
Processes a hit in the veto detector.
Float_t f_he_balloon_thickness
Thickness of the He Balloon.
Float_t VetoEndInnerY
Length of the Vessel along Y at the end.
Float_t zStartDecayVol
z Position of the Decay Volume start in the global coordinate system
TGeoMedium * supportMedIn
TString supportMedOut_name
medium of external support structure(Default = Aluminium).
veto(const veto &)=delete
Float_t f_InnerSupportThickness
void ConstructGeometry() override
Constructs the detector geometry.
TString vetoMed_name
medium of veto counter, liquid or plastic scintillator
int liscId(const TString &ShapeTypeName, int block_number, int Zlayer, int number, int position)
TGeoVolume * GeoSideObj(const TString &xname, double dz, double a1, double b1, double a2, double b2, double dA, double dB, Int_t color, TGeoMedium *material, Bool_t sens)
TString f_he_balloon_med_name
medium of He Balloon(Default= PVC).
double wx(double z)
slope along the width (x)
veto()
Constructor for the Veto class.
Float_t VetoStartInnerY
Length of the Vessel along Y at the start.
Int_t fLiquidVeto
Flag option for Liquid Scintillator (Default=True).
Int_t GetUseSupport() const
void add_block(TGeoVolumeAssembly *outer_wall, TGeoVolumeAssembly *longitudinal_rib, TGeoVolumeAssembly *vertical_rib, TGeoVolumeAssembly *lisc, int block_number, int nx, int ny, double z1, double z2, double z_shift, double cell_thickness_z, double wall_thickness, double lisc_thickness_start, double lisc_thickness_end, double rib_thickness)