Project
Loading...
Searching...
No Matches
TF3Chip.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_IOTOF_TF3CHIP_H_
13#define ALICEO2_IOTOF_TF3CHIP_H_
14
15#include <TGeoManager.h> // for gGeoManager
16#include "Rtypes.h" // for Int_t, Double_t, Bool_t, UInt_t, etc
17
18class TGeoVolume;
19class TGeoManager;
20
21namespace o2
22{
23
24namespace iotof
25{
26
28
30{
31 public:
32 TF3Chip() = default;
33 ~TF3Chip() = default;
34
42 static TGeoVolume* createChip(Double_t yc, Double_t ys,
43 char const* chipName = "TF3Chip", char const* sensName = "TF3Sensor",
44 Bool_t dummy = kFALSE, const TGeoManager* mgr = gGeoManager);
45
46 static void createMaterials(Int_t id, Int_t fieldType, Float_t maxField);
47
48 static const double getChipSizeX() { return sChipSizeX; };
49 static const double getChipSizeY() { return sChipSizeZ; };
50
51 static const double sChipSizeX;
52 static const double sChipSizeZ;
53
54 ClassDefNV(TF3Chip, 0); // TF3Chip geometry
55};
56
57} // namespace iotof
58} // namespace o2
59
60#endif
TF3Chip class creates a TGeoVolume representing the TF3 Chip.
Definition TF3Chip.h:30
static void createMaterials(Int_t id, Int_t fieldType, Float_t maxField)
Definition TF3Chip.cxx:104
static const double sChipSizeZ
Definition TF3Chip.h:52
static const double getChipSizeX()
Definition TF3Chip.h:48
static const double getChipSizeY()
Definition TF3Chip.h:49
ClassDefNV(TF3Chip, 0)
static TGeoVolume * createChip(Double_t yc, Double_t ys, char const *chipName="TF3Chip", char const *sensName="TF3Sensor", Bool_t dummy=kFALSE, const TGeoManager *mgr=gGeoManager)
Definition TF3Chip.cxx:33
static const double sChipSizeX
Definition TF3Chip.h:51
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...