ATLAS Offline Software
L1CaloPprChanStrategy.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 #ifndef TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCHANSTRATEGY_H
3 /*
4  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
5 */
6 #define TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCHANSTRATEGY_H
7 
8 #include <iostream>
9 #include <string>
17 {
18  friend std::ostream& operator<<(std::ostream& output, const L1CaloPprChanStrategy& r);
19 public:
21  L1CaloPprChanStrategy(unsigned int channelId, const std::string& strategy, unsigned int code, const std::string& timingRegime, const std::string& description);
22 
23  unsigned int channelId() const { return m_channelId; }
24  const std::string& strategy() const { return m_strategy; }
25  unsigned int code() const { return m_code; }
26  const std::string& timingRegime() const { return m_timingRegime; }
27  const std::string& description() const { return m_description; }
28 
29  void setChannelId(unsigned int channelId) { m_channelId = channelId; }
30  void setStrategy(const std::string& strategy) { m_strategy = strategy; }
31  void setCode(unsigned int code) { m_code = code; }
32  void setTimingRegime(const std::string& timingRegime) { m_timingRegime = timingRegime; }
33  void setDescription(const std::string& description) { m_description = description; }
34 
35 private:
36  unsigned int m_channelId = 0;
37  std::string m_strategy;
38  unsigned int m_code = 0;
39  std::string m_timingRegime;
40  std::string m_description;
41 };
42 
43 #endif // TRIGT1CALOCALIBCONDITIONS_L1CALOPPRCHANSTRATEGY_H
beamspotman.r
def r
Definition: beamspotman.py:676
L1CaloPprChanStrategy::timingRegime
const std::string & timingRegime() const
Definition: L1CaloPprChanStrategy.h:26
L1CaloPprChanStrategy::m_description
std::string m_description
Definition: L1CaloPprChanStrategy.h:40
L1CaloPprChanStrategy::strategy
const std::string & strategy() const
Definition: L1CaloPprChanStrategy.h:24
L1CaloPprChanStrategy::operator<<
friend std::ostream & operator<<(std::ostream &output, const L1CaloPprChanStrategy &r)
Definition: L1CaloPprChanStrategy.cxx:21
L1CaloPprChanStrategy::L1CaloPprChanStrategy
L1CaloPprChanStrategy()
Definition: L1CaloPprChanStrategy.h:20
L1CaloPprChanStrategy::m_channelId
unsigned int m_channelId
Definition: L1CaloPprChanStrategy.h:36
L1CaloPprChanStrategy::description
const std::string & description() const
Definition: L1CaloPprChanStrategy.h:27
L1CaloPprChanStrategy::channelId
unsigned int channelId() const
Definition: L1CaloPprChanStrategy.h:23
L1CaloPprChanStrategy
Folder <-> Object mapping for /TRIGGER/L1Calo/V2/Configuration/PprChanStrategy .
Definition: L1CaloPprChanStrategy.h:17
L1CaloPprChanStrategy::m_timingRegime
std::string m_timingRegime
Definition: L1CaloPprChanStrategy.h:39
L1CaloPprChanStrategy::setDescription
void setDescription(const std::string &description)
Definition: L1CaloPprChanStrategy.h:33
merge.output
output
Definition: merge.py:17
L1CaloPprChanStrategy::code
unsigned int code() const
Definition: L1CaloPprChanStrategy.h:25
L1CaloPprChanStrategy::m_code
unsigned int m_code
Definition: L1CaloPprChanStrategy.h:38
L1CaloPprChanStrategy::setTimingRegime
void setTimingRegime(const std::string &timingRegime)
Definition: L1CaloPprChanStrategy.h:32
L1CaloPprChanStrategy::setStrategy
void setStrategy(const std::string &strategy)
Definition: L1CaloPprChanStrategy.h:30
L1CaloPprChanStrategy::m_strategy
std::string m_strategy
Definition: L1CaloPprChanStrategy.h:37
L1CaloPprChanStrategy::setChannelId
void setChannelId(unsigned int channelId)
Definition: L1CaloPprChanStrategy.h:29
L1CaloPprChanStrategy::setCode
void setCode(unsigned int code)
Definition: L1CaloPprChanStrategy.h:31