ATLAS Offline Software
L1CaloRunParameters.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef TRIGT1CALOCALIBCONDITIONS_L1CALORUNPARAMETERS_H
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 #define TRIGT1CALOCALIBCONDITIONS_L1CALORUNPARAMETERS_H
7 
8 #include <string>
9 #include <iostream>
10 
18 {
19  friend std::ostream& operator<<(std::ostream& output, const L1CaloRunParameters& r);
20 public:
22  L1CaloRunParameters(unsigned int channelId, const std::string& runType, const std::string& runActionName, unsigned int runActionVersion, const std::string& readoutConfig, unsigned int readoutConfigID, const std::string& ttcConfiguration, unsigned int ttcConfigurationID, const std::string& triggerMenu, const std::string& calibration, const std::string& conditions);
23 
24  unsigned int channelId() const { return m_channelId; }
25  const std::string& runType() const { return m_runType; }
26  const std::string& runActionName() const { return m_runActionName; }
27  unsigned int runActionVersion() const { return m_runActionVersion; }
28  const std::string& readoutConfig() const { return m_readoutConfig; }
29  unsigned int readoutConfigID() const { return m_readoutConfigID; }
30  const std::string& ttcConfiguration() const { return m_ttcConfiguration; }
31  unsigned int ttcConfigurationID() const { return m_ttcConfigurationID; }
32  const std::string& triggerMenu() const { return m_triggerMenu; }
33  const std::string& calibration() const { return m_calibration; }
34  const std::string& conditions() const { return m_conditions; }
35 
36  void setChannelId(unsigned int channelId) { m_channelId = channelId; }
37  void setrunType(const std::string& runType) { m_runType = runType; }
44  void settriggerMenu(const std::string& triggerMenu) { m_triggerMenu = triggerMenu; }
45  void setcalibration(const std::string& calibration) { m_calibration = calibration; }
46  void setconditions(const std::string& conditions) { m_conditions = conditions; }
47 
48 private:
49  unsigned int m_channelId = 0;
50  std::string m_runType;
51  std::string m_runActionName;
52  unsigned int m_runActionVersion = 0;
53  std::string m_readoutConfig;
54  unsigned int m_readoutConfigID = 0;
55  std::string m_ttcConfiguration;
56  unsigned int m_ttcConfigurationID = 0;
57  std::string m_triggerMenu;
58  std::string m_calibration;
59  std::string m_conditions;
60 };
61 
62 #endif // TRIGT1CALOCALIBCONDITIONS_L1CALORUNPARAMETERS_H
L1CaloRunParameters::runActionName
const std::string & runActionName() const
Definition: L1CaloRunParameters.h:26
beamspotman.r
def r
Definition: beamspotman.py:676
L1CaloRunParameters::m_readoutConfig
std::string m_readoutConfig
Definition: L1CaloRunParameters.h:53
L1CaloRunParameters::setrunActionVersion
void setrunActionVersion(unsigned int runActionVersion)
Definition: L1CaloRunParameters.h:39
L1CaloRunParameters::triggerMenu
const std::string & triggerMenu() const
Definition: L1CaloRunParameters.h:32
L1CaloRunParameters::m_runActionVersion
unsigned int m_runActionVersion
Definition: L1CaloRunParameters.h:52
L1CaloRunParameters::L1CaloRunParameters
L1CaloRunParameters()
Definition: L1CaloRunParameters.h:21
L1CaloRunParameters::setreadoutConfig
void setreadoutConfig(const std::string &readoutConfig)
Definition: L1CaloRunParameters.h:40
L1CaloRunParameters::runType
const std::string & runType() const
Definition: L1CaloRunParameters.h:25
L1CaloRunParameters::channelId
unsigned int channelId() const
Definition: L1CaloRunParameters.h:24
L1CaloRunParameters::settriggerMenu
void settriggerMenu(const std::string &triggerMenu)
Definition: L1CaloRunParameters.h:44
L1CaloRunParameters::m_ttcConfigurationID
unsigned int m_ttcConfigurationID
Definition: L1CaloRunParameters.h:56
L1CaloRunParameters::m_ttcConfiguration
std::string m_ttcConfiguration
Definition: L1CaloRunParameters.h:55
L1CaloRunParameters::operator<<
friend std::ostream & operator<<(std::ostream &output, const L1CaloRunParameters &r)
Definition: L1CaloRunParameters.cxx:21
L1CaloRunParameters::ttcConfiguration
const std::string & ttcConfiguration() const
Definition: L1CaloRunParameters.h:30
L1CaloRunParameters::readoutConfig
const std::string & readoutConfig() const
Definition: L1CaloRunParameters.h:28
L1CaloRunParameters::m_conditions
std::string m_conditions
Definition: L1CaloRunParameters.h:59
L1CaloRunParameters::setChannelId
void setChannelId(unsigned int channelId)
Definition: L1CaloRunParameters.h:36
L1CaloRunParameters::runActionVersion
unsigned int runActionVersion() const
Definition: L1CaloRunParameters.h:27
L1CaloRunParameters::m_readoutConfigID
unsigned int m_readoutConfigID
Definition: L1CaloRunParameters.h:54
L1CaloRunParameters::m_calibration
std::string m_calibration
Definition: L1CaloRunParameters.h:58
L1CaloRunParameters
Folder <-> Object mapping for /TRIGGER/L1Calo/V1/Conditions/RunParameters .
Definition: L1CaloRunParameters.h:18
L1CaloRunParameters::setttcConfigurationID
void setttcConfigurationID(unsigned int ttcConfigurationID)
Definition: L1CaloRunParameters.h:43
merge.output
output
Definition: merge.py:17
L1CaloRunParameters::calibration
const std::string & calibration() const
Definition: L1CaloRunParameters.h:33
L1CaloRunParameters::setreadoutConfigID
void setreadoutConfigID(unsigned int readoutConfigID)
Definition: L1CaloRunParameters.h:41
L1CaloRunParameters::setrunType
void setrunType(const std::string &runType)
Definition: L1CaloRunParameters.h:37
L1CaloRunParameters::setconditions
void setconditions(const std::string &conditions)
Definition: L1CaloRunParameters.h:46
L1CaloRunParameters::setcalibration
void setcalibration(const std::string &calibration)
Definition: L1CaloRunParameters.h:45
L1CaloRunParameters::conditions
const std::string & conditions() const
Definition: L1CaloRunParameters.h:34
L1CaloRunParameters::m_channelId
unsigned int m_channelId
Definition: L1CaloRunParameters.h:49
L1CaloRunParameters::m_runActionName
std::string m_runActionName
Definition: L1CaloRunParameters.h:51
L1CaloRunParameters::m_runType
std::string m_runType
Definition: L1CaloRunParameters.h:50
L1CaloRunParameters::m_triggerMenu
std::string m_triggerMenu
Definition: L1CaloRunParameters.h:57
L1CaloRunParameters::readoutConfigID
unsigned int readoutConfigID() const
Definition: L1CaloRunParameters.h:29
L1CaloRunParameters::ttcConfigurationID
unsigned int ttcConfigurationID() const
Definition: L1CaloRunParameters.h:31
L1CaloRunParameters::setttcConfiguration
void setttcConfiguration(const std::string &ttcConfiguration)
Definition: L1CaloRunParameters.h:42
L1CaloRunParameters::setrunActionName
void setrunActionName(const std::string &runActionName)
Definition: L1CaloRunParameters.h:38