Project
Loading...
Searching...
No Matches
PipeRun4.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 ALICEO2_PASSIVE_PIPERUN4_H
13#define ALICEO2_PASSIVE_PIPERUN4_H
14
15#include "DetectorsPassive/PassiveBase.h"
16#include "Rtypes.h" // for PipeRun4::Class, ClassDef, PipeRun4::Streamer
17
18class TGeoPcon;
19
20namespace o2
21{
22namespace passive
23{
24class PipeRun4 : public PassiveBase
25{
26 public:
27 PipeRun4(const char* name, const char* Title = "Alice Pipe", float rho = 0.f, float thick = 0.f);
28 PipeRun4();
29
30 ~PipeRun4() override;
31 void ConstructGeometry() override;
32
34 FairModule* CloneModule() const override;
35
36 float getRmin() const { return mBePipeRmax - mBePipeThick; }
37 float getRmax() const { return mBePipeRmax; }
38 float getWidth() const { return mBePipeThick; }
39 float getDz() const { return mIpHLength; }
40
41 private:
42 void createMaterials();
43 PipeRun4(const PipeRun4& orig);
44 PipeRun4& operator=(const PipeRun4&);
45
46 TGeoPcon* makeMotherFromTemplate(const TGeoPcon* shape, int imin = -1, int imax = -1, float r0 = 0.,
47 int nz = -1);
48 TGeoPcon* makeInsulationFromTemplate(TGeoPcon* shape);
49 TGeoVolume* makeBellow(const char* ext, int nc, float rMin, float rMax, float dU, float rPlie,
50 float dPlie);
51 TGeoVolume* makeBellowCside(const char* ext, int nc, float rMin, float rMax, float rPlie, float dPlie);
52
53 TGeoVolume* makeSupportBar(const char* tag, float Rin, float Rout, float length, float skinLength);
54
55 float mBePipeRmax = 0.; // outer diameter of the Be section
56 float mBePipeThick = 0.; // Be section thickness
57 float mIpHLength = 0.; // half length of the beampipe around the IP // FixMe: up to now, hardcoded to 57.25cm
58
59 ClassDefOverride(PipeRun4, 1);
60};
61} // namespace passive
62} // namespace o2
63#endif // ALICEO2_PASSIVE_PIPERUN4_H
a common base class for passive modules - implementing generic functions
Definition PassiveBase.h:24
float getRmin() const
Definition PipeRun4.h:36
float getRmax() const
Definition PipeRun4.h:37
FairModule * CloneModule() const override
Clone this object (used in MT mode only)
float getDz() const
Definition PipeRun4.h:39
float getWidth() const
Definition PipeRun4.h:38
void ConstructGeometry() override
Definition PipeRun4.cxx:67
GLuint const GLchar * name
Definition glcorearb.h:781
GLuint GLsizei GLsizei * length
Definition glcorearb.h:790
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...