ATLAS Offline Software
Loading...
Searching...
No Matches
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);
19public:
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; }
33 void setDescription(const std::string& description) { m_description = description; }
34
35private:
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
void setCode(unsigned int code)
const std::string & description() const
friend std::ostream & operator<<(std::ostream &output, const L1CaloPprChanStrategy &r)
void setStrategy(const std::string &strategy)
void setChannelId(unsigned int channelId)
unsigned int code() const
const std::string & strategy() const
void setTimingRegime(const std::string &timingRegime)
const std::string & timingRegime() const
void setDescription(const std::string &description)
unsigned int channelId() const
int r
Definition globals.cxx:22
std::string description
glabal timer - how long have I taken so far?
Definition hcg.cxx:91