ATLAS Offline Software
Loading...
Searching...
No Matches
LArG4TBPosOptions.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 LARG4RUNCONTTROL_LARG4TBPOSOPTIONS_H
6#define LARG4RUNCONTTROL_LARG4TBPOSOPTIONS_H
7#include "CLHEP/Units/SystemOfUnits.h"
8#include <string>
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
20
21 public:
22 // A constructor to insure that the data starts up with a reasonable set
23 // of defaults:
24
26 m_PositionNickname("POSITION1"),
28
29 void saveMe();
30 void printMe();
31
32 // Set methods
33 inline void PositionNickname (const std::string & value) { m_PositionNickname = value; }
34 inline void PositionNicknumber(int value) { m_PositionNicknumber = value; }
35
36 // Get methods
37 inline const std::string & PositionNickname(void) const { return m_PositionNickname; }
38 inline int PositionNicknumber(void) const { return m_PositionNicknumber; }
39
40 private:
41
42 // Value of the substep length in the current simulation
43 std::string m_PositionNickname;
44
45 // Width of the time bins
47
48};
49
50#ifndef GAUDI_NEUTRAL
52CLASS_DEF(LArG4TBPosOptions, 321345482, 1)
53#endif
54
55#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
int PositionNicknumber(void) const
const std::string & PositionNickname(void) const
void PositionNickname(const std::string &value)
void PositionNicknumber(int value)
std::string m_PositionNickname