Project
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
TRKPetalDisk.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
14
15#ifndef ALICEO2_TRK_PETAL_DISK_H_
16#define ALICEO2_TRK_PETAL_DISK_H_
17
18#include "TGeoManager.h" // for gGeoManager
19#include "Rtypes.h" // for Double_t, Int_t, Bool_t, etc
20#include <fairlogger/Logger.h> // for LOG
21
22namespace o2
23{
24namespace trk
25{
26
29{
30 public:
31 TRKPetalDisk() = default;
32 TRKPetalDisk(Int_t diskNumber, std::string diskName, Float_t z, Float_t rIn, Float_t rOut, Float_t angularCoverage, Float_t Diskx2X0);
33 ~TRKPetalDisk() = default;
34
35 auto getInnerRadius() const { return mInnerRadius; }
36 auto getOuterRadius() const { return mOuterRadius; }
37 auto getThickness() const { return mChipThickness; }
38 auto getAngularCoverage() const { return mAngularCoverage; }
39 auto getZ() const { return mZ; }
40 auto getx2X0() const { return mx2X0; }
41 auto getName() const { return mDiskName; }
42 auto getSensorName() const { return mSensorName; }
43
46 void createDisk(TGeoVolume* motherVolume, TGeoCombiTrans* combiTrans);
47
48 private:
49 Int_t mDiskNumber = -1;
50 std::string mDiskName;
51 std::string mSensorName;
52 Double_t mInnerRadius;
53 Double_t mOuterRadius;
54 Double_t mAngularCoverage;
55 Double_t mZ;
56 Double_t mChipThickness;
57 Double_t mx2X0;
58
59 ClassDef(TRKPetalDisk, 1);
60};
61} // namespace trk
62} // namespace o2
63
64#endif // ALICEO2_TRK_PETAL_DISK_H
This class defines the Geometry for the TRK Disk TGeo.
auto getOuterRadius() const
auto getAngularCoverage() const
auto getInnerRadius() const
auto getSensorName() const
auto getThickness() const
void createDisk(TGeoVolume *motherVolume, TGeoCombiTrans *combiTrans)
GLdouble GLdouble GLdouble z
Definition glcorearb.h:843
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...