ATLAS Offline Software
CaloSinCos.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TrigConf_CaloSinCos
6 #define TrigConf_CaloSinCos
7 
8 #include <string>
10 
11 namespace TrigConf {
12 
13  class CaloSinCos : public L1DataBaseclass {
14  public:
15 
16  CaloSinCos( const std::string& n, const int v,
17  int val1, int val2, int val3, int val4,
18  int val5, int val6, int val7, int val8,
19  int phimin, int phimax,int etamin,int etamax);
20 
21  CaloSinCos();
22 
23  virtual ~CaloSinCos() override = default;
24 
25  // getters
26  int val1() const { return m_Val1; }
27  int val2() const { return m_Val2; }
28  int val3() const { return m_Val3; }
29  int val4() const { return m_Val4; }
30  int val5() const { return m_Val5; }
31  int val6() const { return m_Val6; }
32  int val7() const { return m_Val7; }
33  int val8() const { return m_Val8; }
34  int etamin() const { return m_EtaMin; }
35  int etamax() const { return m_EtaMax; }
36  int phimin() const { return m_PhiMin; }
37  int phimax() const { return m_PhiMax; }
38 
39  // setters
40  void setVal1( int val) { m_Val1 = val; }
41  void setVal2( int val) { m_Val2 = val; }
42  void setVal3( int val) { m_Val3 = val; }
43  void setVal4( int val) { m_Val4 = val; }
44  void setVal5( int val) { m_Val5 = val; }
45  void setVal6( int val) { m_Val6 = val; }
46  void setVal7( int val) { m_Val7 = val; }
47  void setVal8( int val) { m_Val8 = val; }
48  void setEtaMin( int val) { m_EtaMin = val; }
49  void setEtaMax( int val) { m_EtaMax = val; }
50  void setPhiMin( int val) { m_PhiMin = val; }
51  void setPhiMax( int val) { m_PhiMax = val; }
52 
53  virtual void print(const std::string& indent="", unsigned int detail=1) const override;
54 
55  protected:
56  int m_Val[8];
57  int m_Val1;
58  int m_Val2;
59  int m_Val3;
60  int m_Val4;
61  int m_Val5;
62  int m_Val6;
63  int m_Val7;
64  int m_Val8;
65  int m_PhiMin;
66  int m_PhiMax;
67  int m_EtaMin;
68  int m_EtaMax;
69 
70  };
71 
72 }
73 
74 #endif
75 
TrigConf::CaloSinCos::CaloSinCos
CaloSinCos()
Definition: CaloSinCos.cxx:34
TrigConf::CaloSinCos::setVal7
void setVal7(int val)
Definition: CaloSinCos.h:46
TrigConf::CaloSinCos::setVal5
void setVal5(int val)
Definition: CaloSinCos.h:44
TrigConf::CaloSinCos::m_Val6
int m_Val6
Definition: CaloSinCos.h:62
TrigConf::CaloSinCos
Definition: CaloSinCos.h:13
TrigConf::CaloSinCos::etamax
int etamax() const
Definition: CaloSinCos.h:35
TrigConf::CaloSinCos::setVal3
void setVal3(int val)
Definition: CaloSinCos.h:42
TrigConf::CaloSinCos::m_Val2
int m_Val2
Definition: CaloSinCos.h:58
TrigConf::CaloSinCos::setVal6
void setVal6(int val)
Definition: CaloSinCos.h:45
TrigConf::CaloSinCos::val2
int val2() const
Definition: CaloSinCos.h:27
TrigConf::CaloSinCos::phimax
int phimax() const
Definition: CaloSinCos.h:37
TrigConf::CaloSinCos::val5
int val5() const
Definition: CaloSinCos.h:30
TrigConf::CaloSinCos::phimin
int phimin() const
Definition: CaloSinCos.h:36
TrigConf::CaloSinCos::m_EtaMin
int m_EtaMin
Definition: CaloSinCos.h:67
TrigConf::CaloSinCos::~CaloSinCos
virtual ~CaloSinCos() override=default
TrigConf::CaloSinCos::val7
int val7() const
Definition: CaloSinCos.h:32
detail
Definition: extract_histogram_tag.cxx:14
TrigConf::CaloSinCos::setVal2
void setVal2(int val)
Definition: CaloSinCos.h:41
TrigConf::CaloSinCos::etamin
int etamin() const
Definition: CaloSinCos.h:34
TrigConf::CaloSinCos::m_Val4
int m_Val4
Definition: CaloSinCos.h:60
TrigConf
Forward iterator to traverse the main components of the trigger configuration.
Definition: Config.h:22
TrigConf::CaloSinCos::m_Val
int m_Val[8]
Definition: CaloSinCos.h:56
TrigConf::CaloSinCos::m_Val5
int m_Val5
Definition: CaloSinCos.h:61
TrigConf::CaloSinCos::m_EtaMax
int m_EtaMax
Definition: CaloSinCos.h:68
TrigConf::CaloSinCos::m_Val1
int m_Val1
Definition: CaloSinCos.h:57
TrigConf::CaloSinCos::m_PhiMin
int m_PhiMin
Definition: CaloSinCos.h:65
TrigConf::CaloSinCos::val8
int val8() const
Definition: CaloSinCos.h:33
TrigConf::CaloSinCos::setEtaMin
void setEtaMin(int val)
Definition: CaloSinCos.h:48
beamspotman.n
n
Definition: beamspotman.py:731
TrigConf::CaloSinCos::print
virtual void print(const std::string &indent="", unsigned int detail=1) const override
Definition: CaloSinCos.cxx:38
TrigConf::CaloSinCos::setPhiMax
void setPhiMax(int val)
Definition: CaloSinCos.h:51
TrigConf::CaloSinCos::m_Val8
int m_Val8
Definition: CaloSinCos.h:64
TrigConf::CaloSinCos::val4
int val4() const
Definition: CaloSinCos.h:29
TrigConf::CaloSinCos::setVal1
void setVal1(int val)
Definition: CaloSinCos.h:40
TrigConf::CaloSinCos::val6
int val6() const
Definition: CaloSinCos.h:31
TrigConf::CaloSinCos::m_PhiMax
int m_PhiMax
Definition: CaloSinCos.h:66
TrigConf::CaloSinCos::val1
int val1() const
Definition: CaloSinCos.h:26
TrigConf::CaloSinCos::setVal8
void setVal8(int val)
Definition: CaloSinCos.h:47
TrigConf::CaloSinCos::m_Val3
int m_Val3
Definition: CaloSinCos.h:59
python.PyAthena.v
v
Definition: PyAthena.py:154
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
TrigConf::TrigConfData::indent
std::ostream & indent(std::ostream &o, int lvl, int size) const
Definition: TrigConfData.cxx:23
TrigConf::CaloSinCos::val3
int val3() const
Definition: CaloSinCos.h:28
TrigConf::L1DataBaseclass
Definition: L1DataBaseclass.h:22
L1DataBaseclass.h
TrigConf::CaloSinCos::m_Val7
int m_Val7
Definition: CaloSinCos.h:63
TrigConf::CaloSinCos::setPhiMin
void setPhiMin(int val)
Definition: CaloSinCos.h:50
TrigConf::CaloSinCos::setEtaMax
void setEtaMax(int val)
Definition: CaloSinCos.h:49
TrigConf::CaloSinCos::setVal4
void setVal4(int val)
Definition: CaloSinCos.h:43