ATLAS Offline Software
Loading...
Searching...
No Matches
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
16
17 public:
18 // A constructor to insure that the data starts up with a reasonable set
19 // of defaults:
20
22 m_CryoXPosition(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
57 // Y position of beamline table
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 ?
69 // printing stepping info ?
71 // checking primary particle ?
73 // other checks ?
75
76};
77
78#ifndef GAUDI_NEUTRAL
80CLASS_DEF(LArGeoTB2004Options, 120300909, 1)
81#endif
82
83#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void Checkother(bool value)
bool isEmec(void) const
void Printstep(bool value)
double TableYPosition(void) const
double CryoXPosition(void) const
bool isRun1(void) const
void Checkprim(bool value)
void Coldnose(bool value)
bool isCheckother(void) const
bool isCheckprim(void) const
void TableYPosition(double value)
bool isColdnose(void) const
void CryoXPosition(double value)
bool isPrintstep(void) const
bool isFcal(void) const