ATLAS Offline Software
Loading...
Searching...
No Matches
BarrelConstruction.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
5// BarrelConstruction
6// Insert the LAr Barrel into a pre-defined mother volume.
7// Author: Gaston Parrour translated to GeoModel by G.Unal
8
9#ifndef LARGEOBARREL_BARRELCONSTRUCTION_H
10#define LARGEOBARREL_BARRELCONSTRUCTION_H
11
12#include "GeoModelKernel/GeoFullPhysVol.h"
14
15namespace LArGeo{
17}
18
19namespace LArGeo {
20
22 {
23 public:
24
25 // Constructor;
26 BarrelConstruction(bool fullGeo, const VDetectorParameters* params);
27
28 // Destructor:
30
31 // Get the envelope containing this detector.
32 GeoIntrusivePtr<GeoFullPhysVol> GetPositiveEnvelope();
33 GeoIntrusivePtr<GeoFullPhysVol> GetNegativeEnvelope();
34
35 // Set parameters for the barrel.
36 void setBarrelSagging(bool flag) {m_A_SAGGING = flag;}
38
39 void printParams();
40
41 private:
42
43 void MakeEnvelope();
44
45 // It is illegal to copy a BarrelConstruction:
47
48 // It is illegal to assign a BarrelConstruction:
50
51 // Detector parameters ACCG, ACCA, ACMB, ACCO
53
55 int m_NVISLIM{-1};
56
57 // volumes that are private member variables:
58 GeoIntrusivePtr<GeoFullPhysVol> m_ecamPhysicalPos{};
59 GeoIntrusivePtr<GeoFullPhysVol> m_ecamPhysicalNeg{};
60
61 bool m_fullGeo{}; // true->FULL, false->RECO
62 };
63
64
65
66} // namespace LArGeo
67
68#endif // LARGEOBARREL_BARRELCONSTRUCTION_H
#define maxCell
AthMessaging(IMessageSvc *msgSvc, const std::string &name)
Constructor.
GeoIntrusivePtr< GeoFullPhysVol > m_ecamPhysicalNeg
BarrelConstruction(const BarrelConstruction &)
GeoIntrusivePtr< GeoFullPhysVol > m_ecamPhysicalPos
GeoIntrusivePtr< GeoFullPhysVol > GetPositiveEnvelope()
void setBarrelCellVisLimit(int maxCell)
BarrelConstruction(bool fullGeo, const VDetectorParameters *params)
GeoIntrusivePtr< GeoFullPhysVol > GetNegativeEnvelope()
BarrelConstruction & operator=(const BarrelConstruction &)
const LArGeo::VDetectorParameters * m_parameters