ATLAS Offline Software
LArCalorimeter
LArG4
LArG4RunControl
LArG4RunControl
LArGeoTBH1GeoOptions.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARG4RUNCONTROL_LARGEOTBH1GEOOPTIONS_H
6
#define LARG4RUNCONTROL_LARGEOTBH1GEOOPTIONS_H
7
#include "CLHEP/Units/SystemOfUnits.h"
8
9
// ----------------------------------------------------------------------//
10
// //
11
// This class defines options for the Positioning of Test Beam components//
12
// in test beam simulation. It sets the nickname and nicknumber of //
13
// a row in the LArTBPositions table in Oracle (or replica). It is //
14
// originally used in the LAr H6 2003 TB but is probably applicable and //
15
// going to be used in other test beam situations. //
16
// //
17
//-----------------------------------------------------------------------//
18
19
class
LArGeoTBH1GeoOptions
{
20
21
public
:
22
// A constructor to insure that the data starts up with a reasonable set
23
// of defaults:
24
25
inline
LArGeoTBH1GeoOptions
() :
26
m_CryoXPosition
(0.0),
27
m_TableYPosition
(0.0)
28
{}
29
30
void
saveMe
();
31
void
printMe
();
32
33
// Set methods
34
inline
void
CryoXPosition
(
double
value
) {
m_CryoXPosition
=
value
; }
35
inline
void
TableYPosition
(
double
value
) {
m_TableYPosition
=
value
; }
36
37
// Get methods
38
inline
double
CryoXPosition
(
void
)
const
{
return
m_CryoXPosition
; }
39
inline
double
TableYPosition
(
void
)
const
{
return
m_TableYPosition
; }
40
41
private
:
42
// X position of cryostat
43
double
m_CryoXPosition
;
44
// Y position of beamline table
45
double
m_TableYPosition
;
46
47
};
48
49
#ifndef GAUDI_NEUTRAL
50
#include "
AthenaKernel/CLASS_DEF.h
"
51
CLASS_DEF
(
LArGeoTBH1GeoOptions
, 104187856, 1)
52
#endif
53
54
#endif
LArGeoTBH1GeoOptions::TableYPosition
void TableYPosition(double value)
Definition:
LArGeoTBH1GeoOptions.h:35
LArGeoTBH1GeoOptions::printMe
void printMe()
Definition:
LArGeoTBH1GeoOptions.cxx:23
LArGeoTBH1GeoOptions::CryoXPosition
void CryoXPosition(double value)
Definition:
LArGeoTBH1GeoOptions.h:34
LArGeoTBH1GeoOptions::m_CryoXPosition
double m_CryoXPosition
Definition:
LArGeoTBH1GeoOptions.h:43
athena.value
value
Definition:
athena.py:124
LArGeoTBH1GeoOptions::TableYPosition
double TableYPosition(void) const
Definition:
LArGeoTBH1GeoOptions.h:39
LArGeoTBH1GeoOptions::m_TableYPosition
double m_TableYPosition
Definition:
LArGeoTBH1GeoOptions.h:45
LArGeoTBH1GeoOptions
Definition:
LArGeoTBH1GeoOptions.h:19
LArGeoTBH1GeoOptions::CryoXPosition
double CryoXPosition(void) const
Definition:
LArGeoTBH1GeoOptions.h:38
LArGeoTBH1GeoOptions::LArGeoTBH1GeoOptions
LArGeoTBH1GeoOptions()
Definition:
LArGeoTBH1GeoOptions.h:25
LArGeoTBH1GeoOptions::saveMe
void saveMe()
Definition:
LArGeoTBH1GeoOptions.cxx:11
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition:
Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
CLASS_DEF.h
macros to associate a CLID to a type
Generated on Sun Dec 22 2024 21:13:29 for ATLAS Offline Software by
1.8.18