Project
Loading...
Searching...
No Matches
Ladder.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
16
17#ifndef ALICEO2_MFT_LADDER_H_
18#define ALICEO2_MFT_LADDER_H_
19
20#include "TNamed.h"
21#include "TGeoVolume.h"
22
23namespace o2
24{
25namespace mft
26{
27class LadderSegmentation;
28}
29} // namespace o2
30namespace o2
31{
32namespace mft
33{
34class Flex;
35}
36} // namespace o2
37
38namespace o2
39{
40namespace mft
41{
42
43class Ladder : public TNamed
44{
45
46 public:
47 Ladder();
48 Ladder(LadderSegmentation* segmentation);
49
50 ~Ladder() override;
51
52 TGeoVolume* createVolume();
53 void createSensors();
54
55 private:
56 const static Double_t sLadderDeltaY;
57 const static Double_t sLadderDeltaZ;
58 LadderSegmentation* mSegmentation;
59 Flex* mFlex;
60 TGeoVolumeAssembly* mLadderVolume;
61
62 ClassDefOverride(Ladder, 1);
63};
64} // namespace mft
65} // namespace o2
66
67#endif
Ladder()
Default constructor.
Definition Ladder.cxx:49
void createSensors()
Build the sensors.
Definition Ladder.cxx:99
~Ladder() override
Definition Ladder.cxx:63
TGeoVolume * createVolume()
Build the ladder.
Definition Ladder.cxx:68
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...