ATLAS Offline Software
EtaCMA.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ETACMA_H
6 #define ETACMA_H
7 
8 #include <algorithm>
9 #include <map>
10 
13 
14 class MsgStream;
15 
16 namespace RPC_CondCabling {
17 
18  class SectorLogicSetup;
19 
20  class EtaCMA : public CMAparameters {
21  private:
22  typedef std::map<int, RPCchamber*, std::less<int> > RPClink;
23 
27 
28  bool m_inversion{false};
29 
34  bool end_at_RPC_Z_boundary(void) const;
35  bool begin_at_RPC_Z_boundary(void) const;
36 
37  public:
38  EtaCMA(const parseParams& parse);
39  EtaCMA(const EtaCMA&);
40  virtual ~EtaCMA();
41 
42  EtaCMA& operator=(const EtaCMA&);
43 
44  const RPClink& pivot_RPCs(void) const { return m_pivot_RPCs; }
45  const RPClink& lowPt_RPCs(void) const { return m_lowPt_RPCs; }
46  const RPClink& highPt_RPCs(void) const { return m_highPt_RPCs; }
47 
48  bool inversion(void) const { return m_inversion; }
49 
50  bool setup(SectorLogicSetup&, MsgStream&);
51  };
52 
53 } // namespace RPC_CondCabling
54 #endif
RPC_CondCabling::EtaCMA::m_inversion
bool m_inversion
Definition: EtaCMA.h:28
RPC_CondCabling::EtaCMA::lowPt_RPCs
const RPClink & lowPt_RPCs(void) const
Definition: EtaCMA.h:45
RPC_CondCabling::EtaCMA::m_highPt_RPCs
RPClink m_highPt_RPCs
Definition: EtaCMA.h:26
RPC_CondCabling::EtaCMA
Definition: EtaCMA.h:20
parse
std::map< std::string, std::string > parse(const std::string &list)
Definition: egammaLayerRecalibTool.cxx:1054
RPC_CondCabling::EtaCMA::RPClink
std::map< int, RPCchamber *, std::less< int > > RPClink
Definition: EtaCMA.h:22
RPC_CondCabling
Definition: CMAcablingdata.h:18
CMAparameters.h
RPC_CondCabling::EtaCMA::cable_CMA_channels
bool cable_CMA_channels(HalfType)
Definition: EtaCMA.cxx:55
RPC_CondCabling::EtaCMA::end_at_RPC_Z_boundary
bool end_at_RPC_Z_boundary(void) const
Definition: EtaCMA.cxx:527
RPC_CondCabling::EtaCMA::operator=
EtaCMA & operator=(const EtaCMA &)
Definition: EtaCMA.cxx:43
RPC_CondCabling::EtaCMA::pivot_RPCs
const RPClink & pivot_RPCs(void) const
Definition: EtaCMA.h:44
RPC_CondCabling::EtaCMA::highPt_RPCs
const RPClink & highPt_RPCs(void) const
Definition: EtaCMA.h:46
RPC_CondCabling::SectorLogicSetup
Definition: SectorLogicSetup.h:23
RPC_CondCabling::EtaCMA::setup
bool setup(SectorLogicSetup &, MsgStream &)
Definition: EtaCMA.cxx:241
RPC_CondCabling::EtaCMA::got_confirm_cabling
bool got_confirm_cabling(SectorLogicSetup &, int)
Definition: EtaCMA.cxx:213
RPC_CondCabling::EtaCMA::EtaCMA
EtaCMA(const parseParams &parse)
Definition: EtaCMA.cxx:18
RPCchamber.h
RPC_CondCabling::EtaCMA::connect
bool connect(SectorLogicSetup &)
Definition: EtaCMA.cxx:156
RPC_CondCabling::EtaCMA::m_lowPt_RPCs
RPClink m_lowPt_RPCs
Definition: EtaCMA.h:25
RPC_CondCabling::EtaCMA::doInversion
bool doInversion(SectorLogicSetup &)
Definition: EtaCMA.cxx:480
RPC_CondCabling::EtaCMA::inversion
bool inversion(void) const
Definition: EtaCMA.h:48
RPC_CondCabling::EtaCMA::begin_at_RPC_Z_boundary
bool begin_at_RPC_Z_boundary(void) const
Definition: EtaCMA.cxx:532
CMAparameters
Definition: CMAparameters.h:21
RPC_CondCabling::EtaCMA::m_pivot_RPCs
RPClink m_pivot_RPCs
Definition: EtaCMA.h:24
HalfType
HalfType
Definition: RPCdef.h:9
RPC_CondCabling::EtaCMA::~EtaCMA
virtual ~EtaCMA()