Project
Loading...
Searching...
No Matches
Flex.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
15
16#ifndef ALICEO2_MFT_FLEX_H_
17#define ALICEO2_MFT_FLEX_H_
18
19class TGeoVolume;
20class TGeoVolumeAssembly;
21
22namespace o2
23{
24namespace mft
25{
26
27class Flex
28{
29
30 public:
31 Flex();
32 Flex(LadderSegmentation* ladder);
34 TGeoVolumeAssembly* makeFlex(Int_t nbsensors, Double_t length);
35 void makeElectricComponents(TGeoVolumeAssembly* flex, Int_t nbsensors, Double_t length, Double_t zvarnish);
36
37 private:
38 TGeoVolume* makeLines(Int_t nbsensors, Double_t length, Double_t width, Double_t thickness);
39 TGeoVolume* makeAGNDandDGND(Double_t length, Double_t width, Double_t thickness);
40 TGeoVolume* makeKapton(Double_t length, Double_t width, Double_t thickness);
41 TGeoVolume* makeVarnish(Double_t length, Double_t width, Double_t thickness, Int_t iflag);
42 TGeoVolumeAssembly* makeElectricComponent(Double_t dx, Double_t dy, Double_t dz, Int_t iflag);
43
44 Double_t* mFlexOrigin;
45 LadderSegmentation* mLadderSeg;
46
47 ClassDefNV(Flex, 1);
48};
49} // namespace mft
50} // namespace o2
51
52#endif
void makeElectricComponents(TGeoVolumeAssembly *flex, Int_t nbsensors, Double_t length, Double_t zvarnish)
Definition Flex.cxx:109
TGeoVolumeAssembly * makeFlex(Int_t nbsensors, Double_t length)
Definition Flex.cxx:56
GLint GLsizei width
Definition glcorearb.h:270
GLuint GLsizei GLsizei * length
Definition glcorearb.h:790
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...