ATLAS Offline Software
LArCalorimeter
LArG4
LArG4RunControl
LArG4RunControl
LArGeoTBGeometricOptions.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_LARGEOTBGEOMETRICOPTIONS_H
6
#define LARG4RUNCONTROL_LARGEOTBGEOMETRICOPTIONS_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
LArGeoTBGeometricOptions
{
20
21
public
:
22
// A constructor to insure that the data starts up with a reasonable set
23
// of defaults:
24
25
inline
LArGeoTBGeometricOptions
() :
26
m_CryoEtaPosition
(0.),
27
m_CryoPhiPosition
(0.)
28
{}
29
30
void
saveMe
();
31
void
printMe
();
32
33
// Set methods
34
inline
void
CryoEtaPosition
(
double
value
) {
m_CryoEtaPosition
=
value
; }
35
inline
void
CryoPhiPosition
(
double
value
) {
m_CryoPhiPosition
=
value
; }
36
37
// Get methods
38
inline
double
CryoEtaPosition
(
void
)
const
{
return
m_CryoEtaPosition
; }
39
inline
double
CryoPhiPosition
(
void
)
const
{
return
m_CryoPhiPosition
; }
40
41
private
:
42
43
// Eta position of cryostat
44
double
m_CryoEtaPosition
;
45
46
// Phi position of cryostat
47
double
m_CryoPhiPosition
;
48
49
};
50
51
#ifndef GAUDI_NEUTRAL
52
#include "
AthenaKernel/CLASS_DEF.h
"
53
CLASS_DEF
(
LArGeoTBGeometricOptions
, 205400553, 1)
54
#endif
55
56
#endif
LArGeoTBGeometricOptions::CryoEtaPosition
void CryoEtaPosition(double value)
Definition:
LArGeoTBGeometricOptions.h:34
LArGeoTBGeometricOptions::CryoEtaPosition
double CryoEtaPosition(void) const
Definition:
LArGeoTBGeometricOptions.h:38
athena.value
value
Definition:
athena.py:124
LArGeoTBGeometricOptions::m_CryoPhiPosition
double m_CryoPhiPosition
Definition:
LArGeoTBGeometricOptions.h:47
LArGeoTBGeometricOptions::CryoPhiPosition
void CryoPhiPosition(double value)
Definition:
LArGeoTBGeometricOptions.h:35
LArGeoTBGeometricOptions::printMe
void printMe()
Definition:
LArGeoTBGeometricOptions.cxx:23
LArGeoTBGeometricOptions::saveMe
void saveMe()
Definition:
LArGeoTBGeometricOptions.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
LArGeoTBGeometricOptions
Definition:
LArGeoTBGeometricOptions.h:19
LArGeoTBGeometricOptions::m_CryoEtaPosition
double m_CryoEtaPosition
Definition:
LArGeoTBGeometricOptions.h:44
LArGeoTBGeometricOptions::CryoPhiPosition
double CryoPhiPosition(void) const
Definition:
LArGeoTBGeometricOptions.h:39
LArGeoTBGeometricOptions::LArGeoTBGeometricOptions
LArGeoTBGeometricOptions()
Definition:
LArGeoTBGeometricOptions.h:25
Generated on Sun Dec 22 2024 21:13:29 for ATLAS Offline Software by
1.8.18