Project
Loading...
Searching...
No Matches
Hall.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_HALL_H
13#define ALICEO2_PASSIVE_HALL_H
14
15#include "FairModule.h" // for FairModule
16#include "DetectorsPassive/PassiveBase.h"
17
18namespace o2
19{
20namespace passive
21{
22class Hall : public PassiveBase
23{
24 public:
25 enum EMedium { kSTST_C2 = 50,
26 kAIR_C2 = 55,
27 kCC_C2 = 57,
28 kCC_C0 = 17,
29 kFE_C2 = 52 };
30
31 Hall(const char* name, const char* Title = "ALICE Experimental Hall");
32 Hall();
33 ~Hall() override;
34 void ConstructGeometry() override;
35
37 FairModule* CloneModule() const override;
38
39 private:
40 void createMaterials();
41 Hall(const Hall& orig);
42 Hall& operator=(const Hall&);
43
44 void setNewShield24() { mNewShield24 = true; }
45 void setRackShield() { mRackShield = true; }
46 bool mNewShield24 = false; // Option for new shielding in PX24 and RB24
47 bool mRackShield = false; // Additional rack shielding
48
49 ClassDefOverride(o2::passive::Hall, 1);
50};
51} // namespace passive
52} // namespace o2
53
54#endif
~Hall() override
void ConstructGeometry() override
Definition Hall.cxx:112
FairModule * CloneModule() const override
Clone this object (used in MT mode only)
Definition Hall.cxx:539
a common base class for passive modules - implementing generic functions
Definition PassiveBase.h:24
GLuint const GLchar * name
Definition glcorearb.h:781
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...