Project
Loading...
Searching...
No Matches
VDGeometryBuilder.h
Go to the documentation of this file.
1// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
12#ifndef O2_TRK_VDGEOMETRYBUILDER_H
13#define O2_TRK_VDGEOMETRYBUILDER_H
14
15class TGeoVolume;
16
17#include <string>
18#include <vector>
19
20namespace o2::trk
21{
22
23// Build full VD for each design.
24// Each function builds one local petal assembly (walls + layers + disks)
25// and then places/rotates the petal once into the mother volume.
26
27void createIRIS4Geometry(TGeoVolume* motherVolume); // 4 petals, cylindrical L0
28void createIRIS4aGeometry(TGeoVolume* motherVolume); // 3 petals, cylindrical L0
29void createIRIS5Geometry(TGeoVolume* motherVolume); // 4 petals, rectangular L0
30
31void createSinglePetalDebug(TGeoVolume* motherVolume, int petalID = 0, int nPetals = 4, bool rectangularL0 = false);
32
33} // namespace o2::trk
34
35#endif // O2_TRK_VDGEOMETRYBUILDER_H
void createSinglePetalDebug(TGeoVolume *motherVolume, int petalID=0, int nPetals=4, bool rectangularL0=false)
void createIRIS4aGeometry(TGeoVolume *motherVolume)
void createIRIS4Geometry(TGeoVolume *motherVolume)
void createIRIS5Geometry(TGeoVolume *motherVolume)