Project
Loading...
Searching...
No Matches
AlpideChip.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_ITSMFT_ALPIDECHIP_H_
17#define ALICEO2_ITSMFT_ALPIDECHIP_H_
18
19#include <TGeoManager.h> // for gGeoManager
20#include "Rtypes.h" // for Int_t, Double_t, Bool_t, UInt_t, etc
21
22class TGeoVolume;
23class TGeoManager;
24
25namespace o2
26{
27
28namespace itsmft
29{
30
33
35{
36 public:
37 AlpideChip() = default;
38 ~AlpideChip() = default;
39
47 static TGeoVolume* createChip(Double_t yc, Double_t ys,
48 char const* chipName = "AlpideChip", char const* sensName = "AlpideSensor",
49 Bool_t dummy = kFALSE, const TGeoManager* mgr = gGeoManager);
50
51 static void createMaterials(Int_t id, Int_t fieldType, Float_t maxField);
52
53 static constexpr Double_t sMetalLayerThick = 15.0 * 1.0E-4;
54
55 ClassDefNV(AlpideChip, 0); // AlpideChip geometry
56};
57
58} // namespace itsmft
59} // namespace o2
60
61#endif
static constexpr Double_t sMetalLayerThick
Metal layer thickness (um)
Definition AlpideChip.h:53
static void createMaterials(Int_t id, Int_t fieldType, Float_t maxField)
static TGeoVolume * createChip(Double_t yc, Double_t ys, char const *chipName="AlpideChip", char const *sensName="AlpideSensor", Bool_t dummy=kFALSE, const TGeoManager *mgr=gGeoManager)
ClassDefNV(AlpideChip, 0)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...