ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArG4
LArG4RunControl
LArG4RunControl
LArGeoTB2004Options.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef LARG4RUNCONTROL_LARGEOTB2004OPTIONS_H
6
#define LARG4RUNCONTROL_LARGEOTB2004OPTIONS_H
7
#include "CLHEP/Units/SystemOfUnits.h"
8
9
// ----------------------------------------------------------------------//
10
// //
11
// This is for the 2004 Combined Endcap Test Beam //
12
// //
13
//-----------------------------------------------------------------------//
14
15
class
LArGeoTB2004Options
{
16
17
public
:
18
// A constructor to insure that the data starts up with a reasonable set
19
// of defaults:
20
21
inline
LArGeoTB2004Options
() :
22
m_CryoXPosition
(0.0),
23
m_TableYPosition
(0.0),
24
m_Run1
(false),
m_emec
(true),
m_hec
(true),
m_fcal
(true),
m_coldnose
(true),
m_printstep
(false),
m_checkprim
(false),
m_checkother
(false)
25
{}
26
27
void
saveMe
();
28
void
printMe
()
const
;
29
30
// Set methods
31
inline
void
CryoXPosition
(
double
value) {
m_CryoXPosition
= value; }
32
inline
void
TableYPosition
(
double
value) {
m_TableYPosition
= value; }
33
inline
void
Run1
(
bool
value) {
m_Run1
= value; }
34
inline
void
Emec
(
bool
value) {
m_emec
= value; }
35
inline
void
Hec
(
bool
value) {
m_hec
= value; }
36
inline
void
Fcal
(
bool
value) {
m_fcal
= value; }
37
inline
void
Coldnose
(
bool
value) {
m_coldnose
= value; }
38
inline
void
Printstep
(
bool
value) {
m_printstep
= value; }
39
inline
void
Checkprim
(
bool
value) {
m_checkprim
= value; }
40
inline
void
Checkother
(
bool
value) {
m_checkother
= value; }
41
42
// Get methods
43
inline
double
CryoXPosition
(
void
)
const
{
return
m_CryoXPosition
; }
44
inline
double
TableYPosition
(
void
)
const
{
return
m_TableYPosition
; }
45
inline
bool
isRun1
(
void
)
const
{
return
m_Run1
; }
46
inline
bool
isEmec
(
void
)
const
{
return
m_emec
; }
47
inline
bool
isHec
(
void
)
const
{
return
m_hec
; }
48
inline
bool
isFcal
(
void
)
const
{
return
m_fcal
; }
49
inline
bool
isColdnose
(
void
)
const
{
return
m_coldnose
; }
50
inline
bool
isPrintstep
(
void
)
const
{
return
m_printstep
; }
51
inline
bool
isCheckprim
(
void
)
const
{
return
m_checkprim
; }
52
inline
bool
isCheckother
(
void
)
const
{
return
m_checkother
; }
53
54
private
:
55
// X position of cryostat
56
double
m_CryoXPosition
;
57
// Y position of beamline table
58
double
m_TableYPosition
;
59
// is this a RUN-II ?
60
bool
m_Run1
;
61
// construct EMEC ?
62
bool
m_emec
;
63
// construct HEC ?
64
bool
m_hec
;
65
// construct FCAL ?
66
bool
m_fcal
;
67
// construct ColdNose ?
68
bool
m_coldnose
;
69
// printing stepping info ?
70
bool
m_printstep
;
71
// checking primary particle ?
72
bool
m_checkprim
;
73
// other checks ?
74
bool
m_checkother
;
75
76
};
77
78
#ifndef GAUDI_NEUTRAL
79
#include "
AthenaKernel/CLASS_DEF.h
"
80
CLASS_DEF
(
LArGeoTB2004Options
, 120300909, 1)
81
#endif
82
83
#endif
CLASS_DEF.h
macros to associate a CLID to a type
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:67
LArGeoTB2004Options
Definition
LArGeoTB2004Options.h:15
LArGeoTB2004Options::m_coldnose
bool m_coldnose
Definition
LArGeoTB2004Options.h:68
LArGeoTB2004Options::Checkother
void Checkother(bool value)
Definition
LArGeoTB2004Options.h:40
LArGeoTB2004Options::printMe
void printMe() const
Definition
LArGeoTB2004Options.cxx:23
LArGeoTB2004Options::isEmec
bool isEmec(void) const
Definition
LArGeoTB2004Options.h:46
LArGeoTB2004Options::Printstep
void Printstep(bool value)
Definition
LArGeoTB2004Options.h:38
LArGeoTB2004Options::m_hec
bool m_hec
Definition
LArGeoTB2004Options.h:64
LArGeoTB2004Options::saveMe
void saveMe()
Definition
LArGeoTB2004Options.cxx:11
LArGeoTB2004Options::TableYPosition
double TableYPosition(void) const
Definition
LArGeoTB2004Options.h:44
LArGeoTB2004Options::CryoXPosition
double CryoXPosition(void) const
Definition
LArGeoTB2004Options.h:43
LArGeoTB2004Options::isRun1
bool isRun1(void) const
Definition
LArGeoTB2004Options.h:45
LArGeoTB2004Options::Emec
void Emec(bool value)
Definition
LArGeoTB2004Options.h:34
LArGeoTB2004Options::m_Run1
bool m_Run1
Definition
LArGeoTB2004Options.h:60
LArGeoTB2004Options::Checkprim
void Checkprim(bool value)
Definition
LArGeoTB2004Options.h:39
LArGeoTB2004Options::Coldnose
void Coldnose(bool value)
Definition
LArGeoTB2004Options.h:37
LArGeoTB2004Options::m_checkother
bool m_checkother
Definition
LArGeoTB2004Options.h:74
LArGeoTB2004Options::m_CryoXPosition
double m_CryoXPosition
Definition
LArGeoTB2004Options.h:56
LArGeoTB2004Options::m_fcal
bool m_fcal
Definition
LArGeoTB2004Options.h:66
LArGeoTB2004Options::m_checkprim
bool m_checkprim
Definition
LArGeoTB2004Options.h:72
LArGeoTB2004Options::m_printstep
bool m_printstep
Definition
LArGeoTB2004Options.h:70
LArGeoTB2004Options::isCheckother
bool isCheckother(void) const
Definition
LArGeoTB2004Options.h:52
LArGeoTB2004Options::LArGeoTB2004Options
LArGeoTB2004Options()
Definition
LArGeoTB2004Options.h:21
LArGeoTB2004Options::isCheckprim
bool isCheckprim(void) const
Definition
LArGeoTB2004Options.h:51
LArGeoTB2004Options::TableYPosition
void TableYPosition(double value)
Definition
LArGeoTB2004Options.h:32
LArGeoTB2004Options::isColdnose
bool isColdnose(void) const
Definition
LArGeoTB2004Options.h:49
LArGeoTB2004Options::CryoXPosition
void CryoXPosition(double value)
Definition
LArGeoTB2004Options.h:31
LArGeoTB2004Options::m_TableYPosition
double m_TableYPosition
Definition
LArGeoTB2004Options.h:58
LArGeoTB2004Options::Run1
void Run1(bool value)
Definition
LArGeoTB2004Options.h:33
LArGeoTB2004Options::isPrintstep
bool isPrintstep(void) const
Definition
LArGeoTB2004Options.h:50
LArGeoTB2004Options::m_emec
bool m_emec
Definition
LArGeoTB2004Options.h:62
LArGeoTB2004Options::isFcal
bool isFcal(void) const
Definition
LArGeoTB2004Options.h:48
LArGeoTB2004Options::Fcal
void Fcal(bool value)
Definition
LArGeoTB2004Options.h:36
LArGeoTB2004Options::Hec
void Hec(bool value)
Definition
LArGeoTB2004Options.h:35
LArGeoTB2004Options::isHec
bool isHec(void) const
Definition
LArGeoTB2004Options.h:47
Generated on
for ATLAS Offline Software by
1.17.0